@triveria/wallet 0.0.271 → 0.0.273

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 +16 -4
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1015,6 +1015,10 @@ export interface WalletNotification {
1015
1015
  'subjectDid': string;
1016
1016
  'eventType': WalletNotificationEventType;
1017
1017
  'eventDetails'?: WalletNotificationEventDetails;
1018
+ /**
1019
+ * Timestamp in milliseconds
1020
+ */
1021
+ 'createdTs': string;
1018
1022
  'time': string;
1019
1023
  }
1020
1024
  /**
@@ -1069,6 +1073,12 @@ export interface WmpCreateInvitationResponse {
1069
1073
  export interface WmpEntityConnectionStatus {
1070
1074
  'connected': boolean;
1071
1075
  }
1076
+ export interface WmpEntityIdObject {
1077
+ /**
1078
+ * WMP Entity ID
1079
+ */
1080
+ 'id': string;
1081
+ }
1072
1082
  /**
1073
1083
  * WMP Entity key identifier
1074
1084
  */
@@ -1095,7 +1105,9 @@ export interface WmpEntityRecord {
1095
1105
  'identifiers': Array<WmpEntityKeyIdentifier>;
1096
1106
  }
1097
1107
  export interface WmpNotification {
1098
- 'server': WmpEntityRecord;
1108
+ 'server'?: WmpEntityRecord;
1109
+ 'client'?: WmpEntityRecord;
1110
+ 'invitationUrl'?: string;
1099
1111
  'id': string;
1100
1112
  'error'?: string;
1101
1113
  }
@@ -2102,7 +2114,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2102
2114
  * @param {*} [options] Override http request option.
2103
2115
  * @throws {RequiredError}
2104
2116
  */
2105
- wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WmpEntityRecord>>;
2117
+ wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WmpEntityIdObject>>;
2106
2118
  /**
2107
2119
  * Get pending WMP requests (credential offers or credential verification requests)
2108
2120
  * @param {string} walletId
@@ -2630,7 +2642,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2630
2642
  * @param {*} [options] Override http request option.
2631
2643
  * @throws {RequiredError}
2632
2644
  */
2633
- wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): AxiosPromise<WmpEntityRecord>;
2645
+ wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): AxiosPromise<WmpEntityIdObject>;
2634
2646
  /**
2635
2647
  * Get pending WMP requests (credential offers or credential verification requests)
2636
2648
  * @param {string} walletId
@@ -3158,7 +3170,7 @@ export declare class DefaultApi extends BaseAPI {
3158
3170
  * @param {*} [options] Override http request option.
3159
3171
  * @throws {RequiredError}
3160
3172
  */
3161
- wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WmpEntityRecord, any>>;
3173
+ wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WmpEntityIdObject, any>>;
3162
3174
  /**
3163
3175
  * Get pending WMP requests (credential offers or credential verification requests)
3164
3176
  * @param {string} walletId
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.271",
4
+ "version": "0.0.273",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {