Skip to content

Commit

Permalink
fix: rename common to oid4vc-common
Browse files Browse the repository at this point in the history
  • Loading branch information
auer-martin committed Jul 30, 2024
1 parent c24a898 commit d89ac4f
Show file tree
Hide file tree
Showing 67 changed files with 79 additions and 80 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { KeyObject } from 'crypto'

import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import { CredentialRequestClientBuilder, ProofOfPossessionBuilder } from '@sphereon/oid4vci-client'
import {
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/callback-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:clean": "tsc --build --clean && tsc --build"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@digitalcredentials/did-method-key": "^2.0.3",
"@digitalcredentials/ed25519-signature-2020": "^3.0.2",
"@digitalcredentials/ed25519-verification-key-2020": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/AccessTokenClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/common';
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/oid4vc-common';
import {
AccessTokenRequest,
AccessTokenRequestOpts,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/AccessTokenClientV1_0_11.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/common';
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/oid4vc-common';
import {
AccessTokenRequest,
AccessTokenRequestOpts,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/CredentialRequestClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/common';
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/oid4vc-common';
import {
acquireDeferredCredential,
CredentialRequestV1_0_13,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/CredentialRequestClientV1_0_11.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/common';
import { createDPoP, CreateDPoPClientOpts, getCreateDPoPOptions } from '@sphereon/oid4vc-common';
import {
acquireDeferredCredential,
CredentialResponse,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/OpenID4VCIClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JWK } from '@sphereon/common';
import { JWK } from '@sphereon/oid4vc-common';
import {
AccessTokenResponse,
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/OpenID4VCIClientV1_0_11.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JWK } from '@sphereon/common';
import { JWK } from '@sphereon/oid4vc-common';
import {
AccessTokenResponse,
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/OpenID4VCIClientV1_0_13.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JWK } from '@sphereon/common';
import { JWK } from '@sphereon/oid4vc-common';
import {
AccessTokenResponse,
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/ProofOfPossessionBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JWK } from '@sphereon/common';
import { JWK } from '@sphereon/oid4vc-common';
import {
AccessTokenResponse,
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/__tests__/SphereonE2E.spec.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as crypto from 'crypto';

import { uuidv4 } from '@sphereon/common';
import { uuidv4 } from '@sphereon/oid4vc-common';
import { Alg, Jwt, ProofOfPossessionCallbacks } from '@sphereon/oid4vci-common';
import { CredentialMapper } from '@sphereon/ssi-types';
import * as didts from '@transmute/did-key.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/functions/AccessTokenUtil.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common';
import { uuidv4 } from '@sphereon/oid4vc-common';
import { AccessTokenRequest, AccessTokenRequestOpts, Jwt, OpenId4VCIVersion } from '@sphereon/oid4vci-common';

import { ProofOfPossessionBuilder } from '../ProofOfPossessionBuilder';
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "tsc"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/ssi-types": "0.28.0",
"cross-fetch": "^3.1.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/lib/__tests__/dpop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ describe('dpop', () => {
},
);
expect(dpop).toStrictEqual(jwk);
expect.assertions(6);
expect.assertions(8);
});
});
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sphereon/common",
"name": "@sphereon/oid4vc-common",
"version": "0.15.1",
"description": "OpenID 4 Verifiable Credentials Common",
"source": "lib/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/did-auth-siop-adapter/lib/DidJwtAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JwtHeader, JwtPayload } from '@sphereon/common'
import { JwtHeader, JwtPayload } from '@sphereon/oid4vc-common'
import { AuthorizationRequestPayload, IDTokenPayload, JwtIssuerWithContext, RequestObjectPayload } from '@sphereon/did-auth-siop'
import { JwtVerifier } from '@sphereon/did-auth-siop'
import { Resolvable } from 'did-resolver'
Expand Down
2 changes: 1 addition & 1 deletion packages/did-auth-siop-adapter/lib/did/DidJWT.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { post } from '@sphereon/did-auth-siop'
import {
DEFAULT_EXPIRATION_TIME,
Expand Down
2 changes: 1 addition & 1 deletion packages/did-auth-siop-adapter/lib/types/SIOP.types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { VerifyCallback as WellknownDIDVerifyCallback } from '@sphereon/wellknown-dids-client'
import { JWTVerifyOptions } from 'did-jwt'
import { Resolvable } from 'did-resolver'
Expand Down
2 changes: 1 addition & 1 deletion packages/did-auth-siop-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clean": "rimraf dist coverage"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@sphereon/did-auth-siop": "workspace:*",
"@sphereon/did-uni-client": "^0.6.2",
"@sphereon/wellknown-dids-client": "^0.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer-rest/lib/IssuerTokenEndpoint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DPoPVerifyJwtCallback, JWK, uuidv4, verifyDPoP } from '@sphereon/common'
import { DPoPVerifyJwtCallback, JWK, uuidv4, verifyDPoP } from '@sphereon/oid4vc-common'
import { GrantTypes, PRE_AUTHORIZED_CODE_REQUIRED_ERROR, TokenError, TokenErrorResponse } from '@sphereon/oid4vci-common'
import { assertValidAccessTokenRequest, createAccessTokenResponse, ITokenEndpointOpts, VcIssuer } from '@sphereon/oid4vci-issuer'
import { sendErrorResponse } from '@sphereon/ssi-express-support'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { KeyObject } from 'crypto'

import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import {
Alg,
CNonceState,
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer-rest/lib/oid4vci-api-functions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import {
ACCESS_TOKEN_ISSUER_REQUIRED_ERROR,
adjustUrl,
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:clean": "tsc --build --clean && tsc --build"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/oid4vci-issuer": "workspace:*",
"@sphereon/ssi-express-support": "0.28.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/lib/VcIssuer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import {
ALG_ERROR,
AUD_ERROR,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import { CNonceState, IStateManager, STATE_MISSING_ERROR } from '@sphereon/oid4vci-common'

import { MemoryStates } from '../state-manager'
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/lib/__tests__/VcIssuer.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import { OpenID4VCIClientV1_0_13 } from '@sphereon/oid4vci-client'
import {
Alg,
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/lib/__tests__/VcIssuerBuilder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import { CredentialConfigurationSupportedV1_0_13, IssuerCredentialSubjectDisplay, IssueStatus, TokenErrorResponse } from '@sphereon/oid4vci-common'

import { CredentialSupportedBuilderV1_13, VcIssuerBuilder } from '../index'
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/lib/functions/CredentialOfferUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import {
CredentialIssuerMetadataOpts,
CredentialIssuerMetadataOptsV1_0_13,
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/lib/tokens/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { calculateJwkThumbprint, JWK, uuidv4 } from '@sphereon/common'
import { calculateJwkThumbprint, JWK, uuidv4 } from '@sphereon/oid4vc-common'
import {
AccessTokenRequest,
AccessTokenResponse,
Expand Down
2 changes: 1 addition & 1 deletion packages/issuer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:clean": "tsc --build --clean && tsc --build"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/ssi-types": "0.28.0",
"uuid": "^9.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/oid4vci-common/lib/functions/ProofUtil.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BaseJWK, JWK } from '@sphereon/common';
import { BaseJWK, JWK } from '@sphereon/oid4vc-common';
import Debug from 'debug';
import { jwtDecode } from 'jwt-decode';

Expand Down
2 changes: 1 addition & 1 deletion packages/oid4vci-common/lib/types/Authorization.types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CreateDPoPClientOpts } from '@sphereon/common';
import { CreateDPoPClientOpts } from '@sphereon/oid4vc-common';

import { Alg, CredentialOfferPayload, ProofOfPossessionCallbacks, UniformCredentialOffer } from './CredentialIssuance.types';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/oid4vci-common/lib/types/ServerMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common';
import { SigningAlgo } from '@sphereon/oid4vc-common';

export interface AuthorizationServerMetadata {
issuer: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/oid4vci-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:clean": "tsc --build --clean && tsc --build"
},
"dependencies": {
"@sphereon/common": "workspace:*",
"@sphereon/oid4vc-common": "workspace:*",
"@sphereon/ssi-types": "0.28.0",
"cross-fetch": "^3.1.8",
"jwt-decode": "^4.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { parse } from 'querystring'

import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IPresentationDefinition } from '@sphereon/pex'
import { IProofType } from '@sphereon/ssi-types'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IProofType } from '@sphereon/ssi-types'
import Ajv from 'ajv'
import * as dotenv from 'dotenv'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IPresentationDefinition } from '@sphereon/pex'
import {
ICredential,
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/DidJwtTestUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JwtPayload, parseJWT, SigningAlgo } from '@sphereon/common'
import { JwtPayload, parseJWT, SigningAlgo } from '@sphereon/oid4vc-common'
import { VerifyCallback } from '@sphereon/wellknown-dids-client'
import { createJWT, EdDSASigner, ES256KSigner, ES256Signer, hexToBytes, JWTOptions, JWTVerifyOptions, Signer, verifyJWT } from 'did-jwt'
import { Resolvable } from 'did-resolver'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/IT.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventEmitter } from 'events'

import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IPresentationDefinition } from '@sphereon/pex'
import { CredentialMapper, IPresentation, IProofType, IVerifiableCredential, W3CVerifiablePresentation } from '@sphereon/ssi-types'
import nock from 'nock'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/OP.request.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IProofType } from '@sphereon/ssi-types'
import nock from 'nock'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { PresentationDefinitionV1 } from '@sphereon/pex-models'
import { CredentialMapper, IPresentation, IProofType, IVerifiableCredential } from '@sphereon/ssi-types'
import { W3CVerifiablePresentation } from '@sphereon/ssi-types/src/types/w3c-vc'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/RP.request.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IProofType } from '@sphereon/ssi-types'

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/SdJwt.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createHash } from 'node:crypto'

