@triveria/wallet 0.0.224 → 0.0.225

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 +23 -3
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -148,11 +148,11 @@ export interface Credential {
148
148
  */
149
149
  'holder'?: string;
150
150
  /**
151
- * Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
152
- * @type {string}
151
+ *
152
+ * @type {VerifiableCredentialIssuer}
153
153
  * @memberof Credential
154
154
  */
155
- 'issuer'?: string;
155
+ 'issuer'?: VerifiableCredentialIssuer;
156
156
  /**
157
157
  * Array of specific VC field disclosures
158
158
  * @type {Array<string>}
@@ -1312,6 +1312,20 @@ export interface IssuerLogo {
1312
1312
  */
1313
1313
  'alt_text'?: string;
1314
1314
  }
1315
+ /**
1316
+ * Object containing an `id` property.
1317
+ * @export
1318
+ * @interface IssuerMeta
1319
+ */
1320
+ export interface IssuerMeta {
1321
+ [key: string]: any;
1322
+ /**
1323
+ *
1324
+ * @type {string}
1325
+ * @memberof IssuerMeta
1326
+ */
1327
+ 'id': string;
1328
+ }
1315
1329
  /**
1316
1330
  *
1317
1331
  * @export
@@ -2025,6 +2039,12 @@ export interface VcOffer {
2025
2039
  */
2026
2040
  'Url': string;
2027
2041
  }
2042
+ /**
2043
+ * @type VerifiableCredentialIssuer
2044
+ * Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
2045
+ * @export
2046
+ */
2047
+ export type VerifiableCredentialIssuer = IssuerMeta | string;
2028
2048
  /**
2029
2049
  *
2030
2050
  * @export
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.224",
4
+ "version": "0.0.225",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {