@yuants/vendor-coinex 0.2.0 → 0.2.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
- 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.2",
4
4
  "main": "lib/index.js",
5
5
  "bin": "lib/cli.js",
6
6
  "module": "dist/index.js",
@@ -10,13 +10,13 @@
10
10
  "temp"
11
11
  ],
12
12
  "dependencies": {
13
- "@yuants/protocol": "0.37.2",
14
- "@yuants/transfer": "0.2.4",
15
- "@yuants/utils": "0.5.0",
16
- "@yuants/sql": "0.8.3",
17
- "@yuants/data-series": "0.3.16",
18
- "@yuants/data-product": "0.2.5",
19
- "@yuants/data-interest-rate": "0.1.13",
13
+ "@yuants/protocol": "0.37.3",
14
+ "@yuants/transfer": "0.2.5",
15
+ "@yuants/utils": "0.6.0",
16
+ "@yuants/sql": "0.8.4",
17
+ "@yuants/data-series": "0.3.17",
18
+ "@yuants/data-product": "0.2.6",
19
+ "@yuants/data-interest-rate": "0.1.14",
20
20
  "rxjs": "~7.5.6",
21
21
  "crypto-js": "^4.2.0"
22
22
  },
@@ -27,7 +27,7 @@
27
27
  "@rushstack/heft-node-rig": "~1.10.7",
28
28
  "@types/heft-jest": "1.0.3",
29
29
  "@types/node": "22",
30
- "@yuants/extension": "0.2.20",
30
+ "@yuants/extension": "0.2.21",
31
31
  "@yuants/tool-kit": "0.1.10",
32
32
  "typescript": "~4.7.4",
33
33
  "ts-node": "~10.9.2"
package/temp/image-tag CHANGED
@@ -1 +1 @@
1
- sha-c05cdffc4bcffa48d80b2fd971d51883be9272aa
1
+ sha-551987e9ef221d7ebd95f3a1c99624adcfda8061
@@ -1,29 +1,29 @@
1
1
  {
2
- "apps/vendor-coinex/CHANGELOG.json": "de882985e80e73af990a472086134bb765818b27",
3
- "apps/vendor-coinex/CHANGELOG.md": "51b5a0faa8d1c9555e68d16d2460fe5a8a6ffa17",
2
+ "apps/vendor-coinex/CHANGELOG.json": "5f9c358ce51cccbd0072967c19e6693eafd94f5a",
3
+ "apps/vendor-coinex/CHANGELOG.md": "086d06dd817f41e53c95ad00fac1591de88cfd9b",
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": "1963542470e5b007ecbb9830abad545b4e4ca606",
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
- "libraries/protocol/temp/package-deps.json": "d326f24867d9ae3fef16ff84ba537eabb7c8adf0",
21
- "libraries/transfer/temp/package-deps.json": "cb2786055e5e79cd7d9d0f5787e300ca1c0bf002",
22
- "libraries/utils/temp/package-deps.json": "c747617da1c0a40843603c62a7477da641ff0aef",
23
- "libraries/sql/temp/package-deps.json": "1cb2248873d01ed732e8473f7b242a41f987fdd7",
24
- "libraries/data-series/temp/package-deps.json": "3ba9330800ae3952ed7ba430526596a24d1e8eb7",
25
- "libraries/data-product/temp/package-deps.json": "634e636d948295079b02dbeffb84f6d52872fda8",
26
- "libraries/data-interest-rate/temp/package-deps.json": "420702140b635d7fbbd0524108a827b12efde639",
27
- "libraries/extension/temp/package-deps.json": "96816518ae9dc050cafe0b8fbce95cbb59d06ee6",
20
+ "libraries/protocol/temp/package-deps.json": "43291b31649f44821b64235587e30fe4663fc305",
21
+ "libraries/transfer/temp/package-deps.json": "a662579703128c1770f30f8ffaab3f5a233f9d48",
22
+ "libraries/utils/temp/package-deps.json": "ecdd5e56cb2b6db83ee9caf8784ad342484f1699",
23
+ "libraries/sql/temp/package-deps.json": "ccd7161a4384bf97c6a29bff21030ed3bea5336f",
24
+ "libraries/data-series/temp/package-deps.json": "4024c0f6e805fecc48dbdc2045d3d3c0c5c609db",
25
+ "libraries/data-product/temp/package-deps.json": "08342cfa222eca4cd64d23f753ae9a2cd5254343",
26
+ "libraries/data-interest-rate/temp/package-deps.json": "27c147717413bf219a8aef339c14411290cd7d93",
27
+ "libraries/extension/temp/package-deps.json": "f22ec5c30214f7aeeda63f46bd920290be555f57",
28
28
  "tools/toolkit/temp/package-deps.json": "eb0447c467da3a90db0913ed01e42ec0de840234"
29
29
  }