@triveria/wallet 0.0.234 → 0.0.235

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 +35 -1
  2. package/api.js +4 -1
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -271,6 +271,37 @@ export interface CredentialIssuanceInitResult {
271
271
  */
272
272
  'issuanceQueueItemId': string;
273
273
  }
274
+ /**
275
+ *
276
+ * @export
277
+ * @interface CredentialIssuedNotification
278
+ */
279
+ export interface CredentialIssuedNotification {
280
+ /**
281
+ *
282
+ * @type {string}
283
+ * @memberof CredentialIssuedNotification
284
+ */
285
+ 'credentialType': string;
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof CredentialIssuedNotification
290
+ */
291
+ 'holderDid': string;
292
+ /**
293
+ *
294
+ * @type {string}
295
+ * @memberof CredentialIssuedNotification
296
+ */
297
+ 'issuerDid': string;
298
+ /**
299
+ *
300
+ * @type {string}
301
+ * @memberof CredentialIssuedNotification
302
+ */
303
+ 'credentialId': string;
304
+ }
274
305
  /**
275
306
  *
276
307
  * @export
@@ -2334,7 +2365,7 @@ export interface WalletNotification {
2334
2365
  * @type WalletNotificationEventDetails
2335
2366
  * @export
2336
2367
  */
2337
- export type WalletNotificationEventDetails = IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
2368
+ export type WalletNotificationEventDetails = CredentialIssuedNotification | IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
2338
2369
  /**
2339
2370
  *
2340
2371
  * @export
@@ -2346,6 +2377,9 @@ export declare const WalletNotificationEventType: {
2346
2377
  readonly IdTokenReceived: "idToken.received";
2347
2378
  readonly OfferProcessed: "offer.processed";
2348
2379
  readonly OfferInitiated: "offer.initiated";
2380
+ readonly CredentialCreated: "credential.created";
2381
+ readonly CredentialIssued: "credential.issued";
2382
+ readonly CredentialReceived: "credential.received";
2349
2383
  };
2350
2384
  export type WalletNotificationEventType = typeof WalletNotificationEventType[keyof typeof WalletNotificationEventType];
2351
2385
  /**
package/api.js CHANGED
@@ -139,7 +139,10 @@ exports.WalletNotificationEventType = {
139
139
  VpInvalid: 'vp.invalid',
140
140
  IdTokenReceived: 'idToken.received',
141
141
  OfferProcessed: 'offer.processed',
142
- OfferInitiated: 'offer.initiated'
142
+ OfferInitiated: 'offer.initiated',
143
+ CredentialCreated: 'credential.created',
144
+ CredentialIssued: 'credential.issued',
145
+ CredentialReceived: 'credential.received'
143
146
  };
144
147
  /**
145
148
  * DefaultApi - axios parameter creator
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.234",
4
+ "version": "0.0.235",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {