@gearbox-protocol/sdk 3.0.0-next.160 → 3.0.0-next.161

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,6 +1,6 @@
1
1
  import { LPTokens, PartialRecord, SupportedToken } from "@gearbox-protocol/sdk-gov";
2
2
  export type AdditionalTokenWithAPY = Extract<SupportedToken, "STETH" | "weETH" | "osETH" | "rETH" | "wstETH" | "ezETH" | "cbETH" | "sfrxETH" | "USDe" | "rsETH">;
3
- export declare const additionalTokensWIthAPY: Record<AdditionalTokenWithAPY, true>;
3
+ export declare const additionalTokensWithAPY: Record<AdditionalTokenWithAPY, true>;
4
4
  export type TokensWithAPY = LPTokens | AdditionalTokenWithAPY;
5
5
  export type LpTokensAPY = PartialRecord<TokensWithAPY, number>;
6
6
  export declare const isTokenWithAPY: (t: unknown) => t is TokensWithAPY;
package/lib/apy/index.js CHANGED
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.isTokenWithAPY = exports.additionalTokensWIthAPY = void 0;
17
+ exports.isTokenWithAPY = exports.additionalTokensWithAPY = void 0;
18
18
  const sdk_gov_1 = require("@gearbox-protocol/sdk-gov");
19
- exports.additionalTokensWIthAPY = {
19
+ exports.additionalTokensWithAPY = {
20
20
  STETH: true,
21
21
  weETH: true,
22
22
  osETH: true,
@@ -30,7 +30,7 @@ exports.additionalTokensWIthAPY = {
30
30
  };
31
31
  const isTokenWithAPY = (t) => typeof t === "string" &&
32
32
  (!!sdk_gov_1.lpTokens[t] ||
33
- !!exports.additionalTokensWIthAPY[t]);
33
+ !!exports.additionalTokensWithAPY[t]);
34
34
  exports.isTokenWithAPY = isTokenWithAPY;
35
35
  __exportStar(require("./convexAPY"), exports);
36
36
  __exportStar(require("./curveAPY"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.160",
3
+ "version": "3.0.0-next.161",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "test": "npx mocha -r ts-node/register -r dotenv/config 'src/**/*.spec.ts'"
31
31
  },
32
32
  "dependencies": {
33
- "@gearbox-protocol/sdk-gov": "^1.57.1",
33
+ "@gearbox-protocol/sdk-gov": "^1.58.3",
34
34
  "axios": "^1.2.6",
35
35
  "decimal.js-light": "^2.5.1",
36
36
  "deep-eql": "^4.1.0",