@qidao/sdk 5.2.6 → 5.2.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.
@@ -1,4 +1,4 @@
1
- export type PLATFORM = 'Beefy' | 'Yearn' | 'Curve' | 'AaveV2' | 'AaveV3' | 'Balancer' | 'Lido' | 'Arrakis' | 'QuickSwap' | 'Gains' | 'GotchiVault' | 'Stader' | 'StakeDAO' | 'Tetu' | 'Spookyswap' | 'Convex';
1
+ export type PLATFORM = 'Beefy' | 'Yearn' | 'Curve' | 'AaveV2' | 'AaveV3' | 'Balancer' | 'Lido' | 'Arrakis' | 'QuickSwap' | 'Gains' | 'GotchiVault' | 'Stader' | 'StakeDAO' | 'Tetu' | 'Spookyswap' | 'Convex' | 'Coinbase' | 'Optimism' | 'Arbitrum';
2
2
  export declare const ProtocolInfo: {
3
3
  [k in PLATFORM]: {
4
4
  description: string;
@@ -17724,9 +17724,9 @@ declare const MAINNET_COLLATERALS: ({
17724
17724
  version: 2;
17725
17725
  snapshotName: "cbEth (Eth)";
17726
17726
  underlyingIds: "coinbase-wrapped-staked-eth"[];
17727
+ platform: "Coinbase"[];
17727
17728
  addedAt: number;
17728
17729
  deprecated?: undefined;
17729
- platform?: undefined;
17730
17730
  } | {
17731
17731
  shortName: "steth";
17732
17732
  vaultAddress: string;
@@ -20938,9 +20938,9 @@ declare const MAINNET_COLLATERALS: ({
20938
20938
  version: 2;
20939
20939
  snapshotName: "LDO (Eth)";
20940
20940
  underlyingIds: "lido-dao-token"[];
20941
+ platform: "Lido"[];
20941
20942
  addedAt: number;
20942
20943
  deprecated?: undefined;
20943
- platform?: undefined;
20944
20944
  })[];
20945
20945
  declare const FANTOM_COLLATERALS: ({
20946
20946
  shortName: "ftm";
@@ -61271,9 +61271,9 @@ declare const ARBITRUM_COLLATERALS: ({
61271
61271
  version: 2;
61272
61272
  snapshotName: "Arb (Arbitrum)";
61273
61273
  underlyingIds: "arbitrum"[];
61274
+ platform: "Arbitrum"[];
61274
61275
  addedAt: number;
61275
61276
  deprecated?: undefined;
61276
- platform?: undefined;
61277
61277
  })[];
61278
61278
  declare const OPTIMISM_COLLATERALS: ({
61279
61279
  shortName: "weth";
@@ -62449,8 +62449,8 @@ declare const OPTIMISM_COLLATERALS: ({
62449
62449
  snapshotName: "WETH (Optimism)";
62450
62450
  underlyingIds: "weth"[];
62451
62451
  addedAt: number;
62452
- fallbackUnderlyingAddress?: undefined;
62453
62452
  platform?: undefined;
62453
+ fallbackUnderlyingAddress?: undefined;
62454
62454
  } | {
62455
62455
  shortName: "wbtc";
62456
62456
  vaultAddress: string;
@@ -63637,8 +63637,8 @@ declare const OPTIMISM_COLLATERALS: ({
63637
63637
  snapshotName: "WBTC (Optimism)";
63638
63638
  underlyingIds: "wrapped-bitcoinwbtc"[];
63639
63639
  addedAt: number;
63640
- fallbackUnderlyingAddress?: undefined;
63641
63640
  platform?: undefined;
63641
+ fallbackUnderlyingAddress?: undefined;
63642
63642
  } | {
63643
63643
  shortName: "op";
63644
63644
  vaultAddress: string;
@@ -65242,9 +65242,9 @@ declare const OPTIMISM_COLLATERALS: ({
65242
65242
  version: 2;
65243
65243
  snapshotName: "OP (Optimism)";
65244
65244
  underlyingIds: "optimism"[];
65245
+ platform: "Optimism"[];
65245
65246
  addedAt: number;
65246
65247
  fallbackUnderlyingAddress?: undefined;
65247
- platform?: undefined;
65248
65248
  } | {
65249
65249
  shortName: "beefy-aave-dai";
65250
65250
  vaultAddress: string;
@@ -76485,8 +76485,8 @@ declare const OPTIMISM_COLLATERALS: ({
76485
76485
  underlyingIds: "kyber-network-crystal"[];
76486
76486
  addedAt: number;
76487
76487
  snapshotName?: undefined;
76488
- fallbackUnderlyingAddress?: undefined;
76489
76488
  platform?: undefined;
76489
+ fallbackUnderlyingAddress?: undefined;
76490
76490
  })[];
76491
76491
  declare const MOONRIVER_COLLATERALS: ({
76492
76492
  shortName: "eth";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qidao/sdk",
3
3
  "license": "MIT",
4
- "version": "5.2.6",
4
+ "version": "5.2.9",
5
5
  "description": "🛠 An SDK for building applications on top of QiDao Protocol.",
6
6
  "main": "./dist/index.js",
7
7
  "umd:main": "dist/index.umd.js",
@@ -55,10 +55,10 @@
55
55
  "@types/lodash": "^4.14.185",
56
56
  "ethers": "5.7.0",
57
57
  "isomorphic-fetch":" ^3.0.0",
58
- "microbundle": "0.15.1",
58
+ "microbundle": "^0.15.1",
59
59
  "p-queue": "^7.3.0",
60
60
  "typechain": "8.1.0",
61
- "typescript": "4.9.5"
61
+ "typescript": "^5.1.6"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">= 16"