@shware/workflow 4.1.1 → 5.0.1
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/README.md +16 -38
- package/dist/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/apns-relay.cjs +1 -2
- package/dist/apns-relay.d.cts +0 -2
- package/dist/apns-relay.d.cts.map +1 -1
- package/dist/apns-relay.d.mts +0 -2
- package/dist/apns-relay.d.mts.map +1 -1
- package/dist/apns-relay.mjs +1 -2
- package/dist/apns.cjs +1 -2
- package/dist/apns.d.cts +0 -2
- package/dist/apns.d.cts.map +1 -1
- package/dist/apns.d.mts +0 -2
- package/dist/apns.d.mts.map +1 -1
- package/dist/apns.mjs +1 -2
- package/dist/aws/engine-step.cjs +1 -2
- package/dist/aws/engine-step.d.cts +0 -2
- package/dist/aws/engine-step.d.cts.map +1 -1
- package/dist/aws/engine-step.d.mts +0 -2
- package/dist/aws/engine-step.d.mts.map +1 -1
- package/dist/aws/engine-step.mjs +1 -2
- package/dist/aws/function-url.cjs +1 -2
- package/dist/aws/function-url.d.cts +0 -2
- package/dist/aws/function-url.d.cts.map +1 -1
- package/dist/aws/function-url.d.mts +0 -2
- package/dist/aws/function-url.d.mts.map +1 -1
- package/dist/aws/function-url.mjs +1 -2
- package/dist/aws/index.cjs +3 -5
- package/dist/aws/index.cjs.map +1 -1
- package/dist/aws/index.d.cts +1 -3
- package/dist/aws/index.d.cts.map +1 -1
- package/dist/aws/index.d.mts +1 -3
- package/dist/aws/index.d.mts.map +1 -1
- package/dist/aws/index.mjs +3 -5
- package/dist/aws/index.mjs.map +1 -1
- package/dist/aws/instances.cjs +2 -3
- package/dist/aws/instances.cjs.map +1 -1
- package/dist/aws/instances.d.cts +1 -3
- package/dist/aws/instances.d.cts.map +1 -1
- package/dist/aws/instances.d.mts +1 -3
- package/dist/aws/instances.d.mts.map +1 -1
- package/dist/aws/instances.mjs +2 -3
- package/dist/aws/instances.mjs.map +1 -1
- package/dist/aws/lambda-api.cjs +1 -2
- package/dist/aws/lambda-api.d.cts +0 -2
- package/dist/aws/lambda-api.d.cts.map +1 -1
- package/dist/aws/lambda-api.d.mts +0 -2
- package/dist/aws/lambda-api.d.mts.map +1 -1
- package/dist/aws/lambda-api.mjs +1 -2
- package/dist/client.cjs +1 -2
- package/dist/client.d.cts +0 -2
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.mts +0 -2
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs +1 -2
- package/dist/cloudflare/bindings.cjs +1 -2
- package/dist/cloudflare/bindings.cjs.map +1 -1
- package/dist/cloudflare/bindings.d.cts +0 -21
- package/dist/cloudflare/bindings.d.cts.map +1 -1
- package/dist/cloudflare/bindings.d.mts +0 -21
- package/dist/cloudflare/bindings.d.mts.map +1 -1
- package/dist/cloudflare/bindings.mjs +1 -2
- package/dist/cloudflare/bindings.mjs.map +1 -1
- package/dist/cloudflare/index.cjs +0 -5
- package/dist/cloudflare/index.d.cts +4 -6
- package/dist/cloudflare/index.d.mts +4 -6
- package/dist/cloudflare/index.mjs +2 -4
- package/dist/cloudflare/runner.cjs +4 -6
- package/dist/cloudflare/runner.cjs.map +1 -1
- package/dist/cloudflare/runner.d.cts +3 -5
- package/dist/cloudflare/runner.d.cts.map +1 -1
- package/dist/cloudflare/runner.d.mts +3 -5
- package/dist/cloudflare/runner.d.mts.map +1 -1
- package/dist/cloudflare/runner.mjs +4 -6
- package/dist/cloudflare/runner.mjs.map +1 -1
- package/dist/cloudflare/worker.cjs +1 -2
- package/dist/cloudflare/worker.d.cts +0 -2
- package/dist/cloudflare/worker.d.cts.map +1 -1
- package/dist/cloudflare/worker.d.mts +0 -2
- package/dist/cloudflare/worker.d.mts.map +1 -1
- package/dist/cloudflare/worker.mjs +1 -2
- package/dist/cloudflare/workers.d.cts +0 -2
- package/dist/cloudflare/workers.d.cts.map +1 -1
- package/dist/cloudflare/workers.d.mts +0 -2
- package/dist/cloudflare/workers.d.mts.map +1 -1
- package/dist/config.cjs +1 -2
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +1 -3
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +1 -3
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -2
- package/dist/config.mjs.map +1 -1
- package/dist/contract.cjs +1 -2
- package/dist/contract.d.cts +0 -2
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +0 -2
- package/dist/contract.d.mts.map +1 -1
- package/dist/contract.mjs +1 -2
- package/dist/dsl/action.cjs +1 -2
- package/dist/dsl/action.d.cts +0 -2
- package/dist/dsl/action.d.cts.map +1 -1
- package/dist/dsl/action.d.mts +0 -2
- package/dist/dsl/action.d.mts.map +1 -1
- package/dist/dsl/action.mjs +1 -2
- package/dist/dsl/base.cjs +1 -2
- package/dist/dsl/base.d.cts +0 -2
- package/dist/dsl/base.d.cts.map +1 -1
- package/dist/dsl/base.d.mts +0 -2
- package/dist/dsl/base.d.mts.map +1 -1
- package/dist/dsl/base.mjs +1 -2
- package/dist/dsl/bundle.cjs +1 -2
- package/dist/dsl/bundle.d.cts +0 -2
- package/dist/dsl/bundle.d.cts.map +1 -1
- package/dist/dsl/bundle.d.mts +0 -2
- package/dist/dsl/bundle.d.mts.map +1 -1
- package/dist/dsl/bundle.mjs +1 -2
- package/dist/dsl/condition.cjs +1 -2
- package/dist/dsl/condition.d.cts +0 -2
- package/dist/dsl/condition.d.cts.map +1 -1
- package/dist/dsl/condition.d.mts +0 -2
- package/dist/dsl/condition.d.mts.map +1 -1
- package/dist/dsl/condition.mjs +1 -2
- package/dist/dsl/flow.cjs +1 -2
- package/dist/dsl/flow.d.cts +0 -2
- package/dist/dsl/flow.d.cts.map +1 -1
- package/dist/dsl/flow.d.mts +0 -2
- package/dist/dsl/flow.d.mts.map +1 -1
- package/dist/dsl/flow.mjs +1 -2
- package/dist/dsl/refs.cjs +1 -2
- package/dist/dsl/refs.d.cts +0 -2
- package/dist/dsl/refs.d.cts.map +1 -1
- package/dist/dsl/refs.d.mts +0 -2
- package/dist/dsl/refs.d.mts.map +1 -1
- package/dist/dsl/refs.mjs +1 -2
- package/dist/dsl/template.cjs +1 -2
- package/dist/dsl/template.d.cts +0 -2
- package/dist/dsl/template.d.cts.map +1 -1
- package/dist/dsl/template.d.mts +0 -2
- package/dist/dsl/template.d.mts.map +1 -1
- package/dist/dsl/template.mjs +1 -2
- package/dist/dsl/trigger.cjs +1 -2
- package/dist/dsl/trigger.d.cts +0 -2
- package/dist/dsl/trigger.d.cts.map +1 -1
- package/dist/dsl/trigger.d.mts +0 -2
- package/dist/dsl/trigger.d.mts.map +1 -1
- package/dist/dsl/trigger.mjs +1 -2
- package/dist/dsl/workflow.cjs +1 -2
- package/dist/dsl/workflow.d.cts +0 -2
- package/dist/dsl/workflow.d.cts.map +1 -1
- package/dist/dsl/workflow.d.mts +0 -2
- package/dist/dsl/workflow.d.mts.map +1 -1
- package/dist/dsl/workflow.mjs +1 -2
- package/dist/email-context.cjs +1 -2
- package/dist/email-context.d.cts +0 -2
- package/dist/email-context.d.cts.map +1 -1
- package/dist/email-context.d.mts +0 -2
- package/dist/email-context.d.mts.map +1 -1
- package/dist/email-context.mjs +1 -2
- package/dist/email-sender.cjs +1 -2
- package/dist/email-sender.d.cts +0 -2
- package/dist/email-sender.d.cts.map +1 -1
- package/dist/email-sender.d.mts +0 -2
- package/dist/email-sender.d.mts.map +1 -1
- package/dist/email-sender.mjs +1 -2
- package/dist/email.cjs +1 -2
- package/dist/email.d.cts +0 -2
- package/dist/email.d.cts.map +1 -1
- package/dist/email.d.mts +0 -2
- package/dist/email.d.mts.map +1 -1
- package/dist/email.mjs +1 -2
- package/dist/engine/actions.cjs +1 -2
- package/dist/engine/actions.d.cts +0 -2
- package/dist/engine/actions.d.cts.map +1 -1
- package/dist/engine/actions.d.mts +0 -2
- package/dist/engine/actions.d.mts.map +1 -1
- package/dist/engine/actions.mjs +1 -2
- package/dist/engine/bucket.cjs +1 -2
- package/dist/engine/bucket.d.cts +0 -2
- package/dist/engine/bucket.d.cts.map +1 -1
- package/dist/engine/bucket.d.mts +0 -2
- package/dist/engine/bucket.d.mts.map +1 -1
- package/dist/engine/bucket.mjs +1 -2
- package/dist/engine/condition.cjs +3 -4
- package/dist/engine/condition.cjs.map +1 -1
- package/dist/engine/condition.d.cts +1 -3
- package/dist/engine/condition.d.cts.map +1 -1
- package/dist/engine/condition.d.mts +1 -3
- package/dist/engine/condition.d.mts.map +1 -1
- package/dist/engine/condition.mjs +3 -4
- package/dist/engine/condition.mjs.map +1 -1
- package/dist/engine/duration.cjs +1 -2
- package/dist/engine/duration.d.cts +0 -2
- package/dist/engine/duration.d.cts.map +1 -1
- package/dist/engine/duration.d.mts +0 -2
- package/dist/engine/duration.d.mts.map +1 -1
- package/dist/engine/duration.mjs +1 -2
- package/dist/engine/interpreter.cjs +1 -2
- package/dist/engine/interpreter.d.cts +0 -2
- package/dist/engine/interpreter.d.cts.map +1 -1
- package/dist/engine/interpreter.d.mts +0 -2
- package/dist/engine/interpreter.d.mts.map +1 -1
- package/dist/engine/interpreter.mjs +1 -2
- package/dist/engine/ports.d.cts +1 -3
- package/dist/engine/ports.d.cts.map +1 -1
- package/dist/engine/ports.d.mts +1 -3
- package/dist/engine/ports.d.mts.map +1 -1
- package/dist/engine/recipient.cjs +1 -2
- package/dist/engine/recipient.d.cts +0 -2
- package/dist/engine/recipient.d.cts.map +1 -1
- package/dist/engine/recipient.d.mts +0 -2
- package/dist/engine/recipient.d.mts.map +1 -1
- package/dist/engine/recipient.mjs +1 -2
- package/dist/engine/retry.cjs +1 -2
- package/dist/engine/retry.d.cts +0 -2
- package/dist/engine/retry.d.cts.map +1 -1
- package/dist/engine/retry.d.mts +0 -2
- package/dist/engine/retry.d.mts.map +1 -1
- package/dist/engine/retry.mjs +1 -2
- package/dist/engine/time-scale.cjs +1 -2
- package/dist/engine/time-scale.d.cts +0 -2
- package/dist/engine/time-scale.d.cts.map +1 -1
- package/dist/engine/time-scale.d.mts +0 -2
- package/dist/engine/time-scale.d.mts.map +1 -1
- package/dist/engine/time-scale.mjs +1 -2
- package/dist/engine/time-window.cjs +1 -2
- package/dist/engine/time-window.d.cts +0 -2
- package/dist/engine/time-window.d.cts.map +1 -1
- package/dist/engine/time-window.d.mts +0 -2
- package/dist/engine/time-window.d.mts.map +1 -1
- package/dist/engine/time-window.mjs +1 -2
- package/dist/fcm.cjs +1 -2
- package/dist/fcm.d.cts +0 -2
- package/dist/fcm.d.cts.map +1 -1
- package/dist/fcm.d.mts +0 -2
- package/dist/fcm.d.mts.map +1 -1
- package/dist/fcm.mjs +1 -2
- package/dist/hash.cjs +1 -2
- package/dist/hash.d.cts +0 -2
- package/dist/hash.d.cts.map +1 -1
- package/dist/hash.d.mts +0 -2
- package/dist/hash.d.mts.map +1 -1
- package/dist/hash.mjs +1 -2
- package/dist/host/auth.cjs +1 -2
- package/dist/host/auth.d.cts +0 -2
- package/dist/host/auth.d.cts.map +1 -1
- package/dist/host/auth.d.mts +0 -2
- package/dist/host/auth.d.mts.map +1 -1
- package/dist/host/auth.mjs +1 -2
- package/dist/host/channels.cjs +1 -2
- package/dist/host/channels.d.cts +1 -3
- package/dist/host/channels.d.cts.map +1 -1
- package/dist/host/channels.d.mts +1 -3
- package/dist/host/channels.d.mts.map +1 -1
- package/dist/host/channels.mjs +1 -2
- package/dist/host/execute.cjs +1 -2
- package/dist/host/execute.d.cts +1 -3
- package/dist/host/execute.d.cts.map +1 -1
- package/dist/host/execute.d.mts +1 -3
- package/dist/host/execute.d.mts.map +1 -1
- package/dist/host/execute.mjs +1 -2
- package/dist/host/fresh-read.cjs +1 -2
- package/dist/host/fresh-read.d.cts +0 -2
- package/dist/host/fresh-read.d.cts.map +1 -1
- package/dist/host/fresh-read.d.mts +0 -2
- package/dist/host/fresh-read.d.mts.map +1 -1
- package/dist/host/fresh-read.mjs +1 -2
- package/dist/host/http.cjs +4 -6
- package/dist/host/http.cjs.map +1 -1
- package/dist/host/http.d.cts +2 -4
- package/dist/host/http.d.cts.map +1 -1
- package/dist/host/http.d.mts +2 -4
- package/dist/host/http.d.mts.map +1 -1
- package/dist/host/http.mjs +4 -6
- package/dist/host/http.mjs.map +1 -1
- package/dist/host/ingest.cjs +12 -24
- package/dist/host/ingest.cjs.map +1 -1
- package/dist/host/ingest.d.cts +8 -15
- package/dist/host/ingest.d.cts.map +1 -1
- package/dist/host/ingest.d.mts +8 -15
- package/dist/host/ingest.d.mts.map +1 -1
- package/dist/host/ingest.mjs +13 -24
- package/dist/host/ingest.mjs.map +1 -1
- package/dist/host/journey-host.cjs +3 -6
- package/dist/host/journey-host.cjs.map +1 -1
- package/dist/host/journey-host.d.cts +6 -8
- package/dist/host/journey-host.d.cts.map +1 -1
- package/dist/host/journey-host.d.mts +6 -8
- package/dist/host/journey-host.d.mts.map +1 -1
- package/dist/host/journey-host.mjs +3 -6
- package/dist/host/journey-host.mjs.map +1 -1
- package/dist/host/platform.cjs +1 -2
- package/dist/host/platform.cjs.map +1 -1
- package/dist/host/platform.d.cts +1 -9
- package/dist/host/platform.d.cts.map +1 -1
- package/dist/host/platform.d.mts +1 -9
- package/dist/host/platform.d.mts.map +1 -1
- package/dist/host/platform.mjs +1 -2
- package/dist/host/platform.mjs.map +1 -1
- package/dist/host/senders.cjs +1 -2
- package/dist/host/senders.d.cts +0 -2
- package/dist/host/senders.d.cts.map +1 -1
- package/dist/host/senders.d.mts +0 -2
- package/dist/host/senders.d.mts.map +1 -1
- package/dist/host/senders.mjs +1 -2
- package/dist/http2-client.cjs +1 -2
- package/dist/http2-client.d.cts +0 -2
- package/dist/http2-client.d.cts.map +1 -1
- package/dist/http2-client.d.mts +0 -2
- package/dist/http2-client.d.mts.map +1 -1
- package/dist/http2-client.mjs +1 -2
- package/dist/ir.cjs +1 -2
- package/dist/ir.d.cts +0 -2
- package/dist/ir.d.cts.map +1 -1
- package/dist/ir.d.mts +0 -2
- package/dist/ir.d.mts.map +1 -1
- package/dist/ir.mjs +1 -2
- package/dist/jwt.cjs +1 -2
- package/dist/jwt.d.cts +0 -2
- package/dist/jwt.d.cts.map +1 -1
- package/dist/jwt.d.mts +0 -2
- package/dist/jwt.d.mts.map +1 -1
- package/dist/jwt.mjs +1 -2
- package/dist/plan.cjs +1 -2
- package/dist/plan.d.cts +0 -2
- package/dist/plan.d.cts.map +1 -1
- package/dist/plan.d.mts +0 -2
- package/dist/plan.d.mts.map +1 -1
- package/dist/plan.mjs +1 -2
- package/dist/postgres-js.cjs +1 -2
- package/dist/postgres-js.d.cts +0 -2
- package/dist/postgres-js.d.cts.map +1 -1
- package/dist/postgres-js.d.mts +0 -2
- package/dist/postgres-js.d.mts.map +1 -1
- package/dist/postgres-js.mjs +1 -2
- package/dist/provenance.cjs +1 -2
- package/dist/provenance.d.cts +0 -2
- package/dist/provenance.d.cts.map +1 -1
- package/dist/provenance.d.mts +0 -2
- package/dist/provenance.d.mts.map +1 -1
- package/dist/provenance.mjs +1 -2
- package/dist/push.cjs +1 -2
- package/dist/push.d.cts +0 -2
- package/dist/push.d.cts.map +1 -1
- package/dist/push.d.mts +0 -2
- package/dist/push.d.mts.map +1 -1
- package/dist/push.mjs +1 -2
- package/dist/react-email.cjs +1 -2
- package/dist/react-email.d.cts +0 -2
- package/dist/react-email.d.cts.map +1 -1
- package/dist/react-email.d.mts +0 -2
- package/dist/react-email.d.mts.map +1 -1
- package/dist/react-email.mjs +1 -2
- package/dist/reporting/classify.cjs +1 -2
- package/dist/reporting/classify.d.cts +0 -2
- package/dist/reporting/classify.d.cts.map +1 -1
- package/dist/reporting/classify.d.mts +0 -2
- package/dist/reporting/classify.d.mts.map +1 -1
- package/dist/reporting/classify.mjs +1 -2
- package/dist/reporting/observer.cjs +1 -2
- package/dist/reporting/observer.d.cts +0 -2
- package/dist/reporting/observer.d.cts.map +1 -1
- package/dist/reporting/observer.d.mts +0 -2
- package/dist/reporting/observer.d.mts.map +1 -1
- package/dist/reporting/observer.mjs +1 -2
- package/dist/reporting/tracking.cjs +1 -2
- package/dist/reporting/tracking.d.cts +0 -2
- package/dist/reporting/tracking.d.cts.map +1 -1
- package/dist/reporting/tracking.d.mts +0 -2
- package/dist/reporting/tracking.d.mts.map +1 -1
- package/dist/reporting/tracking.mjs +1 -2
- package/dist/runtime.cjs +1 -2
- package/dist/runtime.d.cts +0 -2
- package/dist/runtime.d.cts.map +1 -1
- package/dist/runtime.d.mts +0 -2
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +1 -2
- package/dist/store/erasure.cjs +1 -2
- package/dist/store/erasure.d.cts +0 -2
- package/dist/store/erasure.d.cts.map +1 -1
- package/dist/store/erasure.d.mts +0 -2
- package/dist/store/erasure.d.mts.map +1 -1
- package/dist/store/erasure.mjs +1 -2
- package/dist/store/facts.cjs +2 -3
- package/dist/store/facts.cjs.map +1 -1
- package/dist/store/facts.d.cts +0 -2
- package/dist/store/facts.d.cts.map +1 -1
- package/dist/store/facts.d.mts +0 -2
- package/dist/store/facts.d.mts.map +1 -1
- package/dist/store/facts.mjs +2 -3
- package/dist/store/facts.mjs.map +1 -1
- package/dist/store/index.cjs +1 -4
- package/dist/store/index.cjs.map +1 -1
- package/dist/store/index.d.cts +21 -28
- package/dist/store/index.d.cts.map +1 -1
- package/dist/store/index.d.mts +21 -28
- package/dist/store/index.d.mts.map +1 -1
- package/dist/store/index.mjs +2 -4
- package/dist/store/index.mjs.map +1 -1
- package/dist/store/postgres-reporting.cjs +1 -2
- package/dist/store/postgres-reporting.d.cts +0 -2
- package/dist/store/postgres-reporting.d.cts.map +1 -1
- package/dist/store/postgres-reporting.d.mts +0 -2
- package/dist/store/postgres-reporting.d.mts.map +1 -1
- package/dist/store/postgres-reporting.mjs +1 -2
- package/dist/store/postgres.cjs +3 -5
- package/dist/store/postgres.cjs.map +1 -1
- package/dist/store/postgres.d.cts +2 -5
- package/dist/store/postgres.d.cts.map +1 -1
- package/dist/store/postgres.d.mts +2 -5
- package/dist/store/postgres.d.mts.map +1 -1
- package/dist/store/postgres.mjs +3 -5
- package/dist/store/postgres.mjs.map +1 -1
- package/dist/store/sql.cjs +1 -2
- package/dist/store/sql.d.cts +0 -2
- package/dist/store/sql.d.cts.map +1 -1
- package/dist/store/sql.d.mts +0 -2
- package/dist/store/sql.d.mts.map +1 -1
- package/dist/store/sql.mjs +1 -2
- package/dist/store/tables.cjs +1 -2
- package/dist/store/tables.d.cts +0 -2
- package/dist/store/tables.d.cts.map +1 -1
- package/dist/store/tables.d.mts +0 -2
- package/dist/store/tables.d.mts.map +1 -1
- package/dist/store/tables.mjs +1 -2
- package/dist/store/user-lock.cjs +1 -2
- package/dist/store/user-lock.d.cts +0 -2
- package/dist/store/user-lock.d.cts.map +1 -1
- package/dist/store/user-lock.d.mts +0 -2
- package/dist/store/user-lock.d.mts.map +1 -1
- package/dist/store/user-lock.mjs +1 -2
- package/dist/templates.cjs +1 -2
- package/dist/templates.d.cts +0 -2
- package/dist/templates.d.cts.map +1 -1
- package/dist/templates.d.mts +0 -2
- package/dist/templates.d.mts.map +1 -1
- package/dist/templates.mjs +1 -2
- package/dist/transports/cloudflare-email.cjs +1 -2
- package/dist/transports/cloudflare-email.d.cts +1 -3
- package/dist/transports/cloudflare-email.d.cts.map +1 -1
- package/dist/transports/cloudflare-email.d.mts +1 -3
- package/dist/transports/cloudflare-email.d.mts.map +1 -1
- package/dist/transports/cloudflare-email.mjs +1 -2
- package/dist/transports/ses.cjs +1 -2
- package/dist/transports/ses.d.cts +0 -2
- package/dist/transports/ses.d.cts.map +1 -1
- package/dist/transports/ses.d.mts +0 -2
- package/dist/transports/ses.d.mts.map +1 -1
- package/dist/transports/ses.mjs +1 -2
- package/dist/transports/sigv4.cjs +1 -2
- package/dist/transports/sigv4.d.cts +0 -2
- package/dist/transports/sigv4.d.cts.map +1 -1
- package/dist/transports/sigv4.d.mts +0 -2
- package/dist/transports/sigv4.d.mts.map +1 -1
- package/dist/transports/sigv4.mjs +1 -2
- package/dist/webhooks.cjs +1 -2
- package/dist/webhooks.d.cts +0 -2
- package/dist/webhooks.d.cts.map +1 -1
- package/dist/webhooks.d.mts +0 -2
- package/dist/webhooks.d.mts.map +1 -1
- package/dist/webhooks.mjs +1 -2
- package/dist/webpush.cjs +1 -2
- package/dist/webpush.d.cts +0 -2
- package/dist/webpush.d.cts.map +1 -1
- package/dist/webpush.d.mts +0 -2
- package/dist/webpush.d.mts.map +1 -1
- package/dist/webpush.mjs +1 -2
- package/package.json +5 -7
- package/dist/cloudflare/d1-env.cjs +0 -17
- package/dist/cloudflare/d1-env.cjs.map +0 -1
- package/dist/cloudflare/d1-env.d.cts +0 -12
- package/dist/cloudflare/d1-env.d.cts.map +0 -1
- package/dist/cloudflare/d1-env.d.mts +0 -12
- package/dist/cloudflare/d1-env.d.mts.map +0 -1
- package/dist/cloudflare/d1-env.mjs +0 -16
- package/dist/cloudflare/d1-env.mjs.map +0 -1
- package/dist/cloudflare/schema.sql +0 -148
- package/dist/store/d1.cjs +0 -245
- package/dist/store/d1.cjs.map +0 -1
- package/dist/store/d1.d.cts +0 -73
- package/dist/store/d1.d.cts.map +0 -1
- package/dist/store/d1.d.mts +0 -73
- package/dist/store/d1.d.mts.map +0 -1
- package/dist/store/d1.mjs +0 -244
- package/dist/store/d1.mjs.map +0 -1
- package/src/cloudflare/schema.sql +0 -148
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { WorkflowIR } from "../ir.mjs";
|
|
2
2
|
import { JourneyContext, JourneyOutcome } from "./ports.mjs";
|
|
3
|
-
//#region src/engine/interpreter.d.ts
|
|
4
3
|
export declare function runJourney(ir: WorkflowIR, ctx: JourneyContext): Promise<JourneyOutcome>;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=interpreter.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interpreter.d.mts","names":[],"sources":["../../src/engine/interpreter.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"interpreter.d.mts","names":[],"sources":["../../src/engine/interpreter.ts"],"mappings":";;wBAiGsB,WAAW,IAAI,YAAY,KAAK,iBAAiB,QAAQ"}
|
|
@@ -2,7 +2,7 @@ import { hashToBucket } from "./bucket.mjs";
|
|
|
2
2
|
import { RECIPIENT_PROPERTY } from "./recipient.mjs";
|
|
3
3
|
import { evaluateCondition, relevantEvents } from "./condition.mjs";
|
|
4
4
|
import { nextWindowStart } from "./time-window.mjs";
|
|
5
|
-
|
|
5
|
+
// src/engine/interpreter.ts
|
|
6
6
|
/**
|
|
7
7
|
* IR interpreter: the execution core for one user's journey instance.
|
|
8
8
|
*
|
|
@@ -428,7 +428,6 @@ async function resolveValues(values, facts) {
|
|
|
428
428
|
for (const [key, value] of Object.entries(values)) resolved[key] = typeof value === "object" ? await facts.getProperty(value.path) : value;
|
|
429
429
|
return resolved;
|
|
430
430
|
}
|
|
431
|
-
//#endregion
|
|
432
431
|
export { runJourney };
|
|
433
432
|
|
|
434
433
|
//# sourceMappingURL=interpreter.mjs.map
|
package/dist/engine/ports.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChannelIR, ConditionIR, ScalarIR } from "../ir.cjs";
|
|
2
|
-
//#region src/engine/ports.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Engine ports: the only shape of the outside world the interpreter depends on.
|
|
5
4
|
*
|
|
@@ -62,7 +61,7 @@ export interface PushDevice {
|
|
|
62
61
|
token: string;
|
|
63
62
|
platform: string;
|
|
64
63
|
}
|
|
65
|
-
/** Facts from a single user's point of view: the read interface condition evaluation uses (
|
|
64
|
+
/** Facts from a single user's point of view: the read interface condition evaluation uses (the store-backed and in-memory sources share one evaluator). */
|
|
66
65
|
export interface FactSource {
|
|
67
66
|
/**
|
|
68
67
|
* How many times an event occurred. `sinceMs` bounds the window (within /
|
|
@@ -273,5 +272,4 @@ export type JourneyOutcome = ({
|
|
|
273
272
|
}) & {
|
|
274
273
|
convertedAt?: number;
|
|
275
274
|
};
|
|
276
|
-
//#endregion
|
|
277
275
|
//# sourceMappingURL=ports.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.d.cts","names":[],"sources":["../../src/engine/ports.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ports.d.cts","names":[],"sources":["../../src/engine/ports.ts"],"mappings":";;;;;;;;;;;;;;;iBAiBiB;;EAEf,GAAG,GAAG,cAAc,UAAU,QAAQ,KAAK,QAAQ;;;;;EAMnD,MAAM,cAAc,aAAa;;;;;;;;;;;;;;;EAgBjC,UACE,cACA,2BACA;IAAY;MACX;;EAGH,YAAY,eAAe;;;;;;;;;;;;EAa3B,YACE,cACA;IAAQ;IAAmB;MAC1B;;;iBAIY;EACf;EACA;;;iBAIe;;;;;;EAMf,YACE,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;EACH,YAAY,eAAe,QAAQ;;EAEnC,oBAAoB,eAAe,QAAQ;;EAE3C,eAAe,QAAQ;;EAEvB,cAAc,SAAS,YAAY;;iBAGpB;;EAEf;EACA;EACA;EACA,SAAS;EACT;;EAEA,OAAO,eAAe;EACtB;;;;;;EAMA;;EAEA,SAAS;;;;;;EAMT;;EAEA,WAAW;;;YAID;;;;;;iBAOK;;;;;EAKf,QAAQ,aAAa,SAAS;;EAE9B;;;;;;EAMA;;EAEA,OAAO;;;;;;EAMP,eAAe;;;;;;;iBAQA;EACf;EACA;;iBAGe;EACf,KAAK,SAAS,kBAAkB,eAAe;;;;;;;;;iBAUhC;;EAEf,SAAS;IACP;IACA;IACA;IACA;MACE;;EAEJ,aAAa;IACX;IACA;IACA;IACA;IACA;MACE;;EAEJ,iBAAiB,SAAS,kBAAkB,QAAQ;;EAEpD,aAAa,SAAS,iBAAiB;IAAU;MAAoB,aAAa;;EAElF,UAAU;IACR;IACA;IACA;IACA,QAAQ;IACR;;IAEA;MACE;;;;;;;;;iBAUW;EACf,SAAS;IACP,SAAS;IACT;IACA,OAAO,eAAe;MACpB,eAAe;;;iBAIJ;;;;;;;;EAQf,KAAK,eAAe,SAAS,eAAe,uBAAuB,aAAa;;;iBAIjE;;EAEf;;EAEA,MAAM,eAAe;EACrB;;EAEA;;;;;;;iBAQe;EACf,OAAO,YAAY,mBAAmB;;iBAGvB;EACf;;EAEA;;;;;;;EAOA;EACA,MAAM;EACN,OAAO;EACP,UAAU;EACV,QAAQ;;EAER,UAAU;;EAEV,YAAY;;EAEZ,WAAW;;;;;;;YAQD;EACN;;EACA;EAAkB;;EAClB;;EACA;;EACA"}
|
package/dist/engine/ports.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChannelIR, ConditionIR, ScalarIR } from "../ir.mjs";
|
|
2
|
-
//#region src/engine/ports.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Engine ports: the only shape of the outside world the interpreter depends on.
|
|
5
4
|
*
|
|
@@ -62,7 +61,7 @@ export interface PushDevice {
|
|
|
62
61
|
token: string;
|
|
63
62
|
platform: string;
|
|
64
63
|
}
|
|
65
|
-
/** Facts from a single user's point of view: the read interface condition evaluation uses (
|
|
64
|
+
/** Facts from a single user's point of view: the read interface condition evaluation uses (the store-backed and in-memory sources share one evaluator). */
|
|
66
65
|
export interface FactSource {
|
|
67
66
|
/**
|
|
68
67
|
* How many times an event occurred. `sinceMs` bounds the window (within /
|
|
@@ -273,5 +272,4 @@ export type JourneyOutcome = ({
|
|
|
273
272
|
}) & {
|
|
274
273
|
convertedAt?: number;
|
|
275
274
|
};
|
|
276
|
-
//#endregion
|
|
277
275
|
//# sourceMappingURL=ports.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.d.mts","names":[],"sources":["../../src/engine/ports.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ports.d.mts","names":[],"sources":["../../src/engine/ports.ts"],"mappings":";;;;;;;;;;;;;;;iBAiBiB;;EAEf,GAAG,GAAG,cAAc,UAAU,QAAQ,KAAK,QAAQ;;;;;EAMnD,MAAM,cAAc,aAAa;;;;;;;;;;;;;;;EAgBjC,UACE,cACA,2BACA;IAAY;MACX;;EAGH,YAAY,eAAe;;;;;;;;;;;;EAa3B,YACE,cACA;IAAQ;IAAmB;MAC1B;;;iBAIY;EACf;EACA;;;iBAIe;;;;;;EAMf,YACE,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;EACH,YAAY,eAAe,QAAQ;;EAEnC,oBAAoB,eAAe,QAAQ;;EAE3C,eAAe,QAAQ;;EAEvB,cAAc,SAAS,YAAY;;iBAGpB;;EAEf;EACA;EACA;EACA,SAAS;EACT;;EAEA,OAAO,eAAe;EACtB;;;;;;EAMA;;EAEA,SAAS;;;;;;EAMT;;EAEA,WAAW;;;YAID;;;;;;iBAOK;;;;;EAKf,QAAQ,aAAa,SAAS;;EAE9B;;;;;;EAMA;;EAEA,OAAO;;;;;;EAMP,eAAe;;;;;;;iBAQA;EACf;EACA;;iBAGe;EACf,KAAK,SAAS,kBAAkB,eAAe;;;;;;;;;iBAUhC;;EAEf,SAAS;IACP;IACA;IACA;IACA;MACE;;EAEJ,aAAa;IACX;IACA;IACA;IACA;IACA;MACE;;EAEJ,iBAAiB,SAAS,kBAAkB,QAAQ;;EAEpD,aAAa,SAAS,iBAAiB;IAAU;MAAoB,aAAa;;EAElF,UAAU;IACR;IACA;IACA;IACA,QAAQ;IACR;;IAEA;MACE;;;;;;;;;iBAUW;EACf,SAAS;IACP,SAAS;IACT;IACA,OAAO,eAAe;MACpB,eAAe;;;iBAIJ;;;;;;;;EAQf,KAAK,eAAe,SAAS,eAAe,uBAAuB,aAAa;;;iBAIjE;;EAEf;;EAEA,MAAM,eAAe;EACrB;;EAEA;;;;;;;iBAQe;EACf,OAAO,YAAY,mBAAmB;;iBAGvB;EACf;;EAEA;;;;;;;EAOA;EACA,MAAM;EACN,OAAO;EACP,UAAU;EACV,QAAQ;;EAER,UAAU;;EAEV,YAAY;;EAEZ,WAAW;;;;;;;YAQD;EACN;;EACA;EAAkB;;EAClB;;EACA;;EACA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/engine/recipient.ts
|
|
3
3
|
/**
|
|
4
4
|
* Channel → the user property holding its recipient address. The engine
|
|
5
5
|
* resolves it before sending, which keeps senders stateless. Push is absent on
|
|
@@ -17,7 +17,6 @@ const RECIPIENT_PROPERTY = {
|
|
|
17
17
|
survey: "email",
|
|
18
18
|
in_app: void 0
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
exports.RECIPIENT_PROPERTY = RECIPIENT_PROPERTY;
|
|
22
21
|
|
|
23
22
|
//# sourceMappingURL=recipient.cjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChannelIR } from "../ir.cjs";
|
|
2
|
-
//#region src/engine/recipient.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Channel → the user property holding its recipient address. The engine
|
|
5
4
|
* resolves it before sending, which keeps senders stateless. Push is absent on
|
|
@@ -9,5 +8,4 @@ import { ChannelIR } from "../ir.cjs";
|
|
|
9
8
|
* UserPropertyBase guaranteeing `email` exists).
|
|
10
9
|
*/
|
|
11
10
|
export declare const RECIPIENT_PROPERTY: Record<ChannelIR, string | undefined>;
|
|
12
|
-
//#endregion
|
|
13
11
|
//# sourceMappingURL=recipient.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient.d.cts","names":[],"sources":["../../src/engine/recipient.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"recipient.d.cts","names":[],"sources":["../../src/engine/recipient.ts"],"mappings":";;;;;;;;;qBAUa,oBAAoB,OAAO"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChannelIR } from "../ir.mjs";
|
|
2
|
-
//#region src/engine/recipient.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Channel → the user property holding its recipient address. The engine
|
|
5
4
|
* resolves it before sending, which keeps senders stateless. Push is absent on
|
|
@@ -9,5 +8,4 @@ import { ChannelIR } from "../ir.mjs";
|
|
|
9
8
|
* UserPropertyBase guaranteeing `email` exists).
|
|
10
9
|
*/
|
|
11
10
|
export declare const RECIPIENT_PROPERTY: Record<ChannelIR, string | undefined>;
|
|
12
|
-
//#endregion
|
|
13
11
|
//# sourceMappingURL=recipient.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient.d.mts","names":[],"sources":["../../src/engine/recipient.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"recipient.d.mts","names":[],"sources":["../../src/engine/recipient.ts"],"mappings":";;;;;;;;;qBAUa,oBAAoB,OAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/engine/recipient.ts
|
|
2
2
|
/**
|
|
3
3
|
* Channel → the user property holding its recipient address. The engine
|
|
4
4
|
* resolves it before sending, which keeps senders stateless. Push is absent on
|
|
@@ -16,7 +16,6 @@ const RECIPIENT_PROPERTY = {
|
|
|
16
16
|
survey: "email",
|
|
17
17
|
in_app: void 0
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { RECIPIENT_PROPERTY };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=recipient.mjs.map
|
package/dist/engine/retry.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/engine/retry.ts
|
|
3
3
|
/**
|
|
4
4
|
* Which step failures a retry would only repeat. A durable step retries what it throws; an
|
|
5
5
|
* error that is the same on every attempt — a template refusing its props, the contract
|
|
@@ -34,7 +34,6 @@ function isRetryable(error) {
|
|
|
34
34
|
function isRetryableStatus(status) {
|
|
35
35
|
return status === 408 || status === 429 || status >= 500;
|
|
36
36
|
}
|
|
37
|
-
//#endregion
|
|
38
37
|
exports.PermanentError = PermanentError;
|
|
39
38
|
exports.isRetryable = isRetryable;
|
|
40
39
|
exports.isRetryableStatus = isRetryableStatus;
|
package/dist/engine/retry.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/engine/retry.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Which step failures a retry would only repeat. A durable step retries what it throws; an
|
|
4
3
|
* error that is the same on every attempt — a template refusing its props, the contract
|
|
@@ -25,5 +24,4 @@ export declare class PermanentError extends Error {
|
|
|
25
24
|
export declare function isRetryable(error: unknown): boolean;
|
|
26
25
|
/** An HTTP answer a retry can change: a timeout, throttling, or the provider's own fault. */
|
|
27
26
|
export declare function isRetryableStatus(status: number): boolean;
|
|
28
|
-
//#endregion
|
|
29
27
|
//# sourceMappingURL=retry.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.d.cts","names":[],"sources":["../../src/engine/retry.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retry.d.cts","names":[],"sources":["../../src/engine/retry.ts"],"mappings":";;;;;;;;;;;;qBAaa,uBAAuB;WAChB;WACT;EACT,YAAY,iBAAiB;IAAY;;;;;;;wBAY3B,YAAY;;wBAOZ,kBAAkB"}
|
package/dist/engine/retry.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/engine/retry.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Which step failures a retry would only repeat. A durable step retries what it throws; an
|
|
4
3
|
* error that is the same on every attempt — a template refusing its props, the contract
|
|
@@ -25,5 +24,4 @@ export declare class PermanentError extends Error {
|
|
|
25
24
|
export declare function isRetryable(error: unknown): boolean;
|
|
26
25
|
/** An HTTP answer a retry can change: a timeout, throttling, or the provider's own fault. */
|
|
27
26
|
export declare function isRetryableStatus(status: number): boolean;
|
|
28
|
-
//#endregion
|
|
29
27
|
//# sourceMappingURL=retry.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.d.mts","names":[],"sources":["../../src/engine/retry.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retry.d.mts","names":[],"sources":["../../src/engine/retry.ts"],"mappings":";;;;;;;;;;;;qBAaa,uBAAuB;WAChB;WACT;EACT,YAAY,iBAAiB;IAAY;;;;;;;wBAY3B,YAAY;;wBAOZ,kBAAkB"}
|
package/dist/engine/retry.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/engine/retry.ts
|
|
2
2
|
/**
|
|
3
3
|
* Which step failures a retry would only repeat. A durable step retries what it throws; an
|
|
4
4
|
* error that is the same on every attempt — a template refusing its props, the contract
|
|
@@ -33,7 +33,6 @@ function isRetryable(error) {
|
|
|
33
33
|
function isRetryableStatus(status) {
|
|
34
34
|
return status === 408 || status === 429 || status >= 500;
|
|
35
35
|
}
|
|
36
|
-
//#endregion
|
|
37
36
|
export { PermanentError, isRetryable, isRetryableStatus };
|
|
38
37
|
|
|
39
38
|
//# sourceMappingURL=retry.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/engine/time-scale.ts
|
|
3
3
|
/**
|
|
4
4
|
* Debug time scale: divide every duration in a workflow's IR by a factor so a
|
|
5
5
|
* journey written in days plays out in seconds — with a factor of 3600, a
|
|
@@ -121,7 +121,6 @@ function scaleSegmentWindows(store, factor) {
|
|
|
121
121
|
return typeof value === "function" ? value.bind(target) : value;
|
|
122
122
|
} });
|
|
123
123
|
}
|
|
124
|
-
//#endregion
|
|
125
124
|
exports.scaleCondition = scaleCondition;
|
|
126
125
|
exports.scaleDurations = scaleDurations;
|
|
127
126
|
exports.scaleSegmentWindows = scaleSegmentWindows;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ConditionIR, WorkflowIR } from "../ir.cjs";
|
|
2
|
-
//#region src/engine/time-scale.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Debug time scale: divide every duration in a workflow's IR by a factor so a
|
|
5
4
|
* journey written in days plays out in seconds — with a factor of 3600, a
|
|
@@ -30,5 +29,4 @@ export declare function scaleCondition(condition: ConditionIR, factor: number):
|
|
|
30
29
|
export declare function scaleSegmentWindows<S extends {
|
|
31
30
|
getSegmentCondition(name: string): Promise<ConditionIR | undefined>;
|
|
32
31
|
}>(store: S, factor: number): S;
|
|
33
|
-
//#endregion
|
|
34
32
|
//# sourceMappingURL=time-scale.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-scale.d.cts","names":[],"sources":["../../src/engine/time-scale.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"time-scale.d.cts","names":[],"sources":["../../src/engine/time-scale.ts"],"mappings":";;;;;;;;;;;;;;;;;;;wBAoBgB,eAAe,IAAI,YAAY,iBAAiB;;wBA4BhD,eAAe,WAAW,aAAa,iBAAiB;;;;;;;wBAuExD,oBACd;EAAY,oBAAoB,eAAe,QAAQ;GACvD,OAAO,GAAG,iBAAiB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ConditionIR, WorkflowIR } from "../ir.mjs";
|
|
2
|
-
//#region src/engine/time-scale.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Debug time scale: divide every duration in a workflow's IR by a factor so a
|
|
5
4
|
* journey written in days plays out in seconds — with a factor of 3600, a
|
|
@@ -30,5 +29,4 @@ export declare function scaleCondition(condition: ConditionIR, factor: number):
|
|
|
30
29
|
export declare function scaleSegmentWindows<S extends {
|
|
31
30
|
getSegmentCondition(name: string): Promise<ConditionIR | undefined>;
|
|
32
31
|
}>(store: S, factor: number): S;
|
|
33
|
-
//#endregion
|
|
34
32
|
//# sourceMappingURL=time-scale.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-scale.d.mts","names":[],"sources":["../../src/engine/time-scale.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"time-scale.d.mts","names":[],"sources":["../../src/engine/time-scale.ts"],"mappings":";;;;;;;;;;;;;;;;;;;wBAoBgB,eAAe,IAAI,YAAY,iBAAiB;;wBA4BhD,eAAe,WAAW,aAAa,iBAAiB;;;;;;;wBAuExD,oBACd;EAAY,oBAAoB,eAAe,QAAQ;GACvD,OAAO,GAAG,iBAAiB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/engine/time-scale.ts
|
|
2
2
|
/**
|
|
3
3
|
* Debug time scale: divide every duration in a workflow's IR by a factor so a
|
|
4
4
|
* journey written in days plays out in seconds — with a factor of 3600, a
|
|
@@ -120,7 +120,6 @@ function scaleSegmentWindows(store, factor) {
|
|
|
120
120
|
return typeof value === "function" ? value.bind(target) : value;
|
|
121
121
|
} });
|
|
122
122
|
}
|
|
123
|
-
//#endregion
|
|
124
123
|
export { scaleCondition, scaleDurations, scaleSegmentWindows };
|
|
125
124
|
|
|
126
125
|
//# sourceMappingURL=time-scale.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/engine/time-window.ts
|
|
3
3
|
/**
|
|
4
4
|
* Time-window scheduling — when does the next send window open?
|
|
5
5
|
*
|
|
@@ -142,7 +142,6 @@ function nextWindowStart(nowMs, days, between, tz) {
|
|
|
142
142
|
}
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
|
-
//#endregion
|
|
146
145
|
exports.nextWindowStart = nextWindowStart;
|
|
147
146
|
exports.resolveTimeZone = resolveTimeZone;
|
|
148
147
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/engine/time-window.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Time-window scheduling — when does the next send window open?
|
|
4
3
|
*
|
|
@@ -18,5 +17,4 @@ export declare function resolveTimeZone(tz: string): string;
|
|
|
18
17
|
* forever on a config typo.
|
|
19
18
|
*/
|
|
20
19
|
export declare function nextWindowStart(nowMs: number, days: readonly string[], between: readonly [string, string], tz: string): number | null;
|
|
21
|
-
//#endregion
|
|
22
20
|
//# sourceMappingURL=time-window.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-window.d.cts","names":[],"sources":["../../src/engine/time-window.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"time-window.d.cts","names":[],"sources":["../../src/engine/time-window.ts"],"mappings":";;;;;;;;;;wBA4CgB,gBAAgB;;;;;;;;wBAkGhB,gBACd,eACA,yBACA,oCACA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/engine/time-window.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Time-window scheduling — when does the next send window open?
|
|
4
3
|
*
|
|
@@ -18,5 +17,4 @@ export declare function resolveTimeZone(tz: string): string;
|
|
|
18
17
|
* forever on a config typo.
|
|
19
18
|
*/
|
|
20
19
|
export declare function nextWindowStart(nowMs: number, days: readonly string[], between: readonly [string, string], tz: string): number | null;
|
|
21
|
-
//#endregion
|
|
22
20
|
//# sourceMappingURL=time-window.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-window.d.mts","names":[],"sources":["../../src/engine/time-window.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"time-window.d.mts","names":[],"sources":["../../src/engine/time-window.ts"],"mappings":";;;;;;;;;;wBA4CgB,gBAAgB;;;;;;;;wBAkGhB,gBACd,eACA,yBACA,oCACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/engine/time-window.ts
|
|
2
2
|
/**
|
|
3
3
|
* Time-window scheduling — when does the next send window open?
|
|
4
4
|
*
|
|
@@ -141,7 +141,6 @@ function nextWindowStart(nowMs, days, between, tz) {
|
|
|
141
141
|
}
|
|
142
142
|
return null;
|
|
143
143
|
}
|
|
144
|
-
//#endregion
|
|
145
144
|
export { nextWindowStart, resolveTimeZone };
|
|
146
145
|
|
|
147
146
|
//# sourceMappingURL=time-window.mjs.map
|
package/dist/fcm.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_engine_retry = require("./engine/retry.cjs");
|
|
3
3
|
const require_jwt = require("./jwt.cjs");
|
|
4
4
|
let node_buffer = require("node:buffer");
|
|
5
|
-
|
|
5
|
+
// src/fcm.ts
|
|
6
6
|
/**
|
|
7
7
|
* How an FCM v1 answer is classified, after the API's error codes
|
|
8
8
|
* (https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode):
|
|
@@ -188,7 +188,6 @@ function serviceAccountFromBase64(value) {
|
|
|
188
188
|
if (!json.project_id || !json.client_email || !json.private_key) throw new require_engine_retry.PermanentError("service account JSON is missing project_id, client_email or private_key");
|
|
189
189
|
return json;
|
|
190
190
|
}
|
|
191
|
-
//#endregion
|
|
192
191
|
exports.DEAD_TOKEN_REASONS = DEAD_TOKEN_REASONS;
|
|
193
192
|
exports.FcmAccessToken = FcmAccessToken;
|
|
194
193
|
exports.FcmPushSender = FcmPushSender;
|
package/dist/fcm.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MessageSender, OutboundMessage, SendResult } from "./engine/ports.cjs";
|
|
2
2
|
import "./engine/index.cjs";
|
|
3
3
|
import { PushRenderer } from "./push.cjs";
|
|
4
|
-
//#region src/fcm.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* `@shware/workflow/fcm` — push delivery through Firebase Cloud Messaging's
|
|
7
6
|
* HTTP v1 API, from a service account. No dependencies: the OAuth2 access
|
|
@@ -84,5 +83,4 @@ export declare function fcmErrorCode(body: string): string;
|
|
|
84
83
|
export declare function signJwt(account: FcmServiceAccount, audience: string, scope: string, nowMs?: number): Promise<string>;
|
|
85
84
|
/** Parse the service-account JSON as it is usually shipped: base64 of the file, in one secret. */
|
|
86
85
|
export declare function serviceAccountFromBase64(value: string): FcmServiceAccount;
|
|
87
|
-
//#endregion
|
|
88
86
|
//# sourceMappingURL=fcm.d.cts.map
|
package/dist/fcm.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fcm.d.cts","names":[],"sources":["../src/fcm.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fcm.d.cts","names":[],"sources":["../src/fcm.ts"],"mappings":";;;;;;;;;;;;;iBAiBiB;EACf;EACA;;EAEA;EACA;;iBAGe;EACf,gBAAgB;;EAEhB,eAAe;;iBAGA;;EAEf,aAAa;EACb,QAAQ;;EAER,UAAU;;EAEV,OAAO;;EAEP,eAAe;;;;;;;;;;;;;;;;;;;;qBAqBJ,oBAAoB;;;;;;;qBAgBpB;mBAMkB;;WAJpB;UACD;UACA;EAER,YAA6B,SAAS;;EAKhC,MAAM,eAAmB;;EAgB/B;UAIc;;qBA6BH,yBAAyB;mBACP;EAA7B,YAA6B,SAAS;EAEhC,KAAK,SAAS,kBAAkB,eAAe;;;wBAyEvC,aAAa;;wBAaP,QACpB,SAAS,mBACT,kBACA,eACA,iBACC;;wBAsBa,yBAAyB,gBAAgB"}
|
package/dist/fcm.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MessageSender, OutboundMessage, SendResult } from "./engine/ports.mjs";
|
|
2
2
|
import "./engine/index.mjs";
|
|
3
3
|
import { PushRenderer } from "./push.mjs";
|
|
4
|
-
//#region src/fcm.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* `@shware/workflow/fcm` — push delivery through Firebase Cloud Messaging's
|
|
7
6
|
* HTTP v1 API, from a service account. No dependencies: the OAuth2 access
|
|
@@ -84,5 +83,4 @@ export declare function fcmErrorCode(body: string): string;
|
|
|
84
83
|
export declare function signJwt(account: FcmServiceAccount, audience: string, scope: string, nowMs?: number): Promise<string>;
|
|
85
84
|
/** Parse the service-account JSON as it is usually shipped: base64 of the file, in one secret. */
|
|
86
85
|
export declare function serviceAccountFromBase64(value: string): FcmServiceAccount;
|
|
87
|
-
//#endregion
|
|
88
86
|
//# sourceMappingURL=fcm.d.mts.map
|
package/dist/fcm.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fcm.d.mts","names":[],"sources":["../src/fcm.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fcm.d.mts","names":[],"sources":["../src/fcm.ts"],"mappings":";;;;;;;;;;;;;iBAiBiB;EACf;EACA;;EAEA;EACA;;iBAGe;EACf,gBAAgB;;EAEhB,eAAe;;iBAGA;;EAEf,aAAa;EACb,QAAQ;;EAER,UAAU;;EAEV,OAAO;;EAEP,eAAe;;;;;;;;;;;;;;;;;;;;qBAqBJ,oBAAoB;;;;;;;qBAgBpB;mBAMkB;;WAJpB;UACD;UACA;EAER,YAA6B,SAAS;;EAKhC,MAAM,eAAmB;;EAgB/B;UAIc;;qBA6BH,yBAAyB;mBACP;EAA7B,YAA6B,SAAS;EAEhC,KAAK,SAAS,kBAAkB,eAAe;;;wBAyEvC,aAAa;;wBAaP,QACpB,SAAS,mBACT,kBACA,eACA,iBACC;;wBAsBa,yBAAyB,gBAAgB"}
|
package/dist/fcm.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PermanentError, isRetryableStatus } from "./engine/retry.mjs";
|
|
2
2
|
import { base64url, pemToDer } from "./jwt.mjs";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
|
-
|
|
4
|
+
// src/fcm.ts
|
|
5
5
|
/**
|
|
6
6
|
* How an FCM v1 answer is classified, after the API's error codes
|
|
7
7
|
* (https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode):
|
|
@@ -187,7 +187,6 @@ function serviceAccountFromBase64(value) {
|
|
|
187
187
|
if (!json.project_id || !json.client_email || !json.private_key) throw new PermanentError("service account JSON is missing project_id, client_email or private_key");
|
|
188
188
|
return json;
|
|
189
189
|
}
|
|
190
|
-
//#endregion
|
|
191
190
|
export { DEAD_TOKEN_REASONS, FcmAccessToken, FcmPushSender, fcmErrorCode, serviceAccountFromBase64, signJwt };
|
|
192
191
|
|
|
193
192
|
//# sourceMappingURL=fcm.mjs.map
|
package/dist/hash.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/hash.ts
|
|
3
3
|
/**
|
|
4
4
|
* Content hashing — contentHash covers execution semantics only.
|
|
5
5
|
*
|
|
@@ -234,7 +234,6 @@ function semanticHash(value) {
|
|
|
234
234
|
function fullHash(value) {
|
|
235
235
|
return contentHashOf(canonicalJSON(value));
|
|
236
236
|
}
|
|
237
|
-
//#endregion
|
|
238
237
|
exports.canonicalJSON = canonicalJSON;
|
|
239
238
|
exports.fullHash = fullHash;
|
|
240
239
|
exports.semanticHash = semanticHash;
|
package/dist/hash.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/hash.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Content hashing — contentHash covers execution semantics only.
|
|
4
3
|
*
|
|
@@ -26,5 +25,4 @@ export declare function sha256Hex(input: string): string;
|
|
|
26
25
|
export declare function semanticHash(value: unknown): string;
|
|
27
26
|
/** Canonical hash of the full content — used to tell "semantics unchanged, metadata edited" apart. */
|
|
28
27
|
export declare function fullHash(value: unknown): string;
|
|
29
|
-
//#endregion
|
|
30
28
|
//# sourceMappingURL=hash.d.cts.map
|
package/dist/hash.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hash.d.cts","names":[],"sources":["../src/hash.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"hash.d.cts","names":[],"sources":["../src/hash.ts"],"mappings":";;;;;;;;;;;;;;;;wBA+EgB,UAAU;;wBAKV,gBAAgB;;wBAKhB,cAAc;;wBAyCd,UAAU;;wBA2EV,aAAa;;wBAKb,SAAS"}
|
package/dist/hash.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/hash.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Content hashing — contentHash covers execution semantics only.
|
|
4
3
|
*
|
|
@@ -26,5 +25,4 @@ export declare function sha256Hex(input: string): string;
|
|
|
26
25
|
export declare function semanticHash(value: unknown): string;
|
|
27
26
|
/** Canonical hash of the full content — used to tell "semantics unchanged, metadata edited" apart. */
|
|
28
27
|
export declare function fullHash(value: unknown): string;
|
|
29
|
-
//#endregion
|
|
30
28
|
//# sourceMappingURL=hash.d.mts.map
|
package/dist/hash.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hash.d.mts","names":[],"sources":["../src/hash.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"hash.d.mts","names":[],"sources":["../src/hash.ts"],"mappings":";;;;;;;;;;;;;;;;wBA+EgB,UAAU;;wBAKV,gBAAgB;;wBAKhB,cAAc;;wBAyCd,UAAU;;wBA2EV,aAAa;;wBAKb,SAAS"}
|
package/dist/hash.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/hash.ts
|
|
2
2
|
/**
|
|
3
3
|
* Content hashing — contentHash covers execution semantics only.
|
|
4
4
|
*
|
|
@@ -233,7 +233,6 @@ function semanticHash(value) {
|
|
|
233
233
|
function fullHash(value) {
|
|
234
234
|
return contentHashOf(canonicalJSON(value));
|
|
235
235
|
}
|
|
236
|
-
//#endregion
|
|
237
236
|
export { canonicalJSON, fullHash, semanticHash, sha256Hex, stripMeta, stripProvenance };
|
|
238
237
|
|
|
239
238
|
//# sourceMappingURL=hash.mjs.map
|
package/dist/host/auth.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_crypto = require("node:crypto");
|
|
3
|
-
|
|
3
|
+
// src/host/auth.ts
|
|
4
4
|
const utf8 = new TextEncoder();
|
|
5
5
|
/**
|
|
6
6
|
* `node:crypto`'s constant-time compare — on Node, Lambda, and a Worker with `nodejs_compat`
|
|
@@ -41,7 +41,6 @@ function bearerMatches(request, token) {
|
|
|
41
41
|
function authorized(request, env) {
|
|
42
42
|
return env.API_TOKEN === void 0 || bearerMatches(request, env.API_TOKEN);
|
|
43
43
|
}
|
|
44
|
-
//#endregion
|
|
45
44
|
exports.authorized = authorized;
|
|
46
45
|
exports.bearerMatches = bearerMatches;
|
|
47
46
|
exports.timingSafeEqual = timingSafeEqual;
|
package/dist/host/auth.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/host/auth.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Who may call the host's protected routes. By default the env's `API_TOKEN` as a bearer; a host
|
|
4
3
|
* replaces it with its own `Authorize` (an HMAC over the body, a JWT, a header its proxy adds).
|
|
@@ -31,5 +30,4 @@ export declare function bearerMatches(request: Request, token: string): boolean;
|
|
|
31
30
|
export declare function authorized(request: Request, env: {
|
|
32
31
|
API_TOKEN?: string | undefined;
|
|
33
32
|
}): boolean;
|
|
34
|
-
//#endregion
|
|
35
33
|
//# sourceMappingURL=auth.d.cts.map
|
package/dist/host/auth.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.cts","names":[],"sources":["../../src/host/auth.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.d.cts","names":[],"sources":["../../src/host/auth.ts"],"mappings":";;;;;;;;;;;YAcY,UAAU,QAAQ,SAAS,SAAS,KAAK,kBAAkB;;;;;;wBAkBjD,gBAAgB,WAAW,YAAY;;;;;;wBAa7C,cAAc,SAAS,SAAS;;;;;;wBAehC,WAAW,SAAS,SAAS;EAAO"}
|
package/dist/host/auth.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/host/auth.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Who may call the host's protected routes. By default the env's `API_TOKEN` as a bearer; a host
|
|
4
3
|
* replaces it with its own `Authorize` (an HMAC over the body, a JWT, a header its proxy adds).
|
|
@@ -31,5 +30,4 @@ export declare function bearerMatches(request: Request, token: string): boolean;
|
|
|
31
30
|
export declare function authorized(request: Request, env: {
|
|
32
31
|
API_TOKEN?: string | undefined;
|
|
33
32
|
}): boolean;
|
|
34
|
-
//#endregion
|
|
35
33
|
//# sourceMappingURL=auth.d.mts.map
|
package/dist/host/auth.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.mts","names":[],"sources":["../../src/host/auth.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.d.mts","names":[],"sources":["../../src/host/auth.ts"],"mappings":";;;;;;;;;;;YAcY,UAAU,QAAQ,SAAS,SAAS,KAAK,kBAAkB;;;;;;wBAkBjD,gBAAgB,WAAW,YAAY;;;;;;wBAa7C,cAAc,SAAS,SAAS;;;;;;wBAehC,WAAW,SAAS,SAAS;EAAO"}
|
package/dist/host/auth.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { timingSafeEqual as timingSafeEqual$1 } from "node:crypto";
|
|
2
|
-
|
|
2
|
+
// src/host/auth.ts
|
|
3
3
|
const utf8 = new TextEncoder();
|
|
4
4
|
/**
|
|
5
5
|
* `node:crypto`'s constant-time compare — on Node, Lambda, and a Worker with `nodejs_compat`
|
|
@@ -40,7 +40,6 @@ function bearerMatches(request, token) {
|
|
|
40
40
|
function authorized(request, env) {
|
|
41
41
|
return env.API_TOKEN === void 0 || bearerMatches(request, env.API_TOKEN);
|
|
42
42
|
}
|
|
43
|
-
//#endregion
|
|
44
43
|
export { authorized, bearerMatches, timingSafeEqual };
|
|
45
44
|
|
|
46
45
|
//# sourceMappingURL=auth.mjs.map
|
package/dist/host/channels.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const require_webpush = require("../webpush.cjs");
|
|
|
13
13
|
const require_host_ingest = require("./ingest.cjs");
|
|
14
14
|
const require_host_senders = require("./senders.cjs");
|
|
15
15
|
let node_buffer = require("node:buffer");
|
|
16
|
-
|
|
16
|
+
// src/host/channels.ts
|
|
17
17
|
/**
|
|
18
18
|
* The outlets a `JourneyConfig` describes, assembled against the environment:
|
|
19
19
|
* email through the host's transport (SES, Cloudflare Email, ...) with each template's addresses, iOS pushes
|
|
@@ -231,7 +231,6 @@ function channelsFromConfig(config, env, options = {}) {
|
|
|
231
231
|
slack: slack()
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
//#endregion
|
|
235
234
|
exports.channelsFromConfig = channelsFromConfig;
|
|
236
235
|
exports.createProviderCache = createProviderCache;
|
|
237
236
|
exports.journeyMode = journeyMode;
|
package/dist/host/channels.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { MessageSender } from "../engine/ports.cjs";
|
|
2
|
-
import { JourneyEnv } from "./platform.cjs";
|
|
3
2
|
import { JourneyStore } from "../store/index.cjs";
|
|
4
3
|
import { JourneyMode, JourneyRuntimeOptions } from "../runtime.cjs";
|
|
5
4
|
import { JourneyConfig } from "../config.cjs";
|
|
6
5
|
import { EmailTransport } from "../email-sender.cjs";
|
|
7
|
-
|
|
6
|
+
import { JourneyEnv } from "./platform.cjs";
|
|
8
7
|
/**
|
|
9
8
|
* The outlets a `JourneyConfig` describes, assembled against the environment:
|
|
10
9
|
* email through the host's transport (SES, Cloudflare Email, ...) with each template's addresses, iOS pushes
|
|
@@ -56,5 +55,4 @@ export declare function channelsFromConfig(config: ChannelsConfig, env: JourneyE
|
|
|
56
55
|
*/
|
|
57
56
|
providers?: ProviderCache | undefined;
|
|
58
57
|
}): MessageSender;
|
|
59
|
-
//#endregion
|
|
60
58
|
//# sourceMappingURL=channels.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channels.d.cts","names":[],"sources":["../../src/host/channels.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"channels.d.cts","names":[],"sources":["../../src/host/channels.ts"],"mappings":";;;;;;;;;;;;;;;;;wBAmDgB,YAAY,KAAK,aAAa;;wBAK9B,kBACd,QAAQ,KAAK,uCACb,KAAK,aACJ,SAAS;;;;;;;;;;;;;;;;;iBAoDK;;EAEf,IAAI,GAAG,aAAa,aAAa,IAAI;;wBAGvB,uBAAuB;;YAiD3B,iBAAiB,KAC3B;wBAIc,mBACd,QAAQ,gBACR,KAAK,YACL;;EAEE,QAAQ;;EAER,QAAQ;EACR,eAAe;;EAEf,mBAAmB;;;;;EAKnB,YAAY;IAEb"}
|
package/dist/host/channels.d.mts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { MessageSender } from "../engine/ports.mjs";
|
|
2
|
-
import { JourneyEnv } from "./platform.mjs";
|
|
3
2
|
import { JourneyStore } from "../store/index.mjs";
|
|
4
3
|
import { JourneyMode, JourneyRuntimeOptions } from "../runtime.mjs";
|
|
5
4
|
import { JourneyConfig } from "../config.mjs";
|
|
6
5
|
import { EmailTransport } from "../email-sender.mjs";
|
|
7
|
-
|
|
6
|
+
import { JourneyEnv } from "./platform.mjs";
|
|
8
7
|
/**
|
|
9
8
|
* The outlets a `JourneyConfig` describes, assembled against the environment:
|
|
10
9
|
* email through the host's transport (SES, Cloudflare Email, ...) with each template's addresses, iOS pushes
|
|
@@ -56,5 +55,4 @@ export declare function channelsFromConfig(config: ChannelsConfig, env: JourneyE
|
|
|
56
55
|
*/
|
|
57
56
|
providers?: ProviderCache | undefined;
|
|
58
57
|
}): MessageSender;
|
|
59
|
-
//#endregion
|
|
60
58
|
//# sourceMappingURL=channels.d.mts.map
|