@vaultsfyi/sdk 2.1.16 → 2.1.17

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.17
4
+
5
+ ### Patch Changes
6
+
7
+ - f119b9a Update OpenAPI types - added flags to detailed-vaults (#264)
8
+
3
9
  ## 2.1.16
4
10
 
5
11
  ### Patch Changes
package/dist/client.d.mts CHANGED
@@ -2422,6 +2422,18 @@ interface paths {
2422
2422
  };
2423
2423
  /** @description List of warnings related to the vault */
2424
2424
  warnings: string[];
2425
+ /** @description List of flags with severity and expiry information */
2426
+ flags: {
2427
+ /** @description Content of the flag */
2428
+ content: string;
2429
+ /**
2430
+ * @description Severity level of the flag
2431
+ * @enum {string}
2432
+ */
2433
+ severity: 'info' | 'warning' | 'critical';
2434
+ /** @description Unix timestamp (seconds) when this flag expires */
2435
+ endDate: number;
2436
+ }[];
2425
2437
  /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
2426
2438
  intrinsic?: {
2427
2439
  /** @description Intrinsic APY details */
@@ -2986,6 +2998,18 @@ interface paths {
2986
2998
  };
2987
2999
  /** @description List of warnings related to the vault */
2988
3000
  warnings: string[];
3001
+ /** @description List of flags with severity and expiry information */
3002
+ flags: {
3003
+ /** @description Content of the flag */
3004
+ content: string;
3005
+ /**
3006
+ * @description Severity level of the flag
3007
+ * @enum {string}
3008
+ */
3009
+ severity: 'info' | 'warning' | 'critical';
3010
+ /** @description Unix timestamp (seconds) when this flag expires */
3011
+ endDate: number;
3012
+ }[];
2989
3013
  /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
2990
3014
  intrinsic?: {
2991
3015
  /** @description Intrinsic APY details */
@@ -9347,6 +9371,11 @@ declare class VaultsSdk {
9347
9371
  depositFee?: number;
9348
9372
  };
9349
9373
  warnings: string[];
9374
+ flags: {
9375
+ content: string;
9376
+ severity: "info" | "warning" | "critical";
9377
+ endDate: number;
9378
+ }[];
9350
9379
  intrinsic?: {
9351
9380
  apy: {
9352
9381
  "1day": {
@@ -9552,6 +9581,11 @@ declare class VaultsSdk {
9552
9581
  depositFee?: number;
9553
9582
  };
9554
9583
  warnings: string[];
9584
+ flags: {
9585
+ content: string;
9586
+ severity: "info" | "warning" | "critical";
9587
+ endDate: number;
9588
+ }[];
9555
9589
  intrinsic?: {
9556
9590
  apy: {
9557
9591
  "1day": {
package/dist/client.d.ts CHANGED
@@ -2422,6 +2422,18 @@ interface paths {
2422
2422
  };
2423
2423
  /** @description List of warnings related to the vault */
2424
2424
  warnings: string[];
2425
+ /** @description List of flags with severity and expiry information */
2426
+ flags: {
2427
+ /** @description Content of the flag */
2428
+ content: string;
2429
+ /**
2430
+ * @description Severity level of the flag
2431
+ * @enum {string}
2432
+ */
2433
+ severity: 'info' | 'warning' | 'critical';
2434
+ /** @description Unix timestamp (seconds) when this flag expires */
2435
+ endDate: number;
2436
+ }[];
2425
2437
  /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
2426
2438
  intrinsic?: {
2427
2439
  /** @description Intrinsic APY details */
@@ -2986,6 +2998,18 @@ interface paths {
2986
2998
  };
2987
2999
  /** @description List of warnings related to the vault */
2988
3000
  warnings: string[];
3001
+ /** @description List of flags with severity and expiry information */
3002
+ flags: {
3003
+ /** @description Content of the flag */
3004
+ content: string;
3005
+ /**
3006
+ * @description Severity level of the flag
3007
+ * @enum {string}
3008
+ */
3009
+ severity: 'info' | 'warning' | 'critical';
3010
+ /** @description Unix timestamp (seconds) when this flag expires */
3011
+ endDate: number;
3012
+ }[];
2989
3013
  /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
2990
3014
  intrinsic?: {
2991
3015
  /** @description Intrinsic APY details */
@@ -9347,6 +9371,11 @@ declare class VaultsSdk {
9347
9371
  depositFee?: number;
9348
9372
  };
9349
9373
  warnings: string[];
9374
+ flags: {
9375
+ content: string;
9376
+ severity: "info" | "warning" | "critical";
9377
+ endDate: number;
9378
+ }[];
9350
9379
  intrinsic?: {
9351
9380
  apy: {
9352
9381
  "1day": {
@@ -9552,6 +9581,11 @@ declare class VaultsSdk {
9552
9581
  depositFee?: number;
9553
9582
  };
9554
9583
  warnings: string[];
9584
+ flags: {
9585
+ content: string;
9586
+ severity: "info" | "warning" | "critical";
9587
+ endDate: number;
9588
+ }[];
9555
9589
  intrinsic?: {
9556
9590
  apy: {
9557
9591
  "1day": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaultsfyi/sdk",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "An SDK for interacting with the Vaults.fyi API",
5
5
  "main": "./dist/client.js",
6
6
  "module": "./dist/client.mjs",