@hitrading/ctp-node 4.1.0 → 4.1.1-rc.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/CHANGELOG.md +14 -0
- package/binding.gyp +7 -4
- package/package.json +1 -1
- package/prebuilds/linux-x64/@hitrading+ctp-node.node +0 -0
- package/prebuilds/linux-x64/thostmduserapi_se.so +0 -0
- package/prebuilds/linux-x64/thosttraderapi_se.so +0 -0
- package/prebuilds/win32-x64/@hitrading+ctp-node.node +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.1.1-rc.2](https://github.com/hitrading/ctp-node/compare/v4.1.1-rc.1...v4.1.1-rc.2) (2026-11-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **build:** Linux 预编译件附带未经改动的 CTP 官方动态库 ([3b333c3](https://github.com/hitrading/ctp-node/commit/3b333c339b1799b495f6cf7cd9a5ef711a0b4f21))
|
|
7
|
+
|
|
8
|
+
## [4.1.1-rc.1](https://github.com/hitrading/ctp-node/compare/v4.1.0...v4.1.1-rc.1) (2026-11-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **build:** Linux 预编译件按库名链接 CTP 动态库,只经 $ORIGIN 解析 ([4de6bdd](https://github.com/hitrading/ctp-node/commit/4de6bdd0b921d271f56112b6ec5f773569d5bdfc))
|
|
14
|
+
|
|
1
15
|
# [4.1.0](https://github.com/hitrading/ctp-node/compare/v4.0.1...v4.1.0) (2026-10-12)
|
|
2
16
|
|
|
3
17
|
|
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
|
|
Binary file
|
|
Binary file
|