@0xsquid/squid-types 0.1.182 → 0.1.184
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.
|
@@ -8,6 +8,7 @@ var FeatureFlagType;
|
|
|
8
8
|
FeatureFlagType["Solana"] = "solana";
|
|
9
9
|
FeatureFlagType["Chainflip"] = "chainflip";
|
|
10
10
|
FeatureFlagType["Coral"] = "coral";
|
|
11
|
+
FeatureFlagType["CoralOnly"] = "coralOnly";
|
|
11
12
|
FeatureFlagType["CoralV2"] = "coralV2";
|
|
12
13
|
FeatureFlagType["ChainflipMultihop"] = "chainflipMultihop";
|
|
13
14
|
FeatureFlagType["SagaRoutes"] = "sagaRoutes";
|
|
@@ -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,eAcX;AAdD,WAAY,eAAe;IACzB,kDAA+B,CAAA;IAC/B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,kCAAe,CAAA;IACf,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,0DAAuC,CAAA;IACvC,4CAAyB,CAAA;IACzB,wDAAqC,CAAA;IACrC,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B"}
|
package/dist/fees/index.d.ts
CHANGED
package/dist/path/index.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ export interface PathAction {
|
|
|
70
70
|
toToken: Token;
|
|
71
71
|
data: ActionBaseData;
|
|
72
72
|
}
|
|
73
|
+
export declare enum PathFeature {
|
|
74
|
+
includeCoralPaths = "1",
|
|
75
|
+
onlyCoralPaths = "2"
|
|
76
|
+
}
|
|
73
77
|
export interface PathParams {
|
|
74
78
|
fromChainId: string;
|
|
75
79
|
toChainId: string;
|
|
@@ -77,5 +81,5 @@ export interface PathParams {
|
|
|
77
81
|
toToken: string;
|
|
78
82
|
amountInUsd: number;
|
|
79
83
|
tokenAmount: number;
|
|
80
|
-
|
|
84
|
+
features?: PathFeature[];
|
|
81
85
|
}
|
package/dist/path/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PathFeature = void 0;
|
|
4
|
+
var PathFeature;
|
|
5
|
+
(function (PathFeature) {
|
|
6
|
+
PathFeature["includeCoralPaths"] = "1";
|
|
7
|
+
PathFeature["onlyCoralPaths"] = "2";
|
|
8
|
+
// Add more features as needed
|
|
9
|
+
})(PathFeature || (exports.PathFeature = PathFeature = {}));
|
|
3
10
|
//# 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":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/path/index.ts"],"names":[],"mappings":";;;AAuFA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,mCAAoB,CAAA;IACpB,8BAA8B;AAChC,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
|