@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 (!receiveAccountNumber)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "17.3.2",
3
+ "version": "17.3.3",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",