Skip to content

Commit

Permalink
set prod version
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Cyclone committed Sep 6, 2023
1 parent e8ee79e commit f0edba9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubic-sdk",
"version": "4.26.0-alpha-symb-sdk-upd.0",
"version": "4.26.0",
"description": "Simplify dApp creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ export class SymbiosisCrossChainProvider extends CrossChainProvider {
): Promise<CalculationResult> {
const fromBlockchain = from.blockchain as SymbiosisCrossChainSupportedBlockchain;
const toBlockchain = toToken.blockchain as SymbiosisCrossChainSupportedBlockchain;
const useProxy = options?.useProxy?.[this.type] ?? true;
const useProxy =
from.blockchain === BLOCKCHAIN_NAME.BASE
? false
: options?.useProxy?.[this.type] ?? true;

const config = BlockchainsInfo.isTestBlockchainName(fromBlockchain) ? 'testnet' : 'mainnet';
const symbiosis = new Symbiosis(config, 'rubic');
Expand Down

0 comments on commit f0edba9

Please sign in to comment.