@volter/world-runtime 3.0.64 → 3.0.66
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/src/runtime.js +1 -1
- package/package.json +4 -4
- package/src/runtime.ts +1 -1
package/dist/src/runtime.js
CHANGED
|
@@ -602,7 +602,7 @@ function networkOf(name, own, recorded, parentEnv = process.env) {
|
|
|
602
602
|
}
|
|
603
603
|
/** Strip the publication envelope before combining permissions (the config shape admits only these keys). */
|
|
604
604
|
function networkPermission(policy) {
|
|
605
|
-
return { egress: policy.egress, phase: policy.phase, passthrough: policy.passthrough };
|
|
605
|
+
return { egress: policy.egress, phase: policy.phase, passthrough: policy.passthrough, ...(policy.ownLoopback === false ? { ownLoopback: false } : {}) };
|
|
606
606
|
}
|
|
607
607
|
/** The boot permission, never a fallback to a mutable config. */
|
|
608
608
|
export function recordedWorldNetwork(instance) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/world-runtime",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.66",
|
|
4
4
|
"description": "World configs for twins: boot named local runtimes, allocate ports, generate world.env/instance.json, and run apps against fake-key twin worlds.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twin",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"node": ">=22.3"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@volter/world-core": "3.0.
|
|
73
|
-
"@volter/world-console": "3.0.
|
|
72
|
+
"@volter/world-core": "3.0.66",
|
|
73
|
+
"@volter/world-console": "3.0.61"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@electric-sql/pglite": "0.5.8",
|
|
77
77
|
"@electric-sql/pglite-pgvector": "0.0.9",
|
|
78
78
|
"@volter/world-access": "3.0.1",
|
|
79
|
-
"@volter/world-core": "3.0.
|
|
79
|
+
"@volter/world-core": "3.0.66",
|
|
80
80
|
"mongodb": "~6.20.0",
|
|
81
81
|
"pg-gateway": "0.3.0-beta.4",
|
|
82
82
|
"smol-toml": "^1.8.0",
|
package/src/runtime.ts
CHANGED
|
@@ -643,7 +643,7 @@ function networkOf(name: string, own: WorldNetwork | undefined, recorded: WorldN
|
|
|
643
643
|
|
|
644
644
|
/** Strip the publication envelope before combining permissions (the config shape admits only these keys). */
|
|
645
645
|
function networkPermission(policy: WorldNetwork): WorldNetwork {
|
|
646
|
-
return { egress: policy.egress, phase: policy.phase, passthrough: policy.passthrough };
|
|
646
|
+
return { egress: policy.egress, phase: policy.phase, passthrough: policy.passthrough, ...(policy.ownLoopback === false ? { ownLoopback: false } : {}) };
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
/** The boot permission, never a fallback to a mutable config. */
|