@poe-platform/safe-js 0.1.129 → 0.1.131

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.
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-OM5W7AYB.js";
30
+ } from "./chunk-DZRTLKIV.js";
31
31
 
32
32
  // packages/safe-js/src/migrate.ts
33
33
  import { createHash } from "node:crypto";
@@ -36,7 +36,11 @@ function inspectSnapshotMigration(snapshot, options) {
36
36
  validateSnapshotData(snapshot);
37
37
  validateDumpEnvelope(snapshot);
38
38
  validateMigrationSemantics(snapshot.executionSemantics);
39
- const sourceHash = hashSource(options.source);
39
+ const sourceHash = hashSource(
40
+ options.source,
41
+ void 0,
42
+ snapshot.executionSemantics === EXECUTION_SEMANTICS
43
+ );
40
44
  if (snapshot.sourceHash !== sourceHash)
41
45
  throw new TypeError(
42
46
  `Migration requires the original executable source (checkpoint hash ${snapshot.sourceHash}, supplied ${sourceHash}). Preserve the checkpoint; do not replace its hash.`
@@ -8245,4 +8249,4 @@ export {
8245
8249
  parseMcpConfig,
8246
8250
  makeMcpModule
8247
8251
  };
8248
- //# sourceMappingURL=chunk-EH4VQYKL.js.map
8252
+ //# sourceMappingURL=chunk-RA54CNI6.js.map