@flarenetwork/multichain-wallet-connector 0.0.2-rc.26 → 0.0.2-rc.27
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/core/index.mjs +1 -1
- package/dist/{core-D90YnUDE.mjs → core-CwmjYh7S.mjs} +2 -2
- package/dist/{core-D90YnUDE.mjs.map → core-CwmjYh7S.mjs.map} +1 -1
- package/dist/index-DYYzjIvq.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/react/index.mjs +2 -2
- package/dist/{react-DSkNH9Eb.mjs → react-CzCpqeTi.mjs} +2 -2
- package/dist/{react-DSkNH9Eb.mjs.map → react-CzCpqeTi.mjs.map} +1 -1
- package/package.json +1 -1
package/dist/core/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as objectFromEntries, a as WalletErrorHelper, b as shortenAddress, c as MetaMaskError, d as WalletError, f as ErrorCode, g as objectEntries, h as ChainGuards, i as DcentConnector, l as LedgerError, n as EvmClient, o as XamanError, p as ConfigResolver, r as Bip44, s as WalletConnectError, t as MultiChain, u as DcentError, v as objectKeys, y as objectValues } from "../core-
|
|
1
|
+
import { _ as objectFromEntries, a as WalletErrorHelper, b as shortenAddress, c as MetaMaskError, d as WalletError, f as ErrorCode, g as objectEntries, h as ChainGuards, i as DcentConnector, l as LedgerError, n as EvmClient, o as XamanError, p as ConfigResolver, r as Bip44, s as WalletConnectError, t as MultiChain, u as DcentError, v as objectKeys, y as objectValues } from "../core-CwmjYh7S.mjs";
|
|
2
2
|
export { Bip44, ChainGuards, ConfigResolver, DcentConnector, DcentError, ErrorCode, EvmClient, LedgerError, MetaMaskError, MultiChain, WalletConnectError, WalletError, WalletErrorHelper, XamanError, objectEntries, objectFromEntries, objectKeys, objectValues, shortenAddress };
|
|
@@ -2622,7 +2622,7 @@ var XamanClient = class XamanClient extends Xumm {
|
|
|
2622
2622
|
}
|
|
2623
2623
|
async getCaip2() {
|
|
2624
2624
|
const networkId = await this.user.networkId;
|
|
2625
|
-
if (
|
|
2625
|
+
if (networkId == null) throw new XamanError("XAMAN_SDK_NOT_READY");
|
|
2626
2626
|
return this.toCaip2Network(networkId);
|
|
2627
2627
|
}
|
|
2628
2628
|
async onDestroy() {
|
|
@@ -3019,4 +3019,4 @@ var MultiChain = class {
|
|
|
3019
3019
|
//#endregion
|
|
3020
3020
|
export { objectFromEntries as _, WalletErrorHelper as a, shortenAddress as b, MetaMaskError as c, WalletError as d, ErrorCode as f, objectEntries as g, ChainGuards as h, DcentConnector as i, LedgerError as l, evmCaip2s as m, EvmClient as n, XamanError as o, ConfigResolver as p, Bip44 as r, WalletConnectError as s, MultiChain as t, DcentError as u, objectKeys as v, objectValues as y };
|
|
3021
3021
|
|
|
3022
|
-
//# sourceMappingURL=core-
|
|
3022
|
+
//# sourceMappingURL=core-CwmjYh7S.mjs.map
|