@depay/web3-wallets-svm 18.1.14 → 18.1.16
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/esm/index.evm.js +8 -3
- package/dist/esm/index.js +8 -3
- package/dist/umd/index.evm.js +8 -3
- package/dist/umd/index.js +8 -3
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -2012,11 +2012,11 @@ class WorldApp {
|
|
|
2012
2012
|
if(transactionHash) {
|
|
2013
2013
|
resolve(transaction);
|
|
2014
2014
|
} else {
|
|
2015
|
-
reject('Fetching transaction failed!');
|
|
2015
|
+
reject('Fetching transaction failed!', payload);
|
|
2016
2016
|
}
|
|
2017
2017
|
}).catch(reject);
|
|
2018
2018
|
} else {
|
|
2019
|
-
reject('Submitting transaction failed!');
|
|
2019
|
+
reject('Submitting transaction failed!', payload);
|
|
2020
2020
|
}
|
|
2021
2021
|
});
|
|
2022
2022
|
MiniKit.commands.sendTransaction({
|
|
@@ -2147,7 +2147,12 @@ class WorldApp {
|
|
|
2147
2147
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2148
2148
|
return localStorage.getItem(STORAGE_KEY)
|
|
2149
2149
|
}
|
|
2150
|
-
|
|
2150
|
+
if(window.MiniKit && window.MiniKit.user) {
|
|
2151
|
+
return window.MiniKit.user.walletAddress
|
|
2152
|
+
}
|
|
2153
|
+
if(MiniKit && MiniKit.user) {
|
|
2154
|
+
return MiniKit.user.walletAddress
|
|
2155
|
+
}
|
|
2151
2156
|
}
|
|
2152
2157
|
|
|
2153
2158
|
connect() {
|
package/dist/esm/index.js
CHANGED
|
@@ -2613,11 +2613,11 @@ class WorldApp {
|
|
|
2613
2613
|
if(transactionHash) {
|
|
2614
2614
|
resolve(transaction);
|
|
2615
2615
|
} else {
|
|
2616
|
-
reject('Fetching transaction failed!');
|
|
2616
|
+
reject('Fetching transaction failed!', payload);
|
|
2617
2617
|
}
|
|
2618
2618
|
}).catch(reject);
|
|
2619
2619
|
} else {
|
|
2620
|
-
reject('Submitting transaction failed!');
|
|
2620
|
+
reject('Submitting transaction failed!', payload);
|
|
2621
2621
|
}
|
|
2622
2622
|
});
|
|
2623
2623
|
MiniKit.commands.sendTransaction({
|
|
@@ -2748,7 +2748,12 @@ class WorldApp {
|
|
|
2748
2748
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2749
2749
|
return localStorage.getItem(STORAGE_KEY)
|
|
2750
2750
|
}
|
|
2751
|
-
|
|
2751
|
+
if(window.MiniKit && window.MiniKit.user) {
|
|
2752
|
+
return window.MiniKit.user.walletAddress
|
|
2753
|
+
}
|
|
2754
|
+
if(MiniKit && MiniKit.user) {
|
|
2755
|
+
return MiniKit.user.walletAddress
|
|
2756
|
+
}
|
|
2752
2757
|
}
|
|
2753
2758
|
|
|
2754
2759
|
connect() {
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -2016,11 +2016,11 @@
|
|
|
2016
2016
|
if(transactionHash) {
|
|
2017
2017
|
resolve(transaction);
|
|
2018
2018
|
} else {
|
|
2019
|
-
reject('Fetching transaction failed!');
|
|
2019
|
+
reject('Fetching transaction failed!', payload);
|
|
2020
2020
|
}
|
|
2021
2021
|
}).catch(reject);
|
|
2022
2022
|
} else {
|
|
2023
|
-
reject('Submitting transaction failed!');
|
|
2023
|
+
reject('Submitting transaction failed!', payload);
|
|
2024
2024
|
}
|
|
2025
2025
|
});
|
|
2026
2026
|
MiniKit.commands.sendTransaction({
|
|
@@ -2151,7 +2151,12 @@
|
|
|
2151
2151
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2152
2152
|
return localStorage.getItem(STORAGE_KEY)
|
|
2153
2153
|
}
|
|
2154
|
-
|
|
2154
|
+
if(window.MiniKit && window.MiniKit.user) {
|
|
2155
|
+
return window.MiniKit.user.walletAddress
|
|
2156
|
+
}
|
|
2157
|
+
if(MiniKit && MiniKit.user) {
|
|
2158
|
+
return MiniKit.user.walletAddress
|
|
2159
|
+
}
|
|
2155
2160
|
}
|
|
2156
2161
|
|
|
2157
2162
|
connect() {
|
package/dist/umd/index.js
CHANGED
|
@@ -2616,11 +2616,11 @@
|
|
|
2616
2616
|
if(transactionHash) {
|
|
2617
2617
|
resolve(transaction);
|
|
2618
2618
|
} else {
|
|
2619
|
-
reject('Fetching transaction failed!');
|
|
2619
|
+
reject('Fetching transaction failed!', payload);
|
|
2620
2620
|
}
|
|
2621
2621
|
}).catch(reject);
|
|
2622
2622
|
} else {
|
|
2623
|
-
reject('Submitting transaction failed!');
|
|
2623
|
+
reject('Submitting transaction failed!', payload);
|
|
2624
2624
|
}
|
|
2625
2625
|
});
|
|
2626
2626
|
MiniKit.commands.sendTransaction({
|
|
@@ -2751,7 +2751,12 @@
|
|
|
2751
2751
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2752
2752
|
return localStorage.getItem(STORAGE_KEY)
|
|
2753
2753
|
}
|
|
2754
|
-
|
|
2754
|
+
if(window.MiniKit && window.MiniKit.user) {
|
|
2755
|
+
return window.MiniKit.user.walletAddress
|
|
2756
|
+
}
|
|
2757
|
+
if(MiniKit && MiniKit.user) {
|
|
2758
|
+
return MiniKit.user.walletAddress
|
|
2759
|
+
}
|
|
2755
2760
|
}
|
|
2756
2761
|
|
|
2757
2762
|
connect() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-svm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "18.1.
|
|
4
|
+
"version": "18.1.16",
|
|
5
5
|
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
|
|
6
6
|
"main": "dist/umd/index.svm.js",
|
|
7
7
|
"module": "dist/esm/index.svm.js",
|