@injistack/react-inji-verify-sdk 0.18.1 → 0.19.0-beta.10

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.
@@ -20,6 +20,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
20
20
  * LICENSE file in the root directory of this source tree.
21
21
  */
22
22
 
23
+ /**
24
+ * @license React
25
+ * react-is.production.min.js
26
+ *
27
+ * Copyright (c) Facebook, Inc. and its affiliates.
28
+ *
29
+ * This source code is licensed under the MIT license found in the
30
+ * LICENSE file in the root directory of this source tree.
31
+ */
32
+
23
33
  /**
24
34
  * @license React
25
35
  * react-jsx-runtime.production.min.js
@@ -5,8 +5,7 @@ export interface QrData {
5
5
  responseType: string;
6
6
  responseMode: string;
7
7
  clientId: string;
8
- presentationDefinition: Record<string, unknown>;
9
- presentationDefinitionUri?: string;
8
+ dcqlQuery: unknown;
10
9
  responseUri: string;
11
10
  nonce: string;
12
11
  iat: number;
@@ -1,11 +1,10 @@
1
- import { PresentationDefinition, VPVerificationRequest } from "../components/openid4vp-verification/OpenID4VPVerification.types";
1
+ import { DcqlQuery, VPVerificationRequest } from "../components/openid4vp-verification/OpenID4VPVerification.types";
2
2
  import { VCVerificationV2Request, VCVerificationV2Response } from "../components/qrcode-verification/QRCodeVerification.types";
3
3
  import { QrData } from "../types/OVPSchemeQrData";
4
4
  export declare const vcVerificationV2: (credential: unknown, url: string, config?: VCVerificationV2Request) => Promise<VCVerificationV2Response>;
5
5
  export declare const vcSubmission: (credential: unknown, url: string, txnId?: string) => Promise<any>;
6
- export declare const vpRequest: (url: string, clientId: string, txnId?: string, presentationDefinitionId?: string, presentationDefinition?: PresentationDefinition, acceptVPWithoutHolderProof?: boolean) => Promise<QrData>;
7
6
  export declare const vpRequestStatus: (url: string, reqId: string, abortSignal?: boolean) => Promise<any>;
8
- export declare const vpSessionRequest: (url: string, clientId: string, txnId?: string, presentationDefinitionId?: string, presentationDefinition?: PresentationDefinition, acceptVPWithoutHolderProof?: boolean, responseCodeValidationRequired?: boolean) => Promise<QrData>;
7
+ export declare const vpSessionRequest: (url: string, dcqlQuery: DcqlQuery, clientId: string, txnId?: string, responseCodeValidationRequired?: boolean) => Promise<QrData>;
9
8
  /**
10
9
  * Public helper that calls the new `/vp-session-results` endpoint.
11
10
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injistack/react-inji-verify-sdk",
3
- "version": "0.18.1",
3
+ "version": "0.19.0-beta.10",
4
4
  "description": "A react component library to perform Inji verify tasks, such as OpenId4VP sharing, Reading VC QR codes",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -48,7 +48,6 @@
48
48
  "@types/react-dom": "^18.2.23",
49
49
  "@typescript-eslint/eslint-plugin": "^8.30.1",
50
50
  "@typescript-eslint/parser": "^8.30.1",
51
- "@vitejs/plugin-react": "^4.3.4",
52
51
  "cross-env": "^7.0.3",
53
52
  "css-loader": "^7.1.2",
54
53
  "eslint": "^9.24.0",