@triveria/wallet 0.0.223 → 0.0.224

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 +22 -3
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -2044,6 +2044,25 @@ export interface VerifiedLinkedVp {
2044
2044
  */
2045
2045
  'credentials': Array<Credential>;
2046
2046
  }
2047
+ /**
2048
+ * Wrapped result of successful verification interaction.
2049
+ * @export
2050
+ * @interface VerifiedWrapper
2051
+ */
2052
+ export interface VerifiedWrapper {
2053
+ /**
2054
+ *
2055
+ * @type {Array<Credential>}
2056
+ * @memberof VerifiedWrapper
2057
+ */
2058
+ 'credentials': Array<Credential>;
2059
+ /**
2060
+ * The Verifiable Presentation that was presented during the interaction.
2061
+ * @type {string}
2062
+ * @memberof VerifiedWrapper
2063
+ */
2064
+ 'vp': string;
2065
+ }
2047
2066
  /**
2048
2067
  * Request for the creation of URL used by holder to present credentials to a verifier.
2049
2068
  * @export
@@ -3034,7 +3053,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3034
3053
  * @param {*} [options] Override http request option.
3035
3054
  * @throws {RequiredError}
3036
3055
  */
3037
- walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Credential>>>;
3056
+ walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifiedWrapper>>;
3038
3057
  /**
3039
3058
  * Deletes a specific verified credentials by state
3040
3059
  * @param {string} walletId Wallet ID
@@ -3417,7 +3436,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3417
3436
  * @param {*} [options] Override http request option.
3418
3437
  * @throws {RequiredError}
3419
3438
  */
3420
- walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Credential>>;
3439
+ walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<VerifiedWrapper>;
3421
3440
  /**
3422
3441
  * Deletes a specific verified credentials by state
3423
3442
  * @param {string} walletId Wallet ID
@@ -3848,7 +3867,7 @@ export declare class DefaultApi extends BaseAPI {
3848
3867
  * @throws {RequiredError}
3849
3868
  * @memberof DefaultApi
3850
3869
  */
3851
- walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credential[], any>>;
3870
+ walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedWrapper, any>>;
3852
3871
  /**
3853
3872
  * Deletes a specific verified credentials by state
3854
3873
  * @param {string} walletId Wallet ID
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.223",
4
+ "version": "0.0.224",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {