@shapeshiftoss/swapper 17.3.2 → 17.3.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.
|
@@ -157,7 +157,7 @@ class OsmosisSwapper {
|
|
|
157
157
|
async executeTrade({ trade, wallet }) {
|
|
158
158
|
var _a;
|
|
159
159
|
const { sellAsset, buyAsset, sellAmountBeforeFeesCryptoBaseUnit: sellAmountCryptoBaseUnit, accountNumber, receiveAccountNumber, receiveAddress, } = trade;
|
|
160
|
-
if (
|
|
160
|
+
if (receiveAccountNumber === undefined)
|
|
161
161
|
throw new api_1.SwapError('Receive account number not provided', {
|
|
162
162
|
code: api_1.SwapErrorType.RECEIVE_ACCOUNT_NUMBER_NOT_PROVIDED,
|
|
163
163
|
});
|
package/package.json
CHANGED