@depay/web3-wallets-evm 18.1.12 → 18.1.14
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 +4 -3
- package/dist/esm/index.js +4 -3
- package/dist/umd/index.evm.js +4 -3
- package/dist/umd/index.js +4 -3
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -2103,10 +2103,11 @@ class WorldApp {
|
|
|
2103
2103
|
fetchTransaction(transaction, payload, attempt = 1) {
|
|
2104
2104
|
return new Promise((resolve, reject)=>{
|
|
2105
2105
|
|
|
2106
|
-
Promise.
|
|
2106
|
+
Promise.all([
|
|
2107
2107
|
this.pollTransactionIdFromWorldchain(payload),
|
|
2108
2108
|
this.pollEventForUserOp(transaction, payload),
|
|
2109
|
-
]).then((
|
|
2109
|
+
]).then((results)=>{
|
|
2110
|
+
let transactionHash = results ? results.filter(Boolean)[0] : undefined;
|
|
2110
2111
|
if(transactionHash) {
|
|
2111
2112
|
transaction.id = transactionHash;
|
|
2112
2113
|
transaction.url = Blockchains['worldchain'].explorerUrlFor({ transaction });
|
|
@@ -2146,7 +2147,7 @@ class WorldApp {
|
|
|
2146
2147
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2147
2148
|
return localStorage.getItem(STORAGE_KEY)
|
|
2148
2149
|
}
|
|
2149
|
-
return (_optionalChain$1([window, '
|
|
2150
|
+
return (_optionalChain$1([window, 'optionalAccess', _17 => _17.MiniKit, 'optionalAccess', _18 => _18.user, 'optionalAccess', _19 => _19.walletAddress]) || _optionalChain$1([MiniKit, 'optionalAccess', _20 => _20.user, 'optionalAccess', _21 => _21.walletAddress]))
|
|
2150
2151
|
}
|
|
2151
2152
|
|
|
2152
2153
|
connect() {
|
package/dist/esm/index.js
CHANGED
|
@@ -2704,10 +2704,11 @@ class WorldApp {
|
|
|
2704
2704
|
fetchTransaction(transaction, payload, attempt = 1) {
|
|
2705
2705
|
return new Promise((resolve, reject)=>{
|
|
2706
2706
|
|
|
2707
|
-
Promise.
|
|
2707
|
+
Promise.all([
|
|
2708
2708
|
this.pollTransactionIdFromWorldchain(payload),
|
|
2709
2709
|
this.pollEventForUserOp(transaction, payload),
|
|
2710
|
-
]).then((
|
|
2710
|
+
]).then((results)=>{
|
|
2711
|
+
let transactionHash = results ? results.filter(Boolean)[0] : undefined;
|
|
2711
2712
|
if(transactionHash) {
|
|
2712
2713
|
transaction.id = transactionHash;
|
|
2713
2714
|
transaction.url = Blockchains['worldchain'].explorerUrlFor({ transaction });
|
|
@@ -2747,7 +2748,7 @@ class WorldApp {
|
|
|
2747
2748
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2748
2749
|
return localStorage.getItem(STORAGE_KEY)
|
|
2749
2750
|
}
|
|
2750
|
-
return (_optionalChain$1([window, '
|
|
2751
|
+
return (_optionalChain$1([window, 'optionalAccess', _17 => _17.MiniKit, 'optionalAccess', _18 => _18.user, 'optionalAccess', _19 => _19.walletAddress]) || _optionalChain$1([MiniKit, 'optionalAccess', _20 => _20.user, 'optionalAccess', _21 => _21.walletAddress]))
|
|
2751
2752
|
}
|
|
2752
2753
|
|
|
2753
2754
|
connect() {
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -2107,10 +2107,11 @@
|
|
|
2107
2107
|
fetchTransaction(transaction, payload, attempt = 1) {
|
|
2108
2108
|
return new Promise((resolve, reject)=>{
|
|
2109
2109
|
|
|
2110
|
-
Promise.
|
|
2110
|
+
Promise.all([
|
|
2111
2111
|
this.pollTransactionIdFromWorldchain(payload),
|
|
2112
2112
|
this.pollEventForUserOp(transaction, payload),
|
|
2113
|
-
]).then((
|
|
2113
|
+
]).then((results)=>{
|
|
2114
|
+
let transactionHash = results ? results.filter(Boolean)[0] : undefined;
|
|
2114
2115
|
if(transactionHash) {
|
|
2115
2116
|
transaction.id = transactionHash;
|
|
2116
2117
|
transaction.url = Blockchains__default['default']['worldchain'].explorerUrlFor({ transaction });
|
|
@@ -2150,7 +2151,7 @@
|
|
|
2150
2151
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2151
2152
|
return localStorage.getItem(STORAGE_KEY)
|
|
2152
2153
|
}
|
|
2153
|
-
return (_optionalChain$1([window, '
|
|
2154
|
+
return (_optionalChain$1([window, 'optionalAccess', _17 => _17.MiniKit, 'optionalAccess', _18 => _18.user, 'optionalAccess', _19 => _19.walletAddress]) || _optionalChain$1([MiniKit, 'optionalAccess', _20 => _20.user, 'optionalAccess', _21 => _21.walletAddress]))
|
|
2154
2155
|
}
|
|
2155
2156
|
|
|
2156
2157
|
connect() {
|
package/dist/umd/index.js
CHANGED
|
@@ -2707,10 +2707,11 @@
|
|
|
2707
2707
|
fetchTransaction(transaction, payload, attempt = 1) {
|
|
2708
2708
|
return new Promise((resolve, reject)=>{
|
|
2709
2709
|
|
|
2710
|
-
Promise.
|
|
2710
|
+
Promise.all([
|
|
2711
2711
|
this.pollTransactionIdFromWorldchain(payload),
|
|
2712
2712
|
this.pollEventForUserOp(transaction, payload),
|
|
2713
|
-
]).then((
|
|
2713
|
+
]).then((results)=>{
|
|
2714
|
+
let transactionHash = results ? results.filter(Boolean)[0] : undefined;
|
|
2714
2715
|
if(transactionHash) {
|
|
2715
2716
|
transaction.id = transactionHash;
|
|
2716
2717
|
transaction.url = Blockchains__default['default']['worldchain'].explorerUrlFor({ transaction });
|
|
@@ -2750,7 +2751,7 @@
|
|
|
2750
2751
|
if(localStorage.getItem(STORAGE_KEY)) {
|
|
2751
2752
|
return localStorage.getItem(STORAGE_KEY)
|
|
2752
2753
|
}
|
|
2753
|
-
return (_optionalChain$1([window, '
|
|
2754
|
+
return (_optionalChain$1([window, 'optionalAccess', _17 => _17.MiniKit, 'optionalAccess', _18 => _18.user, 'optionalAccess', _19 => _19.walletAddress]) || _optionalChain$1([MiniKit, 'optionalAccess', _20 => _20.user, 'optionalAccess', _21 => _21.walletAddress]))
|
|
2754
2755
|
}
|
|
2755
2756
|
|
|
2756
2757
|
connect() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "18.1.
|
|
4
|
+
"version": "18.1.14",
|
|
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.evm.js",
|
|
7
7
|
"module": "dist/esm/index.evm.js",
|