@yuants/vendor-hyperliquid 0.1.1 → 0.1.2

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/terminal.js CHANGED
@@ -1,7 +1,3 @@
1
1
  import { Terminal } from '@yuants/protocol';
2
- import { UUID } from '@yuants/utils';
3
- export const terminal = new Terminal(process.env.HOST_URL, {
4
- terminal_id: process.env.TERMINAL_ID || `HyperLiquid/${UUID()}`,
5
- name: 'HyperLiquid',
6
- });
2
+ export const terminal = Terminal.fromNodeEnv();
7
3
  //# sourceMappingURL=terminal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"terminal.js","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAS,EAAE;IAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,eAAe,IAAI,EAAE,EAAE;IAC/D,IAAI,EAAE,aAAa;CACpB,CAAC,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\nimport { UUID } from '@yuants/utils';\n\nexport const terminal = new Terminal(process.env.HOST_URL!, {\n terminal_id: process.env.TERMINAL_ID || `HyperLiquid/${UUID()}`,\n name: 'HyperLiquid',\n});\n"]}
1
+ {"version":3,"file":"terminal.js","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\n\nexport const terminal = Terminal.fromNodeEnv();\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,eAAO,MAAM,QAAQ,UAGnB,CAAC"}
1
+ {"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,eAAO,MAAM,QAAQ,UAAyB,CAAC"}
package/lib/terminal.js CHANGED
@@ -2,9 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.terminal = void 0;
4
4
  const protocol_1 = require("@yuants/protocol");
5
- const utils_1 = require("@yuants/utils");
6
- exports.terminal = new protocol_1.Terminal(process.env.HOST_URL, {
7
- terminal_id: process.env.TERMINAL_ID || `HyperLiquid/${(0, utils_1.UUID)()}`,
8
- name: 'HyperLiquid',
9
- });
5
+ exports.terminal = protocol_1.Terminal.fromNodeEnv();
10
6
  //# sourceMappingURL=terminal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"terminal.js","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAC5C,yCAAqC;AAExB,QAAA,QAAQ,GAAG,IAAI,mBAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAS,EAAE;IAC1D,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,eAAe,IAAA,YAAI,GAAE,EAAE;IAC/D,IAAI,EAAE,aAAa;CACpB,CAAC,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\nimport { UUID } from '@yuants/utils';\n\nexport const terminal = new Terminal(process.env.HOST_URL!, {\n terminal_id: process.env.TERMINAL_ID || `HyperLiquid/${UUID()}`,\n name: 'HyperLiquid',\n});\n"]}
1
+ {"version":3,"file":"terminal.js","sourceRoot":"","sources":["../src/terminal.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE/B,QAAA,QAAQ,GAAG,mBAAQ,CAAC,WAAW,EAAE,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\n\nexport const terminal = Terminal.fromNodeEnv();\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuants/vendor-hyperliquid",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "bin": "lib/cli.js",
5
5
  "files": [
6
6
  "dist",
package/temp/image-tag CHANGED
@@ -1 +1 @@
1
- sha-b3a1be6f4fdc42bfccd3be5fd4ba5a53db0df225
1
+ sha-0c1bfa2b21f6e3fa5f4d11f2cb1ffaacb86b07e8
@@ -1,13 +1,13 @@
1
1
  {
2
- "apps/vendor-hyperliquid/CHANGELOG.json": "0e61e880f00d76dbdabf4814513b45201156aeb4",
3
- "apps/vendor-hyperliquid/CHANGELOG.md": "99d4974d7db042df7a486c362e2ec6165c7d1877",
2
+ "apps/vendor-hyperliquid/CHANGELOG.json": "2592beaea870323eaa18a4e103cfb4f46f043f59",
3
+ "apps/vendor-hyperliquid/CHANGELOG.md": "218fc9ec13e29307a97f342e19fc3530bc795cff",
4
4
  "apps/vendor-hyperliquid/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c",
5
5
  "apps/vendor-hyperliquid/build/Dockerfile": "1c2ae19b2c8549403281594a463aaae67d70400c",
6
6
  "apps/vendor-hyperliquid/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd",
7
7
  "apps/vendor-hyperliquid/config/rig.json": "f6c7b5537dc77a3170ba9f008bae3b6c3ee11956",
8
8
  "apps/vendor-hyperliquid/config/typescript.json": "854907e8a821f2050f6533368db160c649c25348",
9
9
  "apps/vendor-hyperliquid/etc/vendor-hyperliquid.api.md": "66675bd88afa1fe945f0d4023984c1c9c3e60a34",
10
- "apps/vendor-hyperliquid/package.json": "cea531e2ad239c68d04f83fbd436792ead10545d",
10
+ "apps/vendor-hyperliquid/package.json": "735240ef4a7363f80e597f2319a315cd6f68b3e3",
11
11
  "apps/vendor-hyperliquid/src/api.ts": "f30431f81789561acc3b8861a71b20053aeb0b0a",
12
12
  "apps/vendor-hyperliquid/src/cli.ts": "9bf6b5559a6c6f33da20e74cc6c5d702c60ec891",
13
13
  "apps/vendor-hyperliquid/src/extension.ts": "451dc84e9d62d0e87aec1e04a2a8375aaef873a3",
@@ -16,7 +16,7 @@
16
16
  "apps/vendor-hyperliquid/src/order.ts": "26bbe7b5e52a7b7fbff4ea7bb8944b7c7b42d664",
17
17
  "apps/vendor-hyperliquid/src/product.ts": "73a920896d1c825885d93c244de7d48ab93bb902",
18
18
  "apps/vendor-hyperliquid/src/sign.ts": "94f4e5604a01d197d164b42415b17789ab2b6889",
19
- "apps/vendor-hyperliquid/src/terminal.ts": "663f18a2b5f51cb96e5bdea40245a020aca1d854",
19
+ "apps/vendor-hyperliquid/src/terminal.ts": "04776a178d253a2e53f9c84c802e80f67aa9179b",
20
20
  "apps/vendor-hyperliquid/tsconfig.json": "81da8f78196974b5d15da0edb6b2d9f48641063c",
21
21
  "apps/vendor-hyperliquid/.rush/temp/shrinkwrap-deps.json": "926c9074c4884ebaf0104ca91ed05ffd99d007cb",
22
22
  "libraries/protocol/temp/package-deps.json": "d326f24867d9ae3fef16ff84ba537eabb7c8adf0",