@sphereon/ssi-sdk.siopv2-oid4vp-op-auth 0.34.1-feature.SSISDK.45.135 → 0.34.1-feature.SSISDK.45.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.siopv2-oid4vp-op-auth",
3
- "version": "0.34.1-feature.SSISDK.45.135+c34457e7",
3
+ "version": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,25 +26,26 @@
26
26
  "build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
27
27
  },
28
28
  "dependencies": {
29
- "@sphereon/did-auth-siop": "0.19.1-feature.SSISDK.45.120",
30
- "@sphereon/did-auth-siop-adapter": "0.19.1-feature.SSISDK.45.120",
31
- "@sphereon/oid4vc-common": "0.19.1-feature.SSISDK.45.120",
29
+ "@sphereon/did-auth-siop": "0.19.1-feature.DIIPv4.161",
30
+ "@sphereon/did-auth-siop-adapter": "0.19.1-feature.DIIPv4.161",
31
+ "@sphereon/oid4vc-common": "0.19.1-feature.DIIPv4.161",
32
+ "@sphereon/pex": "5.0.0-unstable.28",
32
33
  "@sphereon/pex-models": "^2.3.2",
33
- "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-feature.SSISDK.45.135+c34457e7",
34
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.45.135+c34457e7",
35
- "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-feature.SSISDK.45.135+c34457e7",
36
- "@sphereon/ssi-sdk.contact-manager": "0.34.1-feature.SSISDK.45.135+c34457e7",
37
- "@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.45.135+c34457e7",
38
- "@sphereon/ssi-sdk.credential-store": "0.34.1-feature.SSISDK.45.135+c34457e7",
39
- "@sphereon/ssi-sdk.credential-validation": "0.34.1-feature.SSISDK.45.135+c34457e7",
40
- "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.45.135+c34457e7",
41
- "@sphereon/ssi-sdk.issuance-branding": "0.34.1-feature.SSISDK.45.135+c34457e7",
42
- "@sphereon/ssi-sdk.pd-manager": "0.34.1-feature.SSISDK.45.135+c34457e7",
43
- "@sphereon/ssi-sdk.presentation-exchange": "0.34.1-feature.SSISDK.45.135+c34457e7",
44
- "@sphereon/ssi-sdk.sd-jwt": "0.34.1-feature.SSISDK.45.135+c34457e7",
45
- "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-feature.SSISDK.45.135+c34457e7",
46
- "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-feature.SSISDK.45.135+c34457e7",
47
- "@sphereon/ssi-types": "0.34.1-feature.SSISDK.45.135+c34457e7",
34
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
35
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
36
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
37
+ "@sphereon/ssi-sdk.contact-manager": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
38
+ "@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
39
+ "@sphereon/ssi-sdk.credential-store": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
40
+ "@sphereon/ssi-sdk.credential-validation": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
41
+ "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
42
+ "@sphereon/ssi-sdk.issuance-branding": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
43
+ "@sphereon/ssi-sdk.pd-manager": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
44
+ "@sphereon/ssi-sdk.presentation-exchange": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
45
+ "@sphereon/ssi-sdk.sd-jwt": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
46
+ "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
47
+ "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
48
+ "@sphereon/ssi-types": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
48
49
  "@sphereon/wellknown-dids-client": "^0.1.3",
49
50
  "@veramo/core": "4.2.0",
50
51
  "@veramo/credential-w3c": "4.2.0",
@@ -58,8 +59,8 @@
58
59
  },
59
60
  "devDependencies": {
60
61
  "@sphereon/did-uni-client": "^0.6.3",
61
- "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-feature.SSISDK.45.135+c34457e7",
62
- "@sphereon/ssi-sdk.agent-config": "0.34.1-feature.SSISDK.45.135+c34457e7",
62
+ "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
63
+ "@sphereon/ssi-sdk.agent-config": "0.34.1-feature.SSISDK.45.189+b7e0c23f",
63
64
  "@types/i18n-js": "^3.8.9",
64
65
  "@types/lodash.memoize": "^4.1.9",
65
66
  "@types/sha.js": "^2.4.4",
@@ -101,5 +102,5 @@
101
102
  "OpenID Connect",
102
103
  "Authenticator"
103
104
  ],
104
- "gitHead": "c34457e783e778691ef94a2a266dca8bc8a44404"
105
+ "gitHead": "b7e0c23f77ccaa650fc21d52315e28de54f38188"
105
106
  }
@@ -214,7 +214,7 @@ export class DidAuthSiopOpAuthenticator implements IAgentPlugin {
214
214
  (args.url.includes('request_uri')
215
215
  ? decodeURIComponent(args.url.split('?request_uri=')[1].trim())
216
216
  : (verifiedAuthorizationRequest.issuer ?? verifiedAuthorizationRequest.registrationMetadataPayload?.client_id))
217
- const uri: URL | undefined = url.includes('://') ? new URL(url) : undefined
217
+ const uri: URL | undefined = url?.includes('://') ? new URL(url) : undefined
218
218
  const correlationId: string = uri?.hostname ?? (await this.determineCorrelationId(uri, verifiedAuthorizationRequest, clientName, context))
219
219
  const clientId: string | undefined = verifiedAuthorizationRequest.authorizationRequest.getMergedProperty<string>('client_id')
220
220
 
@@ -60,14 +60,7 @@ export async function createOPBuilder({
60
60
  const eventEmitter = opOptions.eventEmitter ?? new EventEmitter()
61
61
  const builder = OP.builder()
62
62
  .withResponseMode(opOptions.responseMode ?? ResponseMode.DIRECT_POST)
63
- .withSupportedVersions(
64
- opOptions.supportedVersions ?? [
65
- SupportedVersion.SIOPv2_ID1,
66
- SupportedVersion.JWT_VC_PRESENTATION_PROFILE_v1,
67
- SupportedVersion.SIOPv2_D11,
68
- SupportedVersion.SIOPv2_D12_OID4VP_D18,
69
- ],
70
- )
63
+ .withSupportedVersions(opOptions.supportedVersions ?? [SupportedVersion.OID4VP_v1, SupportedVersion.SIOPv2_OID4VP_D28])
71
64
  .withExpiresIn(opOptions.expiresIn ?? 300)
72
65
  .withEventEmitter(eventEmitter)
73
66
  .withRegistration({