@ethereansos/interfaces-core 0.4.108 → 0.4.109
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/index.cjs.js +7 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -4,7 +4,7 @@ import web3Utils, { toChecksumAddress } from 'web3-utils';
|
|
4
4
|
export { default as web3Utils } from 'web3-utils';
|
5
5
|
import Web3 from 'web3';
|
6
6
|
import { create } from 'ipfs-http-client';
|
7
|
-
import {
|
7
|
+
import { UseWalletProvider, useWallet } from 'use-wallet';
|
8
8
|
import require$$0 from 'buffer';
|
9
9
|
import require$$0$1 from 'util';
|
10
10
|
|
@@ -48767,10 +48767,13 @@ var useEthosContext = function useEthosContext() {
|
|
48767
48767
|
var Web3Context = /*#__PURE__*/React.createContext('web3');
|
48768
48768
|
var DEFAULT_BLOCK_INTERVAL = 15;
|
48769
48769
|
var DEFAULT_BLOCK_INTERVAL_TIMEOUT = 40000;
|
48770
|
+
|
48771
|
+
var chains = require('use-wallet').chains;
|
48770
48772
|
/**
|
48771
48773
|
* WRAP CHAINS START
|
48772
48774
|
**/
|
48773
48775
|
|
48776
|
+
|
48774
48777
|
var ETH = chains.getChainInformation(1).nativeCurrency;
|
48775
48778
|
var WRAPPED_CHAINS = {
|
48776
48779
|
10: {
|