@openocean.finance/openocean-sdk 1.7.58 → 1.7.59

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.
@@ -207,7 +207,7 @@ var Swap = /** @class */ (function () {
207
207
  case 1:
208
208
  _d.trys.push([1, 9, , 10]);
209
209
  transaction = '';
210
- if (res.dexId == 6 || res.dexId == 7 || res.dexId == 9) {
210
+ if (res.isVersioned || res.dexId == 6 || res.dexId == 7 || res.dexId == 9) {
211
211
  transaction = web3_js_1.VersionedTransaction.deserialize(Buffer.from(res.transaction, 'hex'));
212
212
  }
213
213
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/openocean-sdk",
3
- "version": "1.7.58",
3
+ "version": "1.7.59",
4
4
  "description": "Openocean sdk",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {