@0xsquid/squid-types 0.1.162 → 0.1.164
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/path/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface PathInternal {
|
|
|
10
10
|
toChain: string;
|
|
11
11
|
toToken: string;
|
|
12
12
|
actions: PathActionInternal[];
|
|
13
|
+
graph?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export interface Path {
|
|
15
16
|
fromChain: ChainData;
|
|
@@ -17,6 +18,7 @@ export interface Path {
|
|
|
17
18
|
toChain: ChainData;
|
|
18
19
|
toToken: Token;
|
|
19
20
|
actions: PathAction[];
|
|
21
|
+
graph?: boolean;
|
|
20
22
|
}
|
|
21
23
|
export interface PathActionInternal {
|
|
22
24
|
type: ActionType;
|
|
@@ -26,6 +28,7 @@ export interface PathActionInternal {
|
|
|
26
28
|
fromToken: string;
|
|
27
29
|
toToken: string;
|
|
28
30
|
data: Record<string, any>;
|
|
31
|
+
graph?: boolean;
|
|
29
32
|
}
|
|
30
33
|
export interface Buckets {
|
|
31
34
|
[key: number]: string;
|
package/dist/routes/index.d.ts
CHANGED
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AA4GA,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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AA4GA,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;AAsFD,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;AAqFD,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"}
|
package/dist/squid/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ChainType } from "../chains";
|
|
2
2
|
import Long from "long";
|
|
3
|
+
export declare enum SquidDataType {
|
|
4
|
+
OnChainExecution = "ON_CHAIN_EXECUTION",
|
|
5
|
+
ChainflipDepositAddress = "CHAINFLIP_DEPOSIT_ADDRESS"
|
|
6
|
+
}
|
|
3
7
|
export declare enum SquidRouteType {
|
|
4
8
|
CALL_BRIDGE_CALL = "CALL_BRIDGE_CALL",
|
|
5
9
|
CALL_BRIDGE = "CALL_BRIDGE",
|
|
@@ -11,10 +15,6 @@ export declare enum SquidRouteType {
|
|
|
11
15
|
RFQ = "RFQ",
|
|
12
16
|
FUND_AND_RUN_MULTICALL = "FUND_AND_RUN_MULTICALL"
|
|
13
17
|
}
|
|
14
|
-
export declare enum SquidDataType {
|
|
15
|
-
OnChainExecution = "ON_CHAIN_EXECUTION",
|
|
16
|
-
ChainflipDepositAddress = "CHAINFLIP_DEPOSIT_ADDRESS"
|
|
17
|
-
}
|
|
18
18
|
export type SquidData = OnChainExecutionData | ChainflipDepositAddressData;
|
|
19
19
|
export interface OnChainExecutionData {
|
|
20
20
|
type: SquidDataType;
|
package/dist/squid/index.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SuiCoralCallType = exports.CosmosCallType = exports.SquidCallType = exports.
|
|
3
|
+
exports.SuiCoralCallType = exports.CosmosCallType = exports.SquidCallType = exports.SquidRouteType = exports.SquidDataType = void 0;
|
|
4
|
+
var SquidDataType;
|
|
5
|
+
(function (SquidDataType) {
|
|
6
|
+
SquidDataType["OnChainExecution"] = "ON_CHAIN_EXECUTION";
|
|
7
|
+
SquidDataType["ChainflipDepositAddress"] = "CHAINFLIP_DEPOSIT_ADDRESS";
|
|
8
|
+
})(SquidDataType || (exports.SquidDataType = SquidDataType = {}));
|
|
4
9
|
var SquidRouteType;
|
|
5
10
|
(function (SquidRouteType) {
|
|
6
11
|
SquidRouteType["CALL_BRIDGE_CALL"] = "CALL_BRIDGE_CALL";
|
|
@@ -13,11 +18,6 @@ var SquidRouteType;
|
|
|
13
18
|
SquidRouteType["RFQ"] = "RFQ";
|
|
14
19
|
SquidRouteType["FUND_AND_RUN_MULTICALL"] = "FUND_AND_RUN_MULTICALL";
|
|
15
20
|
})(SquidRouteType || (exports.SquidRouteType = SquidRouteType = {}));
|
|
16
|
-
var SquidDataType;
|
|
17
|
-
(function (SquidDataType) {
|
|
18
|
-
SquidDataType["OnChainExecution"] = "ON_CHAIN_EXECUTION";
|
|
19
|
-
SquidDataType["ChainflipDepositAddress"] = "CHAINFLIP_DEPOSIT_ADDRESS";
|
|
20
|
-
})(SquidDataType || (exports.SquidDataType = SquidDataType = {}));
|
|
21
21
|
var SquidCallType;
|
|
22
22
|
(function (SquidCallType) {
|
|
23
23
|
SquidCallType[SquidCallType["DEFAULT"] = 0] = "DEFAULT";
|
package/dist/squid/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/squid/index.ts"],"names":[],"mappings":";;;AAGA,IAAY,cAUX;AAVD,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,6BAAW,CAAA;IACX,mEAAiD,CAAA;AACnD,CAAC,EAVW,cAAc,8BAAd,cAAc,QAUzB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/squid/index.ts"],"names":[],"mappings":";;;AAGA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,wDAAuC,CAAA;IACvC,sEAAqD,CAAA;AACvD,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,cAUX;AAVD,WAAY,cAAc;IACxB,uDAAqC,CAAA;IACrC,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;IAC3B,6BAAW,CAAA;IACX,mEAAiD,CAAA;AACnD,CAAC,EAVW,cAAc,8BAAd,cAAc,QAUzB;AAsDD,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uDAAW,CAAA;IACX,6EAAsB,CAAA;IACtB,+EAAuB,CAAA;IACvB,mFAAyB,CAAA;AAC3B,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAsBD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,6DAAS,CAAA;IACT,mEAAY,CAAA;IACZ,iDAAG,CAAA;IACH,iDAAG,CAAA;IACH,mDAAI,CAAA;AACN,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAkGD,IAAY,gBAEX;AAFD,WAAY,gBAAgB;IAC1B,6DAAW,CAAA;AACb,CAAC,EAFW,gBAAgB,gCAAhB,gBAAgB,QAE3B"}
|