import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { IPresentationDefinition, SdJwtDecodedVerifiableCredentialWithKbJwtInput } from '@sphereon/pex'
import { OriginalVerifiableCredential } from '@sphereon/ssi-types'

Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/TestUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import crypto from 'crypto'

import { JwtPayload, parseJWT, SigningAlgo, uuidv4 } from '@sphereon/common'
import { JwtPayload, parseJWT, SigningAlgo, uuidv4 } from '@sphereon/oid4vc-common'
import { IProofType } from '@sphereon/ssi-types'
import base58 from 'bs58'
import { ethers } from 'ethers'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/__tests__/e2e/EBSI.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getResolver as getKeyResolver } from '@cef-ebsi/key-did-resolver'
// import { EbsiWallet } from '@cef-ebsi/wallet-lib';
import EbsiWallet from '@cef-ebsi/wallet-lib'
import { SigningAlgo, uuidv4 } from '@sphereon/common'
import { SigningAlgo, uuidv4 } from '@sphereon/oid4vc-common'
import { PresentationSignCallBackParams } from '@sphereon/pex'
import { parseDid, W3CVerifiablePresentation } from '@sphereon/ssi-types'
import { Resolver } from 'did-resolver'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { PresentationSignCallBackParams, PresentationSubmissionLocation } from '@sphereon/pex'
import { W3CVerifiablePresentation } from '@sphereon/ssi-types'
import * as ed25519 from '@transmute/did-key-ed25519'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { Format } from '@sphereon/pex-models'
import { IProofType } from '@sphereon/ssi-types'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseJWT, SigningAlgo } from '@sphereon/common'
import { parseJWT, SigningAlgo } from '@sphereon/oid4vc-common'

