@sodax/sdk 1.4.2-beta → 1.4.4-beta
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -8714,7 +8714,7 @@ var universalRouterAbi = [
|
|
|
8714
8714
|
];
|
|
8715
8715
|
|
|
8716
8716
|
// ../types/dist/constants/index.js
|
|
8717
|
-
var CONFIG_VERSION =
|
|
8717
|
+
var CONFIG_VERSION = 33;
|
|
8718
8718
|
var AVALANCHE_MAINNET_CHAIN_ID = "0xa86a.avax";
|
|
8719
8719
|
var ARBITRUM_MAINNET_CHAIN_ID = "0xa4b1.arbitrum";
|
|
8720
8720
|
var BASE_MAINNET_CHAIN_ID = "0x2105.base";
|
|
@@ -30993,7 +30993,7 @@ var BridgeService = class {
|
|
|
30993
30993
|
const [fromTokenInfo, toTokenInfo] = tokenInfos;
|
|
30994
30994
|
invariant6(fromTokenInfo, "From token info not found");
|
|
30995
30995
|
invariant6(toTokenInfo, "To token info not found");
|
|
30996
|
-
if (!fromTokenInfo.isSupported) {
|
|
30996
|
+
if (from.xChainId !== this.hubProvider.chainConfig.chain.id && !fromTokenInfo.isSupported) {
|
|
30997
30997
|
return {
|
|
30998
30998
|
ok: true,
|
|
30999
30999
|
value: {
|
|
@@ -34660,7 +34660,7 @@ var AssetService = class {
|
|
|
34660
34660
|
spokeProvider.chainConfig.chain.id,
|
|
34661
34661
|
this.hubProvider
|
|
34662
34662
|
);
|
|
34663
|
-
let recipient =
|
|
34663
|
+
let recipient = walletAddress;
|
|
34664
34664
|
let dstChainId = spokeProvider.chainConfig.chain.id;
|
|
34665
34665
|
if (params.dst) {
|
|
34666
34666
|
if (isSpokeProviderObjectType(params.dst)) {
|