@hitrading/ctp-node 4.1.0-rc.2 → 4.1.1-rc.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [4.1.1-rc.1](https://github.com/hitrading/ctp-node/compare/v4.1.0...v4.1.1-rc.1) (2026-11-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **build:** Linux 预编译件按库名链接 CTP 动态库,只经 $ORIGIN 解析 ([4de6bdd](https://github.com/hitrading/ctp-node/commit/4de6bdd0b921d271f56112b6ec5f773569d5bdfc))
|
|
7
|
+
|
|
8
|
+
# [4.1.0](https://github.com/hitrading/ctp-node/compare/v4.0.1...v4.1.0) (2026-10-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **trader:** 以最终合约目录统一品种归属和费率失效范围 ([f4e7147](https://github.com/hitrading/ctp-node/commit/f4e714741f0cab91c52860c7ebc3d1d1dcef967d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **trader:** 按品种批量同步保证金并原子应用合约覆盖 ([c52819b](https://github.com/hitrading/ctp-node/commit/c52819b932153859c71168377ca6f8d3bc6d6963))
|
|
19
|
+
|
|
1
20
|
# [4.1.0-rc.2](https://github.com/hitrading/ctp-node/compare/v4.1.0-rc.1...v4.1.0-rc.2) (2026-10-12)
|
|
2
21
|
|
|
3
22
|
|
package/binding.gyp
CHANGED
|
@@ -48,11 +48,14 @@
|
|
|
48
48
|
]
|
|
49
49
|
}],
|
|
50
50
|
["OS=='linux'", {
|
|
51
|
+
# The CTP .so files carry no SONAME, so linking them by path would bake
|
|
52
|
+
# that build-host path into DT_NEEDED. Link by bare file name instead and
|
|
53
|
+
# resolve only via $ORIGIN (the .so files sit next to the addon).
|
|
54
|
+
"library_dirs": [ "<(module_root_dir)/ctpsdk/linux" ],
|
|
51
55
|
"libraries": [
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"-Wl,-rpath,'$$ORIGIN'"
|
|
55
|
-
"-Wl,-rpath,<(module_root_dir)/ctpsdk/linux"
|
|
56
|
+
"-l:thostmduserapi_se.so",
|
|
57
|
+
"-l:thosttraderapi_se.so",
|
|
58
|
+
"-Wl,-rpath,'$$ORIGIN'"
|
|
56
59
|
],
|
|
57
60
|
"cflags_cc": [ "-std=c++17", "-fexceptions" ],
|
|
58
61
|
"copies": [
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|