@noya-app/noya-multiplayer-react 0.1.89 → 0.2.0
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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +44 -0
- package/dist/index.bundle.js +30 -30
- package/dist/index.d.mts +64 -15
- package/dist/index.d.ts +64 -15
- package/dist/index.js +425 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +428 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/WebSocketConnection.ts +556 -20
- package/src/__tests__/WebSocketConnection.test.ts +1180 -0
- package/src/__tests__/noyaApp.test.ts +28 -0
- package/src/noyaApp.ts +15 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,8 +6,8 @@ $ tsup src/index.ts --config bundle.config.ts
|
|
|
6
6
|
[34mCLI[39m Using tsup config: /home/runner/work/noya-core/noya-core/packages/noya-multiplayer-react/bundle.config.ts
|
|
7
7
|
[34mCLI[39m Target: es2022
|
|
8
8
|
[34mCJS[39m Build start
|
|
9
|
-
[32mCJS[39m [1mdist/index.bundle.js [22m[
|
|
10
|
-
[32mCJS[39m ⚡️ Build success in
|
|
9
|
+
[32mCJS[39m [1mdist/index.bundle.js [22m[32m699.50 KB[39m
|
|
10
|
+
[32mCJS[39m ⚡️ Build success in 1153ms
|
|
11
11
|
$ tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
12
12
|
[34mCLI[39m Building entry: src/index.ts
|
|
13
13
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -15,13 +15,13 @@ $ tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
|
15
15
|
[34mCLI[39m Target: esnext
|
|
16
16
|
[34mCJS[39m Build start
|
|
17
17
|
[34mESM[39m Build start
|
|
18
|
-
[32mCJS[39m [1mdist/index.js [22m[32m312.83 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m680.38 KB[39m
|
|
20
|
-
[32mCJS[39m ⚡️ Build success in 2253ms
|
|
21
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m303.38 KB[39m
|
|
22
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m679.68 KB[39m
|
|
23
|
-
[32mESM[39m ⚡️ Build success in 2257ms
|
|
24
18
|
[34mDTS[39m Build start
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
19
|
+
[32mCJS[39m [1mdist/index.js [22m[32m329.12 KB[39m
|
|
20
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m708.73 KB[39m
|
|
21
|
+
[32mCJS[39m ⚡️ Build success in 1508ms
|
|
22
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m319.62 KB[39m
|
|
23
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m708.07 KB[39m
|
|
24
|
+
[32mESM[39m ⚡️ Build success in 1509ms
|
|
25
|
+
[32mDTS[39m ⚡️ Build success in 30685ms
|
|
26
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m34.26 KB[39m
|
|
27
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m34.26 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @noya-app/state-manager
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 157e042: Batch contiguous realtime game inputs with cumulative simulation-frame and
|
|
8
|
+
input-ingestion receipts, retain at most three unconfirmed batches for safe
|
|
9
|
+
reconnect replay, and use a bounded frame delivery window without changing
|
|
10
|
+
discrete input delivery. Simulation frames never imply input ingestion:
|
|
11
|
+
reconnect replay is pruned only by the explicit cumulative input receipt.
|
|
12
|
+
- 72769fe: Add droppable simulation frames, independent realtime cadences, generic input
|
|
13
|
+
journals, clock-confidence diagnostics, telemetry, and fault injection tools.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- b680041: Bound realtime simulation transport with acknowledged latest-frame delivery.
|
|
18
|
+
- a6219b1: Expose checkbox semantics for checked menu items and honor explicit inspector
|
|
19
|
+
hash parameters across Noya apps.
|
|
20
|
+
- daccde7: Update packages
|
|
21
|
+
- f224a70: Keep realtime frame delivery monotonic across same-session WebSocket reconnects.
|
|
22
|
+
- 6379066: Bootstrap existing documents on WebSocket open and recover open-but-silent
|
|
23
|
+
connections with application ping/pong heartbeats.
|
|
24
|
+
- d4d280b: Estimate server clock offset and replay acknowledged realtime inputs at shared
|
|
25
|
+
fixed-step simulation indices.
|
|
26
|
+
- c61c67a: Estimate server clock offset from heartbeat timing and support bounded,
|
|
27
|
+
timestamped realtime input replay.
|
|
28
|
+
- Updated dependencies [ad1e157]
|
|
29
|
+
- Updated dependencies [157e042]
|
|
30
|
+
- Updated dependencies [b680041]
|
|
31
|
+
- Updated dependencies [cd85ecd]
|
|
32
|
+
- Updated dependencies [daccde7]
|
|
33
|
+
- Updated dependencies [f224a70]
|
|
34
|
+
- Updated dependencies [a1b9953]
|
|
35
|
+
- Updated dependencies [72769fe]
|
|
36
|
+
- Updated dependencies [4ed3d60]
|
|
37
|
+
- Updated dependencies [6379066]
|
|
38
|
+
- Updated dependencies [7fcc525]
|
|
39
|
+
- Updated dependencies [c144165]
|
|
40
|
+
- Updated dependencies [e62d911]
|
|
41
|
+
- Updated dependencies [b6936c2]
|
|
42
|
+
- Updated dependencies [d4d280b]
|
|
43
|
+
- Updated dependencies [c61c67a]
|
|
44
|
+
- Updated dependencies [8b89720]
|
|
45
|
+
- @noya-app/state-manager@0.3.0
|
|
46
|
+
|
|
3
47
|
## 0.1.89
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|