@vaultsfyi/sdk 2.1.7 → 2.1.9

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.9
4
+
5
+ ### Patch Changes
6
+
7
+ - aadebdd Update OpenAPI types
8
+
9
+ ## 2.1.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 00958d5 Update OpenAPI types (#17)
14
+
3
15
  ## 2.1.7
4
16
 
5
17
  ### Patch Changes
package/dist/client.d.mts CHANGED
@@ -1603,6 +1603,10 @@ interface paths {
1603
1603
  tags?: string[];
1604
1604
  /** @description Curators to be included. */
1605
1605
  curators?: string[];
1606
+ /** @description Sort order, either asc or desc. Ascending is default. */
1607
+ sortOrder?: 'asc' | 'desc';
1608
+ /** @description Field to sort by */
1609
+ sortBy?: 'tvl' | 'apy1day' | 'apy7day' | 'apy30day';
1606
1610
  };
1607
1611
  header?: never;
1608
1612
  path?: never;
@@ -1729,6 +1733,15 @@ interface paths {
1729
1733
  /** @description Total APY */
1730
1734
  total: number;
1731
1735
  };
1736
+ /** @description 1hour APY details */
1737
+ '1hour': {
1738
+ /** @description Base APY */
1739
+ base: number;
1740
+ /** @description Reward APY */
1741
+ reward: number;
1742
+ /** @description Total APY */
1743
+ total: number;
1744
+ };
1732
1745
  };
1733
1746
  /** @description TVL details of the vault */
