@dshtrading/hk 0.1.4 → 0.1.5
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/lib/index.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import Schema from "@deepseek-ai/schemastery";
|
|
|
5
5
|
const name = "dsh-trading-hk-installer";
|
|
6
6
|
const Config = Schema.object({ presetRoot: Schema.string() });
|
|
7
7
|
async function getPresetContribution() {
|
|
8
|
-
const asset = await readFile(new URL("../assets/preset/hk-trader/agent.cordis.yml", import.meta.url), "utf8");
|
|
8
|
+
const asset = (await readFile(new URL("../assets/preset/hk-trader/agent.cordis.yml", import.meta.url), "utf8")).replace(/\r\n/g, "\n");
|
|
9
9
|
const start = asset.indexOf("- id: dsh-trading-hk-connector-group\n");
|
|
10
10
|
if (start < 0) throw new Error("Missing hk capability rows");
|
|
11
11
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dshtrading/hk",
|
|
3
3
|
"description": "HK (Hong Kong) market bundle for dsh-trading: host-plane hk-trader preset installer + insert-only aggregation of the Tencent connector (market=hk instance) and hk kit rows (design rule #1)",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dshtrading/connector-futu": "0.1.
|
|
29
|
-
"@dshtrading/connector-longbridge": "0.1.
|
|
30
|
-
"@dshtrading/connector-tencent": "0.1.
|
|
31
|
-
"@dshtrading/
|
|
32
|
-
"@dshtrading/
|
|
28
|
+
"@dshtrading/connector-futu": "0.1.5",
|
|
29
|
+
"@dshtrading/connector-longbridge": "0.1.5",
|
|
30
|
+
"@dshtrading/connector-tencent": "0.1.5",
|
|
31
|
+
"@dshtrading/connector-tiger": "0.1.5",
|
|
32
|
+
"@dshtrading/kit-hk": "0.1.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@deepseek-ai/cordis": ">=4.0.0",
|