@pithy-sh/email 0.1.3 → 0.1.5

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.
Files changed (118) hide show
  1. package/dist/analytics.d.ts +2 -0
  2. package/dist/analytics.js +2 -0
  3. package/dist/audit/actions.d.ts +2 -0
  4. package/dist/audit/actions.js +2 -0
  5. package/dist/bounce/classify.d.ts +2 -0
  6. package/dist/bounce/classify.js +2 -0
  7. package/dist/bounce/handler.d.ts +2 -0
  8. package/dist/bounce/handler.js +2 -0
  9. package/dist/capability.d.ts +2 -0
  10. package/dist/capability.js +2 -0
  11. package/dist/crypto/signingKey.d.ts +2 -0
  12. package/dist/crypto/signingKey.js +2 -0
  13. package/dist/crypto/token.d.ts +2 -0
  14. package/dist/crypto/token.js +2 -0
  15. package/dist/data/emailEvent.d.ts +2 -0
  16. package/dist/data/emailEvent.js +2 -0
  17. package/dist/data/emailJob.d.ts +2 -0
  18. package/dist/data/emailJob.js +2 -0
  19. package/dist/data/emailSuppression.d.ts +2 -0
  20. package/dist/data/emailSuppression.js +2 -0
  21. package/dist/data/enums.d.ts +2 -0
  22. package/dist/data/enums.js +2 -0
  23. package/dist/data/tables.d.ts +2 -0
  24. package/dist/data/tables.js +2 -0
  25. package/dist/error/errors.d.ts +2 -0
  26. package/dist/error/errors.js +2 -0
  27. package/dist/http/callbacks.d.ts +2 -0
  28. package/dist/http/callbacks.js +2 -0
  29. package/dist/http/guards.d.ts +2 -0
  30. package/dist/http/guards.js +2 -0
  31. package/dist/http/responses.d.ts +2 -0
  32. package/dist/http/responses.js +2 -0
  33. package/dist/http/routes.d.ts +2 -0
  34. package/dist/http/routes.js +2 -0
  35. package/dist/http/schemas.d.ts +2 -0
  36. package/dist/http/schemas.js +2 -0
  37. package/dist/http/view.d.ts +2 -0
  38. package/dist/http/view.js +2 -0
  39. package/dist/index.d.ts +2 -0
  40. package/dist/index.js +2 -0
  41. package/dist/jobs/read.d.ts +2 -0
  42. package/dist/jobs/read.js +2 -0
  43. package/dist/jobs/retry.d.ts +2 -0
  44. package/dist/jobs/retry.js +2 -0
  45. package/dist/migrations/0001_init.d.ts +2 -0
  46. package/dist/migrations/0001_init.js +2 -0
  47. package/dist/migrations/0001_suppressions.d.ts +2 -0
  48. package/dist/migrations/0001_suppressions.js +2 -0
  49. package/dist/provision/devDelivery.d.ts +2 -0
  50. package/dist/provision/devDelivery.js +2 -0
  51. package/dist/provision/hostCatalogs.d.ts +2 -0
  52. package/dist/provision/hostCatalogs.js +2 -0
  53. package/dist/provision/provisionEmail.d.ts +2 -0
  54. package/dist/provision/provisionEmail.js +2 -0
  55. package/dist/provision/resolveEmailConfig.d.ts +2 -0
  56. package/dist/provision/resolveEmailConfig.js +2 -0
  57. package/dist/provision/settingsCheck.d.ts +2 -0
  58. package/dist/provision/settingsCheck.js +2 -0
  59. package/dist/send/batchIdentity.d.ts +2 -0
  60. package/dist/send/batchIdentity.js +2 -0
  61. package/dist/send/enqueue.d.ts +2 -0
  62. package/dist/send/enqueue.js +2 -0
  63. package/dist/send/errorMapping.d.ts +2 -0
  64. package/dist/send/errorMapping.js +2 -0
  65. package/dist/send/events.d.ts +2 -0
  66. package/dist/send/events.js +2 -0
  67. package/dist/send/fromComposition.d.ts +2 -0
  68. package/dist/send/fromComposition.js +2 -0
  69. package/dist/send/retryPolicy.d.ts +2 -0
  70. package/dist/send/retryPolicy.js +2 -0
  71. package/dist/send/runSend.d.ts +2 -0
  72. package/dist/send/runSend.js +2 -0
  73. package/dist/send/sendAt.d.ts +2 -0
  74. package/dist/send/sendAt.js +2 -0
  75. package/dist/send/sender.d.ts +2 -0
  76. package/dist/send/sender.js +2 -0
  77. package/dist/send/senderBinding.d.ts +2 -0
  78. package/dist/send/senderBinding.js +2 -0
  79. package/dist/send/suppression.d.ts +2 -0
  80. package/dist/send/suppression.js +2 -0
  81. package/dist/templates/engine.d.ts +2 -0
  82. package/dist/templates/engine.js +2 -0
  83. package/dist/templates/messages.d.ts +2 -0
  84. package/dist/templates/messages.es.d.ts +2 -0
  85. package/dist/templates/messages.es.js +2 -0
  86. package/dist/templates/messages.js +2 -0
  87. package/dist/templates/partials.d.ts +2 -0
  88. package/dist/templates/partials.js +2 -0
  89. package/dist/templates/precompiled.generated.d.ts +2 -0
  90. package/dist/templates/precompiled.generated.js +2 -0
  91. package/dist/templates/registry.d.ts +2 -0
  92. package/dist/templates/registry.js +2 -0
  93. package/dist/templates/samples.d.ts +2 -0
  94. package/dist/templates/samples.js +2 -0
  95. package/dist/templates/severity.d.ts +2 -0
  96. package/dist/templates/severity.js +2 -0
  97. package/dist/templates/theme.d.ts +2 -0
  98. package/dist/templates/theme.js +2 -0
  99. package/dist/version.generated.d.ts +3 -1
  100. package/dist/version.generated.js +3 -1
  101. package/dist/workflows/hostApp.d.ts +2 -0
  102. package/dist/workflows/hostApp.js +2 -0
  103. package/dist/workflows/hostEnv.d.ts +2 -0
  104. package/dist/workflows/hostEnv.js +2 -0
  105. package/dist/workflows/instanceLiveness.d.ts +2 -0
  106. package/dist/workflows/instanceLiveness.js +2 -0
  107. package/dist/workflows/instances.d.ts +2 -0
  108. package/dist/workflows/instances.js +2 -0
  109. package/dist/workflows/params.d.ts +2 -0
  110. package/dist/workflows/params.js +2 -0
  111. package/dist/workflows/scheduler.d.ts +2 -0
  112. package/dist/workflows/scheduler.js +2 -0
  113. package/dist/workflows/sendBatch.d.ts +2 -0
  114. package/dist/workflows/sendBatch.js +2 -0
  115. package/dist/workflows/worker.d.ts +2 -0
  116. package/dist/workflows/worker.js +2 -0
  117. package/package.json +4 -4
  118. package/src/version.generated.ts +1 -1
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailEventType } from "./data/enums";
2
4
  import type { EmailDatabase } from "./data/tables";