import { PassBy, ResponseType, RevocationVerification, RP, Scope, SubjectType, SupportedVersion } from '../..'
import { internalSignature } from '../DidJwtTestUtils'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { PresentationSignCallBackParams } from '@sphereon/pex'
import { IProofType } from '@sphereon/ssi-types'
import * as jose from 'jose'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseJWT } from '@sphereon/common'
import { parseJWT } from '@sphereon/oid4vc-common'

import { PresentationDefinitionWithLocation } from '../authorization-response'
import { PresentationExchange } from '../authorization-response/PresentationExchange'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/authorization-request/URI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseJWT } from '@sphereon/common'
import { parseJWT } from '@sphereon/oid4vc-common'

import { PresentationExchange } from '../authorization-response/PresentationExchange'
import { decodeUriAsJson, encodeJsonAsURI, fetchByReferenceOrUseByValue } from '../helpers'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/authorization-request/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'
import { Hasher } from '@sphereon/ssi-types'

import { PresentationDefinitionPayloadOpts } from '../authorization-response'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseJWT } from '@sphereon/common'
import { parseJWT } from '@sphereon/oid4vc-common'
import { IPresentationDefinition, PEX } from '@sphereon/pex'
import { Format } from '@sphereon/pex-models'
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SigningAlgo } from '@sphereon/common'
import { SigningAlgo } from '@sphereon/oid4vc-common'

