@1inch/fusion-sdk 2.0.0 → 2.0.1
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.
- package/dist/api/fusion-api.d.ts +1 -3
- package/dist/api/fusion-api.js.map +1 -1
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/index.js.map +1 -1
- package/dist/fusion-order/auction-details/index.d.ts +1 -1
- package/dist/fusion-order/auction-details/index.js +1 -0
- package/dist/fusion-order/auction-details/index.js.map +1 -1
- package/dist/ws-api/index.d.ts +3 -0
- package/dist/ws-api/index.js +3 -0
- package/dist/ws-api/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api/fusion-api.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { FusionApiConfig } from './types';
|
|
2
|
-
import { QuoterRequest } from './quoter';
|
|
2
|
+
import { QuoterRequest, QuoterCustomPresetRequest, Quote } from './quoter';
|
|
3
3
|
import { RelayerRequest } from './relayer';
|
|
4
|
-
import { Quote } from './quoter/quote/quote';
|
|
5
4
|
import { ActiveOrdersRequest, ActiveOrdersResponse, OrdersByMakerRequest, OrderStatusRequest, OrderStatusResponse, OrdersByMakerResponse } from './orders';
|
|
6
|
-
import { QuoterCustomPresetRequest } from './quoter/quoter-custom-preset.request';
|
|
7
5
|
export declare class FusionApi {
|
|
8
6
|
private readonly quoterApi;
|
|
9
7
|
private readonly relayerApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fusion-api.js","sourceRoot":"","sources":["../../src/api/fusion-api.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"fusion-api.js","sourceRoot":"","sources":["../../src/api/fusion-api.ts"],"names":[],"mappings":";;;AACA,qCAKiB;AACjB,uCAAoD;AACpD,qCAQiB;AACjB,4CAAmD;AAEnD,MAAa,SAAS;IAOlB,YAAY,MAAuB;QAC/B,IAAI,CAAC,SAAS,GAAG,kBAA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AC,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;IACjD,CAAC;IAED,cAAc,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;IAChD,CAAC;IAED,gBAAgB,CACZ,MAA4B;QAE5B,OAAO,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAClD,CAAC;IAED,WAAW,CAAC,MAAsB;QAC9B,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACzC,CAAC;IAED,gBAAgB,CAAC,MAAwB;QACrC,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAC9C,CAAC;CACJ;AAjFD,8BAiFC"}
|
package/dist/api/index.d.ts
CHANGED
package/dist/api/index.js
CHANGED
|
@@ -17,5 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./params"), exports);
|
|
18
18
|
__exportStar(require("./quoter/index"), exports);
|
|
19
19
|
__exportStar(require("./relayer/index"), exports);
|
|
20
|
+
__exportStar(require("./orders/index"), exports);
|
|
20
21
|
__exportStar(require("./fusion-api"), exports);
|
|
22
|
+
__exportStar(require("./pagination"), exports);
|
|
23
|
+
__exportStar(require("./types"), exports);
|
|
21
24
|
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,iDAA8B;AAC9B,kDAA+B;AAC/B,+CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,iDAA8B;AAC9B,kDAA+B;AAC/B,iDAA8B;AAC9B,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './auction-details';
|
|
2
|
-
export
|
|
2
|
+
export * from './types';
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./auction-details"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fusion-order/auction-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fusion-order/auction-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,0CAAuB"}
|
package/dist/ws-api/index.d.ts
CHANGED
package/dist/ws-api/index.js
CHANGED
|
@@ -16,4 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ws-api"), exports);
|
|
18
18
|
__exportStar(require("./types"), exports);
|
|
19
|
+
__exportStar(require("./active-websocket-orders-api"), exports);
|
|
20
|
+
__exportStar(require("./rpc-websocket-api"), exports);
|
|
21
|
+
__exportStar(require("./constants"), exports);
|
|
19
22
|
//# sourceMappingURL=index.js.map
|
package/dist/ws-api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ws-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,0CAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ws-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,0CAAuB;AACvB,gEAA6C;AAC7C,sDAAmC;AACnC,8CAA2B"}
|