3
5
  /**
package/dist/analytics.js CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailEventType } from "./data/enums.js";
2
4
  //#region src/analytics.ts
3
5
  /** Every event type at zero — derived from the enum so a new `EmailEventType` can't be forgotten here. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * The audit actions this capability emits, through the core `emit()` seam.
3
5
  *
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/audit/actions.ts
2
4
  /**
3
5
  * The audit actions this capability emits, through the core `emit()` seam.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { BounceType } from "../data/enums";
2
4
  /**
3
5
  * Classify an inbound message as a bounce, complaint, auto-reply, or something to ignore. With the
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/bounce/classify.ts
2
4
  /** Read a header-style field (`Name: value`) from a block of text, case-insensitively. */
3
5
  function field(text, name) {
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { CapabilityEmailHandler } from "@pithy-sh/core/src/capability/capability";
2
4
  import { type EmailDatabase, type EmailSuppressionDatabase } from "../data/tables";
3
5
  import { type InboundClassification } from "./classify";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailDatabase, emailSuppressionDatabase } from "../data/tables.js";
2
4
  import { recordEvent } from "../send/events.js";
3
5
  import { suppress } from "../send/suppression.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { D1Database } from "@cloudflare/workers-types";
2
4
  import { type Capability } from "@pithy-sh/core/src/capability/capability";
