@vibemancer/core 1.0.6 → 1.0.7
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/{chunk-M6E6IP7L.js → chunk-NR326XEY.js} +13 -2
- package/dist/chunk-NR326XEY.js.map +1 -0
- package/dist/{index-browser-q0eR90H1.d.ts → index-browser-iiIpqpDl.d.ts} +39 -2
- package/dist/index-browser.d.ts +1 -1
- package/dist/index-browser.js +5 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/simulation.ts +4 -1
- package/src/engine-version.ts +14 -1
- package/src/index-browser.ts +1 -0
- package/src/index.ts +1 -0
- package/src/replay-compat.ts +35 -0
- package/dist/chunk-M6E6IP7L.js.map +0 -1
|
@@ -208,7 +208,16 @@ function currentRuleset() {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
// src/engine-version.ts
|
|
211
|
-
var ENGINE_VERSION =
|
|
211
|
+
var ENGINE_VERSION = 4204441759696527;
|
|
212
|
+
var EQUIVALENT_ENGINE_VERSIONS = [1688330189011034];
|
|
213
|
+
|
|
214
|
+
// src/replay-compat.ts
|
|
215
|
+
function canReplayMatch(matchEngineVersion) {
|
|
216
|
+
if (typeof matchEngineVersion !== "number") return false;
|
|
217
|
+
if (!Number.isSafeInteger(matchEngineVersion)) return false;
|
|
218
|
+
if (matchEngineVersion === ENGINE_VERSION) return true;
|
|
219
|
+
return EQUIVALENT_ENGINE_VERSIONS.includes(matchEngineVersion);
|
|
220
|
+
}
|
|
212
221
|
|
|
213
222
|
// src/engine/hooks-runtime.ts
|
|
214
223
|
var _g = globalThis;
|
|
@@ -10518,6 +10527,8 @@ export {
|
|
|
10518
10527
|
resetRuleset,
|
|
10519
10528
|
currentRuleset,
|
|
10520
10529
|
ENGINE_VERSION,
|
|
10530
|
+
EQUIVALENT_ENGINE_VERSIONS,
|
|
10531
|
+
canReplayMatch,
|
|
10521
10532
|
validateHookCall,
|
|
10522
10533
|
runWithHooks,
|
|
10523
10534
|
runWizardWithContext,
|
|
@@ -10682,4 +10693,4 @@ export {
|
|
|
10682
10693
|
diagnoseTrace,
|
|
10683
10694
|
formatDiagnosis
|
|
10684
10695
|
};
|
|
10685
|
-
//# sourceMappingURL=chunk-
|
|
10696
|
+
//# sourceMappingURL=chunk-NR326XEY.js.map
|