@ape.swap/bonds-sdk 3.0.73 → 3.0.74

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -6
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -78462,13 +78462,11 @@ const useSoulZapBondQuote = (typedValue, inputCurrency, bond, account, tierProof
78462
78462
  ];
78463
78463
  }, [zapInputData]);
78464
78464
  const fetchZapDetails = () => __awaiter$9(void 0, void 0, void 0, function* () {
78465
- var _a, _b, _c, _d, _e, _f;
78466
- console.log('Making Bond Zap call');
78465
+ var _a, _b, _c;
78467
78466
  const response = yield axios.post(SOUL_ZAP_API, {
78468
78467
  '0': zapInputData,
78469
78468
  });
78470
- console.log((_c = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result) === null || _c === void 0 ? void 0 : _c.data);
78471
- return (_f = (_e = (_d = response.data) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.result) === null || _f === void 0 ? void 0 : _f.data;
78469
+ return (_c = (_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result) === null || _c === void 0 ? void 0 : _c.data;
78472
78470
  });
78473
78471
  const { data: response, isLoading, isFetching, error, } = useQuery({
78474
78472
  queryKey: [QUERY_KEYS.ZAP_TOKEN_QUOTE, queryKey],
@@ -79466,7 +79464,6 @@ const BuyBond = ({ onDismiss, bondAddress, bondChain, handlePurchasedBond, isPro
79466
79464
  zapEnabled &&
79467
79465
  (sortedZapList === null || sortedZapList === void 0 ? void 0 : sortedZapList.length) > 0 &&
79468
79466
  sortedZapList[0].usdValue !== 0) {
79469
- console.log('setting input token');
79470
79467
  setHasChecked(true);
79471
79468
  setInputTokenString(sortedZapList[0].token === 'NATIVE' ? 'NATIVE' : sortedZapList[0].token.address[bondChain]);
79472
79469
  }
@@ -80008,7 +80005,6 @@ function useHotBonds() {
80008
80005
  }
80009
80006
  const getHotBondsContracts = (apiUrl) => __awaiter$9(void 0, void 0, void 0, function* () {
80010
80007
  try {
80011
- console.log('call!');
80012
80008
  const response = yield axios.get(`${STRAPI_URL}/hot-bonds`);
80013
80009
  return response.data.map((bond) => bond.BondAddress.toLowerCase());
80014
80010
  }
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.73",
6
+ "version": "3.0.74",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",