@triveria/wallet 0.0.305 → 0.0.307

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 +26 -0
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -236,6 +236,10 @@ export interface CredentialMetadata {
236
236
  * Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
237
237
  */
238
238
  'issuerDisplay'?: Array<IssuerDisplayItem>;
239
+ /**
240
+ * Flag to set automatic acceptance of verification requests which resolve to this credential
241
+ */
242
+ 'verificationAutoAccept': boolean;
239
243
  }
240
244
  export declare const CredentialMetadataInteractionEnum: {
241
245
  readonly Issuance: "issuance";
@@ -253,6 +257,10 @@ export type CredentialMetadataStatusEnum = typeof CredentialMetadataStatusEnum[k
253
257
  export interface CredentialMetadataPatchPayload {
254
258
  [key: string]: any;
255
259
  'name'?: string;
260
+ /**
261
+ * Flag to set automatic acceptance of verification requests which resolve to this credential
262
+ */
263
+ 'verificationAutoAccept'?: boolean;
256
264
  }
257
265
  export interface CredentialNotification {
258
266
  'eventType': CredentialNotificationEventTypeEnum;
@@ -692,6 +700,10 @@ export interface InteractionAuthorizationRequirements {
692
700
  * Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
693
701
  */
694
702
  'issuerDisplay'?: Array<IssuerDisplayItem>;
703
+ /**
704
+ * True when the requested presentation was already auto-accepted and sent using credentials with their auto-accept flag enabled. `interactionId` does not refer to a pending interaction in this case, and no further consent call is needed or possible for it.
705
+ */
706
+ 'autoAccepted'?: boolean;
695
707
  }
696
708
  export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
697
709
  readonly None: "none";
@@ -1044,6 +1056,10 @@ export interface VerifyInitRequest {
1044
1056
  * 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
1057
  */
1046
1058
  'wmpEntityId'?: string;
1059
+ /**
1060
+ * List of custom presentation definition/DCQL query fragments to be applied to the presentation definition/DCQL query in the verifier\'s configuration
1061
+ */
1062
+ 'customQueries'?: Array<VerifyQueryFragment>;
1047
1063
  }
1048
1064
  export interface VerifyInitResponse {
1049
1065
  /**
@@ -1055,6 +1071,16 @@ export interface VerifyInitResponse {
1055
1071
  */
1056
1072
  'verifierState': string;
1057
1073
  }
1074
+ export interface VerifyQueryFragment {
1075
+ /**
1076
+ * JSON path to which the fragment will be inserted
1077
+ */
1078
+ 'path': string;
1079
+ /**
1080
+ * The presentation definition/DCQL query fragment
1081
+ */
1082
+ 'fragment': object;
1083
+ }
1058
1084
  export interface VpInvalidNotification {
1059
1085
  'verifierId': string;
1060
1086
  '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.307",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {