@sphereon/ssi-sdk.siopv2-oid4vp-common 0.34.1-feature.SSISDK.57.uni.client.173 → 0.34.1-feature.SSISDK.57.uni.client.204
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.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +5 -5
- package/src/auth-model.ts +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -8,12 +8,12 @@ interface ClaimPayloadCommonOpts {
|
|
|
8
8
|
interface AuthorizationChallengeValidationResponse {
|
|
9
9
|
presentation_during_issuance_session: string;
|
|
10
10
|
}
|
|
11
|
-
type AuthorizationRequestStateStatus =
|
|
12
|
-
type AuthorizationResponseStateStatus =
|
|
11
|
+
type AuthorizationRequestStateStatus = 'authorization_request_created' | 'authorization_request_retrieved' | 'error';
|
|
12
|
+
type AuthorizationResponseStateStatus = 'authorization_response_received' | 'authorization_response_verified' | 'error';
|
|
13
13
|
interface GenerateAuthRequestURIResponse {
|
|
14
14
|
correlationId: string;
|
|
15
15
|
state: string;
|
|
16
|
-
|
|
16
|
+
queryId: string;
|
|
17
17
|
authRequestURI: string;
|
|
18
18
|
authStatusURI: string;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ interface AuthStatusResponse {
|
|
|
21
21
|
status: AuthorizationRequestStateStatus | AuthorizationResponseStateStatus;
|
|
22
22
|
correlationId: string;
|
|
23
23
|
error?: string;
|
|
24
|
-
|
|
24
|
+
queryId: string;
|
|
25
25
|
lastUpdated: number;
|
|
26
26
|
payload?: AuthorizationResponsePayload;
|
|
27
27
|
verifiedData?: AdditionalClaims;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ interface ClaimPayloadCommonOpts {
|
|
|
8
8
|
interface AuthorizationChallengeValidationResponse {
|
|
9
9
|
presentation_during_issuance_session: string;
|
|
10
10
|
}
|
|
11
|
-
type AuthorizationRequestStateStatus =
|
|
12
|
-
type AuthorizationResponseStateStatus =
|
|
11
|
+
type AuthorizationRequestStateStatus = 'authorization_request_created' | 'authorization_request_retrieved' | 'error';
|
|
12
|
+
type AuthorizationResponseStateStatus = 'authorization_response_received' | 'authorization_response_verified' | 'error';
|
|
13
13
|
interface GenerateAuthRequestURIResponse {
|
|
14
14
|
correlationId: string;
|
|
15
15
|
state: string;
|
|
16
|
-
|
|
16
|
+
queryId: string;
|
|
17
17
|
authRequestURI: string;
|
|
18
18
|
authStatusURI: string;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ interface AuthStatusResponse {
|
|
|
21
21
|
status: AuthorizationRequestStateStatus | AuthorizationResponseStateStatus;
|
|
22
22
|
correlationId: string;
|
|
23
23
|
error?: string;
|
|
24
|
-
|
|
24
|
+
queryId: string;
|
|
25
25
|
lastUpdated: number;
|
|
26
26
|
payload?: AuthorizationResponsePayload;
|
|
27
27
|
verifiedData?: AdditionalClaims;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.siopv2-oid4vp-common",
|
|
3
|
-
"version": "0.34.1-feature.SSISDK.57.uni.client.
|
|
3
|
+
"version": "0.34.1-feature.SSISDK.57.uni.client.204+e43d1331",
|
|
4
4
|
"description": "Common SIOPv2 and OID4VP types between modules",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@sphereon/did-auth-siop": "0.19.1-feature.
|
|
29
|
-
"@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.57.uni.client.
|
|
30
|
-
"@sphereon/ssi-types": "0.34.1-feature.SSISDK.57.uni.client.
|
|
28
|
+
"@sphereon/did-auth-siop": "0.19.1-feature.DIIPv4.154",
|
|
29
|
+
"@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.57.uni.client.204+e43d1331",
|
|
30
|
+
"@sphereon/ssi-types": "0.34.1-feature.SSISDK.57.uni.client.204+e43d1331",
|
|
31
31
|
"uint8arrays": "^3.1.1"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"README.md",
|
|
44
44
|
"LICENSE"
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e43d13318645bf56128bbd357e08db9d29c6d43c"
|
|
47
47
|
}
|
package/src/auth-model.ts
CHANGED
|
@@ -10,14 +10,14 @@ export interface AuthorizationChallengeValidationResponse {
|
|
|
10
10
|
presentation_during_issuance_session: string
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export type AuthorizationRequestStateStatus =
|
|
13
|
+
export type AuthorizationRequestStateStatus = 'authorization_request_created' | 'authorization_request_retrieved' | 'error'
|
|
14
14
|
|
|
15
|
-
export type AuthorizationResponseStateStatus =
|
|
15
|
+
export type AuthorizationResponseStateStatus = 'authorization_response_received' | 'authorization_response_verified' | 'error'
|
|
16
16
|
|
|
17
17
|
export interface GenerateAuthRequestURIResponse {
|
|
18
18
|
correlationId: string
|
|
19
19
|
state: string
|
|
20
|
-
|
|
20
|
+
queryId: string
|
|
21
21
|
authRequestURI: string
|
|
22
22
|
authStatusURI: string
|
|
23
23
|
}
|
|
@@ -26,7 +26,7 @@ export interface AuthStatusResponse {
|
|
|
26
26
|
status: AuthorizationRequestStateStatus | AuthorizationResponseStateStatus
|
|
27
27
|
correlationId: string
|
|
28
28
|
error?: string
|
|
29
|
-
|
|
29
|
+
queryId: string
|
|
30
30
|
lastUpdated: number
|
|
31
31
|
payload?: AuthorizationResponsePayload // Only put in here once the status reaches Verified on the RP side
|
|
32
32
|
verifiedData?: AdditionalClaims
|