import { LanguageTagUtils, removeNullUndefined } from '../helpers'
import { DiscoveryMetadataOpts, DiscoveryMetadataPayload, ResponseIss, ResponseType, Schema, Scope, SubjectType } from '../types'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/authorization-response/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JwtIssuer } from '@sphereon/common'
import { JwtIssuer } from '@sphereon/oid4vc-common'
import { IPresentationDefinition, PresentationSignCallBackParams } from '@sphereon/pex'
import { Format } from '@sphereon/pex-models'
import { CompactSdJwtVc, Hasher, PresentationSubmission, W3CVerifiablePresentation } from '@sphereon/ssi-types'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/helpers/State.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'
import SHA from 'sha.js'

import { base64urlEncodeBuffer } from './Encodings'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/id-token/IDToken.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { calculateJwkThumbprintUri, JwtHeader, JwtIssuer, parseJWT } from '@sphereon/common'
import { calculateJwkThumbprintUri, JwtHeader, JwtIssuer, parseJWT } from '@sphereon/oid4vc-common'

import { AuthorizationResponseOpts, VerifyAuthorizationResponseOpts } from '../authorization-response'
import { assertValidVerifyOpts } from '../authorization-response/Opts'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/op/OP.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventEmitter } from 'events'

import { JwtIssuer, uuidv4 } from '@sphereon/common'
import { JwtIssuer, uuidv4 } from '@sphereon/oid4vc-common'
import { IIssuerId } from '@sphereon/ssi-types'

import { AuthorizationRequest, URI, VerifyAuthorizationRequestOpts } from '../authorization-request'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/request-object/Payload.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { uuidv4 } from '@sphereon/common'
import { uuidv4 } from '@sphereon/oid4vc-common'

import { CreateAuthorizationRequestOpts, createPresentationDefinitionClaimsProperties } from '../authorization-request'
import { createRequestRegistration } from '../authorization-request/RequestRegistration'
Expand Down
2 changes: 1 addition & 1 deletion packages/siop-oid4vp/lib/request-object/RequestObject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JwtIssuer, parseJWT } from '@sphereon/common'
import { JwtIssuer, parseJWT } from '@sphereon/oid4vc-common'

import { ClaimPayloadCommonOpts, ClaimPayloadOptsVID1, CreateAuthorizationRequestOpts } from '../authorization-request'
import { assertValidAuthorizationRequestOpts } from '../authorization-request/Opts'
Expand Down
Loading

0 comments on commit d89ac4f

Please sign in to comment.