3
5
  import type { LocaleCatalogs } from "@pithy-sh/core/src/i18n/catalog";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailDatabase, emailSuppressionDatabase, emailSuppressionTables, emailTables } from "./data/tables.js";
2
4
  import { createBounceHandler } from "./bounce/handler.js";
3
5
  import { emailSigningRegistry } from "./crypto/signingKey.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { SecretsStoreEnv } from "@pithy-sh/secrets/src/env/bindings";
2
4
  import type { VersionedSecret } from "@pithy-sh/secrets/src/secretsStore";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { defineSecretRegistry } from "@pithy-sh/secrets/src/registry";
2
4
  import { sharedSecretsStore } from "@pithy-sh/secrets/src/sharedSecretsStore";
3
5
  //#region src/crypto/signingKey.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  export declare const TokenKind: z.ZodEnum<{
3
5
  click: "click";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailInvalidTokenError } from "../error/errors.js";
2
4
  import { z } from "zod";
3
5
  //#region src/crypto/token.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * One row in `pithy_email_events` — a per-recipient event for history and campaign attribution. The
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailEventType } from "./enums.js";
2
4
  import { z } from "zod";
3
5
  import { SQLiteDate } from "@pithy-sh/core/src/data/codecs";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * The template input variables, stored as a JSON column. The per-template Zod payload schema
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJobStatus, SendMode, TemplateCategory } from "./enums.js";
2
4
  import { z } from "zod";
3
5
  import { SQLiteBoolean, SQLiteDate, sqliteJson } from "@pithy-sh/core/src/data/codecs";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * One row in `pithy_email_suppressions` — an address that must not be sent to, fed by hard bounces,
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { SuppressionReason } from "./enums.js";
2
4
  import { z } from "zod";
3
5
  import { SQLiteDate } from "@pithy-sh/core/src/data/codecs";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * The closed enums of the email capability. Each is the documented vocabulary for one column, shared
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  //#region src/data/enums.ts
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { D1Database } from "@cloudflare/workers-types";
2
4
  import { type DatabaseSchema } from "@pithy-sh/core/src/data/db";
3
5
  import type { Kysely } from "kysely";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailEvent } from "./emailEvent.js";
2
4
  import { EmailJob } from "./emailJob.js";
3
5
  import { EmailSuppression } from "./emailSuppression.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { PithyError } from "@pithy-sh/core/src/error/pithyError";
2
4
  import type { MessageParams } from "@pithy-sh/core/src/i18n/catalog";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { PithyError } from "@pithy-sh/core/src/error/pithyError";
2
4
  //#region src/error/errors.ts
3
5
  /** The requested template id is not registered. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { PithyHonoEnv } from "@pithy-sh/core/src/capability/capability";
2
4
  import type { Hono } from "hono";
3
5
  import { type EmailDatabase, type EmailSuppressionDatabase } from "../data/tables";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailDatabase, emailSuppressionDatabase } from "../data/tables.js";
2
4
  import { recordEvent } from "../send/events.js";
3
5
  import { suppress } from "../send/suppression.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { AdminRoute } from "@pithy-sh/core/src/controlPlane/discovery/adminRoute";
2
4
  import type { ControlPlaneScope } from "@pithy-sh/core/src/controlPlane/scope/scope";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/http/guards.ts
2
4
  /**
3
5
  * Email's control-plane scopes, and the admin surface a manifest advertises.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /** One job as the list shows it: enough to scan, not enough to harvest. */
3
5
  export declare const EmailJobListItem: z.ZodObject<{
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJobStatus, SendMode, SuppressionReason, TemplateCategory } from "../data/enums.js";
2
4
  import { z } from "zod";
3
5
  //#region src/http/responses.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { PithyHonoEnv } from "@pithy-sh/core/src/capability/capability";
2
4
  import type { ControlPlaneScope } from "@pithy-sh/core/src/controlPlane/scope/scope";
