@0xsquid/squid-types 0.1.213 → 0.1.214
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/featureFlag/index.d.ts +2 -1
- package/dist/featureFlag/index.js +1 -0
- package/dist/featureFlag/index.js.map +1 -1
- package/dist/path/index.d.ts +2 -1
- package/dist/path/index.js +1 -0
- package/dist/path/index.js.map +1 -1
- package/dist/routes/index.d.ts +3 -1
- package/dist/routes/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,8 @@ export declare enum FeatureFlagType {
|
|
|
22
22
|
HederaPilot = "hederaPilot",
|
|
23
23
|
Citrea = "citrea",
|
|
24
24
|
HederaCoralV2 = "hederaCoralV2",
|
|
25
|
-
AddressQuoteRateLimit = "addressQuoteRateLimit"
|
|
25
|
+
AddressQuoteRateLimit = "addressQuoteRateLimit",
|
|
26
|
+
ExactOutputRouting = "exactOutputRouting"
|
|
26
27
|
}
|
|
27
28
|
export interface FeatureFlag {
|
|
28
29
|
feature: FeatureFlagType;
|
|
@@ -27,5 +27,6 @@ var FeatureFlagType;
|
|
|
27
27
|
FeatureFlagType["Citrea"] = "citrea";
|
|
28
28
|
FeatureFlagType["HederaCoralV2"] = "hederaCoralV2";
|
|
29
29
|
FeatureFlagType["AddressQuoteRateLimit"] = "addressQuoteRateLimit";
|
|
30
|
+
FeatureFlagType["ExactOutputRouting"] = "exactOutputRouting";
|
|
30
31
|
})(FeatureFlagType || (exports.FeatureFlagType = FeatureFlagType = {}));
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/featureFlag/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/featureFlag/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eA0BX;AA1BD,WAAY,eAAe;IACzB,kDAA+B,CAAA;IAC/B,sCAAmB,CAAA;IACnB,oDAAiC,CAAA;IACjC,oCAAiB,CAAA;IACjB,kDAA+B,CAAA;IAC/B,0CAAuB,CAAA;IACvB,kCAAe,CAAA;IACf,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,wDAAqC,CAAA;IACrC,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,4CAAyB,CAAA;IACzB,wDAAqC,CAAA;IACrC,oCAAiB,CAAA;IACjB,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,sCAAmB,CAAA;IACnB,oDAAiC,CAAA;IACjC,oCAAiB,CAAA;IACjB,8CAA2B,CAAA;IAC3B,oCAAiB,CAAA;IACjB,kDAA+B,CAAA;IAC/B,kEAA+C,CAAA;IAC/C,4DAAyC,CAAA;AAC3C,CAAC,EA1BW,eAAe,+BAAf,eAAe,QA0B1B"}
|
package/dist/path/index.d.ts
CHANGED
|
@@ -77,7 +77,8 @@ export declare enum PathFeature {
|
|
|
77
77
|
includeCoralV2Paths = "3",
|
|
78
78
|
onlyCoralV2Paths = "4",
|
|
79
79
|
includeCoralV2PreHooks = "5",
|
|
80
|
-
includeCoralV2PostHooks = "6"
|
|
80
|
+
includeCoralV2PostHooks = "6",
|
|
81
|
+
isExactOutput = "7"
|
|
81
82
|
}
|
|
82
83
|
export interface PathParams {
|
|
83
84
|
fromChainId: string;
|
package/dist/path/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var PathFeature;
|
|
|
9
9
|
PathFeature["onlyCoralV2Paths"] = "4";
|
|
10
10
|
PathFeature["includeCoralV2PreHooks"] = "5";
|
|
11
11
|
PathFeature["includeCoralV2PostHooks"] = "6";
|
|
12
|
+
PathFeature["isExactOutput"] = "7";
|
|
12
13
|
// Add more features as needed
|
|
13
14
|
})(PathFeature || (exports.PathFeature = PathFeature = {}));
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
package/dist/path/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/path/index.ts"],"names":[],"mappings":";;;AAwFA,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/path/index.ts"],"names":[],"mappings":";;;AAwFA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,mCAAoB,CAAA;IACpB,wCAAyB,CAAA;IACzB,qCAAsB,CAAA;IACtB,2CAA4B,CAAA;IAC5B,4CAA6B,CAAA;IAC7B,kCAAmB,CAAA;IACnB,8BAA8B;AAChC,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB"}
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -17,10 +17,11 @@ export interface RouteResponse {
|
|
|
17
17
|
export interface RouteRequest {
|
|
18
18
|
fromChain: string;
|
|
19
19
|
fromToken: string;
|
|
20
|
-
fromAmount
|
|
20
|
+
fromAmount?: string;
|
|
21
21
|
fromAddress?: string;
|
|
22
22
|
toChain: string;
|
|
23
23
|
toToken: string;
|
|
24
|
+
toAmount?: string;
|
|
24
25
|
toAddress?: string;
|
|
25
26
|
slippage?: number;
|
|
26
27
|
quoteOnly?: boolean;
|
|
@@ -296,4 +297,5 @@ export interface StageContext {
|
|
|
296
297
|
multicall?: string;
|
|
297
298
|
preHook: boolean;
|
|
298
299
|
postHook: boolean;
|
|
300
|
+
isExactOutput?: boolean;
|
|
299
301
|
}
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AAgHA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;IACjB,yBAAW,CAAA;IACX,yBAAW,CAAA;AACb,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAuFD,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,0BAAa,CAAA;AACf,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB;AAyFD,IAAY,WAoBX;AApBD,WAAY,WAAW;IACrB,yDAAU,CAAA;IACV,mEAAe,CAAA;IACf,+DAAa,CAAA;IACb,qDAAQ,CAAA;IACR,+DAAa,CAAA;IACb,yEAAkB,CAAA;IAClB,qEAAgB,CAAA;IAChB,2DAAW,CAAA;IACX,yDAAU,CAAA;IACV,mEAAe,CAAA;IACf,gEAAa,CAAA;IACb,0EAAkB,CAAA;IAClB,4DAAW,CAAA;IACX,0DAAU,CAAA;IACV,oEAAe,CAAA;IACf,4DAAW,CAAA;IACX,sEAAgB,CAAA;IAChB,kEAAc,CAAA;IACd,4EAAmB,CAAA;AACrB,CAAC,EApBW,WAAW,2BAAX,WAAW,QAoBtB"}
|