@yuants/vendor-hyperliquid 0.7.15 → 0.8.0
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/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/services/quotes.js +45 -0
- package/dist/services/quotes.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/services/quotes.d.ts +2 -0
- package/lib/services/quotes.d.ts.map +1 -0
- package/lib/services/quotes.js +47 -0
- package/lib/services/quotes.js.map +1 -0
- package/package.json +2 -2
- package/temp/package-deps.json +6 -5
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yBAAyB,CAAC;AACjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC","sourcesContent":["import './services/exchange';\nimport './services/markets/interest-rate';\nimport './services/markets/ohlc';\nimport './services/markets/product';\nimport './services/markets/quote';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yBAAyB,CAAC;AACjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,OAAO,mBAAmB,CAAC","sourcesContent":["import './services/exchange';\nimport './services/markets/interest-rate';\nimport './services/markets/ohlc';\nimport './services/markets/product';\nimport './services/markets/quote';\nimport './services/quotes';\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { provideQuoteService } from '@yuants/exchange';
|
|
2
|
+
import { Terminal } from '@yuants/protocol';
|
|
3
|
+
import { encodePath } from '@yuants/utils';
|
|
4
|
+
import { getAllMids, getMetaAndAssetCtxs } from '../api/public-api';
|
|
5
|
+
const terminal = Terminal.fromNodeEnv();
|
|
6
|
+
provideQuoteService(terminal, {
|
|
7
|
+
product_id_prefix: 'HYPERLIQUID/PERPETUAL/',
|
|
8
|
+
fields: ['last_price', 'ask_price', 'bid_price'],
|
|
9
|
+
}, async (req) => {
|
|
10
|
+
const mids = await getAllMids();
|
|
11
|
+
return Object.entries(mids !== null && mids !== void 0 ? mids : {}).map(([coin, price]) => {
|
|
12
|
+
return {
|
|
13
|
+
product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),
|
|
14
|
+
updated_at: Date.now(),
|
|
15
|
+
last_price: `${price}`,
|
|
16
|
+
bid_price: `${price}`,
|
|
17
|
+
ask_price: `${price}`,
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
provideQuoteService(terminal, {
|
|
22
|
+
product_id_prefix: 'HYPERLIQUID/PERPETUAL/',
|
|
23
|
+
fields: ['open_interest', 'interest_rate_long', 'interest_rate_short'],
|
|
24
|
+
}, async (req) => {
|
|
25
|
+
var _a;
|
|
26
|
+
const [meta, assetCtxs] = await getMetaAndAssetCtxs();
|
|
27
|
+
const coinToCtx = new Map();
|
|
28
|
+
(_a = meta === null || meta === void 0 ? void 0 : meta.universe) === null || _a === void 0 ? void 0 : _a.forEach((asset, index) => {
|
|
29
|
+
const ctx = assetCtxs === null || assetCtxs === void 0 ? void 0 : assetCtxs[index];
|
|
30
|
+
if ((asset === null || asset === void 0 ? void 0 : asset.name) && ctx) {
|
|
31
|
+
coinToCtx.set(asset.name, ctx);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return Array.from(coinToCtx.entries()).map(([coin, ctx]) => {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
return ({
|
|
37
|
+
product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),
|
|
38
|
+
updated_at: Date.now(),
|
|
39
|
+
open_interest: (_a = ctx.openInterest) !== null && _a !== void 0 ? _a : '0',
|
|
40
|
+
interest_rate_long: ctx.funding ? `${-Number(ctx.funding)}` : '0',
|
|
41
|
+
interest_rate_short: (_b = ctx.funding) !== null && _b !== void 0 ? _b : '0',
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=quotes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotes.js","sourceRoot":"","sources":["../../src/services/quotes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;AAExC,mBAAmB,CACjB,QAAQ,EACR;IACE,iBAAiB,EAAE,wBAAwB;IAC3C,MAAM,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;CACjD,EACD,KAAK,EAAE,GAAG,EAAE,EAAE;IACZ,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAEhC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;QACtD,OAAO;YACL,UAAU,EAAE,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,GAAG,IAAI,MAAM,CAAC;YACjE,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE;YACtB,UAAU,EAAE,GAAG,KAAK,EAAE;YACtB,SAAS,EAAE,GAAG,KAAK,EAAE;YACrB,SAAS,EAAE,G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,GAAG,CAAC,OAAO,mCAAI,GAAG;SACxC,CAAC,CAAA;KAAA,CAAC,CAAC;AACN,CAAC,CACF,CAAC","sourcesContent":["import { provideQuoteService } from '@yuants/exchange';\nimport { Terminal } from '@yuants/protocol';\nimport { encodePath } from '@yuants/utils';\nimport { getAllMids, getMetaAndAssetCtxs } from '../api/public-api';\n\nconst terminal = Terminal.fromNodeEnv();\n\nprovideQuoteService(\n terminal,\n {\n product_id_prefix: 'HYPERLIQUID/PERPETUAL/',\n fields: ['last_price', 'ask_price', 'bid_price'],\n },\n async (req) => {\n const mids = await getAllMids();\n\n return Object.entries(mids ?? {}).map(([coin, price]) => {\n return {\n product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),\n updated_at: Date.now(),\n last_price: `${price}`,\n bid_price: `${price}`,\n ask_price: `${price}`,\n };\n });\n },\n);\n\nprovideQuoteService(\n terminal,\n {\n product_id_prefix: 'HYPERLIQUID/PERPETUAL/',\n fields: ['open_interest', 'interest_rate_long', 'interest_rate_short'],\n },\n async (req) => {\n const [meta, assetCtxs] = await getMetaAndAssetCtxs();\n\n const coinToCtx = new Map<string, (typeof assetCtxs)[number]>();\n meta?.universe?.forEach((asset, index) => {\n const ctx = assetCtxs?.[index];\n if (asset?.name && ctx) {\n coinToCtx.set(asset.name, ctx);\n }\n });\n\n return Array.from(coinToCtx.entries()).map(([coin, ctx]) => ({\n product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),\n updated_at: Date.now(),\n open_interest: ctx.openInterest ?? '0',\n interest_rate_long: ctx.funding ? `${-Number(ctx.funding)}` : '0',\n interest_rate_short: ctx.funding ?? '0',\n }));\n },\n);\n"]}
|
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yBAAyB,CAAC;AACjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,kCAAkC,CAAC;AAC1C,OAAO,yBAAyB,CAAC;AACjC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,OAAO,mBAAmB,CAAC"}
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAC7B,4CAA0C;AAC1C,mCAAiC;AACjC,sCAAoC;AACpC,oCAAkC","sourcesContent":["import './services/exchange';\nimport './services/markets/interest-rate';\nimport './services/markets/ohlc';\nimport './services/markets/product';\nimport './services/markets/quote';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAC7B,4CAA0C;AAC1C,mCAAiC;AACjC,sCAAoC;AACpC,oCAAkC;AAClC,6BAA2B","sourcesContent":["import './services/exchange';\nimport './services/markets/interest-rate';\nimport './services/markets/ohlc';\nimport './services/markets/product';\nimport './services/markets/quote';\nimport './services/quotes';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../src/services/quotes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const exchange_1 = require("@yuants/exchange");
|
|
4
|
+
const protocol_1 = require("@yuants/protocol");
|
|
5
|
+
const utils_1 = require("@yuants/utils");
|
|
6
|
+
const public_api_1 = require("../api/public-api");
|
|
7
|
+
const terminal = protocol_1.Terminal.fromNodeEnv();
|
|
8
|
+
(0, exchange_1.provideQuoteService)(terminal, {
|
|
9
|
+
product_id_prefix: 'HYPERLIQUID/PERPETUAL/',
|
|
10
|
+
fields: ['last_price', 'ask_price', 'bid_price'],
|
|
11
|
+
}, async (req) => {
|
|
12
|
+
const mids = await (0, public_api_1.getAllMids)();
|
|
13
|
+
return Object.entries(mids !== null && mids !== void 0 ? mids : {}).map(([coin, price]) => {
|
|
14
|
+
return {
|
|
15
|
+
product_id: (0, utils_1.encodePath)('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),
|
|
16
|
+
updated_at: Date.now(),
|
|
17
|
+
last_price: `${price}`,
|
|
18
|
+
bid_price: `${price}`,
|
|
19
|
+
ask_price: `${price}`,
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
(0, exchange_1.provideQuoteService)(terminal, {
|
|
24
|
+
product_id_prefix: 'HYPERLIQUID/PERPETUAL/',
|
|
25
|
+
fields: ['open_interest', 'interest_rate_long', 'interest_rate_short'],
|
|
26
|
+
}, async (req) => {
|
|
27
|
+
var _a;
|
|
28
|
+
const [meta, assetCtxs] = await (0, public_api_1.getMetaAndAssetCtxs)();
|
|
29
|
+
const coinToCtx = new Map();
|
|
30
|
+
(_a = meta === null || meta === void 0 ? void 0 : meta.universe) === null || _a === void 0 ? void 0 : _a.forEach((asset, index) => {
|
|
31
|
+
const ctx = assetCtxs === null || assetCtxs === void 0 ? void 0 : assetCtxs[index];
|
|
32
|
+
if ((asset === null || asset === void 0 ? void 0 : asset.name) && ctx) {
|
|
33
|
+
coinToCtx.set(asset.name, ctx);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
return Array.from(coinToCtx.entries()).map(([coin, ctx]) => {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
return ({
|
|
39
|
+
product_id: (0, utils_1.encodePath)('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),
|
|
40
|
+
updated_at: Date.now(),
|
|
41
|
+
open_interest: (_a = ctx.openInterest) !== null && _a !== void 0 ? _a : '0',
|
|
42
|
+
interest_rate_long: ctx.funding ? `${-Number(ctx.funding)}` : '0',
|
|
43
|
+
interest_rate_short: (_b = ctx.funding) !== null && _b !== void 0 ? _b : '0',
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=quotes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotes.js","sourceRoot":"","sources":["../../src/services/quotes.ts"],"names":[],"mappings":";;AAAA,+CAAuD;AACvD,+CAA4C;AAC5C,yCAA2C;AAC3C,kDAAoE;AAEpE,MAAM,QAAQ,GAAG,mBAAQ,CAAC,WAAW,EAAE,CAAC;AAExC,IAAA,8BAAmB,EACjB,QAAQ,EACR;IACE,iBAAiB,EAAE,wBAAwB;IAC3C,MAAM,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;CACjD,EACD,KAAK,EAAE,GAAG,EAAE,EAAE;IACZ,MAAM,IAAI,GAAG,MAAM,IAAA,uBAAU,GAAE,CAAC;IAEhC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;QACtD,OAAO;YACL,UAAU,EAAE,IAAA,kBAAU,EAAC,aAAa,EAAE,WAAW,EAAE,GAAG,IAAI,MAAM,CAAC;YACjE,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE;YACtB,UAAU,EAAE,GAAG,KAAK,EAAE;YACtB,SAAS,EAAE,GAAG,KAAK,EAAE;YACrB,SAAS,EAAE,GAAG,KAAK,EAAE;SACtB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CACF,CAAC;AAEF,IAAA,8BAAmB,EACjB,QAAQ,EACR;IACE,iBAAiB,EAAE,wBAAwB;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change';\nimport { Terminal } from '@yuants/protocol';\nimport { encodePath } from '@yuants/utils';\nimport { getAllMids, getMetaAndAssetCtxs } from '../api/public-api';\n\nconst terminal = Terminal.fromNodeEnv();\n\nprovideQuoteService(\n terminal,\n {\n product_id_prefix: 'HYPERLIQUID/PERPETUAL/',\n fields: ['last_price', 'ask_price', 'bid_price'],\n },\n async (req) => {\n const mids = await getAllMids();\n\n return Object.entries(mids ?? {}).map(([coin, price]) => {\n return {\n product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),\n updated_at: Date.now(),\n last_price: `${price}`,\n bid_price: `${price}`,\n ask_price: `${price}`,\n };\n });\n },\n);\n\nprovideQuoteService(\n terminal,\n {\n product_id_prefix: 'HYPERLIQUID/PERPETUAL/',\n fields: ['open_interest', 'interest_rate_long', 'interest_rate_short'],\n },\n async (req) => {\n const [meta, assetCtxs] = await getMetaAndAssetCtxs();\n\n const coinToCtx = new Map<string, (typeof assetCtxs)[number]>();\n meta?.universe?.forEach((asset, index) => {\n const ctx = assetCtxs?.[index];\n if (asset?.name && ctx) {\n coinToCtx.set(asset.name, ctx);\n }\n });\n\n return Array.from(coinToCtx.entries()).map(([coin, ctx]) => ({\n product_id: encodePath('HYPERLIQUID', 'PERPETUAL', `${coin}-USD`),\n updated_at: Date.now(),\n open_interest: ctx.openInterest ?? '0',\n interest_rate_long: ctx.funding ? `${-Number(ctx.funding)}` : '0',\n interest_rate_short: ctx.funding ?? '0',\n }));\n },\n);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuants/vendor-hyperliquid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@yuants/data-order": "0.7.0",
|
|
20
20
|
"@yuants/data-series": "0.3.52",
|
|
21
21
|
"@yuants/data-quote": "0.3.0",
|
|
22
|
-
"@yuants/exchange": "0.
|
|
22
|
+
"@yuants/exchange": "0.6.0",
|
|
23
23
|
"rxjs": "~7.5.6",
|
|
24
24
|
"hyperliquid": "~1.6.2",
|
|
25
25
|
"ethers": "~6.13.5",
|
package/temp/package-deps.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apps/vendor-hyperliquid/AGENTS.md": "f0f3df594ce55fbaf78fb040f2850d1abee3449a",
|
|
3
|
-
"apps/vendor-hyperliquid/CHANGELOG.json": "
|
|
4
|
-
"apps/vendor-hyperliquid/CHANGELOG.md": "
|
|
3
|
+
"apps/vendor-hyperliquid/CHANGELOG.json": "dc8a29e344227e26594960388ce6ad1f67fd7700",
|
|
4
|
+
"apps/vendor-hyperliquid/CHANGELOG.md": "a9298029126d8f84e60ad439365da36181cc19e2",
|
|
5
5
|
"apps/vendor-hyperliquid/SESSION_NOTES.md": "5969eb7dceb736977bf0b36aa24f5cc1f5585656",
|
|
6
6
|
"apps/vendor-hyperliquid/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c",
|
|
7
7
|
"apps/vendor-hyperliquid/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd",
|
|
8
8
|
"apps/vendor-hyperliquid/config/rig.json": "f6c7b5537dc77a3170ba9f008bae3b6c3ee11956",
|
|
9
9
|
"apps/vendor-hyperliquid/config/typescript.json": "854907e8a821f2050f6533368db160c649c25348",
|
|
10
10
|
"apps/vendor-hyperliquid/etc/vendor-hyperliquid.api.md": "66675bd88afa1fe945f0d4023984c1c9c3e60a34",
|
|
11
|
-
"apps/vendor-hyperliquid/package.json": "
|
|
11
|
+
"apps/vendor-hyperliquid/package.json": "19807c2fc43726f666e8128b22cd2b6f7ef077f8",
|
|
12
12
|
"apps/vendor-hyperliquid/src/api/client.ts": "90eb3b63394c9729cc442e0ee5482bfd494aafdd",
|
|
13
13
|
"apps/vendor-hyperliquid/src/api/private-api.ts": "8fd176063af8f345aeab94444850e82979cef680",
|
|
14
14
|
"apps/vendor-hyperliquid/src/api/public-api.ts": "fbbb982308eea89a51b93cc21442de6ba45cfd60",
|
|
15
15
|
"apps/vendor-hyperliquid/src/api/sign.ts": "94f4e5604a01d197d164b42415b17789ab2b6889",
|
|
16
16
|
"apps/vendor-hyperliquid/src/api/types.ts": "70347eb8b5e691770073dd043788ed5fae0c3eb4",
|
|
17
17
|
"apps/vendor-hyperliquid/src/cli.ts": "9bf6b5559a6c6f33da20e74cc6c5d702c60ec891",
|
|
18
|
-
"apps/vendor-hyperliquid/src/index.ts": "
|
|
18
|
+
"apps/vendor-hyperliquid/src/index.ts": "d24b62ce1d70813b9b49b2a427c74ccce85fd545",
|
|
19
19
|
"apps/vendor-hyperliquid/src/services/accounts/perp.ts": "ee8784d7331889b97069d5b3f452340b2e19ee55",
|
|
20
20
|
"apps/vendor-hyperliquid/src/services/accounts/spot.ts": "814857d05bdda34ca7827fc69c2564db1f5f5d3d",
|
|
21
21
|
"apps/vendor-hyperliquid/src/services/exchange.ts": "e36dcefff1e239e6b44c7ea1aa0632f59cbce653",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"apps/vendor-hyperliquid/src/services/orders/listOrders.ts": "9ffd16181d23d98d5397e76b0a3f63f2bf7792ce",
|
|
28
28
|
"apps/vendor-hyperliquid/src/services/orders/modifyOrder.ts": "01fc9d965578f216f6e5beae4e52f7640c1d4a28",
|
|
29
29
|
"apps/vendor-hyperliquid/src/services/orders/submitOrder.ts": "81cdeb46c5082404fd52c6fa1afabc5c6b2d47ef",
|
|
30
|
+
"apps/vendor-hyperliquid/src/services/quotes.ts": "d7af1af02965fe4b378a325970816b14822dd10e",
|
|
30
31
|
"apps/vendor-hyperliquid/src/services/utils.ts": "a115e2f972368033e6eb7325602092dbd448c9c3",
|
|
31
32
|
"apps/vendor-hyperliquid/tsconfig.json": "fc376462cd03b4f9676999e8b78dd8e7e90bbbd3",
|
|
32
33
|
"apps/vendor-hyperliquid/.rush/temp/shrinkwrap-deps.json": "d9e7e51571c2f9512f75f378953ef8175952ed5c",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"libraries/data-order/temp/package-deps.json": "ccdc9819f254f37a3591bb37876a86c703df33a6",
|
|
42
43
|
"libraries/data-series/temp/package-deps.json": "e12b4c97d2b8c8b21d1a033cdd3683e01f81401a",
|
|
43
44
|
"libraries/data-quote/temp/package-deps.json": "d5fd89abda84b46f6c14925eda0c381c36b94dfe",
|
|
44
|
-
"libraries/exchange/temp/package-deps.json": "
|
|
45
|
+
"libraries/exchange/temp/package-deps.json": "8fdfc5722901308d3c49c438eed674f35508c062",
|
|
45
46
|
"libraries/data-ohlc/temp/package-deps.json": "c0059a14c647112486ad561d730a4427b9f6f832",
|
|
46
47
|
"libraries/extension/temp/package-deps.json": "9569c553c2f9a7d50b70d8f101fc2d3825aaccb9",
|
|
47
48
|
"tools/toolkit/temp/package-deps.json": "23e053490eb8feade23e4d45de4e54883e322711"
|