From 9ad502d6d57cf8a81e272d027e82f42b477e62b2 Mon Sep 17 00:00:00 2001 From: Sebastian Pape <0xneo11@gmail.com> Date: Fri, 9 Feb 2024 07:50:40 +0100 Subject: [PATCH] v9.3.2: replace broken polygon rpc provider --- examples/polygon.md | 2 +- package.evm.json | 8 ++-- package.json | 32 +++++++-------- package.solana.json | 10 ++--- yarn.lock | 96 +++++++++++++++++++++++++-------------------- 5 files changed, 80 insertions(+), 68 deletions(-) diff --git a/examples/polygon.md b/examples/polygon.md index 6f95bd8..2075388 100644 --- a/examples/polygon.md +++ b/examples/polygon.md @@ -5,7 +5,7 @@ let routes = await Web3Payments.route({ accept: [ { blockchain: 'polygon', - token: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', + token: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', amount: 1, toAddress: '0x08B277154218CCF3380CAE48d630DA13462E3950' } diff --git a/package.evm.json b/package.evm.json index a680f80..7bc13a5 100644 --- a/package.evm.json +++ b/package.evm.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments-evm", "moduleName": "Web3Payments", - "version": "13.6.10", + "version": "13.7.0", "description": "JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.", "main": "dist/umd/index.evm.js", "module": "dist/esm/index.evm.js", @@ -26,9 +26,9 @@ "private": false, "dependencies": {}, "peerDependencies": { - "@depay/web3-assets-evm": "^7.2.0", - "@depay/web3-blockchains": "^9.2.0", - "@depay/web3-exchanges-evm": "^13.5.0", + "@depay/web3-assets-evm": "^7.3.0", + "@depay/web3-blockchains": "^9.3.1", + "@depay/web3-exchanges-evm": "^13.8.0", "@depay/web3-tokens-evm": "^10.3.0", "ethers": "^5.7.1" }, diff --git a/package.json b/package.json index 2426179..1f0f453 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments", "moduleName": "Web3Payments", - "version": "13.6.10", + "version": "13.7.0", "description": "JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.", "main": "dist/umd/index.js", "module": "dist/esm/index.js", @@ -36,10 +36,10 @@ "private": false, "dependencies": {}, "peerDependencies": { - "@depay/solana-web3.js": "^1.25.1", - "@depay/web3-assets": "^7.2.0", - "@depay/web3-blockchains": "^9.2.0", - "@depay/web3-exchanges": "^13.5.0", + "@depay/solana-web3.js": "^1.26.0", + "@depay/web3-assets": "^7.3.0", + "@depay/web3-blockchains": "^9.3.1", + "@depay/web3-exchanges": "^13.8.0", "@depay/web3-tokens": "^10.3.0", "ethers": "^5.7.1", "decimal.js": "^10.4.3" @@ -51,19 +51,19 @@ "@babel/core": "^7.12.9", "@babel/preset-env": "^7.12.7", "@depay/coinbase-wallet-sdk": "^3.6.4", - "@depay/solana-web3.js": "^1.25.1", + "@depay/solana-web3.js": "^1.26.0", "@depay/walletconnect-v1": "^1.8.0", "@depay/walletconnect-v2": "^2.9.2", - "@depay/web3-assets": "^7.2.0", - "@depay/web3-assets-evm": "^7.2.0", - "@depay/web3-assets-solana": "^7.2.0", - "@depay/web3-blockchains": "^9.2.0", - "@depay/web3-client": "^10.18.0", - "@depay/web3-client-evm": "^10.18.0", - "@depay/web3-client-solana": "^10.18.0", - "@depay/web3-exchanges": "^13.5.0", - "@depay/web3-exchanges-evm": "^13.5.0", - "@depay/web3-exchanges-solana": "^13.5.0", + "@depay/web3-assets": "^7.3.0", + "@depay/web3-assets-evm": "^7.3.0", + "@depay/web3-assets-solana": "^7.3.0", + "@depay/web3-blockchains": "^9.3.1", + "@depay/web3-client": "^10.18.4", + "@depay/web3-client-evm": "^10.18.4", + "@depay/web3-client-solana": "^10.18.4", + "@depay/web3-exchanges": "^13.8.0", + "@depay/web3-exchanges-evm": "^13.8.0", + "@depay/web3-exchanges-solana": "^13.8.0", "@depay/web3-mock": "^14.17.0", "@depay/web3-tokens": "^10.3.0", "@depay/web3-tokens-evm": "^10.3.0", diff --git a/package.solana.json b/package.solana.json index 7093077..d664c7b 100644 --- a/package.solana.json +++ b/package.solana.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments-solana", "moduleName": "Web3Payments", - "version": "13.6.10", + "version": "13.7.0", "description": "JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.", "main": "dist/umd/index.solana.js", "module": "dist/esm/index.solana.js", @@ -26,10 +26,10 @@ "private": false, "dependencies": {}, "peerDependencies": { - "@depay/solana-web3.js": "^1.25.1", - "@depay/web3-assets-solana": "^7.2.0", - "@depay/web3-blockchains": "^9.2.0", - "@depay/web3-exchanges-solana": "^13.5.0", + "@depay/solana-web3.js": "^1.26.0", + "@depay/web3-assets-solana": "^7.3.0", + "@depay/web3-blockchains": "^9.3.1", + "@depay/web3-exchanges-solana": "^13.8.0", "@depay/web3-tokens-solana": "^10.3.0", "ethers": "^5.7.1", "decimal.js": "^10.4.3" diff --git a/yarn.lock b/yarn.lock index 48fb250..5e906c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -965,6 +965,13 @@ dependencies: bs58 "^5.0.0" +"@depay/solana-web3.js@^1.26.0": + version "1.26.0" + resolved "https://registry.yarnpkg.com/@depay/solana-web3.js/-/solana-web3.js-1.26.0.tgz#6234cd46779924a930d6b6021b66a25c18b38365" + integrity sha512-aAhDxfNGraE8VBwM5g/BhHnNCENlLSKDJ3yIh2EZd4mfmKM/4utv0cNUhTEytUAvvFoaMcOXXQ5U5sE1IMXFrQ== + dependencies: + bs58 "^5.0.0" + "@depay/walletconnect-v1@^1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@depay/walletconnect-v1/-/walletconnect-v1-1.8.0.tgz#b3f3ca13ca4db148c54886f8b921ea185c1bda17" @@ -981,55 +988,60 @@ "@walletconnect/core" "^2.9.2" "@walletconnect/sign-client" "^2.9.2" -"@depay/web3-assets-evm@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@depay/web3-assets-evm/-/web3-assets-evm-7.2.0.tgz#77237b35c5e9e9081e237b91a55e52ce2da4a65e" - integrity sha512-2GcyhyYvqIy25Of0WabO7hxvDKjILHHCzRY2QsKk2giReOczdlmruXiVrr32/5GCpD4yO2BpEoXCxhmlO3LAig== +"@depay/web3-assets-evm@^7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@depay/web3-assets-evm/-/web3-assets-evm-7.3.0.tgz#d5cd70ec379575c9e432f5db5965c0297552aed4" + integrity sha512-Kf4qJB1TPLJImtIjj3TWcM2b7LxeBCuGZu9C6CSkn8EjxLhFWarNYcWDAtqTRup5gAl1eowVuZLpiGOnu6v2tw== -"@depay/web3-assets-solana@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@depay/web3-assets-solana/-/web3-assets-solana-7.2.0.tgz#69c5b3efb94e7292a54fd8be1777116287eaa392" - integrity sha512-LjbeaMpLjqwEtW5/v7PVN+r0o1hX5/Xi40OK1RSBNIS18pwEPrkjkmwdr+pNdLSsRJigkzl+O5m5Vvkl6N1GoA== +"@depay/web3-assets-solana@^7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@depay/web3-assets-solana/-/web3-assets-solana-7.3.0.tgz#37456de32be7dfc115a12b63ad7e4eb2ee2adff7" + integrity sha512-klJJ8iayMWjEIcjiDYa0fzslxItlErOjBa8yh3xPmZ/iYYsiKaLsGCCQ6C9ZAVG3zPLTgqzUhYzOgL7DQWIXEA== -"@depay/web3-assets@^7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@depay/web3-assets/-/web3-assets-7.2.0.tgz#709714b5f0b5cc8304652363eb6a4a65b1cce00f" - integrity sha512-h+lYHR2RZm2EOoL9xQXlvStGyRWRqp7+52ShA3s8Hv7caNRpW5koa+f4hzON5mIB3oO3YZ5aHYqOezokutVIBg== +"@depay/web3-assets@^7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@depay/web3-assets/-/web3-assets-7.3.0.tgz#aab648a1a244911c0e123bc590f7c02f31f1d814" + integrity sha512-txp33ON9QkvXef3GvyGirlHTWkcMh6I7vhbhx2xeF4brbNyDogWYmz823ZQN7jikbpIE/rjMkLqjuOIAeD9YNA== -"@depay/web3-blockchains@^9.1.4", "@depay/web3-blockchains@^9.2.0": +"@depay/web3-blockchains@^9.1.4": version "9.2.0" resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.2.0.tgz#22ed38c94fc61293f117419ae118320d96588e37" integrity sha512-w7UOZqsCjNg+wwfhQ5vF1vV0qTcMJpIJj8dMmGo31PWu7eiL301zYfVEWyxPUDd4xIJY3hcUeB78xapfhrxKRQ== -"@depay/web3-client-evm@^10.18.0": - version "10.18.0" - resolved "https://registry.yarnpkg.com/@depay/web3-client-evm/-/web3-client-evm-10.18.0.tgz#c8e014f0cca7ab2e121e3a8fff67a070f63ef6c9" - integrity sha512-0w3d6EQYXWUQN2qgizSSWtLZPTF/DXl4a14CKgxA6xN03KDPsRBjikIWia16mL/uZ1EH/Gbh7siujRQOX/qOJg== - -"@depay/web3-client-solana@^10.18.0": - version "10.18.0" - resolved "https://registry.yarnpkg.com/@depay/web3-client-solana/-/web3-client-solana-10.18.0.tgz#1b8b4cc9bfa231786fa86fb35851376b9f860be5" - integrity sha512-zjdApFQNmmj102v3OOvCIFWH/Q3uCaVywqMPUnIIkN6uqbXkX/PouT90V9Tb9+4Rrcspa08Z6YzKepCh5LCyFA== - -"@depay/web3-client@^10.18.0": - version "10.18.0" - resolved "https://registry.yarnpkg.com/@depay/web3-client/-/web3-client-10.18.0.tgz#bf9d739c68dc7608848f61be9a1031051caf7511" - integrity sha512-EZLmM52PJBW/Tal/yWVAQW6v9/6sTeDbvhDYKm4MoYZ80aBRXumI6clz8agSTTWAIg4jGiWkhLVEWTRKZgkozA== - -"@depay/web3-exchanges-evm@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@depay/web3-exchanges-evm/-/web3-exchanges-evm-13.5.0.tgz#8757746b0bbdcd2d7caf7f21379aea1ecd590e98" - integrity sha512-rSCT+Jlr5fwOo3cvOGUPb2GTlKFR3eHa7AG25WAhAHOBW3aQ7MXfVGuINMxOEUkDkolYxPs/qAr6XwD2Ewg/VA== - -"@depay/web3-exchanges-solana@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@depay/web3-exchanges-solana/-/web3-exchanges-solana-13.5.0.tgz#5e4660b002b015b6c9afaf50e0fe7bd27180767d" - integrity sha512-OzkWM3s1o0BM1eKCbsJtU78n7gcAsqxbpAq9wyBKYKs9M3JWb9WpG3xI65Tk3VQ+c8YmN3jr4ZIZCkE0GT3gAA== - -"@depay/web3-exchanges@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@depay/web3-exchanges/-/web3-exchanges-13.5.0.tgz#9ebf5a5b31d9929bd2e257d64c6350b8de3bc32b" - integrity sha512-8S98qcoFw74ByNY2dGiFZ9UgcPEQ9uYD4mo4SlQIFTeX8PPSM3MQQDfKkJMTA8g4Gmq/ZhgBsrg+wW3ZgNdiqg== +"@depay/web3-blockchains@^9.3.1": + version "9.3.1" + resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.3.1.tgz#67c77c0e3ec9a827664431cfb836efedcaa8499c" + integrity sha512-UsVF+FZZ5R8KN2Xg15WGAnDjg74YhmBQOSmNyZwhdcfBaXhlzwjE15I0rEVrwnOMm2zaKV1o+83gPtwqC8Y7Qw== + +"@depay/web3-client-evm@^10.18.4": + version "10.18.4" + resolved "https://registry.yarnpkg.com/@depay/web3-client-evm/-/web3-client-evm-10.18.4.tgz#568dd937a49a09e03eb335ad3eadc2154542db57" + integrity sha512-ZPl8TPFvvtmkUh45A2MDba7DlQoaqOrX7VDsgSWla8uwyzEbMfXJMCafDogAYeaZZaYCU8hTrgA4Tj7wZGKmMg== + +"@depay/web3-client-solana@^10.18.4": + version "10.18.4" + resolved "https://registry.yarnpkg.com/@depay/web3-client-solana/-/web3-client-solana-10.18.4.tgz#c4f862656e90895136586e48b79ba58c10f70da8" + integrity sha512-Mw4RZM/e6pMniE/adz/bcdsyv9FTNZhSbMARJizX5gFEshlJ0P5Bq2U8IxZ/IB+JFk9JRXCBs8dms7plHxo7YQ== + +"@depay/web3-client@^10.18.4": + version "10.18.4" + resolved "https://registry.yarnpkg.com/@depay/web3-client/-/web3-client-10.18.4.tgz#94a3b07c6fa837ca414e6ac7f0adb30ceba43e91" + integrity sha512-MkxXkHZpfnMXeXvON+Biz+ZwoQYFd/ZA+wvLK2f2YejNLrjWk8dBryBBULkSeNpJKiLi7awkAD2nBp5sK4WQjQ== + +"@depay/web3-exchanges-evm@^13.8.0": + version "13.8.0" + resolved "https://registry.yarnpkg.com/@depay/web3-exchanges-evm/-/web3-exchanges-evm-13.8.0.tgz#95411826aa517752d19bea456cab3d4845207304" + integrity sha512-47i8cBrqIXS7N4Bn6ZDcTllRkRJBs/uftKtDl2WjWQA6GQvhtvwdC98oRCeSwQ8TB1oIfFjQS5MWRAw55ZaDDw== + +"@depay/web3-exchanges-solana@^13.8.0": + version "13.8.0" + resolved "https://registry.yarnpkg.com/@depay/web3-exchanges-solana/-/web3-exchanges-solana-13.8.0.tgz#a49438821db11c26cd6df128f2b690ef50c7bc28" + integrity sha512-JbDjGrfcqxFjJD69fezAc74vOETby7vp/GRfg9bNmHGOPbNJW6L1HaWrwWICeofhc912xgTRoyQleMedMsCrVQ== + +"@depay/web3-exchanges@^13.8.0": + version "13.8.0" + resolved "https://registry.yarnpkg.com/@depay/web3-exchanges/-/web3-exchanges-13.8.0.tgz#32437bb395ac34a75de3ccd37fe597bdbedbcb3c" + integrity sha512-/zVZKK/COJM/dnpw8JFckx4Oz47zaF23bF/iyuRV11YBLk3EwYqv4nueKpm64MJ7AHKHdEE4uDLIWsvqFJKnKg== "@depay/web3-mock@^14.17.0": version "14.17.0"