@triveria/wallet 0.0.291 → 0.0.293

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 (3) hide show
  1. package/api.d.ts +12 -3
  2. package/api.js +3 -1
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -76,11 +76,12 @@ export interface CredentialDraftMetadata {
76
76
  'credentialSchema'?: string;
77
77
  }
78
78
  /**
79
- * jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
79
+ * jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt mso_mdoc - VC using ISO/IEC 18013-5 mdoc format
80
80
  */
81
81
  export declare const CredentialFormat: {
82
82
  readonly SdJwtVc: "sd_jwt_vc";
83
83
  readonly JwtVcVcdm: "jwt_vc_vcdm";
84
+ readonly MsoMdoc: "mso_mdoc";
84
85
  };
85
86
  export type CredentialFormat = typeof CredentialFormat[keyof typeof CredentialFormat];
86
87
  export interface CredentialIdObject {
@@ -267,6 +268,7 @@ export declare const CredentialPropertyToVerify: {
267
268
  readonly VerifyExpiration: "verifyExpiration";
268
269
  readonly VerifyStatus: "verifyStatus";
269
270
  readonly VerifySchema: "verifySchema";
271
+ readonly VerifyKeyBinding: "verifyKeyBinding";
270
272
  };
271
273
  export type CredentialPropertyToVerify = typeof CredentialPropertyToVerify[keyof typeof CredentialPropertyToVerify];
272
274
  export interface CredentialRequest {
@@ -391,11 +393,18 @@ export interface DCQLQueryCredentials {
391
393
  */
392
394
  'id': string;
393
395
  'format': string;
394
- 'meta'?: DCQLQuerySdJwtVcMeta;
396
+ 'meta'?: DCQLQueryMeta;
395
397
  'claims'?: Array<DCQLQueryClaim>;
396
398
  }
397
- export interface DCQLQuerySdJwtVcMeta {
399
+ export interface DCQLQueryMeta {
400
+ /**
401
+ * Values for SD-JWT-VC type
402
+ */
398
403
  'vct_values'?: Array<string>;
404
+ /**
405
+ * Value for mDOC type
406
+ */
407
+ 'doctype_value'?: string;
399
408
  }
400
409
  /**
401
410
  * The deferred process status. Can be either in progress, or completed, or error. When the status is completed, the Id property will be set to the value of the resulting object ID.
package/api.js CHANGED
@@ -38,11 +38,12 @@ exports.AccreditationRequestTypeEnum = {
38
38
  RootTrustedAccreditationOrganisation: 'RootTrustedAccreditationOrganisation',
39
39
  };
40
40
  /**
41
- * jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
41
+ * jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt mso_mdoc - VC using ISO/IEC 18013-5 mdoc format
42
42
  */
43
43
  exports.CredentialFormat = {
44
44
  SdJwtVc: 'sd_jwt_vc',
45
45
  JwtVcVcdm: 'jwt_vc_vcdm',
46
+ MsoMdoc: 'mso_mdoc',
46
47
  };
47
48
  exports.CredentialIssuerDefinitionCredentialIssuerEnum = {
48
49
  CtWalletSame: 'CtWalletSame',
@@ -82,6 +83,7 @@ exports.CredentialPropertyToVerify = {
82
83
  VerifyExpiration: 'verifyExpiration',
83
84
  VerifyStatus: 'verifyStatus',
84
85
  VerifySchema: 'verifySchema',
86
+ VerifyKeyBinding: 'verifyKeyBinding',
85
87
  };
86
88
  exports.DeferredStatusEnum = {
87
89
  InProgress: 'in_progress',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.291",
4
+ "version": "0.0.293",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {