@ape.swap/bonds-sdk 3.0.35 → 3.0.36

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/dist/main.js CHANGED
@@ -22356,7 +22356,7 @@ const PRICE_GETTER_ADDRESSES = {
22356
22356
  [types.ChainId.AVAX]: '0x01dadaa586D30d93Ac92C79A5Cb02a8F276a8B4F', // Price getter V3
22357
22357
  [types.ChainId.CROSSFI]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4', // Price getter V3
22358
22358
  [types.ChainId.SONIC]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4', // Price getter V3
22359
- [types.ChainId.MONAD_TESTNET]: '0x0187D959A28B0D3B490c2D898fA1CcD054cCC3cd',
22359
+ [types.ChainId.MONAD_TESTNET]: '0x0187D959A28B0D3B490c2D898fA1CcD054cCC3cd', // Price getter V3
22360
22360
  };
22361
22361
  const MULTICALL_V2 = {
22362
22362
  [types.ChainId.BSC]: '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
@@ -69612,12 +69612,10 @@ const getBatchTokensExternal = (params) => __awaiter$9(void 0, void 0, void 0, f
69612
69612
  chain: chainId,
69613
69613
  });
69614
69614
  return response.data.map((token) => {
69615
- var _a;
69616
69615
  return {
69617
69616
  symbol: token.symbol,
69618
69617
  address: token.tokenAddress,
69619
69618
  price: parseFloat(token.price),
69620
- decimals: (_a = tokens.find((t) => t.address.toLowerCase() === token.tokenAddress.toLowerCase())) === null || _a === void 0 ? void 0 : _a.decimals,
69621
69619
  chainId,
69622
69620
  };
69623
69621
  });
@@ -4,7 +4,6 @@ export interface TokenPrices {
4
4
  symbol: string | undefined;
5
5
  address: string | undefined;
6
6
  price: number | undefined;
7
- decimals: number | undefined;
8
7
  chainId: ChainId | undefined;
9
8
  }
10
9
  export default function useTokenPrices(): UseQueryResult<TokenPrices[]>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "3.0.35",
6
+ "version": "3.0.36",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",