@poe-platform/safe-js 0.1.209 → 0.1.211
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/safe-js/chunks/{chunk-26O7OBXJ.js → chunk-BGKGK6BB.js} +2 -2
- package/dist/safe-js/chunks/{chunk-NP6FU3M7.js → chunk-EIW7KQCL.js} +7 -5
- package/dist/safe-js/chunks/{chunk-NP6FU3M7.js.map → chunk-EIW7KQCL.js.map} +2 -2
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +1 -1
- package/dist/safe-js/index.js +2 -2
- package/package.json +2 -2
- /package/dist/safe-js/chunks/{chunk-26O7OBXJ.js.map → chunk-BGKGK6BB.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EIW7KQCL.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-
|
|
8252
|
+
//# sourceMappingURL=chunk-BGKGK6BB.js.map
|
|
@@ -34881,6 +34881,7 @@ function createConsoleJsonGlobals(options) {
|
|
|
34881
34881
|
console: options.hostCalls === void 0 ? {
|
|
34882
34882
|
error: createSandboxClosure({
|
|
34883
34883
|
sandbox: true,
|
|
34884
|
+
properties: {},
|
|
34884
34885
|
call: async (args, context) => {
|
|
34885
34886
|
const operation = options.budget.acquireCompileOwner(
|
|
34886
34887
|
false,
|
|
@@ -34899,6 +34900,7 @@ function createConsoleJsonGlobals(options) {
|
|
|
34899
34900
|
}),
|
|
34900
34901
|
log: createSandboxClosure({
|
|
34901
34902
|
sandbox: true,
|
|
34903
|
+
properties: {},
|
|
34902
34904
|
call: async (args, context) => {
|
|
34903
34905
|
const operation = options.budget.acquireCompileOwner(
|
|
34904
34906
|
false,
|
|
@@ -34960,10 +34962,10 @@ async function stringifyJson(value, replacer, indent, budget, context) {
|
|
|
34960
34962
|
seen.add(key);
|
|
34961
34963
|
}
|
|
34962
34964
|
}
|
|
34963
|
-
if (indent
|
|
34964
|
-
|
|
34965
|
-
|
|
34966
|
-
);
|
|
34965
|
+
if (isSandboxBox(indent)) {
|
|
34966
|
+
const primitive = boxedValue(indent);
|
|
34967
|
+
if (typeof primitive === "number") indent = await sandboxNumber(indent, budget, context);
|
|
34968
|
+
else if (typeof primitive === "string") indent = await sandboxString(indent, budget, context);
|
|
34967
34969
|
}
|
|
34968
34970
|
const holder = {};
|
|
34969
34971
|
defineDataProperty2(holder, "", value);
|
|
@@ -37929,4 +37931,4 @@ export {
|
|
|
37929
37931
|
FileSnapshotBackend,
|
|
37930
37932
|
run
|
|
37931
37933
|
};
|
|
37932
|
-
//# sourceMappingURL=chunk-
|
|
37934
|
+
//# sourceMappingURL=chunk-EIW7KQCL.js.map
|