Skip to content

Commit 08e13bf

Browse files
committed
v17.4.7: filter world app abi to the max
1 parent 0d2e203 commit 08e13bf

File tree

8 files changed

+45
-45
lines changed

8 files changed

+45
-45
lines changed

dist/esm/index.evm.js

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

dist/esm/index.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/index.evm.js

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

dist/umd/index.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.evm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-wallets-evm",
33
"moduleName": "Web3Wallets",
4-
"version": "17.4.6",
4+
"version": "17.4.7",
55
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
66
"main": "dist/umd/index.evm.js",
77
"module": "dist/esm/index.evm.js",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-wallets",
33
"moduleName": "Web3Wallets",
4-
"version": "17.4.6",
4+
"version": "17.4.7",
55
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
66
"main": "dist/umd/index.js",
77
"module": "dist/esm/index.js",

package.solana.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@depay/web3-wallets-solana",
33
"moduleName": "Web3Wallets",
4-
"version": "17.4.6",
4+
"version": "17.4.7",
55
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
66
"main": "dist/umd/index.solana.js",
77
"module": "dist/esm/index.solana.js",

src/wallets/WorldApp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class WorldApp {
7373
transaction: [
7474
{
7575
address: transaction.to,
76-
abi: transaction.api?.filter((fragment)=>fragment?.name === transaction.method),
76+
abi: transaction.api?.filter((fragment)=>fragment.name === transaction.method && fragment?.inputs?.length === transaction.params?.args?.length),
7777
functionName: transaction.method,
7878
args: transaction.params?.args
7979
},
@@ -84,7 +84,7 @@ export default class WorldApp {
8484
transaction: [
8585
{
8686
address: transaction.to,
87-
abi: transaction.api?.filter((fragment)=>fragment?.name === transaction.method),
87+
abi: transaction.api?.filter((fragment)=>fragment.name === transaction.method && fragment?.inputs?.length === transaction.params?.args?.length),
8888
functionName: transaction.method,
8989
args: transaction.params?.args
9090
},

0 commit comments

Comments
 (0)