Skip to content

Commit

Permalink
v10.4.3: no cache for balance either
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Sep 27, 2024
1 parent 768315b commit 9db6ada
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 13 deletions.
2 changes: 0 additions & 2 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ var balanceOnEVM = async ({ blockchain, address, account, api, id })=>{
blockchain: blockchain,
address: account,
method: 'balance',
cache: 10000, // 10 seconds
},
)
} else {
Expand All @@ -33,7 +32,6 @@ var balanceOnEVM = async ({ blockchain, address, account, api, id })=>{
method: 'balanceOf',
api,
params: id ? [account, id] : [account],
cache: 10000, // 10 seconds
},
)
}
Expand Down
2 changes: 0 additions & 2 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var balanceOnEVM = async ({ blockchain, address, account, api, id })=>{
blockchain: blockchain,
address: account,
method: 'balance',
cache: 10000, // 10 seconds
},
)
} else {
Expand All @@ -34,7 +33,6 @@ var balanceOnEVM = async ({ blockchain, address, account, api, id })=>{
method: 'balanceOf',
api,
params: id ? [account, id] : [account],
cache: 10000, // 10 seconds
},
)
}
Expand Down
2 changes: 0 additions & 2 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
blockchain: blockchain,
address: account,
method: 'balance',
cache: 10000, // 10 seconds
},
)
} else {
Expand All @@ -39,7 +38,6 @@
method: 'balanceOf',
api,
params: id ? [account, id] : [account],
cache: 10000, // 10 seconds
},
)
}
Expand Down
2 changes: 0 additions & 2 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
blockchain: blockchain,
address: account,
method: 'balance',
cache: 10000, // 10 seconds
},
)
} else {
Expand All @@ -39,7 +38,6 @@
method: 'balanceOf',
api,
params: id ? [account, id] : [account],
cache: 10000, // 10 seconds
},
)
}
Expand Down
2 changes: 1 addition & 1 deletion package.evm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/web3-tokens-evm",
"moduleName": "Web3Tokens",
"version": "10.4.2",
"version": "10.4.3",
"description": "JavaScript library providing basic functionalities to interact with web3 tokens.",
"main": "dist/umd/index.evm.js",
"module": "dist/esm/index.evm.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/web3-tokens",
"moduleName": "Web3Tokens",
"version": "10.4.2",
"version": "10.4.3",
"description": "JavaScript library providing basic functionalities to interact with web3 tokens.",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package.solana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/web3-tokens-solana",
"moduleName": "Web3Tokens",
"version": "10.4.2",
"version": "10.4.3",
"description": "JavaScript library providing basic functionalities to interact with web3 tokens.",
"main": "dist/umd/index.solana.js",
"module": "dist/esm/index.solana.js",
Expand Down
2 changes: 0 additions & 2 deletions src/platforms/evm/balance.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default async ({ blockchain, address, account, api, id })=>{
blockchain: blockchain,
address: account,
method: 'balance',
cache: 10000, // 10 seconds
},
)
} else {
Expand All @@ -32,7 +31,6 @@ export default async ({ blockchain, address, account, api, id })=>{
method: 'balanceOf',
api,
params: id ? [account, id] : [account],
cache: 10000, // 10 seconds
},
)
}
Expand Down

0 comments on commit 9db6ada

Please sign in to comment.