@dodoex/wallet-web3 0.0.15-10 → 0.0.15-11
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/{blocto-b35573da.js → blocto-62c46244.js} +1 -1
- package/dist/cjs/{blocto-8544bcb2.cjs → blocto-093bd3cf.cjs} +1 -1
- package/dist/cjs/{index-519c330b.cjs → index-04a990e1.cjs} +1 -1
- package/dist/cjs/{index-a457a90f.cjs → index-29cea633.cjs} +1 -1
- package/dist/cjs/{index-046be3ee.cjs → index-3cf00e65.cjs} +1 -1
- package/dist/cjs/{index-96c72c87.cjs → index-5ff1e2c2.cjs} +1 -1
- package/dist/cjs/{index-2f9e543c.cjs → index-e988c7bb.cjs} +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{portis-a75536d8.cjs → portis-fcfa84ae.cjs} +1 -1
- package/dist/cjs/{provider-2f87ab8c.cjs → provider-b7de0940.cjs} +1 -1
- package/dist/cjs/{rainbow-3bcf73ba.cjs → rainbow-ff572b05.cjs} +1 -1
- package/dist/cjs/{uAuth-e2ff4267.cjs → uAuth-6063c1f7.cjs} +1 -1
- package/dist/cjs/{walletConnect-897ba892.cjs → walletConnect-caa06e64.cjs} +1 -1
- package/dist/cjs/{walletLink-b6aee101.cjs → walletLink-0dff58ea.cjs} +1 -1
- package/dist/{index-06c52145.js → index-0a82067b.js} +1 -1
- package/dist/{index-1960b968.js → index-1f165bc2.js} +1 -1
- package/dist/{index-970ceb6a.js → index-223a27aa.js} +1 -1
- package/dist/{index-ccdc6a10.js → index-831c4f95.js} +1 -1
- package/dist/{index-93824d30.js → index-b4738fa1.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{portis-2591b254.js → portis-bf2fbedf.js} +1 -1
- package/dist/{provider-1c095e93.js → provider-dc66b274.js} +1 -1
- package/dist/{rainbow-3f8efa43.js → rainbow-a2aef413.js} +1 -1
- package/dist/{uAuth-d5f1b7f4.js → uAuth-09a076e7.js} +1 -1
- package/dist/{walletConnect-46c4fde1.js → walletConnect-c7cf7380.js} +1 -1
- package/dist/{walletLink-f49cbb54.js → walletLink-1d828a5b.js} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,H as t,c as r}from"./index-
|
|
1
|
+
import{_ as e,H as t,c as r}from"./index-1f165bc2.js";export{H as HD_PATH_LIST}from"./index-1f165bc2.js";import s from"@ledgerhq/hw-app-eth";import i from"@ledgerhq/hw-transport-webhid";import{JsonRpcProvider as n}from"@ethersproject/providers";import{getAddress as o}from"@ethersproject/address";import{resolveProperties as d}from"@ethersproject/properties";import{hexlify as a,joinSignature as c}from"@ethersproject/bytes";import{serialize as h}from"@ethersproject/transactions";import{_TypedDataEncoder as l}from"@ethersproject/hash";import{Signer as p}from"@ethersproject/abstract-signer";import{toUtf8Bytes as u}from"@ethersproject/strings";import{TypedDataUtils as m,SignTypedDataVersion as v}from"@metamask/eth-sig-util";import"@cyberlab/cyber-app-sdk";import"zustand";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/keccak256";const f=()=>e(void 0,void 0,void 0,(function*(){return yield i.create()})),y=(t,r,s,i,n,o=[])=>e(void 0,void 0,void 0,(function*(){const e=r.replace(/x/g,String(s+i)),d=yield t.getAddress(e);let a=[...o,{path:e,account:d.address}];return s<n&&(a=yield y(t,r,s+1,i,n,a)),a})),g=(t,r=1,i=5)=>e(void 0,void 0,void 0,(function*(){const e=yield f(),n=new s(e);let o;try{if(-1===t.indexOf("x")){const e=yield n.getAddress(t);return[{path:t,account:e.address}]}const e=r*i-i;o=yield y(n,t,0,e,i-1)}finally{e.close()}return o}));class w extends p{constructor(e,r,s,i,n){super(),this._address=r,this._index=null!=i?i:0,this.path=null!=s?s:t[0].path,this.provider=e,this._fetchGasPrice=n}_legacySignMessage(e){throw new Error("Method not implemented.")}sendUncheckedTransaction(e){throw new Error("Method not implemented.")}unlock(e){throw new Error("Method not implemented.")}getAddress(){return e(this,void 0,void 0,(function*(){return Promise.resolve(o(this._address))}))}signMessage(t){return e(this,void 0,void 0,(function*(){if(!this.path)throw new Error(`address unknown '${this._address}'`);const e=yield f();try{"string"==typeof t&&(t=u(t));const r=new s(e),i=a(t).substring(2),n=yield r.signPersonalMessage(this.path,i);return n.r="0x"+n.r,n.s="0x"+n.s,c(n)}finally{e.close()}}))}_signTypedData(t,r,i){return e(this,void 0,void 0,(function*(){const e=yield f();try{if(!this.path)throw new Error(`address unknown '${this._address}'`);const n=new s(e),o=yield l.resolveNames(t,r,i,(e=>{var t;return null===(t=this.provider)||void 0===t?void 0:t.resolveName(e)})),d=l.getPayload(o.domain,r,o.value),a=m.hashStruct("EIP712Domain",d.domain,r,v.V4).toString("hex"),c=m.hashStruct(d.primaryType,d.message,r,v.V4).toString("hex"),h=yield n.signEIP712HashedMessage(this.path,a,c);let p=parseInt(h.v,10).toString(16);p.length<2&&(p=`0${p}`);return`0x${h.r}${h.s}${p}`}finally{e.close()}}))}signTransaction(t){var i;return e(this,void 0,void 0,(function*(){if(!this.path)throw new Error(`address unknown '${this._address}'`);const e=yield f();try{const n=yield d(t),o=yield r(null!==(i=n.chainId)&&void 0!==i?i:1,n,this._fetchGasPrice);o.nonce=o.nonce?Number(o.nonce):void 0;const a=h(o).substring(2),c=new s(e),l=yield c.signTransaction(this.path,a);return h(o,{v:parseInt(`0x${l.v}`,2),r:"0x"+l.r,s:"0x"+l.s})}finally{e.close()}}))}connect(e){return new w(null!=e?e:this.provider,this._address,this.path,this._index,this._fetchGasPrice)}connectUnchecked(){return new w(this.provider,this._address,this.path,this._index,this._fetchGasPrice)}}function x({rpcUrl:r,fetchGasPrice:s,ledgerParams:i}){var d;return e(this,void 0,void 0,(function*(){if(!r)throw new Error("Ledger USB provider requires rpcUrl");const a=null!==(d=null==i?void 0:i.path)&&void 0!==d?d:t[0].path;let c=null==i?void 0:i.account;const h=yield(yield g(a)).map((e=>e.account));c||(c=h[0]);const l=h.findIndex((e=>e===c));const p=new class extends n{getSigner(){return new w(p,c,a,l,s)}listAccounts(){return e(this,void 0,void 0,(function*(){return yield(yield g(a)).map((e=>e.account))}))}getAddress(){return Promise.resolve(o(c))}}(r);return p}))}function _(t){return e(this,void 0,void 0,(function*(){return yield x(t)}))}export{x as createProvider,_ as default,g as getAccountList,f as getTransport};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{q as ChainId,H as HD_PATH_LIST,O as OpenBlockIframeWallet,W as WalletType,S as WatchResult,m as allWalletList,Z as approve,c as convertTransactionType,a as convertWeb3Provider,C as default,G as getBloctoConnector,B as getBloctoPackage,X as getContract,M as getCyberConnector,E as getCyberPackage,T as getEstimateGas,U as getGasPrice,w as getGnosisPackage,a5 as getIsAndroid,b as getIsIOS,g as getIsMobile,R as getIsOpenBlockIframe,p as getIsolatedEnvironmentWallet,v as getLedgerUSBPackage,Q as getOpenBlockIframeConnector,I as getPortisConnector,y as getPortisPackage,Y as getProviderByChain,D as getRainbowConnectPackage,L as getRainbowConnector,x as getUAuthPackage,N as getUniPassConnector,F as getUniPassPackage,K as getWalletConnectConnector,A as getWalletConnectPackage,n as getWalletDisabledState,J as getWalletLinkConnector,z as getWalletLinkPackage,o as getWalletList,a8 as getWindow,i as injectedConnect,k as injectedList,r as injectedListObject,a9 as isAddress,a7 as isLargeIOS,a6 as isSmallIOS,a4 as isSupportWebHid,a0 as personalSign,P as registerNetworkWithMetamask,V as sendTransaction,a1 as sign,a2 as signTransaction,a3 as signTypedData,l as standaloneList,t as standaloneListObject,u as useWalletStore,$ as watchTx}from"./index-
|
|
1
|
+
export{q as ChainId,H as HD_PATH_LIST,O as OpenBlockIframeWallet,W as WalletType,S as WatchResult,m as allWalletList,Z as approve,c as convertTransactionType,a as convertWeb3Provider,C as default,G as getBloctoConnector,B as getBloctoPackage,X as getContract,M as getCyberConnector,E as getCyberPackage,T as getEstimateGas,U as getGasPrice,w as getGnosisPackage,a5 as getIsAndroid,b as getIsIOS,g as getIsMobile,R as getIsOpenBlockIframe,p as getIsolatedEnvironmentWallet,v as getLedgerUSBPackage,Q as getOpenBlockIframeConnector,I as getPortisConnector,y as getPortisPackage,Y as getProviderByChain,D as getRainbowConnectPackage,L as getRainbowConnector,x as getUAuthPackage,N as getUniPassConnector,F as getUniPassPackage,K as getWalletConnectConnector,A as getWalletConnectPackage,n as getWalletDisabledState,J as getWalletLinkConnector,z as getWalletLinkPackage,o as getWalletList,a8 as getWindow,i as injectedConnect,k as injectedList,r as injectedListObject,a9 as isAddress,a7 as isLargeIOS,a6 as isSmallIOS,a4 as isSupportWebHid,a0 as personalSign,P as registerNetworkWithMetamask,V as sendTransaction,a1 as sign,a2 as signTransaction,a3 as signTypedData,l as standaloneList,t as standaloneListObject,u as useWalletStore,$ as watchTx}from"./index-1f165bc2.js";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as r,a as e}from"./index-
|
|
1
|
+
import{_ as r,a as e}from"./index-1f165bc2.js";import t from"@portis/web3";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";function o({chainId:o,portisParams:i},s){return r(this,void 0,void 0,(function*(){if(!(null==i?void 0:i.id))throw new Error("uAuthParams is not valid.");let r="";switch(o){case 1:default:r="mainnet";break;case 5:r="goerli"}const n=new t(i.id,r,i.config);return yield n.provider.enable(),n.provider._portis=n,n.provider.on("connect",s.connect),n.provider.on("disconnect",s.disconnect),n.provider.on("accountsChanged",s.accountsChanged),n.provider.on("chainChanged",s.chainChanged),n.provider.on("message",s.message),e(n.provider)}))}export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./index-
|
|
1
|
+
import{_ as e}from"./index-1f165bc2.js";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";const t="dapp-inpage-integration",i="openblock-content-integration",n=["https://cocoswap.com","https://app.openocean.finance"],o=["https://oec.cocoswap.com"];class s{constructor(){console.log("start initialize openblockinpage provider"),this.callBackList={},this.eventListener={},this.isMetaMask=!0,this.isOpenBlock=!0,this.chainId=null,this.networkVersion=null,this.selectedAddress=null,this.request=this.request.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this.on=this.on.bind(this),this.isConnected=this.isConnected.bind(this),this.enable=this.enable.bind(this),this._metamask=this._getExperimentalApi(),this._initInpageListener(),this.getProviderData()}getProviderData(){var t;return e(this,void 0,void 0,(function*(){const e=yield this.request("metamask_getProviderState");this.chainId=null==e?void 0:e.chainId,this.networkVersion=null==e?void 0:e.networkVersion,this.selectedAddress=null===(t=null==e?void 0:e.accounts)||void 0===t?void 0:t[0]}))}request(t){return e(this,void 0,void 0,(function*(){if("eth_requestAccounts"===t.method){const e=yield this._hookRequest("eth_accounts");if(e.length)return new Promise((t=>t(e)))}return this._hookRequest(t)}))}send(...t){return e(this,void 0,void 0,(function*(){if("function"!=typeof t[1])return"string"==typeof t[0]?this.request({method:t[0],params:t[1]}):1===t.length?this.request(t):void 0;this.sendAsync(t[0],t[1])}))}sendAsync(...t){return e(this,void 0,void 0,(function*(){const e={method:t[0].method,params:t[0].params},i=t[0].id;this.request(e).then((e=>{t[1](null,{id:i,jsonrpc:"2.0",result:e})})).catch((e=>{t[1](null,{id:i,jsonrpc:"2.0",error:e})}))}))}isConnected(){return!0}enable(){return e(this,void 0,void 0,(function*(){const e=yield this._hookRequest("eth_accounts");return e.length?new Promise((t=>t(e))):this.request({method:"eth_requestAccounts"})}))}on(e,t){"string"==typeof e&&"function"==typeof t&&(this.eventListener[e]&&this.eventListener[e].length>5||(this.eventListener[e]?(this.eventListener[e].push(t),this.eventListener[e]=Array.from(new Set(this.eventListener[e]))):this.eventListener[e]||(this.eventListener=Object.assign(Object.assign({},this.eventListener),{[e]:[t]})),this._registerEvent(e)))}removeListener(){}_initInpageListener(){window.addEventListener("message",(e=>{var i,n,o;if(e.data.target!==t)return;const s=null===(o=null===(n=null===(i=e.data)||void 0===i?void 0:i.value)||void 0===n?void 0:n.data)||void 0===o?void 0:o.mark;s&&("call_method"===s.type?this._handleNormalMethod(s,e):"register_event"===s.type&&this._handleEventMethod(s,e))}),!1)}_handleNormalMethod(e,t){var i,n,o,s,r;(null===(i=t.data.value.data)||void 0===i?void 0:i.error)?null===(n=this.callBackList[e.id])||void 0===n||n.reject(null===(o=t.data.value.data)||void 0===o?void 0:o.error):null===(s=this.callBackList[e.id])||void 0===s||s.resolve(null===(r=t.data.value.data)||void 0===r?void 0:r.result),delete this.callBackList[e.id]}_handleEventMethod(e,t){var i,s,r,a,d,h,l;const c=null===(a=null===(r=null===(s=null===(i=t.data)||void 0===i?void 0:i.value)||void 0===s?void 0:s.data)||void 0===r?void 0:r.mark)||void 0===a?void 0:a.eventName,u=null===(l=null===(h=null===(d=t.data)||void 0===d?void 0:d.value)||void 0===h?void 0:h.data)||void 0===l?void 0:l.params;if(c){const e=this.eventListener[c];if(!e)return void("https://app.openocean.finance"===window.location.origin&&window.location.reload());e.forEach((e=>{"chainChanged"===c&&(this.chainId=u,this.networkVersion=Number(u)),o.includes(window.location.origin)&&"chainChanged"===c||(n.includes(window.location.origin)?window.location.reload():e(u))}))}}_hookRequest(e){return new Promise(((n,o)=>{const s=(()=>{function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return e()+e()+e()+e()+e()+e()+e()+e()})();"string"==typeof e&&(e={method:e}),e=Object.assign(Object.assign({},e),{mark:{id:s,method:e.method,type:"call_method"}}),window.parent.postMessage({from:t,target:i,data:e},"*"),this.callBackList[s]={resolve:n,reject:o}}))}_registerEvent(e){const n={mark:{eventName:e,type:"register_event"},eventName:e};window.parent.postMessage({from:t,target:i,data:n},"*")}_getExperimentalApi(){return new Proxy({isUnlocked:()=>new Promise((e=>e(!0)))},{get:(e,t,...i)=>Reflect.get(e,t,...i)})}}function r(){var e;if(null===(e=window.obethereum)||void 0===e?void 0:e.isOpenBlock)return window.obethereum;let t=new s;t=new Proxy(t,{deleteProperty:()=>!0});try{Object.defineProperty(window,"obethereum",{set(e){console.log("set ethereum",e)},get:()=>t})}catch(e){console.log("initializeProvider error",e),window.obethereum=t}return window.web3=Object.assign({},window.web3),window.web3.currentProvider=t,window.dispatchEvent(new Event("ethereum#initialized")),t}export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,g as o,b as t,a as r}from"./index-
|
|
1
|
+
import{_ as e,g as o,b as t,a as r}from"./index-1f165bc2.js";import{EthereumProvider as n}from"@walletconnect/ethereum-provider";import"@ethersproject/address";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";function c({chainId:c,rpcUrl:i,rpc:a,walletConnectParams:s,darkMode:d},p){return e(this,void 0,void 0,(function*(){let l,h,m="wss://relay.walletconnect.com",b=!0;s&&(m=s.bridge||m,b=void 0!==s.qrcode?s.qrcode:b,s.infuraId,h=s.qrModalOptions||void 0),a?l=a:c&&i&&(l={[c]:i});const u=o(),g=yield n.init({projectId:"59e050d1f27ed617e65bb9637c9498d6",chains:c?[c]:[],showQrModal:!u,rpcMap:l,qrModalOptions:Object.assign({themeMode:d?"dark":"light"},h)});return g.on("display_uri",(e=>{(null==h?void 0:h.openCallback)&&h.openCallback(e)})),g.on("connect",p.connect),g.on("disconnect",(e=>{p.disconnect(e),p.accountsChanged([])})),g.on("accountsChanged",p.accountsChanged),g.on("chainChanged",p.chainChanged),g.on("message",(({type:e,data:o})=>p.message(e,o))),new Promise((o=>e(this,void 0,void 0,(function*(){u?(g.once("display_uri",(e=>{let n=e;t()&&(n=`rainbow://wc?uri=${encodeURIComponent(e)}&connector=rainbowkit`),window.location.href=n,o(r(g))})),g.enable()):(yield g.enable(),o(r(g)))}))))}))}export{c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,i as e}from"./index-
|
|
1
|
+
import{_ as t,i as e}from"./index-1f165bc2.js";import r from"@uauth/js";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";let o,i=!1;function n(n,s){return t(this,void 0,void 0,(function*(){if(i)return;const{uAuthParams:t}=n;if(!(null==t?void 0:t.clientID))throw new Error("uAuthParams is not valid.");i=!0;try{const n=Object.assign(Object.assign({},t),{redirectUri:t.redirectUri||window.location.origin});let c,l;o=new r(n);try{c=yield o.user()}catch(t){if(!o.fallbackLoginOptions.scope.includes("wallet"))throw new Error('Must request the "wallet" scope for connector to work.');if(n.shouldLoginWithRedirect)throw yield o.login(),yield new Promise((()=>{})),new Error("Should never get here.");yield o.loginWithPopup(),c=yield o.user()}if(null==c.wallet_type_hint)throw new Error("no wallet type present");if(["web3","injected"].includes(c.wallet_type_hint))l=e(void 0,s);else{if("walletconnect"!==c.wallet_type_hint||!n.walletConnect)throw new Error("Connector not supported");l=n.walletConnect()}return i=!1,l}catch(t){i=!1}}))}function s(){return null==o?void 0:o.logout()}export{n as default,s as disconnectWallet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./index-
|
|
1
|
+
import{_ as e,a as t}from"./index-1f165bc2.js";import{EthereumProvider as o}from"@walletconnect/ethereum-provider";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";function r({chainId:r,rpcUrl:n,rpc:c,walletConnectParams:a,darkMode:s},i){return e(this,void 0,void 0,(function*(){let e,d,p="wss://relay.walletconnect.com",l=!0;a&&(p=a.bridge||p,l=void 0!==a.qrcode?a.qrcode:l,a.infuraId,d=a.qrModalOptions||void 0),c?e=c:r&&n&&(e={[r]:n});const h=yield o.init({projectId:"59e050d1f27ed617e65bb9637c9498d6",chains:r?[r]:[],showQrModal:!0,rpcMap:e,qrModalOptions:Object.assign({themeMode:s?"dark":"light"},d)});return h.on("display_uri",(e=>{(null==d?void 0:d.openCallback)&&d.openCallback(e)})),yield h.enable(),h.on("connect",i.connect),h.on("disconnect",(e=>{i.disconnect(e),i.accountsChanged([])})),h.on("accountsChanged",i.accountsChanged),h.on("chainChanged",i.chainChanged),h.on("message",(({type:e,data:t})=>i.message(e,t))),t(h)}))}export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,i as r,a as t}from"./index-
|
|
1
|
+
import{_ as e,i as r,a as t}from"./index-1f165bc2.js";import o from"@coinbase/wallet-sdk";import"@cyberlab/cyber-app-sdk";import"@ethersproject/providers";import"zustand";import"@ethersproject/strings";import"@ethersproject/bytes";import"@ethersproject/constants";import"@ethersproject/contracts";import"@ethersproject/address";import"@ethersproject/properties";import"@ethersproject/transactions";import"@ethersproject/keccak256";function n({chainId:n,rpcUrl:i,appName:s,appLogoUrl:a,darkMode:p},c){return e(this,void 0,void 0,(function*(){if(window.ethereum&&(window.ethereum.isWalletLink||window.ethereum.isToshi))return r(window.ethereum,c);if(!s)throw new Error("walletLink need appName");const e=new o({appName:s,appLogoUrl:a,darkMode:p}).makeWeb3Provider(i,n);return yield e.enable(),e.on("connect",c.connect),e.on("disconnect",c.disconnect),e.on("accountsChanged",c.accountsChanged),e.on("chainChanged",c.chainChanged),e.on("message",c.message),t(e)}))}export{n as default};
|