@fuzionx/core 0.1.67 → 0.1.70
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/ws.js +3 -1
- package/package.json +2 -2
package/lib/ws.js
CHANGED
|
@@ -47,7 +47,9 @@ class FuzionXSocket {
|
|
|
47
47
|
/** 메타데이터 매칭 세션에 전송 (네임스페이스 범위) */
|
|
48
48
|
sendToMatch(key, value, data) {
|
|
49
49
|
const msg = typeof data === 'string' ? data : JSON.stringify(data);
|
|
50
|
-
|
|
50
|
+
// Rust N-API는 Vec<String> (배열)을 기대 → 단일 값은 배열로 래핑
|
|
51
|
+
const values = Array.isArray(value) ? value : [value];
|
|
52
|
+
this._bridge.wsSendToMetadataMatch(key, values, msg, this._namespace);
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
/** 메타데이터 설정 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuzionx/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.70",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Express-style Node.js framework powered by FuzionX native bridge — 167K RPS single process",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "https://github.com/saytohenry/fuzionx"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fuzionx/bridge": "^0.1.
|
|
30
|
+
"@fuzionx/bridge": "^0.1.70"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"index.js",
|