@irtio/runtime 3.1.0 → 3.1.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.
|
@@ -3652,7 +3652,9 @@ function parseHibernationBlob(bytes) {
|
|
|
3652
3652
|
const r = new ByteReader3(bytes);
|
|
3653
3653
|
const version = r.u8();
|
|
3654
3654
|
if (!READABLE_SNAPSHOT_VERSIONS.includes(version)) {
|
|
3655
|
-
throw new Error(
|
|
3655
|
+
throw new Error(
|
|
3656
|
+
`RoomCore.restore: unsupported snapshot format version ${version} \u2014 this blob was written by a different irtio release`
|
|
3657
|
+
);
|
|
3656
3658
|
}
|
|
3657
3659
|
const seed = r.u32();
|
|
3658
3660
|
const rngState = r.u32();
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
fromMigrationState,
|
|
3
3
|
migrateSnapshot,
|
|
4
4
|
toMigrationState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XPRLQCNF.js";
|
|
6
6
|
import {
|
|
7
7
|
AdmissionError,
|
|
8
8
|
CRASH_AFTER_THROWS,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
visibleNames,
|
|
59
59
|
visibleTo,
|
|
60
60
|
writeHibernationBlob
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2L3RGWXM.js";
|
|
62
62
|
export {
|
|
63
63
|
AdmissionError,
|
|
64
64
|
CRASH_AFTER_THROWS,
|
package/dist/test/index.js
CHANGED
package/dist/worker/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrateSnapshot
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XPRLQCNF.js";
|
|
4
4
|
import {
|
|
5
5
|
AdmissionError,
|
|
6
6
|
RoomCore,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
initRapier2d,
|
|
11
11
|
onFirstRapierStep,
|
|
12
12
|
rapierHasStepped
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-2L3RGWXM.js";
|
|
14
14
|
|
|
15
15
|
// src/worker/index.ts
|
|
16
16
|
import { getHeapStatistics } from "v8";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irtio/runtime",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "irtio room runtime: RoomCore, worker_threads host, in-process test harness",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@dimforge/rapier2d-compat": "0.20.0",
|
|
37
37
|
"@dimforge/rapier3d-compat": "0.20.0",
|
|
38
38
|
"matter-js": "0.20.0",
|
|
39
|
-
"@irtio/protocol": "3.1.
|
|
40
|
-
"@irtio/schema": "3.1.
|
|
41
|
-
"@irtio/server": "3.1.
|
|
39
|
+
"@irtio/protocol": "3.1.1",
|
|
40
|
+
"@irtio/schema": "3.1.1",
|
|
41
|
+
"@irtio/server": "3.1.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/matter-js": "0.20.2"
|