@matchain/matchid-sdk-react 0.1.48-alpha.29 → 0.1.48-alpha.30
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/{chunk-ZHBFW26I.mjs → chunk-KIVNILBF.mjs} +3 -3
- package/dist/{chunk-ZHBFW26I.mjs.map → chunk-KIVNILBF.mjs.map} +1 -1
- package/dist/{chunk-AZCOCC5H.mjs → chunk-YJV23RET.mjs} +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-AZCOCC5H.mjs.map → chunk-YJV23RET.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4629,7 +4629,7 @@ function WalletContent2({
|
|
|
4629
4629
|
const [error, setError] = (0, import_react25.useState)("");
|
|
4630
4630
|
(0, import_react25.useEffect)(() => {
|
|
4631
4631
|
const init = async () => {
|
|
4632
|
-
if (
|
|
4632
|
+
if (tonConnectUI.connected) {
|
|
4633
4633
|
await tonConnectUI.disconnect();
|
|
4634
4634
|
}
|
|
4635
4635
|
open();
|
|
@@ -4750,7 +4750,7 @@ function WalletContent2({
|
|
|
4750
4750
|
setVisible: async (v) => {
|
|
4751
4751
|
console.log("setVisible", v);
|
|
4752
4752
|
if (v) {
|
|
4753
|
-
if (
|
|
4753
|
+
if (tonConnectUI.connected) {
|
|
4754
4754
|
await tonConnectUI.disconnect();
|
|
4755
4755
|
}
|
|
4756
4756
|
setStatus("");
|