@matchain/matchid-sdk-react 0.1.57-alpha.4 → 0.1.57-alpha.5
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.js +1 -1
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-6RNCNC65.mjs → chunk-N7J2GTC2.mjs} +10 -13
- package/dist/chunk-N7J2GTC2.mjs.map +1 -0
- package/dist/{chunk-EAZNOQRK.mjs → chunk-OSJCRVYN.mjs} +2 -2
- package/dist/components.js +7 -10
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/index.d.mts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +8 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui.js +1 -1
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6RNCNC65.mjs.map +0 -1
- /package/dist/{chunk-EAZNOQRK.mjs.map → chunk-OSJCRVYN.mjs.map} +0 -0
package/dist/hooks.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -843,6 +843,39 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
843
843
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
844
844
|
formatters?: undefined;
|
|
845
845
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
846
|
+
}, {
|
|
847
|
+
blockExplorers: {
|
|
848
|
+
readonly default: {
|
|
849
|
+
readonly name: "BscScan";
|
|
850
|
+
readonly url: "https://testnet.bscscan.com";
|
|
851
|
+
readonly apiUrl: "https://api-testnet.bscscan.com/api";
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
contracts: {
|
|
855
|
+
readonly multicall3: {
|
|
856
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
857
|
+
readonly blockCreated: 17422483;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
ensTlds?: readonly string[] | undefined;
|
|
861
|
+
id: 97;
|
|
862
|
+
name: "Binance Smart Chain Testnet";
|
|
863
|
+
nativeCurrency: {
|
|
864
|
+
readonly decimals: 18;
|
|
865
|
+
readonly name: "BNB";
|
|
866
|
+
readonly symbol: "tBNB";
|
|
867
|
+
};
|
|
868
|
+
rpcUrls: {
|
|
869
|
+
readonly default: {
|
|
870
|
+
readonly http: readonly ["https://data-seed-prebsc-1-s1.bnbchain.org:8545"];
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
sourceId?: number | undefined | undefined;
|
|
874
|
+
testnet: true;
|
|
875
|
+
custom?: Record<string, unknown> | undefined;
|
|
876
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
877
|
+
formatters?: undefined;
|
|
878
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
846
879
|
}], _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports, wagmi.CreateConnectorFn<unknown, Record<string, unknown>, Record<string, unknown>>[]>;
|
|
847
880
|
type MatchContextType = {
|
|
848
881
|
appid: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -843,6 +843,39 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
843
843
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
844
844
|
formatters?: undefined;
|
|
845
845
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
846
|
+
}, {
|
|
847
|
+
blockExplorers: {
|
|
848
|
+
readonly default: {
|
|
849
|
+
readonly name: "BscScan";
|
|
850
|
+
readonly url: "https://testnet.bscscan.com";
|
|
851
|
+
readonly apiUrl: "https://api-testnet.bscscan.com/api";
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
contracts: {
|
|
855
|
+
readonly multicall3: {
|
|
856
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
857
|
+
readonly blockCreated: 17422483;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
ensTlds?: readonly string[] | undefined;
|
|
861
|
+
id: 97;
|
|
862
|
+
name: "Binance Smart Chain Testnet";
|
|
863
|
+
nativeCurrency: {
|
|
864
|
+
readonly decimals: 18;
|
|
865
|
+
readonly name: "BNB";
|
|
866
|
+
readonly symbol: "tBNB";
|
|
867
|
+
};
|
|
868
|
+
rpcUrls: {
|
|
869
|
+
readonly default: {
|
|
870
|
+
readonly http: readonly ["https://data-seed-prebsc-1-s1.bnbchain.org:8545"];
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
sourceId?: number | undefined | undefined;
|
|
874
|
+
testnet: true;
|
|
875
|
+
custom?: Record<string, unknown> | undefined;
|
|
876
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
877
|
+
formatters?: undefined;
|
|
878
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
846
879
|
}], _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports, wagmi.CreateConnectorFn<unknown, Record<string, unknown>, Record<string, unknown>>[]>;
|
|
847
880
|
type MatchContextType = {
|
|
848
881
|
appid: string;
|
package/dist/index.js
CHANGED
|
@@ -2835,12 +2835,9 @@ function StepEmail(props) {
|
|
|
2835
2835
|
value: emailVal
|
|
2836
2836
|
}
|
|
2837
2837
|
) }),
|
|
2838
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.
|
|
2838
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { disabled: !canContinue, style: {
|
|
2839
2839
|
marginTop: "64px"
|
|
2840
|
-
}, onClick: onContinue, size: "lg", block: true, highlight: true, children:
|
|
2841
|
-
"99999",
|
|
2842
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
|
|
2843
|
-
] })
|
|
2840
|
+
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl.FormattedMessage, { id: "continue" }) })
|
|
2844
2841
|
] });
|
|
2845
2842
|
}
|
|
2846
2843
|
|
|
@@ -4226,7 +4223,7 @@ function WalletContent({
|
|
|
4226
4223
|
matchlog_default.log(res);
|
|
4227
4224
|
setStatus("success");
|
|
4228
4225
|
if (type == "bind") {
|
|
4229
|
-
events.onBind && events.onBind({
|
|
4226
|
+
events && events.onBind && events.onBind({
|
|
4230
4227
|
type: "evm"
|
|
4231
4228
|
});
|
|
4232
4229
|
eventManager_default.emit("onBind", {
|
|
@@ -4491,7 +4488,7 @@ function TRONConnectModal({
|
|
|
4491
4488
|
setStatus("success");
|
|
4492
4489
|
statusRef.current = "success";
|
|
4493
4490
|
if (type == "bind") {
|
|
4494
|
-
events.onBind && events.onBind({
|
|
4491
|
+
events && events.onBind && events.onBind({
|
|
4495
4492
|
type: "tron"
|
|
4496
4493
|
});
|
|
4497
4494
|
eventManager_default.emit("onBind", {
|
|
@@ -4649,7 +4646,7 @@ function WalletContent2({
|
|
|
4649
4646
|
setStatus("success");
|
|
4650
4647
|
statusRef.current = "success";
|
|
4651
4648
|
if (type == "bind") {
|
|
4652
|
-
events.onBind && events.onBind({
|
|
4649
|
+
events && events.onBind && events.onBind({
|
|
4653
4650
|
type: "ton"
|
|
4654
4651
|
});
|
|
4655
4652
|
eventManager_default.emit("onBind", {
|
|
@@ -5044,7 +5041,7 @@ function BTCConnectModal({
|
|
|
5044
5041
|
setStatus("success");
|
|
5045
5042
|
statusRef.current = "success";
|
|
5046
5043
|
if (type == "bind") {
|
|
5047
|
-
events.onBind && events.onBind({
|
|
5044
|
+
events && events.onBind && events.onBind({
|
|
5048
5045
|
type: "btc"
|
|
5049
5046
|
});
|
|
5050
5047
|
eventManager_default.emit("onBind", {
|
|
@@ -7730,7 +7727,7 @@ function CEXBindModal({
|
|
|
7730
7727
|
});
|
|
7731
7728
|
if (isSuccess(res)) {
|
|
7732
7729
|
await refreshOverview();
|
|
7733
|
-
events.onBind && events.onBind({
|
|
7730
|
+
events && events.onBind && events.onBind({
|
|
7734
7731
|
type: "cex_" + type
|
|
7735
7732
|
});
|
|
7736
7733
|
eventManager_default.emit("onBind", {
|
|
@@ -9229,7 +9226,7 @@ var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
|
|
|
9229
9226
|
]
|
|
9230
9227
|
}
|
|
9231
9228
|
],
|
|
9232
|
-
chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc]
|
|
9229
|
+
chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc, import_chains.bscTestnet]
|
|
9233
9230
|
});
|
|
9234
9231
|
var MatchContext = (0, import_react42.createContext)(void 0);
|
|
9235
9232
|
var MatchProvider = ({
|