@sphereon/ssi-sdk.siopv2-oid4vp-rp-auth 0.34.1-feature.DIIPv4.166 → 0.34.1-feature.DIIPv4.181
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 +9 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -9
- package/dist/index.d.ts +6 -9
- package/dist/index.js +9 -25
- package/dist/index.js.map +1 -1
- package/package.json +14 -14
- package/src/agent/SIOPv2RP.ts +14 -27
- package/src/functions.ts +8 -11
- package/src/types/ISIOPv2RP.ts +5 -10
package/src/types/ISIOPv2RP.ts
CHANGED
|
@@ -24,13 +24,14 @@ import { ExternalIdentifierOIDFEntityIdOpts, IIdentifierResolution, ManagedIdent
|
|
|
24
24
|
import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service'
|
|
25
25
|
import { ICredentialValidation, SchemaValidation } from '@sphereon/ssi-sdk.credential-validation'
|
|
26
26
|
import { ImDLMdoc } from '@sphereon/ssi-sdk.mdl-mdoc'
|
|
27
|
-
import { IPDManager, VersionControlMode } from '@sphereon/ssi-sdk.pd-manager'
|
|
27
|
+
import { ImportDcqlQueryItem, IPDManager, VersionControlMode } from '@sphereon/ssi-sdk.pd-manager'
|
|
28
28
|
import { IPresentationExchange } from '@sphereon/ssi-sdk.presentation-exchange'
|
|
29
29
|
import { ISDJwtPlugin } from '@sphereon/ssi-sdk.sd-jwt'
|
|
30
30
|
import { AuthorizationRequestStateStatus } from '@sphereon/ssi-sdk.siopv2-oid4vp-common'
|
|
31
|
-
import {
|
|
31
|
+
import { HasherSync } from '@sphereon/ssi-types'
|
|
32
32
|
import { VerifyCallback } from '@sphereon/wellknown-dids-client'
|
|
33
33
|
import { IAgentContext, ICredentialVerifier, IDIDManager, IKeyManager, IPluginMethodMap, IResolver } from '@veramo/core'
|
|
34
|
+
import { DcqlQuery } from 'dcql'
|
|
34
35
|
|
|
35
36
|
import { Resolvable } from 'did-resolver'
|
|
36
37
|
import { EventEmitter } from 'events'
|
|
@@ -109,16 +110,10 @@ export interface IVerifyAuthResponseStateArgs {
|
|
|
109
110
|
queryId?: string
|
|
110
111
|
correlationId: string
|
|
111
112
|
audience?: string
|
|
112
|
-
|
|
113
|
+
dcqlQuery?: DcqlQuery
|
|
113
114
|
}
|
|
114
|
-
|
|
115
|
-
export interface IDefinitionPair {
|
|
116
|
-
definitionPayload?: IPresentationDefinition
|
|
117
|
-
dcqlPayload?: DcqlQueryPayload
|
|
118
|
-
}
|
|
119
|
-
|
|
120
115
|
export interface ImportDefinitionsArgs {
|
|
121
|
-
|
|
116
|
+
importItems: Array<ImportDcqlQueryItem>
|
|
122
117
|
tenantId?: string
|
|
123
118
|
version?: string
|
|
124
119
|
versionControlMode?: VersionControlMode
|