@1inch/fusion-sdk 2.3.9-rc.1 → 2.3.9-rc.2

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.
@@ -103,7 +103,7 @@ var NativeOrdersImpl = /*#__PURE__*/ function() {
103
103
  to: this.address,
104
104
  value: 0n,
105
105
  data: this.iface.encodeFunctionData('cancelOrder', [
106
- _object_spread_props(_object_spread({}, order.build()), {
106
+ _object_spread_props(_object_spread({}, order), {
107
107
  maker: maker.toString()
108
108
  })
109
109
  ])
@@ -117,7 +117,7 @@ var NativeOrdersImpl = /*#__PURE__*/ function() {
117
117
  to: this.address,
118
118
  value: 0n,
119
119
  data: this.iface.encodeFunctionData('cancelExpiredOrderByResolver', [
120
- _object_spread_props(_object_spread({}, order.build()), {
120
+ _object_spread_props(_object_spread({}, order), {
121
121
  maker: maker.toString()
122
122
  })
123
123
  ])
@@ -88,7 +88,7 @@ export var NativeOrdersImpl = /*#__PURE__*/ function() {
88
88
  to: this.address,
89
89
  value: 0n,
90
90
  data: this.iface.encodeFunctionData('cancelOrder', [
91
- _object_spread_props(_object_spread({}, order.build()), {
91
+ _object_spread_props(_object_spread({}, order), {
92
92
  maker: maker.toString()
93
93
  })
94
94
  ])
@@ -102,7 +102,7 @@ export var NativeOrdersImpl = /*#__PURE__*/ function() {
102
102
  to: this.address,
103
103
  value: 0n,
104
104
  data: this.iface.encodeFunctionData('cancelExpiredOrderByResolver', [
105
- _object_spread_props(_object_spread({}, order.build()), {
105
+ _object_spread_props(_object_spread({}, order), {
106
106
  maker: maker.toString()
107
107
  })
108
108
  ])
@@ -1 +1 @@
1
- {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.1","type":"module"}
1
+ {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.2","type":"module"}
@@ -1,10 +1,9 @@
1
- import { Address } from '@1inch/limit-order-sdk';
1
+ import { Address, LimitOrderV4Struct } from '@1inch/limit-order-sdk';
2
2
  import { CallInfo } from './types.js';
3
- import { FusionOrder } from '../fusion-order/index.js';
4
3
  export declare class NativeOrdersImpl {
5
4
  address: Address;
6
5
  private readonly iface;
7
6
  constructor(address: Address);
8
- cancel(maker: Address, order: FusionOrder): CallInfo;
9
- cancelExpiredOrderByResolver(maker: Address, order: FusionOrder): CallInfo;
7
+ cancel(maker: Address, order: LimitOrderV4Struct): CallInfo;
8
+ cancelExpiredOrderByResolver(maker: Address, order: LimitOrderV4Struct): CallInfo;
10
9
  }