Skip to content

Commit

Permalink
v12.12.8: upgrade web3-client (adds another error code initiating pro…
Browse files Browse the repository at this point in the history
…vider rotation)
  • Loading branch information
0xNe0x1 committed Sep 10, 2024
1 parent 67eb11c commit cfe2528
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-shadow-dom@5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/js-verify-signature-web@3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-blockchains@9.5.3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-client@10.18.15"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-client@10.18.16"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-tokens@10"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-token-image@5.0.2"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/coinbase-wallet-sdk@3"></script>
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -29510,7 +29510,7 @@ class StaticJsonRpcBatchProvider$1 extends ethers.providers.JsonRpcProvider {
if(response.ok) {
response.json().then((parsedJson)=>{
if(parsedJson.find((entry)=>{
return _optionalChain$5$1([entry, 'optionalAccess', _ => _.error]) && [-32062].includes(_optionalChain$5$1([entry, 'optionalAccess', _2 => _2.error, 'optionalAccess', _3 => _3.code]))
return _optionalChain$5$1([entry, 'optionalAccess', _ => _.error]) && [-32062,-32016].includes(_optionalChain$5$1([entry, 'optionalAccess', _2 => _2.error, 'optionalAccess', _3 => _3.code]))
})) {
if(attempt < MAX_RETRY$1$1) {
reject('Error in batch found!');
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -29508,7 +29508,7 @@
if(response.ok) {
response.json().then((parsedJson)=>{
if(parsedJson.find((entry)=>{
return _optionalChain$5$1([entry, 'optionalAccess', _ => _.error]) && [-32062].includes(_optionalChain$5$1([entry, 'optionalAccess', _2 => _2.error, 'optionalAccess', _3 => _3.code]))
return _optionalChain$5$1([entry, 'optionalAccess', _ => _.error]) && [-32062,-32016].includes(_optionalChain$5$1([entry, 'optionalAccess', _2 => _2.error, 'optionalAccess', _3 => _3.code]))
})) {
if(attempt < MAX_RETRY$1$1) {
reject('Error in batch found!');
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.evm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-evm",
"moduleName": "DePayWidgets",
"version": "12.12.7",
"version": "12.12.8",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets-evm": "^7.3.1",
"@depay/web3-blockchains": "^9.5.3",
"@depay/web3-client-evm": "^10.18.15",
"@depay/web3-client-evm": "^10.18.16",
"@depay/web3-exchanges-evm": "^13.8.6",
"@depay/web3-payments-evm": "^13.9.2",
"@depay/web3-tokens-evm": "^10.3.0",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets",
"moduleName": "DePayWidgets",
"version": "12.12.7",
"version": "12.12.8",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -44,7 +44,7 @@
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets": "^7.3.1",
"@depay/web3-blockchains": "^9.5.3",
"@depay/web3-client": "^10.18.15",
"@depay/web3-client": "^10.18.16",
"@depay/web3-exchanges": "^13.8.6",
"@depay/web3-payments": "^13.9.2",
"@depay/web3-tokens": "^10.3.0",
Expand Down
4 changes: 2 additions & 2 deletions package.solana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-solana",
"moduleName": "DePayWidgets",
"version": "12.12.7",
"version": "12.12.8",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets-solana": "^7.3.1",
"@depay/web3-blockchains": "^9.5.3",
"@depay/web3-client-solana": "^10.18.15",
"@depay/web3-client-solana": "^10.18.16",
"@depay/web3-exchanges-solana": "^13.8.6",
"@depay/web3-payments-solana": "^13.9.2",
"@depay/web3-tokens-solana": "^10.3.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1352,10 +1352,10 @@
resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.5.3.tgz#6669bfe2cb4ea7708649393ac43e60a2b9a1dce5"
integrity sha512-ZVSMoHaLTJVRwSlegXFiySN7AXOZS4SvnVlOPuPsvZh0c4KE3fDncNMdACds/A/x8pa+adEROeouwCrOuFq7Dw==

"@depay/web3-client@^10.18.15":
version "10.18.15"
resolved "https://registry.yarnpkg.com/@depay/web3-client/-/web3-client-10.18.15.tgz#10e3f2aa885a5e991092817f990e18f65ef06079"
integrity sha512-DRtH8Uz2MHcNqjfxCcUG3JtSf0FW5sK36GWSHbbixiLS4Q/9Ya68vk+PtLia18G5z1aYvToiGGPLeYMj19Rcow==
"@depay/web3-client@^10.18.16":
version "10.18.16"
resolved "https://registry.yarnpkg.com/@depay/web3-client/-/web3-client-10.18.16.tgz#d9ba8608621766f8a779c837daba1ae7b9f2e2e9"
integrity sha512-wY/k5FP7HqLbWJZvEo0Owu5Cjzdzm2wQqjv3UsGUuGioAEfa7jI+6VXxADWLmR8vIwZAtcC3PSryMBZakVxdRw==

"@depay/web3-exchanges@^13.8.6":
version "13.8.6"
Expand Down

0 comments on commit cfe2528

Please sign in to comment.