@zintrust/socket 0.4.64 → 0.4.68
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/build-manifest.json +14 -10
- package/dist/register.js +6 -1
- package/package.json +2 -2
package/dist/build-manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/socket",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"buildDate": "2026-04-
|
|
3
|
+
"version": "0.4.68",
|
|
4
|
+
"buildDate": "2026-04-06T11:27:42.934Z",
|
|
5
5
|
"buildEnvironment": {
|
|
6
|
-
"node": "
|
|
7
|
-
"platform": "
|
|
8
|
-
"arch": "
|
|
6
|
+
"node": "v22.22.1",
|
|
7
|
+
"platform": "darwin",
|
|
8
|
+
"arch": "arm64"
|
|
9
9
|
},
|
|
10
10
|
"git": {
|
|
11
|
-
"commit": "
|
|
12
|
-
"branch": "
|
|
11
|
+
"commit": "f5a9d786",
|
|
12
|
+
"branch": "release"
|
|
13
13
|
},
|
|
14
14
|
"package": {
|
|
15
15
|
"engines": {
|
|
@@ -21,21 +21,25 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"files": {
|
|
24
|
+
"build-manifest.json": {
|
|
25
|
+
"size": 1087,
|
|
26
|
+
"sha256": "1694a5e9749059cb4e7c2a430ad3f522374cd0bbc74c38a70bb8d5a3cd75acb1"
|
|
27
|
+
},
|
|
24
28
|
"index.d.ts": {
|
|
25
29
|
"size": 1393,
|
|
26
30
|
"sha256": "c3b8e8d96234c34a42f08dd14fadab504cb6f2bd76c15bce5fb23e5acde4941f"
|
|
27
31
|
},
|
|
28
32
|
"index.js": {
|
|
29
33
|
"size": 38284,
|
|
30
|
-
"sha256": "
|
|
34
|
+
"sha256": "f512546f4058cd0706a9b0b194ba37daa14a1087af2ffc4ded6b11b0a929e343"
|
|
31
35
|
},
|
|
32
36
|
"register.d.ts": {
|
|
33
37
|
"size": 16,
|
|
34
38
|
"sha256": "71d366165dd36f1675aa253a76262b226fb6c62e5ab632746b8aea61c0c625fc"
|
|
35
39
|
},
|
|
36
40
|
"register.js": {
|
|
37
|
-
"size":
|
|
38
|
-
"sha256": "
|
|
41
|
+
"size": 935,
|
|
42
|
+
"sha256": "182877f0147808ef835d989c405a857447911c7ccfcfd03e5a077314efecdb27"
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
}
|
package/dist/register.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { socketRouteRegistrar, socketRuntime } from './index.js';
|
|
1
|
+
import { socketRouteRegistrar, socketRuntime, ZintrustSocketHub } from './index.js';
|
|
2
2
|
const registerViaGlobalFallback = () => {
|
|
3
3
|
const globalRegistry = globalThis;
|
|
4
4
|
globalRegistry.__zintrustSocketRuntimeRegistry = {
|
|
@@ -7,6 +7,10 @@ const registerViaGlobalFallback = () => {
|
|
|
7
7
|
routeRegistrar: socketRouteRegistrar,
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
+
const registerSocketHubClass = () => {
|
|
11
|
+
const globalRegistry = globalThis;
|
|
12
|
+
globalRegistry.__zintrustSocketHubClass = ZintrustSocketHub;
|
|
13
|
+
};
|
|
10
14
|
const importCore = async () => {
|
|
11
15
|
try {
|
|
12
16
|
return (await import('@zintrust/core'));
|
|
@@ -16,6 +20,7 @@ const importCore = async () => {
|
|
|
16
20
|
}
|
|
17
21
|
};
|
|
18
22
|
const core = await importCore();
|
|
23
|
+
registerSocketHubClass();
|
|
19
24
|
if (core.SocketRuntimeRegistry === undefined) {
|
|
20
25
|
registerViaGlobalFallback();
|
|
21
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/socket",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.68",
|
|
4
4
|
"description": "Unified socket runtime for ZinTrust.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@zintrust/core": "^0.4.
|
|
26
|
+
"@zintrust/core": "^0.4.68"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|