@yuants/vendor-hyperliquid 0.7.16 → 0.8.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/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 +15 -15
- package/temp/package-deps.json +19 -18
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.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
"temp"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@yuants/cache": "0.3.
|
|
12
|
-
"@yuants/protocol": "0.53.
|
|
13
|
-
"@yuants/transfer": "0.2.
|
|
14
|
-
"@yuants/data-account": "0.10.
|
|
15
|
-
"@yuants/utils": "0.
|
|
16
|
-
"@yuants/sql": "0.9.
|
|
17
|
-
"@yuants/data-product": "0.5.
|
|
18
|
-
"@yuants/data-interest-rate": "0.1.
|
|
19
|
-
"@yuants/data-order": "0.7.
|
|
20
|
-
"@yuants/data-series": "0.3.
|
|
21
|
-
"@yuants/data-quote": "0.3.
|
|
22
|
-
"@yuants/exchange": "0.6.
|
|
11
|
+
"@yuants/cache": "0.3.4",
|
|
12
|
+
"@yuants/protocol": "0.53.3",
|
|
13
|
+
"@yuants/transfer": "0.2.40",
|
|
14
|
+
"@yuants/data-account": "0.10.2",
|
|
15
|
+
"@yuants/utils": "0.15.0",
|
|
16
|
+
"@yuants/sql": "0.9.31",
|
|
17
|
+
"@yuants/data-product": "0.5.1",
|
|
18
|
+
"@yuants/data-interest-rate": "0.1.49",
|
|
19
|
+
"@yuants/data-order": "0.7.1",
|
|
20
|
+
"@yuants/data-series": "0.3.53",
|
|
21
|
+
"@yuants/data-quote": "0.3.1",
|
|
22
|
+
"@yuants/exchange": "0.6.1",
|
|
23
23
|
"rxjs": "~7.5.6",
|
|
24
24
|
"hyperliquid": "~1.6.2",
|
|
25
25
|
"ethers": "~6.13.5",
|
|
26
26
|
"@msgpack/msgpack": "~3.1.2",
|
|
27
|
-
"@yuants/data-ohlc": "0.4.
|
|
27
|
+
"@yuants/data-ohlc": "0.4.23"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@microsoft/api-extractor": "~7.30.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@rushstack/heft-node-rig": "~1.10.7",
|
|
34
34
|
"@types/heft-jest": "1.0.3",
|
|
35
35
|
"@types/node": "22",
|
|
36
|
-
"@yuants/extension": "0.2.
|
|
36
|
+
"@yuants/extension": "0.2.32",
|
|
37
37
|
"@yuants/tool-kit": "0.2.1",
|
|
38
38
|
"typescript": "~4.7.4",
|
|
39
39
|
"ts-node": "~10.9.2"
|
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": "473a1e3cc4ac26ae0e265d1e3c65d8b7e9d3dd2d",
|
|
4
|
+
"apps/vendor-hyperliquid/CHANGELOG.md": "1858ad1215a023731b0a036f9966d0ddf9db6814",
|
|
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": "275b6316b3a88d00e0e46c5016f3061cf08f7e55",
|
|
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,22 +27,23 @@
|
|
|
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",
|
|
33
|
-
"libraries/cache/temp/package-deps.json": "
|
|
34
|
-
"libraries/protocol/temp/package-deps.json": "
|
|
35
|
-
"libraries/transfer/temp/package-deps.json": "
|
|
36
|
-
"libraries/data-account/temp/package-deps.json": "
|
|
37
|
-
"libraries/utils/temp/package-deps.json": "
|
|
38
|
-
"libraries/sql/temp/package-deps.json": "
|
|
39
|
-
"libraries/data-product/temp/package-deps.json": "
|
|
40
|
-
"libraries/data-interest-rate/temp/package-deps.json": "
|
|
41
|
-
"libraries/data-order/temp/package-deps.json": "
|
|
42
|
-
"libraries/data-series/temp/package-deps.json": "
|
|
43
|
-
"libraries/data-quote/temp/package-deps.json": "
|
|
44
|
-
"libraries/exchange/temp/package-deps.json": "
|
|
45
|
-
"libraries/data-ohlc/temp/package-deps.json": "
|
|
46
|
-
"libraries/extension/temp/package-deps.json": "
|
|
34
|
+
"libraries/cache/temp/package-deps.json": "e1f94620bc6245add32a4f9d379ed2901129d818",
|
|
35
|
+
"libraries/protocol/temp/package-deps.json": "c94931cb0eab7180d90a06d740c1a97c0ac0c6b6",
|
|
36
|
+
"libraries/transfer/temp/package-deps.json": "7b0db8291734d10d4f1d9c2c25d9e3918cabc79e",
|
|
37
|
+
"libraries/data-account/temp/package-deps.json": "61641a5eb18cbaceedb085230d86589ea8d076ae",
|
|
38
|
+
"libraries/utils/temp/package-deps.json": "7f1eab07acae68df931b001594a522f050ace396",
|
|
39
|
+
"libraries/sql/temp/package-deps.json": "041074e0102f9a01820c0fddcf82b9eaee226c79",
|
|
40
|
+
"libraries/data-product/temp/package-deps.json": "899bba8ace3f04b2035488ff9059e40732ef1d97",
|
|
41
|
+
"libraries/data-interest-rate/temp/package-deps.json": "5a1011b097b18b96c2d8c932d874f69472621efd",
|
|
42
|
+
"libraries/data-order/temp/package-deps.json": "8aa3e27ff80629d417bfe920e85d8525fbb52f42",
|
|
43
|
+
"libraries/data-series/temp/package-deps.json": "a94e2f373c448a6205ee6c47e41d9283a76ee352",
|
|
44
|
+
"libraries/data-quote/temp/package-deps.json": "272c0fe62ababfa66a7589139c31231a6fdce2b4",
|
|
45
|
+
"libraries/exchange/temp/package-deps.json": "3928985332795cb9b230ced140003ccf2287af41",
|
|
46
|
+
"libraries/data-ohlc/temp/package-deps.json": "8415ee90c49d7e84faaa2565cc1122fdacf73dab",
|
|
47
|
+
"libraries/extension/temp/package-deps.json": "3e0a81b0c863c2daf342dfaf284b8fd7d18c8562",
|
|
47
48
|
"tools/toolkit/temp/package-deps.json": "23e053490eb8feade23e4d45de4e54883e322711"
|
|
48
49
|
}
|