Skip to content

Commit

Permalink
Upd symbiosis sdk (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Cyclone authored Sep 6, 2023
2 parents 3af38ba + f0edba9 commit c76f599
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubic-sdk",
"version": "4.25.0",
"version": "4.26.0",
"description": "Simplify dApp creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -92,7 +92,7 @@
"lodash.clonedeep": "^4.5.0",
"rango-sdk-basic": "^0.0.7",
"rxjs": "7.8.1",
"symbiosis-js-sdk": "2.10.34",
"symbiosis-js-sdk": "2.10.41",
"tronweb": "^4.3.0",
"viem": "^1.3.1",
"web3": "^1.8.1"
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
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7387,10 +7387,10 @@ swarm-js@^0.1.40:
tar "^4.0.2"
xhr-request "^1.0.1"

[email protected].34:
version "2.10.34"
resolved "https://registry.yarnpkg.com/symbiosis-js-sdk/-/symbiosis-js-sdk-2.10.34.tgz#97a4d3503ac2090c3025a76481cb37fa1567a9d3"
integrity sha512-8ajvzGdl0UL3uqlTVFBgqgKv+BnVK4Io3EzXzc9o4q8RUyY3chVuP1hiswAXdFAgmj2ySBnfjfJZqMLictDTNQ==
[email protected].41:
version "2.10.41"
resolved "https://registry.yarnpkg.com/symbiosis-js-sdk/-/symbiosis-js-sdk-2.10.41.tgz#96a2211d7c1d19e63179048457c61b2c3a22216e"
integrity sha512-3KQti3OmKJG0WgYODgWQXV1nWzQuzyUurSuQaEd4ZzE9MBndcvNe6CsRxg4lrIYdfwyPcMCzCK+7SK7x4gsMwg==
dependencies:
big.js "^5.2.2"
bignumber.js "^9.0.1"
Expand Down

0 comments on commit c76f599

Please sign in to comment.