@sphereon/ssi-sdk.oid4vci-holder 0.34.1-next.322 → 0.34.1-next.324
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/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
- package/src/agent/OID4VCIHolder.ts +2 -0
- package/src/machines/oid4vciMachine.ts +1 -0
- package/src/services/OID4VCIHolderService.ts +1 -1
- package/src/types/IOID4VCIHolder.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.oid4vci-holder",
|
|
3
|
-
"version": "0.34.1-next.
|
|
3
|
+
"version": "0.34.1-next.324+08032b8e",
|
|
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.
|
|
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.
|
|
32
|
-
"@sphereon/oid4vci-common": "0.19.1-next.
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.
|
|
35
|
-
"@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-next.
|
|
36
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.
|
|
37
|
-
"@sphereon/ssi-sdk.contact-manager": "0.34.1-next.
|
|
38
|
-
"@sphereon/ssi-sdk.core": "0.34.1-next.
|
|
39
|
-
"@sphereon/ssi-sdk.credential-store": "0.34.1-next.
|
|
40
|
-
"@sphereon/ssi-sdk.credential-validation": "0.34.1-next.
|
|
41
|
-
"@sphereon/ssi-sdk.data-store-types": "0.34.1-next.
|
|
42
|
-
"@sphereon/ssi-sdk.issuance-branding": "0.34.1-next.
|
|
43
|
-
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.
|
|
44
|
-
"@sphereon/ssi-sdk.oidf-client": "0.34.1-next.
|
|
45
|
-
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.
|
|
46
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-next.
|
|
47
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-next.
|
|
48
|
-
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-next.
|
|
49
|
-
"@sphereon/ssi-types": "0.34.1-next.
|
|
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.324+08032b8e",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.34.1-next.324+08032b8e",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.jwt-service": "0.34.1-next.324+08032b8e",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.324+08032b8e",
|
|
37
|
+
"@sphereon/ssi-sdk.contact-manager": "0.34.1-next.324+08032b8e",
|
|
38
|
+
"@sphereon/ssi-sdk.core": "0.34.1-next.324+08032b8e",
|
|
39
|
+
"@sphereon/ssi-sdk.credential-store": "0.34.1-next.324+08032b8e",
|
|
40
|
+
"@sphereon/ssi-sdk.credential-validation": "0.34.1-next.324+08032b8e",
|
|
41
|
+
"@sphereon/ssi-sdk.data-store-types": "0.34.1-next.324+08032b8e",
|
|
42
|
+
"@sphereon/ssi-sdk.issuance-branding": "0.34.1-next.324+08032b8e",
|
|
43
|
+
"@sphereon/ssi-sdk.mdl-mdoc": "0.34.1-next.324+08032b8e",
|
|
44
|
+
"@sphereon/ssi-sdk.oidf-client": "0.34.1-next.324+08032b8e",
|
|
45
|
+
"@sphereon/ssi-sdk.sd-jwt": "0.34.1-next.324+08032b8e",
|
|
46
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.34.1-next.324+08032b8e",
|
|
47
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.34.1-next.324+08032b8e",
|
|
48
|
+
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.34.1-next.324+08032b8e",
|
|
49
|
+
"@sphereon/ssi-types": "0.34.1-next.324+08032b8e",
|
|
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.
|
|
63
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-next.
|
|
62
|
+
"@sphereon/oid4vc-common": "0.19.1-next.235",
|
|
63
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.34.1-next.324+08032b8e",
|
|
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": "
|
|
93
|
+
"gitHead": "08032b8e25d37ce244c301b1e1f092bb7bce13eb"
|
|
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: {
|
|
@@ -578,7 +578,7 @@ export const getIssuanceCryptoSuite = async (opts: GetIssuanceCryptoSuiteArgs):
|
|
|
578
578
|
case 'jwt':
|
|
579
579
|
case 'jwt_vc_json':
|
|
580
580
|
case 'jwt_vc':
|
|
581
|
-
|
|
581
|
+
case 'vc+sd-jwt':
|
|
582
582
|
case 'dc+sd-jwt':
|
|
583
583
|
case 'mso_mdoc': {
|
|
584
584
|
const supportedPreferences: Array<JoseSignatureAlgorithm | JoseSignatureAlgorithmString> = jwtCryptographicSuitePreferences.filter(
|