3
5
  import type { VerificationStrategy } from "@pithy-sh/core/src/http/verification";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailDatabase, emailSuppressionDatabase } from "../data/tables.js";
2
4
  import { listSuppressions, suppress, unsuppress } from "../send/suppression.js";
3
5
  import { JobIdParam, JobsQuery, SuppressRequest, SuppressionsQuery, UnsuppressRequest } from "./schemas.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * The `:token` path parameter every callback route carries. A shape and size bound only — the ceiling
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJobStatus, SuppressionReason } from "../data/enums.js";
2
4
  import { z } from "zod";
3
5
  import { MAX_PAGE_SIZE } from "@pithy-sh/core/src/data/cursor";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailJob } from "../data/emailJob";
2
4
  import type { EmailSuppression } from "../data/emailSuppression";
3
5
  import type { EmailJobDetail, EmailJobListItem, EmailSuppressionView } from "./responses";
package/dist/http/view.js CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/http/view.ts
2
4
  /**
3
5
  * What a management client is allowed to see. Nothing in this package ever returns a raw row.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * The package entrypoint — the surface `pithy add email` wires into `pithy.config.ts`. Deliberately
3
5
  * narrow: the capability factory plus the enqueue API and the types an app needs to send mail. Every
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { campaignStats } from "./analytics.js";
2
4
  import { blockingSuppression, listSuppressions, suppress, suppressionBlocks, unsuppress } from "./send/suppression.js";
3
5
  import { NoticeSeverity } from "./templates/severity.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { z } from "zod";
2
4
  import { EmailJob } from "../data/emailJob";
3
5
  import type { EmailJobStatus } from "../data/enums";
package/dist/jobs/read.js CHANGED
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJob } from "../data/emailJob.js";
2
4
  import { InternalError } from "@pithy-sh/core/src/error/pithyError";
3
5
  import { normalizeAddress } from "@pithy-sh/core/src/address/address";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailJob } from "../data/emailJob";
2
4
  import type { EmailDatabase, EmailSuppressionDatabase } from "../data/tables";
3
5
  import type { SendWorkflowBinding } from "../send/enqueue";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { blockingSuppression } from "../send/suppression.js";
2
4
  import { EmailSuppressedError } from "../error/errors.js";
3
5
  import { templateKind } from "../templates/engine.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { Migration } from "kysely/migration";
2
4
  /**
3
5
  * Create the per-environment email tables in the app database: `pithy_email_jobs` and
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/migrations/0001_init.ts
2
4
  /**
3
5
  * Create the per-environment email tables in the app database: `pithy_email_jobs` and
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { Migration } from "kysely/migration";
2
4
  /**
3
5
  * Create the global suppression table in the dedicated, durable `EMAIL_SUPPRESSIONS` database —
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/migrations/0001_suppressions.ts
2
4
  /**
3
5
  * Create the global suppression table in the dedicated, durable `EMAIL_SUPPRESSIONS` database —
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * How mail leaves the email host worker when that worker is running on a developer's machine.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  //#region src/provision/devDelivery.ts
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { LocaleCatalogs } from "@pithy-sh/core/src/i18n/catalog";
2
4
  import { type EmailMessageLayers } from "../templates/messages";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EMAIL_MESSAGES } from "../templates/messages.js";
2
4
  import { KitErrorPayload } from "@pithy-sh/core/src/error/payload";
3
5
  //#region src/provision/hostCatalogs.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { DeclaredEnvironments } from "@pithy-sh/core/src/naming/environment";
2
4
  import { type ManagedEnvironment } from "@pithy-sh/secrets/src/scope";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { GLOBAL_SCOPE } from "@pithy-sh/core/src/naming/environment";
2
4
  import { resourceName } from "@pithy-sh/core/src/naming/resource";
3
5
  import { resourceNames } from "@pithy-sh/core/src/naming/resourceNames";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { LocaleCatalogs } from "@pithy-sh/core/src/i18n/catalog";
2
4
  import type { HostD1Binding, HostSecretsStoreBinding, HostSendEmailBinding, HostWorkflowBinding, WorkflowHostTemplate } from "@pithy-sh/core/src/workflow/host";
3
5
  import type { WorkflowRegistry } from "@pithy-sh/core/src/workflow/spec";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailCatalogVarName } from "../templates/messages.js";
2
4
  import { emailRemoteBindings } from "./devDelivery.js";
3
5
  import { EMAIL_CAPABILITY, suppressionDatabaseName } from "./provisionEmail.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { CapabilitySettings } from "@pithy-sh/core/src/capability/settings";
2
4
  import type { EmailTheme } from "../templates/theme";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EMAIL_LINK_SIGNING_KEY } from "../crypto/signingKey.js";
2
4
  import { emailHostEnv } from "../workflows/hostEnv.js";
3
5
  import { suppressionDatabaseName } from "./provisionEmail.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * Batch identity — the one rule every dispatcher of a send Workflow keeps (pithy-sh/pithy#342).
3
5
  *
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/send/batchIdentity.ts
2
4
  /**
3
5
  * Batch identity — the one rule every dispatcher of a send Workflow keeps (pithy-sh/pithy#342).
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailJobStatus, SendMode, SuppressionReason } from "../data/enums";
2
4
  import type { EmailDatabase, EmailSuppressionDatabase } from "../data/tables";
3
5
  import { type EmailMessageLayers } from "../templates/messages";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJob } from "../data/emailJob.js";
2
4
  import { recordEvent } from "./events.js";
3
5
  import { blockingSuppression } from "./suppression.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { PithyError } from "@pithy-sh/core/src/error/pithyError";
2
4
  /**
3
5
  * Map a Cloudflare Email Service binding error (thrown with an `E_*` `.code`) to a Pithy error and a
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailRateLimitedError, EmailSendFailedError, EmailSuppressedError } from "../error/errors.js";
2
4
  //#region src/send/errorMapping.ts
3
5
  /** Codes the Email Service retries past — rate, daily quota, and transient delivery/server faults. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailEventType } from "../data/enums";
2
4
  import type { EmailDatabase } from "../data/tables";
3
5
  /** A per-recipient event to append to `pithy_email_events`. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { SQLiteDate } from "@pithy-sh/core/src/data/codecs";
2
4
  //#region src/send/events.ts
3
5
  /** Append one event row. The history/attribution log written by the send path, callbacks, and bounce handler. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { type EmailCapability, type EmailEnqueueEnv } from "../capability";
2
4
  import type { EnqueueInput, EnqueueResult } from "./enqueue";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { isEmailCapability } from "../capability.js";
2
4
  import { composedCapability } from "@pithy-sh/core/src/capability/composition";
3
5
  //#region src/send/fromComposition.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { WorkflowRetryPolicy } from "@pithy-sh/core/src/workflow/faults";
2
4
  /**
3
5
  * **What a send retries, and what it refuses to.**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/send/retryPolicy.ts
2
4
  /**
3
5
  * **What a send retries, and what it refuses to.**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailJobStatus, SuppressionReason } from "../data/enums";
2
4
  import type { EmailDatabase, EmailSuppressionDatabase } from "../data/tables";
3
5
  import { type EmailMessageLayers } from "../templates/messages";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailJob, SPENT_PAYLOAD } from "../data/emailJob.js";
2
4
  import { recordEvent } from "./events.js";
3
5
  import { blockingSuppression, suppress } from "./suppression.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * The next absolute instant when the wall clock reads `hour:minute` in `timezone`, at or after `now`.
3
5
  * Computes the candidate for the zone-local date of `now`, advancing a day if it has already passed.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailInvalidPayloadError } from "../error/errors.js";
2
4
  import { normalizeIanaTimezone } from "@pithy-sh/core/src/data/codecs";
3
5
  //#region src/send/sendAt.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * The minimal shape of the Cloudflare Email Service `send_email` binding this capability depends on.
3
5
  * We type only what we use, structurally — the real binding (`env.EMAIL`) satisfies it, and tests
@@ -0,0 +1,2 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { SendWorkflowBinding } from "./enqueue";
2
4
  /**
3
5
  * Where the send Workflow comes from — one answer, for the two call sites that need it.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { resolveWorkflowBinding } from "@pithy-sh/core/src/workflow/dispatch";
2
4
  //#region src/send/senderBinding.ts
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailSuppression } from "../data/emailSuppression";
2
4
  import { type EmailKind, SuppressionReason } from "../data/enums";
3
5
  import type { EmailSuppressionDatabase } from "../data/tables";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { SuppressionReason } from "../data/enums.js";
2
4
  import { EmailSuppression } from "../data/emailSuppression.js";
3
5
  import { normalizeAddress } from "@pithy-sh/core/src/address/address";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { Translator } from "@pithy-sh/core/src/i18n/translator";
2
4
  import type { EmailKind } from "../data/enums";
3
5
  import { type EmailTemplate } from "./registry";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailInvalidPayloadError, EmailTemplateNotFoundError } from "../error/errors.js";
2
4
  import { mintToken } from "../crypto/token.js";
3
5
  import { emailTranslator, kitEmailLayers } from "./messages.js";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { type LocaleCatalogs, MessageCatalog } from "@pithy-sh/core/src/i18n/catalog";
2
4
  import { type Translator } from "@pithy-sh/core/src/i18n/translator";
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { MessageCatalog } from "@pithy-sh/core/src/i18n/catalog";
2
4
  /**
3
5
  * The kit-authored email copy, in Spanish.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/templates/messages.es.ts
2
4
  /**
3
5
  * The kit-authored email copy, in Spanish.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EMAIL_ES } from "./messages.es.js";
2
4
  import { parseLocale } from "@pithy-sh/core/src/i18n/locale";
3
5
  import { MessageCatalog } from "@pithy-sh/core/src/i18n/catalog";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /** Doctype, head (with the dark-mode style block), body open, the branded masthead, and the content cell. */
