@sphereon/ssi-sdk.oid4vci-holder 0.34.1-next.322 → 0.34.1-next.323

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.oid4vci-holder",
3
- "version": "0.34.1-next.322+78f8dd31",
3
+ "version": "0.34.1-next.323+d3f5079e",
4
4
  "source": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,27 +26,27 @@
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-next.234",
29
+ "@sphereon/did-auth-siop": "0.19.1-next.235",
30
30
  "@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
31
- "@sphereon/oid4vci-client": "0.19.1-next.234",
32
- "@sphereon/oid4vci-common": "0.19.1-next.234",
33
- "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.322+78f8dd31",
34
- "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.322+78f8dd31",
35
- "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-next.322+78f8dd31",
36
- "@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.322+78f8dd31",
37
- "@sphereon/ssi-sdk.contact-manager": "0.34.1-next.322+78f8dd31",
38
- "@sphereon/ssi-sdk.core": "0.34.1-next.322+78f8dd31",
39
- "@sphereon/ssi-sdk.credential-store": "0.34.1-next.322+78f8dd31",
40
- "@sphereon/ssi-sdk.credential-validation": "0.34.1-next.322+78f8dd31",
41
- "@sphereon/ssi-sdk.data-store-types": "0.34.1-next.322+78f8dd31",
42
- "@sphereon/ssi-sdk.issuance-branding": "0.34.1-next.322+78f8dd31",
43
- "@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.322+78f8dd31",
44
- "@sphereon/ssi-sdk.oidf-client": "0.34.1-next.322+78f8dd31",
45
- "@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.322+78f8dd31",
46
- "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-next.322+78f8dd31",
47
- "@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-next.322+78f8dd31",
48
- "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-next.322+78f8dd31",
49
- "@sphereon/ssi-types": "0.34.1-next.322+78f8dd31",
31
+ "@sphereon/oid4vci-client": "0.19.1-next.235",
32
+ "@sphereon/oid4vci-common": "0.19.1-next.235",
33
+ "@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.323+d3f5079e",
34
+ "@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.323+d3f5079e",
35
+ "@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-next.323+d3f5079e",
36
+ "@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.323+d3f5079e",
37
+ "@sphereon/ssi-sdk.contact-manager": "0.34.1-next.323+d3f5079e",
38
+ "@sphereon/ssi-sdk.core": "0.34.1-next.323+d3f5079e",
39
+ "@sphereon/ssi-sdk.credential-store": "0.34.1-next.323+d3f5079e",
40
+ "@sphereon/ssi-sdk.credential-validation": "0.34.1-next.323+d3f5079e",
41
+ "@sphereon/ssi-sdk.data-store-types": "0.34.1-next.323+d3f5079e",
42
+ "@sphereon/ssi-sdk.issuance-branding": "0.34.1-next.323+d3f5079e",
43
+ "@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.323+d3f5079e",
44
+ "@sphereon/ssi-sdk.oidf-client": "0.34.1-next.323+d3f5079e",
45
+ "@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.323+d3f5079e",
46
+ "@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-next.323+d3f5079e",
47
+ "@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-next.323+d3f5079e",
48
+ "@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-next.323+d3f5079e",
49
+ "@sphereon/ssi-types": "0.34.1-next.323+d3f5079e",
50
50
  "@veramo/core": "4.2.0",
51
51
  "@veramo/data-store": "4.2.0",
52
52
  "@veramo/utils": "4.2.0",
@@ -59,8 +59,8 @@
59
59
  "xstate": "^4.38.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@sphereon/oid4vc-common": "0.19.1-next.234",
63
- "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-next.322+78f8dd31",
62
+ "@sphereon/oid4vc-common": "0.19.1-next.235",
63
+ "@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-next.323+d3f5079e",
64
64
  "@sphereon/ssi-sdk.siopv2-oid4vp-common": "workspace:*",
65
65
  "@types/i18n-js": "^3.8.9",
66
66
  "@types/lodash.memoize": "^4.1.9",
@@ -90,5 +90,5 @@
90
90
  "OID4VCI",
91
91
  "State Machine"
92
92
  ],
93
- "gitHead": "78f8dd3157066ae8cf11d2ae50c8c3d8f43b8ed0"
93
+ "gitHead": "d3f5079e9d38e5e63abb8695829b724a03180a47"
94
94
  }
@@ -504,6 +504,8 @@ export class OID4VCIHolder implements IAgentPlugin {
504
504
  }
505
505
  return {
506
506
  authorizationCodeURL,
507
+ // Needed, because the above createAuthorizationRequestUrl manipulates the state, adding pkce opts to the state
508
+ oid4vciClientState: JSON.parse(await client.exportState())
507
509
  }
508
510
  }
509
511
 
@@ -542,6 +542,7 @@ const createOID4VCIMachine = (opts?: CreateOID4VCIMachineOpts): OID4VCIStateMach
542
542
  actions: assign({
543
543
  authorizationCodeURL: (_ctx: OID4VCIMachineContext, _event: DoneInvokeEvent<PrepareAuthorizationResult>) =>
544
544
  _event.data.authorizationCodeURL,
545
+ openID4VCIClientState: (_ctx: OID4VCIMachineContext, _event: DoneInvokeEvent<PrepareAuthorizationResult>) => _event.data.oid4vciClientState,
545
546
  }),
546
547
  },
547
548
  onError: {
@@ -472,6 +472,7 @@ export type StartResult = {
472
472
 
473
473
  export type PrepareAuthorizationResult = {
474
474
  authorizationCodeURL?: string
475
+ oid4vciClientState: OpenID4VCIClientState
475
476
  }
476
477
 
477
478
  export type SelectAppLocaleBrandingArgs = {