rubic-sdk 4.28.2 → 4.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rubic-sdk.min.js +1 -3
- package/dist/rubic-sdk.min.js.map +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.js +1 -3
- package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.js.map +1 -1
- package/package.json +1 -1
package/dist/rubic-sdk.min.js
CHANGED
|
@@ -224558,9 +224558,7 @@ class SymbiosisCrossChainProvider extends cross_chain_provider_1.CrossChainProvi
|
|
|
224558
224558
|
async calculate(from, toToken, options) {
|
|
224559
224559
|
const fromBlockchain = from.blockchain;
|
|
224560
224560
|
const toBlockchain = toToken.blockchain;
|
|
224561
|
-
const useProxy =
|
|
224562
|
-
? false
|
|
224563
|
-
: options?.useProxy?.[this.type] ?? true;
|
|
224561
|
+
const useProxy = options?.useProxy?.[this.type] ?? true;
|
|
224564
224562
|
const config = blockchains_info_1.BlockchainsInfo.isTestBlockchainName(fromBlockchain) ? 'testnet' : 'mainnet';
|
|
224565
224563
|
const symbiosis = new symbiosis_js_sdk_1.Symbiosis(config, 'rubic');
|
|
224566
224564
|
if (!this.areSupportedBlockchains(fromBlockchain, toBlockchain)) {
|