@ape.swap/bonds-sdk 1.0.466 → 1.0.468

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,14 +1,13 @@
1
1
  /** @jsxImportSource theme-ui */
2
2
  import React from 'react';
3
3
  import '../../scss/YourBonds.scss';
4
- import { ExternalProvider } from '@ethersproject/providers';
5
4
  declare global {
6
5
  interface Window {
7
6
  ethereum?: any;
8
7
  }
9
8
  }
10
9
  interface YourBondsProps {
11
- externalProvider: ExternalProvider;
10
+ connectionString?: string;
12
11
  }
13
12
  declare const YourBonds: React.FC<YourBondsProps>;
14
13
  export default YourBonds;
@@ -76,13 +76,8 @@ import { getPendingVesting } from '../../hooks/usePendingVesting';
76
76
  import axios from 'axios';
77
77
  import { fetchUserOwnedBillsDataAsync } from './fetchBillsUser';
78
78
  import { Input } from '../../components/uikit-sdk/Input';
79
- import { Web3Provider } from '@ethersproject/providers';
80
79
  var YourBonds = function (_a) {
81
- var externalProvider = _a.externalProvider;
82
- var web3Provider = new Web3Provider(externalProvider);
83
- console.log("WEB3PROVIDER");
84
- console.log(web3Provider);
85
- console.log("WEB3PROVIDER");
80
+ var connectionString = _a.connectionString;
86
81
  var _b = useWeb3React(), account = _b.account, isActive = _b.isActive;
87
82
  var _c = useSearchParams(), searchParams = _c[0], setSearchParams = _c[1];
88
83
  var navigate = useNavigate();
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.466",
6
+ "version": "1.0.468",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",