@depay/web3-wallets-evm 16.0.3 → 16.0.4
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 +9 -1
- package/dist/esm/index.js +9 -1
- package/dist/esm/index.solana.js +9 -1
- package/dist/umd/index.evm.js +9 -1
- package/dist/umd/index.js +9 -1
- package/dist/umd/index.solana.js +9 -1
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -42199,10 +42199,18 @@ class Transaction {
|
|
|
42199
42199
|
})
|
|
42200
42200
|
}
|
|
42201
42201
|
|
|
42202
|
+
getParamType(param) {
|
|
42203
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
42204
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
42205
|
+
} else {
|
|
42206
|
+
return param.type
|
|
42207
|
+
}
|
|
42208
|
+
}
|
|
42209
|
+
|
|
42202
42210
|
getMethodNameWithSignature() {
|
|
42203
42211
|
let fragment = this.findFragment();
|
|
42204
42212
|
if(fragment.inputs) {
|
|
42205
|
-
return `${this.method}(${fragment.inputs.map((
|
|
42213
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
42206
42214
|
} else {
|
|
42207
42215
|
return this.method
|
|
42208
42216
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -70,10 +70,18 @@ class Transaction {
|
|
|
70
70
|
})
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
getParamType(param) {
|
|
74
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
75
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
76
|
+
} else {
|
|
77
|
+
return param.type
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
getMethodNameWithSignature() {
|
|
74
82
|
let fragment = this.findFragment();
|
|
75
83
|
if(fragment.inputs) {
|
|
76
|
-
return `${this.method}(${fragment.inputs.map((
|
|
84
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
77
85
|
} else {
|
|
78
86
|
return this.method
|
|
79
87
|
}
|
package/dist/esm/index.solana.js
CHANGED
|
@@ -70,10 +70,18 @@ class Transaction {
|
|
|
70
70
|
})
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
getParamType(param) {
|
|
74
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
75
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
76
|
+
} else {
|
|
77
|
+
return param.type
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
getMethodNameWithSignature() {
|
|
74
82
|
let fragment = this.findFragment();
|
|
75
83
|
if(fragment.inputs) {
|
|
76
|
-
return `${this.method}(${fragment.inputs.map((
|
|
84
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
77
85
|
} else {
|
|
78
86
|
return this.method
|
|
79
87
|
}
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -42202,10 +42202,18 @@
|
|
|
42202
42202
|
})
|
|
42203
42203
|
}
|
|
42204
42204
|
|
|
42205
|
+
getParamType(param) {
|
|
42206
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
42207
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
42208
|
+
} else {
|
|
42209
|
+
return param.type
|
|
42210
|
+
}
|
|
42211
|
+
}
|
|
42212
|
+
|
|
42205
42213
|
getMethodNameWithSignature() {
|
|
42206
42214
|
let fragment = this.findFragment();
|
|
42207
42215
|
if(fragment.inputs) {
|
|
42208
|
-
return `${this.method}(${fragment.inputs.map((
|
|
42216
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
42209
42217
|
} else {
|
|
42210
42218
|
return this.method
|
|
42211
42219
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -72,10 +72,18 @@
|
|
|
72
72
|
})
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
getParamType(param) {
|
|
76
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
77
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
78
|
+
} else {
|
|
79
|
+
return param.type
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
75
83
|
getMethodNameWithSignature() {
|
|
76
84
|
let fragment = this.findFragment();
|
|
77
85
|
if(fragment.inputs) {
|
|
78
|
-
return `${this.method}(${fragment.inputs.map((
|
|
86
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
79
87
|
} else {
|
|
80
88
|
return this.method
|
|
81
89
|
}
|
package/dist/umd/index.solana.js
CHANGED
|
@@ -72,10 +72,18 @@
|
|
|
72
72
|
})
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
getParamType(param) {
|
|
76
|
+
if(_optionalChain$l([param, 'optionalAccess', _5 => _5.components, 'optionalAccess', _6 => _6.length])) {
|
|
77
|
+
return `(${param.components.map((param)=>this.getParamType(param)).join(',')})`
|
|
78
|
+
} else {
|
|
79
|
+
return param.type
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
75
83
|
getMethodNameWithSignature() {
|
|
76
84
|
let fragment = this.findFragment();
|
|
77
85
|
if(fragment.inputs) {
|
|
78
|
-
return `${this.method}(${fragment.inputs.map((
|
|
86
|
+
return `${this.method}(${fragment.inputs.map((param)=>this.getParamType(param)).join(',')})`
|
|
79
87
|
} else {
|
|
80
88
|
return this.method
|
|
81
89
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "16.0.
|
|
4
|
+
"version": "16.0.4",
|
|
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",
|