@sphereon/ssi-sdk.oid4vci-holder 0.36.1-feature.SSISDK.82.and.SSISDK.70.35 → 0.36.1-feature.SSISDK.89.metadata.persistence.103
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 +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
- package/src/agent/OID4VCIHolder.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.oid4vci-holder",
|
|
3
|
-
"version": "0.36.1-feature.SSISDK.
|
|
3
|
+
"version": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
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.20.
|
|
29
|
+
"@sphereon/did-auth-siop": "0.20.1-next.3",
|
|
30
30
|
"@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
|
|
31
|
-
"@sphereon/oid4vci-client": "0.20.
|
|
32
|
-
"@sphereon/oid4vci-common": "0.20.
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.SSISDK.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-feature.SSISDK.
|
|
35
|
-
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-feature.SSISDK.
|
|
36
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.SSISDK.
|
|
37
|
-
"@sphereon/ssi-sdk.contact-manager": "0.36.1-feature.SSISDK.
|
|
38
|
-
"@sphereon/ssi-sdk.core": "0.36.1-feature.SSISDK.
|
|
39
|
-
"@sphereon/ssi-sdk.credential-store": "0.36.1-feature.SSISDK.
|
|
40
|
-
"@sphereon/ssi-sdk.credential-validation": "0.36.1-feature.SSISDK.
|
|
41
|
-
"@sphereon/ssi-sdk.data-store-types": "0.36.1-feature.SSISDK.
|
|
42
|
-
"@sphereon/ssi-sdk.issuance-branding": "0.36.1-feature.SSISDK.
|
|
43
|
-
"@sphereon/ssi-sdk.mdl-mdoc": "0.36.1-feature.SSISDK.
|
|
44
|
-
"@sphereon/ssi-sdk.oidf-client": "0.36.1-feature.SSISDK.
|
|
45
|
-
"@sphereon/ssi-sdk.sd-jwt": "0.36.1-feature.SSISDK.
|
|
46
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.36.1-feature.SSISDK.
|
|
47
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-feature.SSISDK.
|
|
48
|
-
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.36.1-feature.SSISDK.
|
|
49
|
-
"@sphereon/ssi-types": "0.36.1-feature.SSISDK.
|
|
31
|
+
"@sphereon/oid4vci-client": "0.20.1-next.3",
|
|
32
|
+
"@sphereon/oid4vci-common": "0.20.1-next.3",
|
|
33
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
37
|
+
"@sphereon/ssi-sdk.contact-manager": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
38
|
+
"@sphereon/ssi-sdk.core": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
39
|
+
"@sphereon/ssi-sdk.credential-store": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
40
|
+
"@sphereon/ssi-sdk.credential-validation": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
41
|
+
"@sphereon/ssi-sdk.data-store-types": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
42
|
+
"@sphereon/ssi-sdk.issuance-branding": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
43
|
+
"@sphereon/ssi-sdk.mdl-mdoc": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
44
|
+
"@sphereon/ssi-sdk.oidf-client": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
45
|
+
"@sphereon/ssi-sdk.sd-jwt": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
46
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-common": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
47
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
48
|
+
"@sphereon/ssi-sdk.xstate-machine-persistence": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
49
|
+
"@sphereon/ssi-types": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
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.20.
|
|
63
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.36.1-feature.SSISDK.
|
|
62
|
+
"@sphereon/oid4vc-common": "0.20.1-feat.SSISDK.83.1",
|
|
63
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.36.1-feature.SSISDK.89.metadata.persistence.103+7d41f865",
|
|
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": "7d41f86553fed321199e36cb6aacca36cb99032f"
|
|
94
94
|
}
|
|
@@ -506,7 +506,7 @@ export class OID4VCIHolder implements IAgentPlugin {
|
|
|
506
506
|
return {
|
|
507
507
|
authorizationCodeURL,
|
|
508
508
|
// Needed, because the above createAuthorizationRequestUrl manipulates the state, adding pkce opts to the state
|
|
509
|
-
oid4vciClientState: JSON.parse(await client.exportState())
|
|
509
|
+
oid4vciClientState: JSON.parse(await client.exportState()),
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
|
|
@@ -741,6 +741,7 @@ export class OID4VCIHolder implements IAgentPlugin {
|
|
|
741
741
|
format: issuanceOpt.format,
|
|
742
742
|
// TODO: We need to update the machine and add notifications support for actual deferred credentials instead of just waiting/retrying
|
|
743
743
|
deferredCredentialAwait: true,
|
|
744
|
+
...(issuanceOpt.id && typeof issuanceOpt.id === 'string' ? { credentialConfigurationId: issuanceOpt.id } : undefined),
|
|
744
745
|
...(!jwk && { kid }), // vci client either wants a jwk or kid. If we have used the jwk method do not provide the kid
|
|
745
746
|
jwk,
|
|
746
747
|
alg,
|