@sphereon/ssi-sdk.ebsi-support 0.36.1-feature.SSISDK.70.integrate.digidentity.10 → 0.36.1-feature.SSISDK.70.integrate.digidentity.55
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
- package/src/functions/Attestation.ts +2 -1
- package/src/types/IEbsiSupport.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.ebsi-support",
|
|
3
|
-
"version": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
3
|
+
"version": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@ethersproject/random": "^5.7.0",
|
|
30
|
-
"@sphereon/did-auth-siop": "0.20.
|
|
31
|
-
"@sphereon/did-auth-siop-adapter": "0.20.
|
|
30
|
+
"@sphereon/did-auth-siop": "0.20.1-next.3",
|
|
31
|
+
"@sphereon/did-auth-siop-adapter": "0.20.1-next.3",
|
|
32
32
|
"@sphereon/pex": "5.0.0-unstable.28",
|
|
33
33
|
"@sphereon/pex-models": "^2.3.2",
|
|
34
|
-
"@sphereon/ssi-sdk-ext.did-resolver-ebsi": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
35
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
36
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
37
|
-
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
38
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
39
|
-
"@sphereon/ssi-sdk.contact-manager": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
40
|
-
"@sphereon/ssi-sdk.core": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
41
|
-
"@sphereon/ssi-sdk.oid4vci-holder": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
42
|
-
"@sphereon/ssi-sdk.presentation-exchange": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
43
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
44
|
-
"@sphereon/ssi-types": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
34
|
+
"@sphereon/ssi-sdk-ext.did-resolver-ebsi": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
37
|
+
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
38
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
39
|
+
"@sphereon/ssi-sdk.contact-manager": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
40
|
+
"@sphereon/ssi-sdk.core": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
41
|
+
"@sphereon/ssi-sdk.oid4vci-holder": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
42
|
+
"@sphereon/ssi-sdk.presentation-exchange": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
43
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
44
|
+
"@sphereon/ssi-types": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
45
45
|
"@veramo/core": "4.2.0",
|
|
46
46
|
"@veramo/did-manager": "4.2.0",
|
|
47
47
|
"@veramo/utils": "4.2.0",
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"xstate": "^4.38.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@sphereon/oid4vci-client": "0.20.
|
|
60
|
-
"@sphereon/oid4vci-common": "0.20.
|
|
61
|
-
"@sphereon/ssi-express-support": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
62
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
63
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
64
|
-
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
65
|
-
"@sphereon/ssi-sdk.data-store": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
66
|
-
"@sphereon/ssi-sdk.data-store-types": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
67
|
-
"@sphereon/ssi-sdk.public-key-hosting": "0.36.1-feature.SSISDK.70.integrate.digidentity.
|
|
59
|
+
"@sphereon/oid4vci-client": "0.20.1-next.3",
|
|
60
|
+
"@sphereon/oid4vci-common": "0.20.1-next.3",
|
|
61
|
+
"@sphereon/ssi-express-support": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
62
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
63
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
64
|
+
"@sphereon/ssi-sdk.agent-config": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
65
|
+
"@sphereon/ssi-sdk.data-store": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
66
|
+
"@sphereon/ssi-sdk.data-store-types": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
67
|
+
"@sphereon/ssi-sdk.public-key-hosting": "0.36.1-feature.SSISDK.70.integrate.digidentity.55+fc4df611",
|
|
68
68
|
"@transmute/json-web-signature": "0.7.0-unstable.81",
|
|
69
69
|
"@types/cors": "^2.8.17",
|
|
70
70
|
"@types/express": "^4.17.21",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"EBSI",
|
|
100
100
|
"EBSI Authorization Client"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "fc4df611242812613a69238d3d03452395505b64"
|
|
103
103
|
}
|
|
@@ -180,7 +180,7 @@ export const ebsiCreateAttestationAuthRequestURL = async (
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
export const ebsiGetAttestationInterpreter = async (
|
|
183
|
-
{ clientId, authReqResult }: Omit<GetAttestationArgs, 'opts'>,
|
|
183
|
+
{ clientId, authReqResult, walletType }: Omit<GetAttestationArgs, 'opts'>,
|
|
184
184
|
context: IRequiredContext,
|
|
185
185
|
): Promise<OID4VCIMachineInterpreter> => {
|
|
186
186
|
const identifier = authReqResult.identifier
|
|
@@ -201,6 +201,7 @@ export const ebsiGetAttestationInterpreter = async (
|
|
|
201
201
|
},
|
|
202
202
|
didMethodPreferences: [SupportedDidMethodEnum.DID_EBSI, SupportedDidMethodEnum.DID_KEY],
|
|
203
203
|
stateNavigationListener: OID4VCICallbackStateListener(vciStateCallbacks),
|
|
204
|
+
walletType: walletType ?? 'NATURAL_PERSON',
|
|
204
205
|
})
|
|
205
206
|
const vpLinkHandler = new Siopv2OID4VPLinkHandler({
|
|
206
207
|
protocols: ['openid:'],
|
|
@@ -5,7 +5,7 @@ import { IIdentifierResolution, ManagedIdentifierDidOpts, ManagedIdentifierDidRe
|
|
|
5
5
|
import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service'
|
|
6
6
|
import { IBasicCredentialLocaleBranding, Party } from '@sphereon/ssi-sdk.data-store-types'
|
|
7
7
|
import { CredentialRole } from '@sphereon/ssi-types'
|
|
8
|
-
import { ErrorDetails, IOID4VCIHolder, MappedCredentialToAccept } from '@sphereon/ssi-sdk.oid4vci-holder'
|
|
8
|
+
import { ErrorDetails, IOID4VCIHolder, MappedCredentialToAccept, WalletType } from '@sphereon/ssi-sdk.oid4vci-holder'
|
|
9
9
|
import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange'
|
|
10
10
|
import { IDidAuthSiopOpAuthenticator } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth'
|
|
11
11
|
import { PresentationSubmission, W3CVerifiableCredential } from '@sphereon/ssi-types'
|
|
@@ -121,6 +121,7 @@ export type CreateAttestationAuthRequestURLArgs = {
|
|
|
121
121
|
export type GetAttestationArgs = {
|
|
122
122
|
clientId: string
|
|
123
123
|
authReqResult: AttestationAuthRequestUrlResult
|
|
124
|
+
walletType?: WalletType
|
|
124
125
|
opts?: {
|
|
125
126
|
timeout: number
|
|
126
127
|
}
|