2
4
  export declare const emailHead: string;
3
5
  /** Closes the content cell, renders the footer (logo, links, address, optional unsubscribe), and the document. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { severityDarkModeCss } from "./severity.js";
2
4
  /** Doctype, head (with the dark-mode style block), body open, the branded masthead, and the content cell. */
3
5
  const emailHead = `<!DOCTYPE html>
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  export declare const precompiledPartials: {
2
4
  emailHead: {
3
5
  "0": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/templates/precompiled.generated.ts
2
4
  const precompiledPartials = {
3
5
  "emailHead": {
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  import type { EmailKind, TemplateCategory } from "../data/enums";
3
5
  import type { ContentWidth } from "./theme";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { NoticeSeverity } from "./severity.js";
2
4
  import { z } from "zod";
3
5
  //#region src/templates/registry.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * Placeholder payloads — one valid input per template — for previewing a rendered email without real
3
5
  * data. `pithy email test` uses these to send a sample of any template through a project's config so a
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/templates/samples.ts
2
4
  /**
3
5
  * Placeholder payloads — one valid input per template — for previewing a rendered email without real
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * How urgent an operational notice is, and how that urgency is said out loud.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  //#region src/templates/severity.ts
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * The theme injected into every template: "plug your colors in, point at your logo." Templates render
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  //#region src/templates/theme.ts
3
5
  /**
@@ -1,5 +1,7 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /** This package's npm name — the join key against a release feed. */
2
4
  export declare const PACKAGE_NAME = "@pithy-sh/email";
3
5
  /** This package's version, stamped from its own package.json at generation time. */
4
- export declare const PACKAGE_VERSION = "0.1.3";
6
+ export declare const PACKAGE_VERSION = "0.1.5";
5
7
  //# sourceMappingURL=version.generated.d.ts.map
@@ -1,7 +1,9 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/version.generated.ts
2
4
  /** This package's npm name — the join key against a release feed. */
3
5
  const PACKAGE_NAME = "@pithy-sh/email";
4
6
  /** This package's version, stamped from its own package.json at generation time. */
5
- const PACKAGE_VERSION = "0.1.3";
7
+ const PACKAGE_VERSION = "0.1.5";
6
8
  //#endregion
7
9
  export { PACKAGE_NAME, PACKAGE_VERSION };
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { PithyHonoEnv } from "@pithy-sh/core/src/capability/capability";
2
4
  import type { AmbientEnv } from "@pithy-sh/core/src/env/ambient";
3
5
  import { Hono } from "hono";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EMAIL_CAPABILITY } from "../provision/provisionEmail.js";
2
4
  import { emailWorkflowRegistry } from "../provision/resolveEmailConfig.js";
3
5
  import { pithyErrorHandler } from "@pithy-sh/core/src/error/http";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { D1Database } from "@cloudflare/workers-types";
2
4
  import type { SecretBinding } from "@pithy-sh/secrets/src/env/bindings";
3
5
  import { z } from "zod";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { EmailTheme, defaultTheme } from "../templates/theme.js";
2
4
  import { z } from "zod";
3
5
  import { defineHostEnv } from "@pithy-sh/core/src/workflow/hostEnv";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /** Does this instance status mean the batch is still coming? */
2
4
  export declare function isLiveInstanceStatus(status: string): boolean;
3
5
  //# sourceMappingURL=instanceLiveness.d.ts.map
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  //#region src/workflows/instanceLiveness.ts
2
4
  /**
3
5
  * What a Workflow instance's status means to the scheduler (pithy-sh/pithy#342).
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  /**
2
4
  * The half of the Workflows binding that answers about an instance already created.
3
5
  *
@@ -0,0 +1,2 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  /**
3
5
  * What each of email's two durable jobs is started with.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { z } from "zod";
2
4
  //#region src/workflows/params.ts
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import type { EmailDatabase } from "../data/tables";
2
4
  /**
3
5
  * The every-minute scheduler. It finds due rows — `scheduled`/`timezone` jobs whose `sendAt` has
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { ValidationError } from "@pithy-sh/core/src/error/pithyError";
2
4
  import { chunkByBoundParameters } from "@pithy-sh/core/src/data/boundParameters";
3
5
  //#region src/workflows/scheduler.ts
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { type SendDeps, type SendOutcome } from "../send/runSend";
2
4
  /**
3
5
  * The send batch — the body `EmailSendWorkflow.run` hands its step runner to.
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { runSend } from "../send/runSend.js";
2
4
  //#region src/workflows/sendBatch.ts
3
5
  /** Send one batch of jobs, one durable step each. */
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { WorkflowEntrypoint, type WorkflowEvent, type WorkflowStep } from "cloudflare:workers";
2
4
  import type { D1Database, ExecutionContext } from "@cloudflare/workers-types";
3
5
  import type { SecretsStoreEnv } from "@pithy-sh/secrets/src/env/bindings";
@@ -1,3 +1,5 @@
1
+ // SPDX-FileCopyrightText: 2026 Pithy
2
+ // SPDX-License-Identifier: MIT
1
3
  import { emailDatabase, emailSuppressionDatabase } from "../data/tables.js";
2
4
  import { emailSigningRegistry, resolveSigningKeys } from "../crypto/signingKey.js";
3
5
  import { catalogLayers, catalogsFromEnv } from "../templates/messages.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pithy-sh/email",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "scripts": {
28
28
  "precompile": "bun scripts/precompile.ts",
29
- "build": "bun run precompile && tsdown && tsc -p tsconfig.build.json",
29
+ "build": "bun run precompile && tsdown && tsc -p tsconfig.build.json && bun ../../tooling/build/src/stampDeclarations.ts",
30
30
  "typecheck": "tsc -p tsconfig.json",
31
31
  "test": "bun run precompile && vitest run",
32
32
  "test:node": "bun run precompile && vitest run --project=node",
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@cloudflare/workers-types": "^5.20260729.1",
40
40
  "@hono/zod-validator": "^0.9.0",
41
- "@pithy-sh/core": "^0.1.3",
42
- "@pithy-sh/secrets": "^0.1.3",
41
+ "@pithy-sh/core": "^0.2.0",
42
+ "@pithy-sh/secrets": "^0.1.5",
43
43
  "handlebars": "^4.7.9",
44
44
  "postal-mime": "^3.0.0"
45
45
  },
@@ -13,4 +13,4 @@
13
13
  export const PACKAGE_NAME = "@pithy-sh/email";
14
14
 
15
15
  /** This package's version, stamped from its own package.json at generation time. */
16
- export const PACKAGE_VERSION = "0.1.3";
16
+ export const PACKAGE_VERSION = "0.1.5";