@yuants/vendor-coinex 0.2.0 → 0.2.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/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
- name: 'COINEX',
5
- terminal_id: process.env.TERMINAL_ID || `COINEX/${UUID()}`,
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,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,UAAU,IAAI,EAAE,EAAE;CAC3D,CAAC,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\nimport { UUID } from '@yuants/utils';\n\nexport const terminal = new Terminal(process.env.HOST_URL!, {\n name: 'COINEX',\n terminal_id: process.env.TERMINAL_ID || `COINEX/${UUID()}`,\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
- name: 'COINEX',
8
- terminal_id: process.env.TERMINAL_ID || `COINEX/${(0, utils_1.UUID)()}`,
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,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,UAAU,IAAA,YAAI,GAAE,EAAE;CAC3D,CAAC,CAAC","sourcesContent":["import { Terminal } from '@yuants/protocol';\nimport { UUID } from '@yuants/utils';\n\nexport const terminal = new Terminal(process.env.HOST_URL!, {\n name: 'COINEX',\n terminal_id: process.env.TERMINAL_ID || `COINEX/${UUID()}`,\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-coinex",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "main": "lib/index.js",
5
5
  "bin": "lib/cli.js",
6
6
  "module": "dist/index.js",
package/temp/image-tag CHANGED
@@ -1 +1 @@
1
- sha-c05cdffc4bcffa48d80b2fd971d51883be9272aa
1
+ sha-ada721bb3be25eb98747744425bdd80a8970a162
@@ -1,20 +1,20 @@
1
1
  {
2
- "apps/vendor-coinex/CHANGELOG.json": "de882985e80e73af990a472086134bb765818b27",
3
- "apps/vendor-coinex/CHANGELOG.md": "51b5a0faa8d1c9555e68d16d2460fe5a8a6ffa17",
2
+ "apps/vendor-coinex/CHANGELOG.json": "517ac80c575b2d6ff3e5c19f51770125e8dbe037",
3
+ "apps/vendor-coinex/CHANGELOG.md": "1a5abecf758ccc73189a9b8daf6a853a120abb6d",
4
4
  "apps/vendor-coinex/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c",
5
5
  "apps/vendor-coinex/build/Dockerfile": "8337903e3366ea6c13f1396269c082b8cb5dd96b",
6
6
  "apps/vendor-coinex/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd",
7
7
  "apps/vendor-coinex/config/rig.json": "f6c7b5537dc77a3170ba9f008bae3b6c3ee11956",
8
8
  "apps/vendor-coinex/config/typescript.json": "854907e8a821f2050f6533368db160c649c25348",
9
9
  "apps/vendor-coinex/etc/vendor-coinex.api.md": "33941b70ac7469421ff8fb8c157181014a0ea655",
10
- "apps/vendor-coinex/package.json": "df74ce267420f8b9ab3cc06ed8dbce8b25eb603d",
10
+ "apps/vendor-coinex/package.json": "58dad5dbeb5c78cd951165dd17708b99f466e6a1",
11
11
  "apps/vendor-coinex/src/api.ts": "5dc2027855a6f71ff98f88ad2329abeef40593fb",
12
12
  "apps/vendor-coinex/src/cli.ts": "9bf6b5559a6c6f33da20e74cc6c5d702c60ec891",
13
13
  "apps/vendor-coinex/src/extension.ts": "0a560546d341acebb59b1703be89c19fc2111a8b",
14
14
  "apps/vendor-coinex/src/index.ts": "1839b7a344b0f693f8e835f048a0bf6a69f5ff60",
15
15
  "apps/vendor-coinex/src/interest_rate.ts": "e085bb282420c139fd541f7fa8fb9a676121382f",
16
16
  "apps/vendor-coinex/src/product.ts": "415c59cf5fa9f56fae7b75978eb6b5b35e21748f",
17
- "apps/vendor-coinex/src/terminal.ts": "c3e598a4dd29804c269bea2846d30387afd9f1cc",
17
+ "apps/vendor-coinex/src/terminal.ts": "04776a178d253a2e53f9c84c802e80f67aa9179b",
18
18
  "apps/vendor-coinex/tsconfig.json": "81da8f78196974b5d15da0edb6b2d9f48641063c",
19
19
  "apps/vendor-coinex/.rush/temp/shrinkwrap-deps.json": "65091c107a6149901dadc3fa1a7717446ce94f99",
20
20
  "libraries/protocol/temp/package-deps.json": "d326f24867d9ae3fef16ff84ba537eabb7c8adf0",