@sphereon/ssi-sdk.siopv2-oid4vp-common 0.34.1-feature.SSISDK.57.uni.client.169 → 0.34.1-feature.SSISDK.57.uni.client.203

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 CHANGED
@@ -8,12 +8,12 @@ interface ClaimPayloadCommonOpts {
8
8
  interface AuthorizationChallengeValidationResponse {
9
9
  presentation_during_issuance_session: string;
10
10
  }
11
- type AuthorizationRequestStateStatus = "authorization_request_created" | "authorization_request_retrieved" | "error";
12
- type AuthorizationResponseStateStatus = "authorization_response_received" | "authorization_response_verified" | "error";
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
- definitionId: string;
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
- definitionId: string;
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 = "authorization_request_created" | "authorization_request_retrieved" | "error";
12
- type AuthorizationResponseStateStatus = "authorization_response_received" | "authorization_response_verified" | "error";
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
- definitionId: string;
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
- definitionId: string;
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.169+6401d3e9",
3
+ "version": "0.34.1-feature.SSISDK.57.uni.client.203+70e8e76c",
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.SSISDK.57.uni.client.129",
29
- "@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.57.uni.client.169+6401d3e9",
30
- "@sphereon/ssi-types": "0.34.1-feature.SSISDK.57.uni.client.169+6401d3e9",
28
+ "@sphereon/did-auth-siop": "0.19.1-feature.DIIPv4.154",
29
+ "@sphereon/ssi-sdk.core": "0.34.1-feature.SSISDK.57.uni.client.203+70e8e76c",
30
+ "@sphereon/ssi-types": "0.34.1-feature.SSISDK.57.uni.client.203+70e8e76c",
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": "6401d3e9674ee70ca653677f51449e75b1dde671"
46
+ "gitHead": "70e8e76c1e91a68a49f9251002a11ad861c9f72f"
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 = "authorization_request_created" | "authorization_request_retrieved" | "error"
13
+ export type AuthorizationRequestStateStatus = 'authorization_request_created' | 'authorization_request_retrieved' | 'error'
14
14
 
15
- export type AuthorizationResponseStateStatus = "authorization_response_received" | "authorization_response_verified" | "error"
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
- definitionId: string
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
- definitionId: string
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