@sphereon/ssi-sdk.ebsi-support 0.36.1-next.11 → 0.36.1-next.39
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 +20 -20
- 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-next.
|
|
3
|
+
"version": "0.36.1-next.39+f060eb6e",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
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-next.
|
|
35
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-next.
|
|
36
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-next.
|
|
37
|
-
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-next.
|
|
38
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-next.
|
|
39
|
-
"@sphereon/ssi-sdk.contact-manager": "0.36.1-next.
|
|
40
|
-
"@sphereon/ssi-sdk.core": "0.36.1-next.
|
|
41
|
-
"@sphereon/ssi-sdk.oid4vci-holder": "0.36.1-next.
|
|
42
|
-
"@sphereon/ssi-sdk.presentation-exchange": "0.36.1-next.
|
|
43
|
-
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-next.
|
|
44
|
-
"@sphereon/ssi-types": "0.36.1-next.
|
|
34
|
+
"@sphereon/ssi-sdk-ext.did-resolver-ebsi": "0.36.1-next.39+f060eb6e",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.36.1-next.39+f060eb6e",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.36.1-next.39+f060eb6e",
|
|
37
|
+
"@sphereon/ssi-sdk-ext.jwt-service": "0.36.1-next.39+f060eb6e",
|
|
38
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.36.1-next.39+f060eb6e",
|
|
39
|
+
"@sphereon/ssi-sdk.contact-manager": "0.36.1-next.39+f060eb6e",
|
|
40
|
+
"@sphereon/ssi-sdk.core": "0.36.1-next.39+f060eb6e",
|
|
41
|
+
"@sphereon/ssi-sdk.oid4vci-holder": "0.36.1-next.39+f060eb6e",
|
|
42
|
+
"@sphereon/ssi-sdk.presentation-exchange": "0.36.1-next.39+f060eb6e",
|
|
43
|
+
"@sphereon/ssi-sdk.siopv2-oid4vp-op-auth": "0.36.1-next.39+f060eb6e",
|
|
44
|
+
"@sphereon/ssi-types": "0.36.1-next.39+f060eb6e",
|
|
45
45
|
"@veramo/core": "4.2.0",
|
|
46
46
|
"@veramo/did-manager": "4.2.0",
|
|
47
47
|
"@veramo/utils": "4.2.0",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@sphereon/oid4vci-client": "0.20.1-next.3",
|
|
60
60
|
"@sphereon/oid4vci-common": "0.20.1-next.3",
|
|
61
|
-
"@sphereon/ssi-express-support": "0.36.1-next.
|
|
62
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-next.
|
|
63
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-next.
|
|
64
|
-
"@sphereon/ssi-sdk.agent-config": "0.36.1-next.
|
|
65
|
-
"@sphereon/ssi-sdk.data-store": "0.36.1-next.
|
|
66
|
-
"@sphereon/ssi-sdk.data-store-types": "0.36.1-next.
|
|
67
|
-
"@sphereon/ssi-sdk.public-key-hosting": "0.36.1-next.
|
|
61
|
+
"@sphereon/ssi-express-support": "0.36.1-next.39+f060eb6e",
|
|
62
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.36.1-next.39+f060eb6e",
|
|
63
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.36.1-next.39+f060eb6e",
|
|
64
|
+
"@sphereon/ssi-sdk.agent-config": "0.36.1-next.39+f060eb6e",
|
|
65
|
+
"@sphereon/ssi-sdk.data-store": "0.36.1-next.39+f060eb6e",
|
|
66
|
+
"@sphereon/ssi-sdk.data-store-types": "0.36.1-next.39+f060eb6e",
|
|
67
|
+
"@sphereon/ssi-sdk.public-key-hosting": "0.36.1-next.39+f060eb6e",
|
|
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": "f060eb6e9930932f91cfbaa7535465d403a6c63c"
|
|
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
|
}
|