1734
1747
  tvl: {
@@ -1737,6 +1750,8 @@ interface paths {
1737
1750
  /** @description Native TVL */
1738
1751
  native: string;
1739
1752
  };
1753
+ /** @description Timestamp of the last vault data update */
1754
+ lastUpdateTimestamp: number;
1740
1755
  /** @description List of rewards for the vault */
1741
1756
  rewards: {
1742
1757
  /** @description Asset details of the reward */
@@ -1762,6 +1777,8 @@ interface paths {
1762
1777
  assetGroup: string;
1763
1778
  };
1764
1779
  apy: {
1780
+ /** @description 1hour APY of the reward asset */
1781
+ '1hour': number;
1765
1782
  /** @description 1day APY of the reward asset */
1766
1783
  '1day': number;
1767
1784
  /** @description 7day APY of the reward asset */
@@ -2182,6 +2199,15 @@ interface paths {
2182
2199
  /** @description Total APY */
2183
2200
  total: number;
2184
2201
  };
2202
+ /** @description 1hour APY details */
2203
+ '1hour': {
2204
+ /** @description Base APY */
2205
+ base: number;
2206
+ /** @description Reward APY */
2207
+ reward: number;
2208
+ /** @description Total APY */
2209
+ total: number;
2210
+ };
2185
2211
  };
2186
2212
  /** @description TVL details of the vault */
2187
2213
  tvl: {
@@ -2190,6 +2216,8 @@ interface paths {
2190
2216
  /** @description Native TVL */
2191
2217
  native: string;
2192
2218
  };
2219
+ /** @description Timestamp of the last vault data update */
2220
+ lastUpdateTimestamp: number;
2193
2221
  /** @description List of rewards for the vault */
2194
2222
  rewards: {
2195
2223
  /** @description Asset details of the reward */
@@ -2215,6 +2243,8 @@ interface paths {
2215
2243
  assetGroup: string;
2216
2244
  };
2217
2245
  apy: {
2246
+ /** @description 1hour APY of the reward asset */
2247
+ '1hour': number;
2218
2248
  /** @description 1day APY of the reward asset */
2219
2249
  '1day': number;
2220
2250
  /** @description 7day APY of the reward asset */
@@ -3156,6 +3186,10 @@ interface paths {
3156
3186
  tags?: string[];
3157
3187
  /** @description Curators to be included. */
3158
3188
  curators?: string[];
3189
+ /** @description Sort order, either asc or desc. Ascending is default. */
3190
+ sortOrder?: 'asc' | 'desc';
3191
+ /** @description Field to sort by */
3192
+ sortBy?: 'tvl' | 'apy1day' | 'apy7day' | 'apy30day';
3159
3193
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
3160
3194
  apyInterval?: '1day' | '7day' | '30day';
3161
3195
  /** @description Minimum USD value of the vault to be included */
@@ -7981,11 +8015,17 @@ declare class VaultsSdk {
7981
8015
  reward: number;
7982
8016
  total: number;
7983
8017
  };
8018
+ "1hour": {
8019
+ base: number;
8020
+ reward: number;
8021
+ total: number;
8022
+ };
7984
8023
  };
7985
8024
  tvl: {
7986
8025
  usd: string;
7987
8026
  native: string;
7988
8027
  };
8028
+ lastUpdateTimestamp: number;
7989
8029
  rewards: {
7990
8030
  asset: {
7991
8031
  address: string;
@@ -7998,6 +8038,7 @@ declare class VaultsSdk {
7998
8038
  assetGroup: string;
7999
8039
  };
8000
8040
  apy: {
8041
+ "1hour": number;
8001
8042
  "1day": number;
8002
8043
  "7day": number;
8003
8044
  "30day": number;
@@ -8133,11 +8174,17 @@ declare class VaultsSdk {
8133
8174
  reward: number;
8134
8175
  total: number;
8135
8176
  };
8177
+ "1hour": {
8178
+ base: number;
8179
+ reward: number;
8180
+ total: number;
8181
+ };
8136
8182
  };
8137
8183
  tvl: {
8138
8184
  usd: string;
8139
8185
  native: string;
8140
8186
  };
8187
+ lastUpdateTimestamp: number;
8141
8188
  rewards: {
8142
8189
  asset: {
8143
8190
  address: string;
@@ -8150,6 +8197,7 @@ declare class VaultsSdk {
8150
8197
  assetGroup: string;
8151
8198
  };
8152
8199
  apy: {
8200
+ "1hour": number;
8153
8201
  "1day": number;
8154
8202
  "7day": number;
8155
8203
  "30day": number;
package/dist/client.d.ts CHANGED
@@ -1603,6 +1603,10 @@ interface paths {
1603
1603
  tags?: string[];
1604
1604
  /** @description Curators to be included. */
1605
1605
  curators?: string[];
1606
+ /** @description Sort order, either asc or desc. Ascending is default. */
1607
+ sortOrder?: 'asc' | 'desc';
1608
+ /** @description Field to sort by */
1609
+ sortBy?: 'tvl' | 'apy1day' | 'apy7day' | 'apy30day';
1606
1610
  };
1607
1611
  header?: never;
1608
1612
  path?: never;
@@ -1729,6 +1733,15 @@ interface paths {
1729
1733
  /** @description Total APY */
1730
1734
  total: number;
1731
1735
  };
1736
+ /** @description 1hour APY details */
1737
+ '1hour': {
1738
+ /** @description Base APY */
1739
+ base: number;
1740
+ /** @description Reward APY */
1741
+ reward: number;
1742
+ /** @description Total APY */
1743
+ total: number;
1744
+ };
1732
1745
  };
1733
1746
  /** @description TVL details of the vault */
1734
1747
  tvl: {
@@ -1737,6 +1750,8 @@ interface paths {
1737
1750
  /** @description Native TVL */
1738
1751
  native: string;
1739
1752
  };
1753
+ /** @description Timestamp of the last vault data update */
1754
+ lastUpdateTimestamp: number;
1740
1755
  /** @description List of rewards for the vault */
1741
1756
  rewards: {
1742
1757
  /** @description Asset details of the reward */
@@ -1762,6 +1777,8 @@ interface paths {
1762
1777
  assetGroup: string;
1763
1778
  };
1764
1779
  apy: {
1780
+ /** @description 1hour APY of the reward asset */
1781
+ '1hour': number;
1765
1782
  /** @description 1day APY of the reward asset */
1766
1783
  '1day': number;
1767
1784
  /** @description 7day APY of the reward asset */
@@ -2182,6 +2199,15 @@ interface paths {
2182
2199
  /** @description Total APY */
2183
2200
  total: number;
2184
2201
  };
2202
+ /** @description 1hour APY details */
2203
+ '1hour': {
2204
+ /** @description Base APY */
2205
+ base: number;
2206
+ /** @description Reward APY */
2207
+ reward: number;
2208
+ /** @description Total APY */
2209
+ total: number;
2210
+ };
2185
2211
  };
2186
2212
  /** @description TVL details of the vault */
2187
2213
  tvl: {
@@ -2190,6 +2216,8 @@ interface paths {
2190
2216
  /** @description Native TVL */
2191
2217
  native: string;
2192
2218
  };
2219
+ /** @description Timestamp of the last vault data update */
2220
+ lastUpdateTimestamp: number;
2193
2221
  /** @description List of rewards for the vault */
2194
2222
  rewards: {
2195
2223
  /** @description Asset details of the reward */
@@ -2215,6 +2243,8 @@ interface paths {
2215
2243
  assetGroup: string;
2216
2244
  };
2217
2245
  apy: {
2246
+ /** @description 1hour APY of the reward asset */
2247
+ '1hour': number;
2218
2248
  /** @description 1day APY of the reward asset */
2219
2249
  '1day': number;
2220
2250
  /** @description 7day APY of the reward asset */
@@ -3156,6 +3186,10 @@ interface paths {
3156
3186
  tags?: string[];
3157
3187
  /** @description Curators to be included. */
3158
3188
  curators?: string[];
3189
+ /** @description Sort order, either asc or desc. Ascending is default. */
3190
+ sortOrder?: 'asc' | 'desc';
3191
+ /** @description Field to sort by */
3192
+ sortBy?: 'tvl' | 'apy1day' | 'apy7day' | 'apy30day';
3159
3193
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
3160
3194
  apyInterval?: '1day' | '7day' | '30day';
3161
3195
  /** @description Minimum USD value of the vault to be included */
@@ -7981,11 +8015,17 @@ declare class VaultsSdk {
7981
8015
  reward: number;
7982
8016
  total: number;
7983
8017
  };
8018
+ "1hour": {
8019
+ base: number;
8020
+ reward: number;
8021
+ total: number;
8022
+ };
7984
8023
  };
7985
8024
  tvl: {
7986
8025
  usd: string;
7987
8026
  native: string;
7988
8027
  };
8028
+ lastUpdateTimestamp: number;
7989
8029
  rewards: {
7990
8030
  asset: {
7991
8031
  address: string;
@@ -7998,6 +8038,7 @@ declare class VaultsSdk {
7998
8038
  assetGroup: string;
7999
8039
  };
8000
8040
  apy: {
8041
+ "1hour": number;
8001
8042
  "1day": number;
8002
8043
  "7day": number;
8003
8044
  "30day": number;
@@ -8133,11 +8174,17 @@ declare class VaultsSdk {
8133
8174
  reward: number;
8134
8175
  total: number;
8135
8176
  };
8177
+ "1hour": {
8178
+ base: number;
8179
+ reward: number;
8180
+ total: number;
8181
+ };
8136
8182
  };
8137
8183
  tvl: {
8138
8184
  usd: string;
8139
8185
  native: string;
8140
8186
  };
8187
+ lastUpdateTimestamp: number;
8141
8188
  rewards: {
8142
8189
  asset: {
8143
8190
  address: string;
@@ -8150,6 +8197,7 @@ declare class VaultsSdk {
8150
8197
  assetGroup: string;
8151
8198
  };
8152
8199
  apy: {
8200
+ "1hour": number;
8153
8201
  "1day": number;
8154
8202
  "7day": number;
8155
8203
  "30day": number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaultsfyi/sdk",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "description": "An SDK for interacting with the Vaults.fyi API",
5
5
  "main": "./dist/client.js",
6
6
  "module": "./dist/client.mjs",