@babylonlabs-io/wallet-connector 0.6.1 → 0.6.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.
package/dist/index.es.js
CHANGED
|
@@ -95647,21 +95647,22 @@ const BBN_TESTNET_RPC_URL = "https://rpc-dapp.testnet.babylonlabs.io/", BBN_TEST
|
|
|
95647
95647
|
features: ["cosmwasm"]
|
|
95648
95648
|
}, ONE_HOUR = 60 * 60 * 1e3;
|
|
95649
95649
|
Network.SIGNET, bbnTestnet.currencies[0].coinDenom, bbnTestnet.chainName, bbnTestnet.currencies[0].coinDenom, bbnTestnet.chainId;
|
|
95650
|
-
const storage = createAccountStorage(ONE_HOUR);
|
|
95651
95650
|
function WalletProvider({
|
|
95652
|
-
|
|
95653
|
-
|
|
95654
|
-
|
|
95655
|
-
|
|
95656
|
-
|
|
95657
|
-
|
|
95658
|
-
|
|
95651
|
+
ttl: e = ONE_HOUR,
|
|
95652
|
+
persistent: t = !1,
|
|
95653
|
+
theme: r,
|
|
95654
|
+
lifecycleHooks: n,
|
|
95655
|
+
children: o,
|
|
95656
|
+
config: s,
|
|
95657
|
+
context: a = window,
|
|
95658
|
+
onError: u
|
|
95659
95659
|
}) {
|
|
95660
|
-
|
|
95661
|
-
|
|
95662
|
-
|
|
95663
|
-
/* @__PURE__ */ jsx(
|
|
95664
|
-
/* @__PURE__ */ jsx(
|
|
95660
|
+
const p = useMemo(() => createAccountStorage(e), [e]);
|
|
95661
|
+
return /* @__PURE__ */ jsx(TomoConnectionProvider, { theme: r, config: s, children: /* @__PURE__ */ jsx(LifeCycleHooksProvider, { value: n, children: /* @__PURE__ */ jsxs(ChainProvider, { persistent: t, storage: p, context: a, config: s, onError: u, children: [
|
|
95662
|
+
o,
|
|
95663
|
+
/* @__PURE__ */ jsx(TomoBTCConnector, { persistent: t, storage: p }),
|
|
95664
|
+
/* @__PURE__ */ jsx(TomoBBNConnector, { persistent: t, storage: p }),
|
|
95665
|
+
/* @__PURE__ */ jsx(WalletDialog, { persistent: t, storage: p, config: s, onError: u })
|
|
95665
95666
|
] }) }) });
|
|
95666
95667
|
}
|
|
95667
95668
|
export {
|