@poe-platform/safe-js 0.1.399 → 0.1.400

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-L4AQGNFP.js";
30
+ } from "./chunk-L5I53V56.js";
31
31
 
32
32
  // packages/safe-js/src/migrate.ts
33
33
  import { createHash } from "node:crypto";
@@ -8249,4 +8249,4 @@ export {
8249
8249
  parseMcpConfig,
8250
8250
  makeMcpModule
8251
8251
  };
8252
- //# sourceMappingURL=chunk-Y73DRD33.js.map
8252
+ //# sourceMappingURL=chunk-ETP3MEHS.js.map
@@ -23202,6 +23202,8 @@ function collectContainerStats(value, stats, ancestors, guestValues, trustedRunR
23202
23202
  stat2.expanded = true;
23203
23203
  ancestors.add(value);
23204
23204
  const guestEntries = [];
23205
+ const replayPromise = isSandboxPromise(value) ? value : isPromiseResolvingFunction(value) ? promiseResolvingFunctions.get(value)?.promise : void 0;
23206
+ const replayMetadata = trustedRunReplay && replayPromise !== void 0 && promiseStates.get(replayPromise)?.status === "pending" && unrepresentedPromiseContinuations.has(replayPromise);
23205
23207
  if (isSandboxDataView(value)) guestEntries.push(dataViewBuffer(value));
23206
23208
  if (isNumericTypedArray(value)) guestEntries.push(typedArrayStorage(value).buffer);
23207
23209
  const guest = isSandboxDataView(value) ? { kind: "dataview", state: captureDataViewState(value, (entry) => {
@@ -23213,7 +23215,7 @@ function collectContainerStats(value, stats, ancestors, guestValues, trustedRunR
23213
23215
  }) } : isSandboxArrayBuffer(value) ? { kind: "arraybuffer", state: captureArrayBufferState(value, (entry) => {
23214
23216
  guestEntries.push(entry);
23215
23217
  return null;
23216
- }) } : trustedRunReplay && isSandboxPromise(value) && unrepresentedPromiseContinuations.has(value) ? void 0 : captureGuestHeapNode(value, (entry) => {
23218
+ }) } : replayMetadata ? void 0 : captureGuestHeapNode(value, (entry) => {
23217
23219
  guestEntries.push(entry);
23218
23220
  return null;
23219
23221
  });
@@ -45215,4 +45217,4 @@ export {
45215
45217
  FileSnapshotBackend,
45216
45218
  run
45217
45219
  };
45218
- //# sourceMappingURL=chunk-L4AQGNFP.js.map
45220
+ //# sourceMappingURL=chunk-L5I53V56.js.map