@poe-platform/safe-js 0.1.327 → 0.1.328

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.
@@ -21338,6 +21338,8 @@ function decodeArrayBufferStorage(value, resolve, budget) {
21338
21338
  value.bytes.length,
21339
21339
  Object.hasOwn(value, "maxByteLength") ? { maxByteLength: value.maxByteLength } : void 0
21340
21340
  ]);
21341
+ if (Object.hasOwn(value, "maxByteLength") && arrayBufferOptions(buffer)?.maxByteLength !== value.maxByteLength)
21342
+ throw new TypeError("Resizable ArrayBuffer restoration is not supported by this host.");
21341
21343
  new Uint8Array(buffer).set(value.bytes);
21342
21344
  return buffer;
21343
21345
  }
@@ -42425,4 +42427,4 @@ export {
42425
42427
  FileSnapshotBackend,
42426
42428
  run
42427
42429
  };
42428
- //# sourceMappingURL=chunk-5PY5K56B.js.map
42430
+ //# sourceMappingURL=chunk-HBA2USYL.js.map