@ape.swap/bonds-sdk 3.0.61 → 3.0.63

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
@@ -17971,6 +17971,7 @@ var types = {};
17971
17971
  ChainId[(ChainId['MONAD_TESTNET'] = 10143)] = 'MONAD_TESTNET';
17972
17972
  ChainId[(ChainId['SOL'] = 7565164)] = 'SOL';
17973
17973
  ChainId[(ChainId['BERACHAIN'] = 80094)] = 'BERACHAIN';
17974
+ ChainId[(ChainId['KATANA_TESTNET'] = 129399)] = 'KATANA_TESTNET';
17974
17975
  })((ChainId = exports.ChainId || (exports.ChainId = {})));
17975
17976
  var LiquidityDex
17976
17977
  ;(function (LiquidityDex) {
@@ -18380,6 +18381,7 @@ var types = {};
18380
18381
  ((_p = {}),
18381
18382
  (_p[LiquidityDex.ShadowExchange] = {
18382
18383
  factory: '0x2dA25E7446A70D7be65fd4c053948BEcAA6374c8',
18384
+ router: '0x1D368773735ee1E678950B7A97bcA2CafB330CDc',
18383
18385
  protocol: Protocols.Solidly,
18384
18386
  }),
18385
18387
  // [LiquidityDex.ShadowExchangeV3]: {
@@ -19060,10 +19062,10 @@ const formatNumberSI = (num, digits = 2) => {
19060
19062
  };
19061
19063
 
19062
19064
  /*
19063
- * bignumber.js v9.1.2
19065
+ * bignumber.js v9.3.0
19064
19066
  * A JavaScript library for arbitrary-precision arithmetic.
19065
19067
  * https://github.com/MikeMcl/bignumber.js
19066
- * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
19068
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
19067
19069
  * MIT Licensed.
19068
19070
  *
19069
19071
  * BigNumber.prototype methods | BigNumber methods
@@ -19964,7 +19966,7 @@ function clone$2(configObject) {
19964
19966
 
19965
19967
  // xc now represents str converted to baseOut.
19966
19968
 
19967
- // THe index of the rounding digit.
19969
+ // The index of the rounding digit.
19968
19970
  d = e + dp + 1;
19969
19971
 
19970
19972
  // The rounding digit: the digit to the right of the digit that may be rounded up.
@@ -24285,6 +24287,7 @@ bn$1.exports;
24285
24287
  this.words[i] = carry;
24286
24288
  this.length++;
24287
24289
  }
24290
+ this.length = num === 0 ? 1 : this.length;
24288
24291
 
24289
24292
  return isNegNum ? this.ineg() : this;
24290
24293
  };
@@ -77643,7 +77646,7 @@ const useApproval = (amount, currency, spender, account, chainId) => {
77643
77646
  return [approvalState !== null && approvalState !== void 0 ? approvalState : ApprovalState.NOT_APPROVED, handleApprove];
77644
77647
  };
77645
77648
 
77646
- const version$1 = '2.23.6';
77649
+ const version$1 = '2.29.1';
77647
77650
 
77648
77651
  let errorConfig = {
77649
77652
  getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
@@ -1,4 +1,3 @@
1
- import { BigNumber } from 'bignumber.js';
2
1
  import { UserBill } from '../types/yourbonds';
3
2
  import { BondsData } from '../types/bonds';
4
3
  import { BillsConfig } from '@ape.swap/apeswap-lists';
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.61",
6
+ "version": "3.0.63",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",
@@ -57,7 +57,7 @@
57
57
  "yalc": "^1.0.0-pre.53"
58
58
  },
59
59
  "dependencies": {
60
- "@ape.swap/apeswap-lists": "4.3.12",
60
+ "@ape.swap/apeswap-lists": "4.3.13",
61
61
  "@emotion/react": "11.11.4",
62
62
  "bignumber.js": "^9.1.2",
63
63
  "chart.js": "4.2.0",