@vaultsfyi/sdk 2.1.4 → 2.1.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vaultsfyi/sdk
2
2
 
3
+ ## 2.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - add warnings schema
8
+
9
+ ## 2.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - add avalanche schema
14
+
3
15
  ## 2.1.3
4
16
 
5
17
  ### Patch Changes
package/dist/client.d.mts CHANGED
@@ -1906,6 +1906,8 @@ interface paths {
1906
1906
  /** @description Indicates if the vault supports rewards transaction flows */
1907
1907
  rewardsSupported: boolean;
1908
1908
  };
1909
+ /** @description List of warnings related to the vault */
1910
+ warnings: string[];
1909
1911
  }[];
1910
1912
  errors: {
1911
1913
  unsupportedNetworks: string[];
@@ -2357,6 +2359,8 @@ interface paths {
2357
2359
  /** @description Indicates if the vault supports rewards transaction flows */
2358
2360
  rewardsSupported: boolean;
2359
2361
  };
2362
+ /** @description List of warnings related to the vault */
2363
+ warnings: string[];
2360
2364
  };
2361
2365
  };
2362
2366
  };
@@ -8059,6 +8063,7 @@ declare class VaultsSdk {
8059
8063
  redeemStepsType: "instant" | "complex";
8060
8064
  rewardsSupported: boolean;
8061
8065
  };
8066
+ warnings: string[];
8062
8067
  }[];
8063
8068
  errors: {
8064
8069
  unsupportedNetworks: string[];
@@ -8210,6 +8215,7 @@ declare class VaultsSdk {
8210
8215
  redeemStepsType: "instant" | "complex";
8211
8216
  rewardsSupported: boolean;
8212
8217
  };
8218
+ warnings: string[];
8213
8219
  }>;
8214
8220
  getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
8215
8221
  data: {
package/dist/client.d.ts CHANGED
@@ -1906,6 +1906,8 @@ interface paths {
1906
1906
  /** @description Indicates if the vault supports rewards transaction flows */
1907
1907
  rewardsSupported: boolean;
1908
1908
  };
1909
+ /** @description List of warnings related to the vault */
1910
+ warnings: string[];
1909
1911
  }[];
1910
1912
  errors: {
1911
1913
  unsupportedNetworks: string[];
@@ -2357,6 +2359,8 @@ interface paths {
2357
2359
  /** @description Indicates if the vault supports rewards transaction flows */
2358
2360
  rewardsSupported: boolean;
2359
2361
  };
2362
+ /** @description List of warnings related to the vault */
2363
+ warnings: string[];
2360
2364
  };
2361
2365
  };
2362
2366
  };
@@ -8059,6 +8063,7 @@ declare class VaultsSdk {
8059
8063
  redeemStepsType: "instant" | "complex";
8060
8064
  rewardsSupported: boolean;
8061
8065
  };
8066
+ warnings: string[];
8062
8067
  }[];
8063
8068
  errors: {
8064
8069
  unsupportedNetworks: string[];
@@ -8210,6 +8215,7 @@ declare class VaultsSdk {
8210
8215
  redeemStepsType: "instant" | "complex";
8211
8216
  rewardsSupported: boolean;
8212
8217
  };
8218
+ warnings: string[];
8213
8219
  }>;
8214
8220
  getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
8215
8221
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaultsfyi/sdk",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "An SDK for interacting with the Vaults.fyi API",
5
5
  "main": "./dist/client.js",
6
6
  "module": "./dist/client.mjs",