fix: assorted fixes across container-runtime, core, and sdk

- Fix parseInt callback in container-runtime to avoid extra map arguments
- Use proper error propagation in list_service_interfaces instead of unwrap_or_default
- Handle non-plain objects by reference in deepEqual
This commit is contained in:
Aiden McClelland
2026-03-27 15:58:52 -06:00
parent 879f953a9f
commit d6b81f3c9b
3 changed files with 19 additions and 7 deletions

View File

@@ -494,7 +494,7 @@ export class SystemForEmbassy implements System {
const host = new MultiHost({ effects, id })
const internalPorts = new Set(
Object.values(interfaceValue["tor-config"]?.["port-mapping"] ?? {})
.map(Number.parseInt)
.map((v) => parseInt(v))
.concat(
...Object.values(interfaceValue["lan-config"] ?? {}).map(
(c) => c.internal,