@matchain/matchid-sdk-react 0.1.55-alpha.10 → 0.1.55-alpha.12
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/api.d.mts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.mjs +2 -2
- package/dist/assets/lottie.d.mts +1 -1
- package/dist/assets/lottie.d.ts +1 -1
- package/dist/chains.d.mts +1 -1
- package/dist/chains.d.ts +1 -1
- package/dist/{chunk-5WFY6MWJ.mjs → chunk-BZ2PI27T.mjs} +9 -4
- package/dist/{chunk-5WFY6MWJ.mjs.map → chunk-BZ2PI27T.mjs.map} +1 -1
- package/dist/{chunk-JTNCYI5F.mjs → chunk-LEFO352N.mjs} +2 -2
- package/dist/components.d.mts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +8 -3
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.d.mts +4 -2
- package/dist/hooks.d.ts +4 -2
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/icon.d.mts +2 -2
- package/dist/icon.d.ts +2 -2
- package/dist/{index-BjdOd1te.d.mts → index--EI6w9pi.d.mts} +984 -978
- package/dist/{index-Bx7ztInz.d.ts → index-4dZbgWG2.d.ts} +1 -1
- package/dist/{index-Ba8t2zs6.d.mts → index-B4lczvhL.d.mts} +2 -2
- package/dist/{index-DXRGMAbv.d.mts → index-B50DU_xT.d.mts} +4 -4
- package/dist/{index-DXRGMAbv.d.ts → index-B50DU_xT.d.ts} +4 -4
- package/dist/{index-BTO2pJRz.d.ts → index-B80rDuha.d.ts} +1 -1
- package/dist/{index-DY5CjOq2.d.ts → index-BBghnVDr.d.ts} +1 -1
- package/dist/{index-DL0LMDQ0.d.mts → index-C14uKUDG.d.mts} +2 -2
- package/dist/{index-DysgDUCb.d.mts → index-CDTTHSh0.d.mts} +14 -14
- package/dist/{index-DysgDUCb.d.ts → index-CDTTHSh0.d.ts} +14 -14
- package/dist/{index-HYPgwvkU.d.mts → index-CHtFnnZk.d.mts} +1 -1
- package/dist/{index-DueNjDv_.d.ts → index-Cl0JpAc1.d.ts} +984 -978
- package/dist/{index-CopoHLm5.d.ts → index-CwHXzvvB.d.ts} +1 -1
- package/dist/{index-8h2kA48e.d.ts → index-DGbpUvkd.d.ts} +2 -2
- package/dist/{index-BW1GRpQ3.d.mts → index-FKxw4Vaa.d.mts} +1 -1
- package/dist/{index-D6wTVWuu.d.mts → index-QPdWAVPk.d.mts} +1 -1
- package/dist/{index-D2hhRO2j.d.mts → index-TjbO7d74.d.mts} +1 -1
- package/dist/{index-B-u8_Lcy.d.ts → index-UJfUO0uH.d.ts} +2 -2
- package/dist/index.d.mts +18 -17
- package/dist/index.d.ts +18 -17
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{types-Ch54HuTY.d.mts → types-DEsY_CPH.d.mts} +1 -1
- package/dist/{types-Ch54HuTY.d.ts → types-DEsY_CPH.d.ts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/ui.d.mts +3 -3
- package/dist/ui.d.ts +3 -3
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-JTNCYI5F.mjs.map → chunk-LEFO352N.mjs.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useUserInfo,
|
|
13
13
|
verifyPohApi,
|
|
14
14
|
wallet_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BZ2PI27T.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./chunk-BJPOCE4O.mjs";
|
|
@@ -95,4 +95,4 @@ export {
|
|
|
95
95
|
user_exports,
|
|
96
96
|
api_exports
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-LEFO352N.mjs.map
|
package/dist/components.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from './index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from './index-C14uKUDG.mjs';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-QPdWAVPk.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DEsY_CPH.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
package/dist/components.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from './index-
|
|
2
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from './index-DGbpUvkd.js';
|
|
2
|
+
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-B80rDuha.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-DEsY_CPH.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
package/dist/components.js
CHANGED
|
@@ -4546,7 +4546,7 @@ var import_wagmi2 = require("wagmi");
|
|
|
4546
4546
|
var import_ethers = require("ethers");
|
|
4547
4547
|
|
|
4548
4548
|
// node_modules/@wagmi/core/dist/esm/version.js
|
|
4549
|
-
var version = "2.16.
|
|
4549
|
+
var version = "2.16.5";
|
|
4550
4550
|
|
|
4551
4551
|
// node_modules/@wagmi/core/dist/esm/utils/getVersion.js
|
|
4552
4552
|
var getVersion2 = () => `@wagmi/core@${version}`;
|
|
@@ -4697,7 +4697,11 @@ async function getConnectorClient(config, parameters = {}) {
|
|
|
4697
4697
|
if (config.state.status === "reconnecting" && !connector2.getAccounts && !connector2.getChainId)
|
|
4698
4698
|
throw new ConnectorUnavailableReconnectingError({ connector: connector2 });
|
|
4699
4699
|
const [accounts, chainId2] = await Promise.all([
|
|
4700
|
-
connector2.getAccounts()
|
|
4700
|
+
connector2.getAccounts().catch((e) => {
|
|
4701
|
+
if (parameters.account === null)
|
|
4702
|
+
return [];
|
|
4703
|
+
throw e;
|
|
4704
|
+
}),
|
|
4701
4705
|
connector2.getChainId()
|
|
4702
4706
|
]);
|
|
4703
4707
|
connection = {
|
|
@@ -4720,7 +4724,8 @@ async function getConnectorClient(config, parameters = {}) {
|
|
|
4720
4724
|
if (connector.getClient)
|
|
4721
4725
|
return connector.getClient({ chainId });
|
|
4722
4726
|
const account = (0, import_utils9.parseAccount)(parameters.account ?? connection.accounts[0]);
|
|
4723
|
-
|
|
4727
|
+
if (account)
|
|
4728
|
+
account.address = (0, import_utils9.getAddress)(account.address);
|
|
4724
4729
|
if (parameters.account && !connection.accounts.some((x) => x.toLowerCase() === account.address.toLowerCase()))
|
|
4725
4730
|
throw new ConnectorAccountNotFoundError({
|
|
4726
4731
|
address: account.address,
|