@ape.swap/bonds-sdk 1.0.570 → 1.0.571

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.
@@ -7,6 +7,7 @@ interface BondModalProps {
7
7
  isOpen: boolean;
8
8
  onClose: () => void;
9
9
  bondAddress: string | null;
10
+ accountChainId: number;
10
11
  }
11
12
  declare const BondModal: React.FC<BondModalProps>;
12
13
  export default BondModal;
@@ -58,7 +58,7 @@ import '../../../scss/BondModal.scss';
58
58
  import { useWaitForTransactionReceipt, useWriteContract } from "wagmi";
59
59
  import { PUBLIC_RPC_URLS } from "../../../config/constants/networks";
60
60
  var BondModal = function (_a) {
61
- var account = _a.account, isActive = _a.isActive, isOpen = _a.isOpen, onClose = _a.onClose, bondAddress = _a.bondAddress;
61
+ var account = _a.account, isActive = _a.isActive, isOpen = _a.isOpen, accountChainId = _a.accountChainId, onClose = _a.onClose, bondAddress = _a.bondAddress;
62
62
  if (!isOpen)
63
63
  return null;
64
64
  var _b = useWriteContract(), hash = _b.data, isPending = _b.isPending, writeContract = _b.writeContract;
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": "1.0.570",
6
+ "version": "1.0.571",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",