@triveria/wallet 0.0.305 → 0.0.306

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.
Files changed (2) hide show
  1. package/api.d.ts +14 -0
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1044,6 +1044,10 @@ export interface VerifyInitRequest {
1044
1044
  * ID of an WMP entity with which a WMP connection has already been established. If provided, WMP is used to send the credential offer to the specified recipient.
1045
1045
  */
1046
1046
  'wmpEntityId'?: string;
1047
+ /**
1048
+ * List of custom presentation definition/DCQL query fragments to be applied to the presentation definition/DCQL query in the verifier\'s configuration
1049
+ */
1050
+ 'customQueries'?: Array<VerifyQueryFragment>;
1047
1051
  }
1048
1052
  export interface VerifyInitResponse {
1049
1053
  /**
@@ -1055,6 +1059,16 @@ export interface VerifyInitResponse {
1055
1059
  */
1056
1060
  'verifierState': string;
1057
1061
  }
1062
+ export interface VerifyQueryFragment {
1063
+ /**
1064
+ * JSON path to which the fragment will be inserted
1065
+ */
1066
+ 'path': string;
1067
+ /**
1068
+ * The presentation definition/DCQL query fragment
1069
+ */
1070
+ 'fragment': object;
1071
+ }
1058
1072
  export interface VpInvalidNotification {
1059
1073
  'verifierId': string;
1060
1074
  'error': string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.305",
4
+ "version": "0.0.306",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {