@vaultsfyi/sdk 2.1.7 → 2.1.8

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,11 @@
1
1
  # @vaultsfyi/sdk
2
2
 
3
+ ## 2.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 00958d5 Update OpenAPI types (#17)
8
+
3
9
  ## 2.1.7
4
10
 
5
11
  ### Patch Changes
package/dist/client.d.mts CHANGED
@@ -1729,6 +1729,15 @@ interface paths {
1729
1729
  /** @description Total APY */
1730
1730
  total: number;
1731
1731
  };
1732
+ /** @description 1hour APY details */
1733
+ '1hour': {
1734
+ /** @description Base APY */
1735
+ base: number;
1736
+ /** @description Reward APY */
1737
+ reward: number;
1738
+ /** @description Total APY */
1739
+ total: number;
1740
+ };
1732
1741
  };
1733
1742
  /** @description TVL details of the vault */
1734
1743
  tvl: {
@@ -1737,6 +1746,8 @@ interface paths {
1737
1746
  /** @description Native TVL */
1738
1747
  native: string;
1739
1748
  };
1749
+ /** @description Timestamp of the last vault data update */
1750
+ lastUpdateTimestamp: number;
1740
1751
  /** @description List of rewards for the vault */
1741
1752
  rewards: {
1742
1753
  /** @description Asset details of the reward */
@@ -1762,6 +1773,8 @@ interface paths {
1762
1773
  assetGroup: string;
1763
1774
  };
1764
1775
  apy: {
1776
+ /** @description 1hour APY of the reward asset */
1777
+ '1hour': number;
1765
1778
  /** @description 1day APY of the reward asset */
1766
1779
  '1day': number;
1767
1780
  /** @description 7day APY of the reward asset */
@@ -2182,6 +2195,15 @@ interface paths {
2182
2195
  /** @description Total APY */
2183
2196
  total: number;
2184
2197
  };
2198
+ /** @description 1hour APY details */
2199
+ '1hour': {
2200
+ /** @description Base APY */
2201
+ base: number;
2202
+ /** @description Reward APY */
2203
+ reward: number;
2204
+ /** @description Total APY */
2205
+ total: number;
2206
+ };
2185
2207
  };
2186
2208
  /** @description TVL details of the vault */
2187
2209
  tvl: {
@@ -2190,6 +2212,8 @@ interface paths {
2190
2212
  /** @description Native TVL */
2191
2213
  native: string;
2192
2214
  };
2215
+ /** @description Timestamp of the last vault data update */
2216
+ lastUpdateTimestamp: number;
2193
2217
  /** @description List of rewards for the vault */
2194
2218
  rewards: {
2195
2219
  /** @description Asset details of the reward */
@@ -2215,6 +2239,8 @@ interface paths {
2215
2239
  assetGroup: string;
2216
2240
  };
2217
2241
  apy: {
2242
+ /** @description 1hour APY of the reward asset */
2243
+ '1hour': number;
2218
2244
  /** @description 1day APY of the reward asset */
2219
2245
  '1day': number;
2220
2246
  /** @description 7day APY of the reward asset */
@@ -7981,11 +8007,17 @@ declare class VaultsSdk {
7981
8007
  reward: number;
7982
8008
  total: number;
7983
8009
  };
8010
+ "1hour": {
8011
+ base: number;
8012
+ reward: number;
8013
+ total: number;
8014
+ };
7984
8015
  };
7985
8016
  tvl: {
7986
8017
  usd: string;
7987
8018
  native: string;
7988
8019
  };
8020
+ lastUpdateTimestamp: number;
7989
8021
  rewards: {
7990
8022
  asset: {
7991
8023
  address: string;
@@ -7998,6 +8030,7 @@ declare class VaultsSdk {
7998
8030
  assetGroup: string;
7999
8031
  };
8000
8032
  apy: {
8033
+ "1hour": number;
8001
8034
  "1day": number;
8002
8035
  "7day": number;
8003
8036
  "30day": number;
@@ -8133,11 +8166,17 @@ declare class VaultsSdk {
8133
8166
  reward: number;
8134
8167
  total: number;
8135
8168
  };
8169
+ "1hour": {
8170
+ base: number;
8171
+ reward: number;
8172
+ total: number;
8173
+ };
8136
8174
  };
8137
8175
  tvl: {
8138
8176
  usd: string;
8139
8177
  native: string;
8140
8178
  };
8179
+ lastUpdateTimestamp: number;
8141
8180
  rewards: {
8142
8181
  asset: {
8143
8182
  address: string;
@@ -8150,6 +8189,7 @@ declare class VaultsSdk {
8150
8189
  assetGroup: string;
8151
8190
  };
8152
8191
  apy: {
8192
+ "1hour": number;
8153
8193
  "1day": number;
8154
8194
  "7day": number;
8155
8195
  "30day": number;
package/dist/client.d.ts CHANGED
@@ -1729,6 +1729,15 @@ interface paths {
1729
1729
  /** @description Total APY */
1730
1730
  total: number;
1731
1731
  };
1732
+ /** @description 1hour APY details */
1733
+ '1hour': {
1734
+ /** @description Base APY */
1735
+ base: number;
1736
+ /** @description Reward APY */
1737
+ reward: number;
1738
+ /** @description Total APY */
1739
+ total: number;
1740
+ };
1732
1741
  };
1733
1742
  /** @description TVL details of the vault */
1734
1743
  tvl: {
@@ -1737,6 +1746,8 @@ interface paths {
1737
1746
  /** @description Native TVL */
1738
1747
  native: string;
1739
1748
  };
1749
+ /** @description Timestamp of the last vault data update */
1750
+ lastUpdateTimestamp: number;
1740
1751
  /** @description List of rewards for the vault */
1741
1752
  rewards: {
1742
1753
  /** @description Asset details of the reward */
@@ -1762,6 +1773,8 @@ interface paths {
1762
1773
  assetGroup: string;
1763
1774
  };
1764
1775
  apy: {
1776
+ /** @description 1hour APY of the reward asset */
1777
+ '1hour': number;
1765
1778
  /** @description 1day APY of the reward asset */
1766
1779
  '1day': number;
1767
1780
  /** @description 7day APY of the reward asset */
@@ -2182,6 +2195,15 @@ interface paths {
2182
2195
  /** @description Total APY */
2183
2196
  total: number;
2184
2197
  };
2198
+ /** @description 1hour APY details */
2199
+ '1hour': {
2200
+ /** @description Base APY */
2201
+ base: number;
2202
+ /** @description Reward APY */
2203
+ reward: number;
2204
+ /** @description Total APY */
2205
+ total: number;
2206
+ };
2185
2207
  };
2186
2208
  /** @description TVL details of the vault */
2187
2209
  tvl: {
@@ -2190,6 +2212,8 @@ interface paths {
2190
2212
  /** @description Native TVL */
2191
2213
  native: string;
2192
2214
  };
2215
+ /** @description Timestamp of the last vault data update */
2216
+ lastUpdateTimestamp: number;
2193
2217
  /** @description List of rewards for the vault */
2194
2218
  rewards: {
2195
2219
  /** @description Asset details of the reward */
@@ -2215,6 +2239,8 @@ interface paths {
2215
2239
  assetGroup: string;
2216
2240
  };
2217
2241
  apy: {
2242
+ /** @description 1hour APY of the reward asset */
2243
+ '1hour': number;
2218
2244
  /** @description 1day APY of the reward asset */
2219
2245
  '1day': number;
2220
2246
  /** @description 7day APY of the reward asset */
@@ -7981,11 +8007,17 @@ declare class VaultsSdk {
7981
8007
  reward: number;
7982
8008
  total: number;
7983
8009
  };
8010
+ "1hour": {
8011
+ base: number;
8012
+ reward: number;
8013
+ total: number;
8014
+ };
7984
8015
  };
7985
8016
  tvl: {
7986
8017
  usd: string;
7987
8018
  native: string;
7988
8019
  };
8020
+ lastUpdateTimestamp: number;
7989
8021
  rewards: {
7990
8022
  asset: {
7991
8023
  address: string;
@@ -7998,6 +8030,7 @@ declare class VaultsSdk {
7998
8030
  assetGroup: string;
7999
8031
  };
8000
8032
  apy: {
8033
+ "1hour": number;
8001
8034
  "1day": number;
8002
8035
  "7day": number;
8003
8036
  "30day": number;
@@ -8133,11 +8166,17 @@ declare class VaultsSdk {
8133
8166
  reward: number;
8134
8167
  total: number;
8135
8168
  };
8169
+ "1hour": {
8170
+ base: number;
8171
+ reward: number;
8172
+ total: number;
8173
+ };
8136
8174
  };
8137
8175
  tvl: {
8138
8176
  usd: string;
8139
8177
  native: string;
8140
8178
  };
8179
+ lastUpdateTimestamp: number;
8141
8180
  rewards: {
8142
8181
  asset: {
8143
8182
  address: string;
@@ -8150,6 +8189,7 @@ declare class VaultsSdk {
8150
8189
  assetGroup: string;
8151
8190
  };
8152
8191
  apy: {
8192
+ "1hour": number;
8153
8193
  "1day": number;
8154
8194
  "7day": number;
8155
8195
  "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.8",
4
4
  "description": "An SDK for interacting with the Vaults.fyi API",
5
5
  "main": "./dist/client.js",
6
6
  "module": "./dist/client.mjs",