@ape.swap/bonds-sdk 7.0.0-test.1 → 7.0.0-test.2

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,8 +1,9 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import Button from '../uikit-sdk/Button/Button.js';
3
+ import { openEvmWalletConnector } from '../../config/constants/walletConnectors.js';
3
4
 
4
5
  const ConnectButton = () => {
5
- return jsx(Button, { fullWidth: true, children: "Connect" });
6
+ return (jsx(Button, { fullWidth: true, onClick: openEvmWalletConnector, children: "Connect" }));
6
7
  };
7
8
 
8
9
  export { ConnectButton as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/ConnectButton/index.tsx"],"sourcesContent":["import React from 'react'\nimport Button from '../uikit-sdk/Button/Button'\n\nconst ConnectButton = () => {\n return <Button fullWidth>Connect</Button>\n}\n\nexport default ConnectButton\n"],"names":["_jsx"],"mappings":";;;AAGA,MAAM,aAAa,GAAG,MAAK;AACzB,IAAA,OAAOA,GAAA,CAAC,MAAM,EAAA,EAAC,SAAS,8BAAiB;AAC3C;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ConnectButton/index.tsx"],"sourcesContent":["import React from 'react'\nimport Button from '../uikit-sdk/Button/Button'\nimport { openEvmWalletConnector } from '../../config/constants/walletConnectors'\n\nconst ConnectButton = () => {\n return (\n <Button fullWidth onClick={openEvmWalletConnector}>\n Connect\n </Button>\n )\n}\n\nexport default ConnectButton\n"],"names":["_jsx"],"mappings":";;;;AAIA,MAAM,aAAa,GAAG,MAAK;IACzB,QACEA,GAAA,CAAC,MAAM,EAAA,EAAC,SAAS,EAAA,IAAA,EAAC,OAAO,EAAE,sBAAsB,EAAA,QAAA,EAAA,SAAA,EAAA,CAExC;AAEb;;;;"}
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": "7.0.0-test.1",
6
+ "version": "7.0.0-test.2",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",