@void/deploy-core 0.20.1 → 0.20.2

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 CHANGED
@@ -286,6 +286,8 @@ export type LiveManifestMeta = {
286
286
  export type DeployManifest = {
287
287
  version: number;
288
288
  assetManifestVersion?: 1 | 2;
289
+ /** Authenticated framed HTTP delivery for managed inbound email. */
290
+ emailProtocolVersion?: 1;
289
291
  auth?: boolean;
290
292
  bindings: {
291
293
  d1?: Array<string>;
package/dist/index.mjs CHANGED
@@ -38,6 +38,7 @@ function validateRuleHost(ruleObject, ruleKind, sourceRef) {
38
38
  function validateManifestShape(parsed) {
39
39
  if (parsed == null || typeof parsed !== "object" || Array.isArray(parsed)) return "invalid manifest shape: expected a JSON object";
40
40
  const manifest = parsed;
41
+ if (manifest.emailProtocolVersion !== void 0 && manifest.emailProtocolVersion !== 1) return "invalid manifest shape: emailProtocolVersion must be 1";
41
42
  if (manifest.bindings == null || typeof manifest.bindings !== "object" || Array.isArray(manifest.bindings)) return "invalid manifest shape: bindings must be an object";
42
43
  const bindings = manifest.bindings;
43
44
  for (const key of [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@void/deploy-core",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/voidzero-dev/void.git",