@1inch/fusion-sdk 2.3.9-rc.6 → 2.3.9-rc.7

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.
@@ -303,7 +303,7 @@ var FusionSDK = /*#__PURE__*/ function() {
303
303
  value: function createOrder(params) {
304
304
  var _this = this;
305
305
  return _async_to_generator(function() {
306
- var quote, order, hash;
306
+ var _quote_nativeOrderFactory, quote, order, hash;
307
307
  return _ts_generator(this, function(_state) {
308
308
  switch(_state.label){
309
309
  case 0:
@@ -331,7 +331,8 @@ var FusionSDK = /*#__PURE__*/ function() {
331
331
  {
332
332
  order: order,
333
333
  hash: hash,
334
- quoteId: quote.quoteId
334
+ quoteId: quote.quoteId,
335
+ nativeOrderFactory: (_quote_nativeOrderFactory = quote.nativeOrderFactory) === null || _quote_nativeOrderFactory === void 0 ? void 0 : _quote_nativeOrderFactory.factory
335
336
  }
336
337
  ];
337
338
  }
@@ -1 +1 @@
1
- {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.6","type":"module"}
1
+ {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.7","type":"module"}
@@ -293,7 +293,7 @@ export var FusionSDK = /*#__PURE__*/ function() {
293
293
  value: function createOrder(params) {
294
294
  var _this = this;
295
295
  return _async_to_generator(function() {
296
- var quote, order, hash;
296
+ var _quote_nativeOrderFactory, quote, order, hash;
297
297
  return _ts_generator(this, function(_state) {
298
298
  switch(_state.label){
299
299
  case 0:
@@ -321,7 +321,8 @@ export var FusionSDK = /*#__PURE__*/ function() {
321
321
  {
322
322
  order: order,
323
323
  hash: hash,
324
- quoteId: quote.quoteId
324
+ quoteId: quote.quoteId,
325
+ nativeOrderFactory: (_quote_nativeOrderFactory = quote.nativeOrderFactory) === null || _quote_nativeOrderFactory === void 0 ? void 0 : _quote_nativeOrderFactory.factory
325
326
  }
326
327
  ];
327
328
  }
@@ -1,4 +1,4 @@
1
- import { LimitOrderV4Struct } from '@1inch/limit-order-sdk';
1
+ import { Address, LimitOrderV4Struct } from '@1inch/limit-order-sdk';
2
2
  import { BlockchainProviderConnector, HttpProviderConnector } from '../connector/index.js';
3
3
  import { NetworkEnum } from '../constants.js';
4
4
  import { CustomPreset, IntegratorFeeParams, PresetEnum } from '../api/index.js';
@@ -54,4 +54,5 @@ export type PreparedOrder = {
54
54
  order: FusionOrder;
55
55
  hash: string;
56
56
  quoteId: string;
57
+ nativeOrderFactory?: Address;
57
58
  };