From 17cd39d87b5d774d3616f1346eba252cb06f87f1 Mon Sep 17 00:00:00 2001 From: Sebastian Pape Date: Mon, 4 Sep 2023 16:36:10 +0200 Subject: [PATCH] v13.6.1: add base to cost scoring --- dist/esm/index.evm.js | 2 ++ dist/esm/index.js | 2 ++ dist/esm/index.solana.js | 2 ++ dist/umd/index.evm.js | 2 ++ dist/umd/index.js | 2 ++ dist/umd/index.solana.js | 2 ++ package.evm.json | 2 +- package.json | 2 +- package.solana.json | 2 +- src/costs.js | 3 +++ 10 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dist/esm/index.evm.js b/dist/esm/index.evm.js index de8e16e..e683bf0 100644 --- a/dist/esm/index.evm.js +++ b/dist/esm/index.evm.js @@ -45629,6 +45629,8 @@ const getBlockchainCost = (blockchain) => { return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/dist/esm/index.js b/dist/esm/index.js index d22cf3d..b620295 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -1932,6 +1932,8 @@ const getBlockchainCost = (blockchain) => { return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/dist/esm/index.solana.js b/dist/esm/index.solana.js index 92a8f62..60da1e8 100644 --- a/dist/esm/index.solana.js +++ b/dist/esm/index.solana.js @@ -3233,6 +3233,8 @@ const getBlockchainCost = (blockchain) => { return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/dist/umd/index.evm.js b/dist/umd/index.evm.js index 0021184..d3869fc 100644 --- a/dist/umd/index.evm.js +++ b/dist/umd/index.evm.js @@ -45635,6 +45635,8 @@ return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/dist/umd/index.js b/dist/umd/index.js index f53e2af..f6056c2 100644 --- a/dist/umd/index.js +++ b/dist/umd/index.js @@ -1937,6 +1937,8 @@ return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/dist/umd/index.solana.js b/dist/umd/index.solana.js index 3b9c1b3..5db9e9d 100644 --- a/dist/umd/index.solana.js +++ b/dist/umd/index.solana.js @@ -3238,6 +3238,8 @@ return 0.10 case 'bsc': return 0.20 + case 'base': + return 0.25 case 'arbitrum': return 0.30 case 'optimism': diff --git a/package.evm.json b/package.evm.json index 7dcf013..23352a6 100644 --- a/package.evm.json +++ b/package.evm.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments-evm", "moduleName": "Web3Payments", - "version": "13.6.0", + "version": "13.6.1", "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", diff --git a/package.json b/package.json index 539392a..c03da13 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments", "moduleName": "Web3Payments", - "version": "13.6.0", + "version": "13.6.1", "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", diff --git a/package.solana.json b/package.solana.json index af048c4..e173f27 100644 --- a/package.solana.json +++ b/package.solana.json @@ -1,7 +1,7 @@ { "name": "@depay/web3-payments-solana", "moduleName": "Web3Payments", - "version": "13.6.0", + "version": "13.6.1", "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", diff --git a/src/costs.js b/src/costs.js index 77f226f..005240c 100644 --- a/src/costs.js +++ b/src/costs.js @@ -20,6 +20,9 @@ const getBlockchainCost = (blockchain) => { case 'bsc': return 0.20 break; + case 'base': + return 0.25 + break; case 'arbitrum': return 0.30 break;