@triveria/wallet 0.0.164 → 0.0.166

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 +19 -7
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -551,12 +551,6 @@ export interface CredentialVerifierDefinition {
551
551
  * @memberof CredentialVerifierDefinition
552
552
  */
553
553
  'presentationDefinition': PresentationDefinition;
554
- /**
555
- * Additional JSON schema that will be used to validate credential. This can be used to narrow down the validation process to a specific set of attributes on top of the credential validity.
556
- * @type {Array<PresentationDefinitionInputConstraintField>}
557
- * @memberof CredentialVerifierDefinition
558
- */
559
- 'credentialValidationConstraints'?: Array<PresentationDefinitionInputConstraintField>;
560
554
  }
561
555
  /**
562
556
  * The wrapper contains Verifiable Credential in both, the Credential and as Base64 signed format alongside with metadata.
@@ -1327,12 +1321,30 @@ export interface PresentationDefinitionInputConstraint {
1327
1321
  * @interface PresentationDefinitionInputConstraintField
1328
1322
  */
1329
1323
  export interface PresentationDefinitionInputConstraintField {
1324
+ /**
1325
+ *
1326
+ * @type {string}
1327
+ * @memberof PresentationDefinitionInputConstraintField
1328
+ */
1329
+ 'id'?: string;
1330
+ /**
1331
+ *
1332
+ * @type {string}
1333
+ * @memberof PresentationDefinitionInputConstraintField
1334
+ */
1335
+ 'name'?: string;
1336
+ /**
1337
+ *
1338
+ * @type {string}
1339
+ * @memberof PresentationDefinitionInputConstraintField
1340
+ */
1341
+ 'purpose'?: string;
1330
1342
  /**
1331
1343
  *
1332
1344
  * @type {object}
1333
1345
  * @memberof PresentationDefinitionInputConstraintField
1334
1346
  */
1335
- 'filter': object;
1347
+ 'filter'?: object;
1336
1348
  /**
1337
1349
  *
1338
1350
  * @type {Array<string>}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.164",
4
+ "version": "0.0.166",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {