@void/platform 0.20.2 → 0.20.3
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/index.d.mts +2 -2
- package/dist/index.mjs +3 -2
- package/dist/installer.d.mts +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/runtime/api/README.md +1 -1
- package/dist/runtime/api/index.js +1146 -371
- package/dist/runtime/api/index.js.map +4 -4
- package/dist/runtime/dispatch/README.md +1 -1
- package/dist/runtime/dispatch/index.js +9 -5
- package/dist/runtime/dispatch/index.js.map +2 -2
- package/dist/runtime/emailGateway/README.md +1 -1
- package/dist/runtime/manifest.json +9 -9
- package/dist/runtime/proxy/README.md +1 -1
- package/dist/runtime/proxy/index.js +23 -4
- package/dist/runtime/proxy/index.js.map +2 -2
- package/dist/runtime/tail/README.md +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -297,7 +297,7 @@ type PlatformInstallationManifest = Readonly<{
|
|
|
297
297
|
resources: ReadonlyArray<InstallationResource>;
|
|
298
298
|
runtime: PlatformRuntimeProvenance | null;
|
|
299
299
|
safetyProtocols: Readonly<{
|
|
300
|
-
sandboxDrain: 0 | 1 | 2;
|
|
300
|
+
sandboxDrain: 0 | 1 | 2 | 3;
|
|
301
301
|
}>;
|
|
302
302
|
schemaVersion: typeof PLATFORM_INSTALLATION_SCHEMA_VERSION;
|
|
303
303
|
status: InstallationStatus;
|
|
@@ -337,7 +337,7 @@ export declare function createPlatformInstallationManifest(input: {
|
|
|
337
337
|
ownershipNonce: string;
|
|
338
338
|
platformVersion: string;
|
|
339
339
|
safetyProtocols?: Readonly<{
|
|
340
|
-
sandboxDrain: 0 | 1 | 2;
|
|
340
|
+
sandboxDrain: 0 | 1 | 2 | 3;
|
|
341
341
|
}>;
|
|
342
342
|
usageProtocolVersion?: 0 | 1 | 2;
|
|
343
343
|
}): PlatformInstallationManifest;
|
package/dist/index.mjs
CHANGED
|
@@ -758,7 +758,7 @@ function parseUsageProtocolVersion$1(value) {
|
|
|
758
758
|
function parseSafetyProtocols(value) {
|
|
759
759
|
if (value === void 0) return { sandboxDrain: 0 };
|
|
760
760
|
assertRecord(value, "safetyProtocols");
|
|
761
|
-
if (value.sandboxDrain !== 0 && value.sandboxDrain !== 1 && value.sandboxDrain !== 2) throw new Error("safetyProtocols.sandboxDrain must be 0, 1, or
|
|
761
|
+
if (value.sandboxDrain !== 0 && value.sandboxDrain !== 1 && value.sandboxDrain !== 2 && value.sandboxDrain !== 3) throw new Error("safetyProtocols.sandboxDrain must be 0, 1, 2, or 3.");
|
|
762
762
|
return { sandboxDrain: value.sandboxDrain };
|
|
763
763
|
}
|
|
764
764
|
function parsePlatformRuntimeProvenance(value) {
|
|
@@ -1098,7 +1098,8 @@ function createPlatformWorkerConfigs(input) {
|
|
|
1098
1098
|
SITE_DOMAIN: deployment.application.baseDomain,
|
|
1099
1099
|
...deployment.application.workersDev ? { PLATFORM_APPLICATION: JSON.stringify(deployment.application) } : {},
|
|
1100
1100
|
TAIL_SERVICE_NAME: names.tailWorker,
|
|
1101
|
-
VOID_PROXY_SERVICE: names.proxyWorker
|
|
1101
|
+
VOID_PROXY_SERVICE: names.proxyWorker,
|
|
1102
|
+
SANDBOX_CONTROL_SERVICE: names.apiWorker
|
|
1102
1103
|
}
|
|
1103
1104
|
};
|
|
1104
1105
|
if (publicEndpoints && deployment.controlPlane.apiHostname) api.routes = [{
|
package/dist/installer.d.mts
CHANGED
|
@@ -30,7 +30,7 @@ export type PlatformRuntimeManifest = Readonly<{
|
|
|
30
30
|
database: PlatformRuntimeDatabaseManifest;
|
|
31
31
|
platformVersion: string;
|
|
32
32
|
safetyProtocols: Readonly<{
|
|
33
|
-
sandboxDrain: 0 | 1 | 2;
|
|
33
|
+
sandboxDrain: 0 | 1 | 2 | 3;
|
|
34
34
|
}>;
|
|
35
35
|
schemaVersion: 2;
|
|
36
36
|
sourceRevision: string | null;
|
package/dist/installer.mjs
CHANGED
|
@@ -86,7 +86,7 @@ function parsePlatformRuntimeManifest(value) {
|
|
|
86
86
|
function parseSafetyProtocols(value) {
|
|
87
87
|
if (value === void 0) return { sandboxDrain: 0 };
|
|
88
88
|
const protocols = record(value, "runtime manifest safetyProtocols");
|
|
89
|
-
if (protocols.sandboxDrain !== 0 && protocols.sandboxDrain !== 1 && protocols.sandboxDrain !== 2) throw new Error("runtime manifest safetyProtocols.sandboxDrain must be 0, 1, or
|
|
89
|
+
if (protocols.sandboxDrain !== 0 && protocols.sandboxDrain !== 1 && protocols.sandboxDrain !== 2 && protocols.sandboxDrain !== 3) throw new Error("runtime manifest safetyProtocols.sandboxDrain must be 0, 1, 2, or 3");
|
|
90
90
|
return { sandboxDrain: protocols.sandboxDrain };
|
|
91
91
|
}
|
|
92
92
|
function usageProtocolVersion(value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
This folder contains the built output assets for the worker "void-runtime-build-api" generated at 2026-09-
|
|
1
|
+
This folder contains the built output assets for the worker "void-runtime-build-api" generated at 2026-09-24T06:17:05.394Z.
|