@0xsquid/squid-types 0.1.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/chains/index.d.ts +127 -0
- package/dist/chains/index.js +53 -0
- package/dist/chains/index.js.map +1 -0
- package/dist/dexes/index.d.ts +31 -0
- package/dist/dexes/index.js +57 -0
- package/dist/dexes/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/tokens/index.d.ts +28 -0
- package/dist/tokens/index.js +3 -0
- package/dist/tokens/index.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { StringOrNumber } from "../index";
|
|
2
|
+
export declare enum ChainType {
|
|
3
|
+
EVM = "evm",
|
|
4
|
+
COSMOS = "cosmos"
|
|
5
|
+
}
|
|
6
|
+
export type BaseChain = {
|
|
7
|
+
chainId: StringOrNumber;
|
|
8
|
+
chainType: ChainType;
|
|
9
|
+
chainName: ChainName;
|
|
10
|
+
networkName: string;
|
|
11
|
+
rpc: string;
|
|
12
|
+
internalRpc: string;
|
|
13
|
+
chainIconURI: string;
|
|
14
|
+
blockExplorerUrls: string[];
|
|
15
|
+
estimatedRouteDuration: number;
|
|
16
|
+
swapAmountForGas: string;
|
|
17
|
+
nativeCurrency: {
|
|
18
|
+
name: string;
|
|
19
|
+
symbol: string;
|
|
20
|
+
decimals: number;
|
|
21
|
+
icon: string;
|
|
22
|
+
};
|
|
23
|
+
squidContracts: {
|
|
24
|
+
defaultCrosschainToken: string;
|
|
25
|
+
squidRouter?: string;
|
|
26
|
+
squidMulticall?: string;
|
|
27
|
+
};
|
|
28
|
+
axelarContracts: {
|
|
29
|
+
gateway: string;
|
|
30
|
+
forecallable?: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type EvmChain = BaseChain & {
|
|
34
|
+
chainNativeContracts: {
|
|
35
|
+
wrappedNativeToken: string;
|
|
36
|
+
ensRegistry: string;
|
|
37
|
+
multicall: string;
|
|
38
|
+
usdcToken: string;
|
|
39
|
+
};
|
|
40
|
+
gas?: {
|
|
41
|
+
lastBaseFeePerGas: string;
|
|
42
|
+
maxFeePerGas: string;
|
|
43
|
+
maxPriorityFeePerGas: string;
|
|
44
|
+
gasPrice: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export type CosmosChain = BaseChain & {
|
|
48
|
+
rest: string;
|
|
49
|
+
stakeCurrency: CosmosCurrency;
|
|
50
|
+
walletUrl?: string;
|
|
51
|
+
walletUrlForStaking?: string;
|
|
52
|
+
bip44: BIP44;
|
|
53
|
+
alternativeBIP44s?: BIP44[];
|
|
54
|
+
bech32Config: Bech32Config;
|
|
55
|
+
currencies: CosmosCurrency[];
|
|
56
|
+
feeCurrencies: CosmosCurrency[];
|
|
57
|
+
coinType?: number;
|
|
58
|
+
features?: string[];
|
|
59
|
+
gasPriceStep?: CosmosGasType;
|
|
60
|
+
chainToAxelarChannelId: string;
|
|
61
|
+
};
|
|
62
|
+
export type CosmosCurrency = {
|
|
63
|
+
coinDenom: string;
|
|
64
|
+
coinMinimalDenom: string;
|
|
65
|
+
coinDecimals: number;
|
|
66
|
+
coingeckoId?: string;
|
|
67
|
+
gasPriceStep?: CosmosGasType;
|
|
68
|
+
};
|
|
69
|
+
export type BIP44 = {
|
|
70
|
+
coinType: number;
|
|
71
|
+
};
|
|
72
|
+
export type Bech32Config = {
|
|
73
|
+
bech32PrefixAccAddr: string;
|
|
74
|
+
bech32PrefixAccPub: string;
|
|
75
|
+
bech32PrefixValAddr: string;
|
|
76
|
+
bech32PrefixValPub: string;
|
|
77
|
+
bech32PrefixConsAddr: string;
|
|
78
|
+
bech32PrefixConsPub: string;
|
|
79
|
+
};
|
|
80
|
+
export type CosmosGasType = {
|
|
81
|
+
low: number;
|
|
82
|
+
average: number;
|
|
83
|
+
high: number;
|
|
84
|
+
};
|
|
85
|
+
export type ChainData = EvmChain | CosmosChain;
|
|
86
|
+
export declare enum ChainName {
|
|
87
|
+
ARBITRUM = "Arbitrum",
|
|
88
|
+
ARBITRUM2 = "arbitrum",
|
|
89
|
+
AURORA = "aurora",
|
|
90
|
+
AVALANCHE = "Avalanche",
|
|
91
|
+
BASE = "base",
|
|
92
|
+
BINANCE = "binance",
|
|
93
|
+
CELO = "celo",
|
|
94
|
+
ETHEREUM = "Ethereum",
|
|
95
|
+
ETHEREUM2 = "Ethereum-2",
|
|
96
|
+
FANTOM = "Fantom",
|
|
97
|
+
FILECOIN = "filecoin",
|
|
98
|
+
KAVA = "kava",
|
|
99
|
+
MOONBEAM = "Moonbeam",
|
|
100
|
+
OPTIMISM = "optimism",
|
|
101
|
+
POLYGON = "Polygon",
|
|
102
|
+
AGORIC = "agoric",
|
|
103
|
+
ASSETMANTLE = "assetmantle",
|
|
104
|
+
AURA = "aura",
|
|
105
|
+
AXELARNET = "axelarnet",
|
|
106
|
+
CARBON = "carbon",
|
|
107
|
+
COMDEX = "comdex",
|
|
108
|
+
COSMOS = "cosmoshub",
|
|
109
|
+
CRESCENT = "crescent",
|
|
110
|
+
EMONEY = "e-money",
|
|
111
|
+
EVMOS = "evmos",
|
|
112
|
+
FETCH = "fetch",
|
|
113
|
+
INJECTIVE = "injective",
|
|
114
|
+
JUNO = "juno",
|
|
115
|
+
KI = "ki",
|
|
116
|
+
KUJIRA = "kujira",
|
|
117
|
+
OSMOSIS = "osmosis",
|
|
118
|
+
OSMOSIS5 = "osmosis-5",
|
|
119
|
+
REGEN = "regen",
|
|
120
|
+
SEI = "sei",
|
|
121
|
+
SECRET = "secret",
|
|
122
|
+
SECRETSNIP = "secret-snip",
|
|
123
|
+
STARGAZE = "stargaze",
|
|
124
|
+
STRIDE = "stride",
|
|
125
|
+
TERRA2 = "terra-2",
|
|
126
|
+
UMEE = "umee"
|
|
127
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChainName = exports.ChainType = void 0;
|
|
4
|
+
var ChainType;
|
|
5
|
+
(function (ChainType) {
|
|
6
|
+
ChainType["EVM"] = "evm";
|
|
7
|
+
ChainType["COSMOS"] = "cosmos";
|
|
8
|
+
})(ChainType = exports.ChainType || (exports.ChainType = {}));
|
|
9
|
+
var ChainName;
|
|
10
|
+
(function (ChainName) {
|
|
11
|
+
ChainName["ARBITRUM"] = "Arbitrum";
|
|
12
|
+
ChainName["ARBITRUM2"] = "arbitrum";
|
|
13
|
+
ChainName["AURORA"] = "aurora";
|
|
14
|
+
ChainName["AVALANCHE"] = "Avalanche";
|
|
15
|
+
ChainName["BASE"] = "base";
|
|
16
|
+
ChainName["BINANCE"] = "binance";
|
|
17
|
+
ChainName["CELO"] = "celo";
|
|
18
|
+
ChainName["ETHEREUM"] = "Ethereum";
|
|
19
|
+
ChainName["ETHEREUM2"] = "Ethereum-2";
|
|
20
|
+
ChainName["FANTOM"] = "Fantom";
|
|
21
|
+
ChainName["FILECOIN"] = "filecoin";
|
|
22
|
+
ChainName["KAVA"] = "kava";
|
|
23
|
+
ChainName["MOONBEAM"] = "Moonbeam";
|
|
24
|
+
ChainName["OPTIMISM"] = "optimism";
|
|
25
|
+
ChainName["POLYGON"] = "Polygon";
|
|
26
|
+
// Cosmos
|
|
27
|
+
ChainName["AGORIC"] = "agoric";
|
|
28
|
+
ChainName["ASSETMANTLE"] = "assetmantle";
|
|
29
|
+
ChainName["AURA"] = "aura";
|
|
30
|
+
ChainName["AXELARNET"] = "axelarnet";
|
|
31
|
+
ChainName["CARBON"] = "carbon";
|
|
32
|
+
ChainName["COMDEX"] = "comdex";
|
|
33
|
+
ChainName["COSMOS"] = "cosmoshub";
|
|
34
|
+
ChainName["CRESCENT"] = "crescent";
|
|
35
|
+
ChainName["EMONEY"] = "e-money";
|
|
36
|
+
ChainName["EVMOS"] = "evmos";
|
|
37
|
+
ChainName["FETCH"] = "fetch";
|
|
38
|
+
ChainName["INJECTIVE"] = "injective";
|
|
39
|
+
ChainName["JUNO"] = "juno";
|
|
40
|
+
ChainName["KI"] = "ki";
|
|
41
|
+
ChainName["KUJIRA"] = "kujira";
|
|
42
|
+
ChainName["OSMOSIS"] = "osmosis";
|
|
43
|
+
ChainName["OSMOSIS5"] = "osmosis-5";
|
|
44
|
+
ChainName["REGEN"] = "regen";
|
|
45
|
+
ChainName["SEI"] = "sei";
|
|
46
|
+
ChainName["SECRET"] = "secret";
|
|
47
|
+
ChainName["SECRETSNIP"] = "secret-snip";
|
|
48
|
+
ChainName["STARGAZE"] = "stargaze";
|
|
49
|
+
ChainName["STRIDE"] = "stride";
|
|
50
|
+
ChainName["TERRA2"] = "terra-2";
|
|
51
|
+
ChainName["UMEE"] = "umee";
|
|
52
|
+
})(ChainName = exports.ChainName || (exports.ChainName = {}));
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,8BAAiB,CAAA;AACnB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA0FD,IAAY,SA2CX;AA3CD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,mCAAsB,CAAA;IACtB,8BAAiB,CAAA;IACjB,oCAAuB,CAAA;IACvB,0BAAa,CAAA;IACb,gCAAmB,CAAA;IACnB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,qCAAwB,CAAA;IACxB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,gCAAmB,CAAA;IAEnB,SAAS;IACT,8BAAiB,CAAA;IACjB,wCAA2B,CAAA;IAC3B,0BAAa,CAAA;IACb,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,iCAAoB,CAAA;IACpB,kCAAqB,CAAA;IACrB,+BAAkB,CAAA;IAClB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,oCAAuB,CAAA;IACvB,0BAAa,CAAA;IACb,sBAAS,CAAA;IACT,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,mCAAsB,CAAA;IACtB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,8BAAiB,CAAA;IACjB,uCAA0B,CAAA;IAC1B,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,+BAAkB,CAAA;IAClB,0BAAa,CAAA;AACf,CAAC,EA3CW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA2CpB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum DexName {
|
|
2
|
+
APESWAP = "apeswap",
|
|
3
|
+
APESWAP_V3 = "apeswap-v3",
|
|
4
|
+
CURVE = "curve",
|
|
5
|
+
KYBERSWAP_ELASTIC = "kyberswap-elastic",
|
|
6
|
+
PANCAKESWAP = "pancakeswap",
|
|
7
|
+
PANCAKESWAP_V3 = "pancakeswap-v3",
|
|
8
|
+
PANGOLIN = "pangolin",
|
|
9
|
+
QUICKSWAP = "quickswap",
|
|
10
|
+
QUICKSWAP_V3 = "quickswap-v3",
|
|
11
|
+
SPOOKYSWAP = "spookyswap",
|
|
12
|
+
STELLASWAP = "stellaswap",
|
|
13
|
+
SUSHISWAP = "sushiswap",
|
|
14
|
+
TRIDENT = "trident",
|
|
15
|
+
TRADERJOE = "traderjoe",
|
|
16
|
+
UBESWAP = "ubeswap",
|
|
17
|
+
UNISWAP_V2 = "uniswap-v2",
|
|
18
|
+
UNISWAP_V3 = "uniswap-v3",
|
|
19
|
+
ZYBERSWAP = "zyberswap"
|
|
20
|
+
}
|
|
21
|
+
export declare enum DexType {
|
|
22
|
+
UNISWAP_V2 = "uniswap-v2",
|
|
23
|
+
UNISWAP_V3 = "uniswap-v3",
|
|
24
|
+
CURVE_POOL = "curve",
|
|
25
|
+
ALGEBRA = "algebra",
|
|
26
|
+
TRIDENT = "trident",
|
|
27
|
+
KYBERSWAP_ELASTIC = "kyberswap-elastic",
|
|
28
|
+
SADDLE = "saddle",
|
|
29
|
+
WOMBAT = "wombat",
|
|
30
|
+
PLATYPUS = "Platypus"
|
|
31
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DexType = exports.DexName = void 0;
|
|
4
|
+
// identifiers for dexes
|
|
5
|
+
var DexName;
|
|
6
|
+
(function (DexName) {
|
|
7
|
+
DexName["APESWAP"] = "apeswap";
|
|
8
|
+
DexName["APESWAP_V3"] = "apeswap-v3";
|
|
9
|
+
DexName["CURVE"] = "curve";
|
|
10
|
+
DexName["KYBERSWAP_ELASTIC"] = "kyberswap-elastic";
|
|
11
|
+
DexName["PANCAKESWAP"] = "pancakeswap";
|
|
12
|
+
DexName["PANCAKESWAP_V3"] = "pancakeswap-v3";
|
|
13
|
+
DexName["PANGOLIN"] = "pangolin";
|
|
14
|
+
DexName["QUICKSWAP"] = "quickswap";
|
|
15
|
+
DexName["QUICKSWAP_V3"] = "quickswap-v3";
|
|
16
|
+
DexName["SPOOKYSWAP"] = "spookyswap";
|
|
17
|
+
DexName["STELLASWAP"] = "stellaswap";
|
|
18
|
+
DexName["SUSHISWAP"] = "sushiswap";
|
|
19
|
+
DexName["TRIDENT"] = "trident";
|
|
20
|
+
DexName["TRADERJOE"] = "traderjoe";
|
|
21
|
+
DexName["UBESWAP"] = "ubeswap";
|
|
22
|
+
DexName["UNISWAP_V2"] = "uniswap-v2";
|
|
23
|
+
DexName["UNISWAP_V3"] = "uniswap-v3";
|
|
24
|
+
DexName["ZYBERSWAP"] = "zyberswap";
|
|
25
|
+
// ONCE WE START ADDING DEXES WE WILL BE MOVING THEM ABOVE
|
|
26
|
+
/*
|
|
27
|
+
CURVE_V2_CELO = "Curve_v2_celo",
|
|
28
|
+
ELLIPSIS = "Ellipsis",
|
|
29
|
+
STELLASWAP_SADDLE = "Stellaswap_Saddle",
|
|
30
|
+
PANCAKESWAP_STABLE = "Pancakeswap_stable",
|
|
31
|
+
PLATYPUS = "Platypus",
|
|
32
|
+
WOMBAT = "Wombat",
|
|
33
|
+
GMX = "GMX",
|
|
34
|
+
OSMOSIS = "Osmosis",
|
|
35
|
+
DUALITY = "Duality",
|
|
36
|
+
ONE_INCH = "1inch",
|
|
37
|
+
*/
|
|
38
|
+
})(DexName = exports.DexName || (exports.DexName = {}));
|
|
39
|
+
// identifiers dex adapters
|
|
40
|
+
var DexType;
|
|
41
|
+
(function (DexType) {
|
|
42
|
+
DexType["UNISWAP_V2"] = "uniswap-v2";
|
|
43
|
+
DexType["UNISWAP_V3"] = "uniswap-v3";
|
|
44
|
+
DexType["CURVE_POOL"] = "curve";
|
|
45
|
+
DexType["ALGEBRA"] = "algebra";
|
|
46
|
+
DexType["TRIDENT"] = "trident";
|
|
47
|
+
DexType["KYBERSWAP_ELASTIC"] = "kyberswap-elastic";
|
|
48
|
+
DexType["SADDLE"] = "saddle";
|
|
49
|
+
DexType["WOMBAT"] = "wombat";
|
|
50
|
+
DexType["PLATYPUS"] = "Platypus";
|
|
51
|
+
// ONCE WE START ADDING DEXES WE WILL BE MOVING THEM ABOVE
|
|
52
|
+
/*
|
|
53
|
+
OSMOSIS = "Osmosis",
|
|
54
|
+
DUALITY = "Duality",
|
|
55
|
+
*/
|
|
56
|
+
})(DexType = exports.DexType || (exports.DexType = {}));
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dexes/index.ts"],"names":[],"mappings":";;;AAAA,wBAAwB;AACxB,IAAY,OAiCX;AAjCD,WAAY,OAAO;IACjB,8BAAmB,CAAA;IACnB,oCAAyB,CAAA;IACzB,0BAAe,CAAA;IACf,kDAAuC,CAAA;IACvC,sCAA2B,CAAA;IAC3B,4CAAiC,CAAA;IACjC,gCAAqB,CAAA;IACrB,kCAAuB,CAAA;IACvB,wCAA6B,CAAA;IAC7B,oCAAyB,CAAA;IACzB,oCAAyB,CAAA;IACzB,kCAAuB,CAAA;IACvB,8BAAmB,CAAA;IACnB,kCAAuB,CAAA;IACvB,8BAAmB,CAAA;IACnB,oCAAyB,CAAA;IACzB,oCAAyB,CAAA;IACzB,kCAAuB,CAAA;IAEvB,0DAA0D;IAC1D;;;;;;;;;;;MAWE;AACJ,CAAC,EAjCW,OAAO,GAAP,eAAO,KAAP,eAAO,QAiClB;AAED,2BAA2B;AAC3B,IAAY,OAgBX;AAhBD,WAAY,OAAO;IACjB,oCAAyB,CAAA;IACzB,oCAAyB,CAAA;IACzB,+BAAoB,CAAA;IACpB,8BAAmB,CAAA;IACnB,8BAAmB,CAAA;IACnB,kDAAuC,CAAA;IACvC,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,gCAAqB,CAAA;IAErB,0DAA0D;IAC1D;;;MAGE;AACJ,CAAC,EAhBW,OAAO,GAAP,eAAO,KAAP,eAAO,QAgBlB"}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./chains"), exports);
|
|
18
|
+
__exportStar(require("./dexes"), exports);
|
|
19
|
+
__exportStar(require("./tokens"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChainType, StringOrNumber } from "../index";
|
|
2
|
+
export interface Token {
|
|
3
|
+
type: ChainType;
|
|
4
|
+
chainId: StringOrNumber;
|
|
5
|
+
name: string;
|
|
6
|
+
address: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
decimals: number;
|
|
9
|
+
logoURI?: string;
|
|
10
|
+
coingeckoId?: string;
|
|
11
|
+
redstoneId?: string;
|
|
12
|
+
commonKey?: string;
|
|
13
|
+
usdPrice?: number;
|
|
14
|
+
ibcDenom?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CosmosToken extends Token {
|
|
17
|
+
denom: string;
|
|
18
|
+
base_denom: string;
|
|
19
|
+
base_type: string;
|
|
20
|
+
dp_denom: string;
|
|
21
|
+
origin_chain: string;
|
|
22
|
+
decimal: number;
|
|
23
|
+
description: string;
|
|
24
|
+
image: string;
|
|
25
|
+
}
|
|
26
|
+
export interface EvmToken extends Token {
|
|
27
|
+
address: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tokens/index.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@0xsquid/squid-types",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "JS and TS types relating to 0xsquid related projects.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
|
|
15
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
16
|
+
"clean:all": "rimraf dist tsconfig.tsbuildinfo node_modules",
|
|
17
|
+
"prepare": "yarn build",
|
|
18
|
+
"build": "yarn clean && tsc"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/0xsquid/squid-core.git"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "restricted"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"typescript",
|
|
29
|
+
"types",
|
|
30
|
+
"0xsquid",
|
|
31
|
+
"squidrouter"
|
|
32
|
+
],
|
|
33
|
+
"author": "0xsquid",
|
|
34
|
+
"license": "Apache-2.0",
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
37
|
+
"typescript": "^4.9.5",
|
|
38
|
+
"eslint": "^8.41.0",
|
|
39
|
+
"eslint-config-prettier": "^8.8.0"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"typescript": ">=4.0.0"
|
|
43
|
+
},
|
|
44
|
+
"release-it": {
|
|
45
|
+
"plugins": {
|
|
46
|
+
"@release-it/conventional-changelog": {
|
|
47
|
+
"preset": "conventionalcommits",
|
|
48
|
+
"infile": "CHANGELOG.md"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"github": {
|
|
52
|
+
"release": true,
|
|
53
|
+
"tokenRef": "GITHUB_AUTH"
|
|
54
|
+
},
|
|
55
|
+
"git": {
|
|
56
|
+
"tagName": "squid-types-v${version}",
|
|
57
|
+
"pushRepo": "https://github.com/0xsquid/squid-core.git",
|
|
58
|
+
"commitMessage": "chore: branch cut release for squid-types v${version}"
|
|
59
|
+
},
|
|
60
|
+
"npm": {
|
|
61
|
+
"publish": false
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|