@shware/workflow 5.0.0 → 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/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 +1 -2
- package/dist/aws/index.d.cts +0 -2
- package/dist/aws/index.d.cts.map +1 -1
- package/dist/aws/index.d.mts +0 -2
- package/dist/aws/index.d.mts.map +1 -1
- package/dist/aws/index.mjs +1 -2
- package/dist/aws/instances.cjs +1 -2
- package/dist/aws/instances.d.cts +0 -2
- package/dist/aws/instances.d.cts.map +1 -1
- package/dist/aws/instances.d.mts +0 -2
- package/dist/aws/instances.d.mts.map +1 -1
- package/dist/aws/instances.mjs +1 -2
- 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.d.cts +0 -2
- package/dist/cloudflare/bindings.d.cts.map +1 -1
- package/dist/cloudflare/bindings.d.mts +0 -2
- package/dist/cloudflare/bindings.d.mts.map +1 -1
- package/dist/cloudflare/bindings.mjs +1 -2
- package/dist/cloudflare/runner.cjs +1 -2
- package/dist/cloudflare/runner.d.cts +0 -2
- package/dist/cloudflare/runner.d.cts.map +1 -1
- package/dist/cloudflare/runner.d.mts +0 -2
- package/dist/cloudflare/runner.d.mts.map +1 -1
- package/dist/cloudflare/runner.mjs +1 -2
- 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.d.cts +0 -2
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +0 -2
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -2
- 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 +1 -2
- package/dist/engine/condition.d.cts +0 -2
- package/dist/engine/condition.d.cts.map +1 -1
- package/dist/engine/condition.d.mts +0 -2
- package/dist/engine/condition.d.mts.map +1 -1
- package/dist/engine/condition.mjs +1 -2
- 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 +0 -2
- package/dist/engine/ports.d.cts.map +1 -1
- package/dist/engine/ports.d.mts +0 -2
- 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 +0 -2
- package/dist/host/channels.d.cts.map +1 -1
- package/dist/host/channels.d.mts +0 -2
- 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 +0 -2
- package/dist/host/execute.d.cts.map +1 -1
- package/dist/host/execute.d.mts +0 -2
- 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 +1 -2
- package/dist/host/http.d.cts +0 -2
- package/dist/host/http.d.cts.map +1 -1
- package/dist/host/http.d.mts +0 -2
- package/dist/host/http.d.mts.map +1 -1
- package/dist/host/http.mjs +1 -2
- package/dist/host/ingest.cjs +1 -2
- package/dist/host/ingest.d.cts +0 -2
- package/dist/host/ingest.d.cts.map +1 -1
- package/dist/host/ingest.d.mts +0 -2
- package/dist/host/ingest.d.mts.map +1 -1
- package/dist/host/ingest.mjs +1 -2
- package/dist/host/journey-host.cjs +1 -2
- package/dist/host/journey-host.d.cts +0 -2
- package/dist/host/journey-host.d.cts.map +1 -1
- package/dist/host/journey-host.d.mts +0 -2
- package/dist/host/journey-host.d.mts.map +1 -1
- package/dist/host/journey-host.mjs +1 -2
- package/dist/host/platform.cjs +1 -2
- package/dist/host/platform.d.cts +0 -2
- package/dist/host/platform.d.cts.map +1 -1
- package/dist/host/platform.d.mts +0 -2
- package/dist/host/platform.d.mts.map +1 -1
- package/dist/host/platform.mjs +1 -2
- 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 +1 -2
- 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 +1 -2
- package/dist/store/index.cjs +1 -2
- package/dist/store/index.d.cts +0 -2
- package/dist/store/index.d.cts.map +1 -1
- package/dist/store/index.d.mts +0 -2
- package/dist/store/index.d.mts.map +1 -1
- package/dist/store/index.mjs +1 -2
- 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 +1 -2
- package/dist/store/postgres.d.cts +0 -2
- package/dist/store/postgres.d.cts.map +1 -1
- package/dist/store/postgres.d.mts +0 -2
- package/dist/store/postgres.d.mts.map +1 -1
- package/dist/store/postgres.mjs +1 -2
- 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 +0 -2
- package/dist/transports/cloudflare-email.d.cts.map +1 -1
- package/dist/transports/cloudflare-email.d.mts +0 -2
- 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 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -19,5 +19,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
19
19
|
value: mod,
|
|
20
20
|
enumerable: true
|
|
21
21
|
}) : target, mod));
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.__toESM = __toESM;
|
package/dist/apns-relay.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_http2_client = require("./http2-client.cjs");
|
|
3
3
|
let node_http = require("node:http");
|
|
4
|
-
|
|
4
|
+
// src/apns-relay.ts
|
|
5
5
|
const DEFAULT_ALLOW = ["https://api.push.apple.com", "https://api.sandbox.push.apple.com"];
|
|
6
6
|
/** Request headers APNs reads; everything else (host, content-length, …) is the relay's own business. */
|
|
7
7
|
const FORWARDED = [
|
|
@@ -86,7 +86,6 @@ function startApnsRelay(options) {
|
|
|
86
86
|
});
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
//#endregion
|
|
90
89
|
exports.startApnsRelay = startApnsRelay;
|
|
91
90
|
|
|
92
91
|
//# sourceMappingURL=apns-relay.cjs.map
|
package/dist/apns-relay.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/apns-relay.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* `@shware/workflow/apns-relay` — a development-only HTTP/1.1 → HTTP/2 relay
|
|
4
3
|
* for APNs, run under Node next to `wrangler dev`.
|
|
@@ -24,5 +23,4 @@ export interface ApnsRelay {
|
|
|
24
23
|
close(): Promise<void>;
|
|
25
24
|
}
|
|
26
25
|
export declare function startApnsRelay(options: ApnsRelayOptions): Promise<ApnsRelay>;
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=apns-relay.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apns-relay.d.cts","names":[],"sources":["../src/apns-relay.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"apns-relay.d.cts","names":[],"sources":["../src/apns-relay.ts"],"mappings":";;;;;;;;;;;;;iBAiBiB;EACf;;EAEA;;EAEA;;iBAGe;EACf;EACA,SAAS;;wBAiBK,eAAe,SAAS,mBAAmB,QAAQ"}
|
package/dist/apns-relay.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/apns-relay.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* `@shware/workflow/apns-relay` — a development-only HTTP/1.1 → HTTP/2 relay
|
|
4
3
|
* for APNs, run under Node next to `wrangler dev`.
|
|
@@ -24,5 +23,4 @@ export interface ApnsRelay {
|
|
|
24
23
|
close(): Promise<void>;
|
|
25
24
|
}
|
|
26
25
|
export declare function startApnsRelay(options: ApnsRelayOptions): Promise<ApnsRelay>;
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=apns-relay.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apns-relay.d.mts","names":[],"sources":["../src/apns-relay.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"apns-relay.d.mts","names":[],"sources":["../src/apns-relay.ts"],"mappings":";;;;;;;;;;;;;iBAiBiB;EACf;;EAEA;;EAEA;;iBAGe;EACf;EACA,SAAS;;wBAiBK,eAAe,SAAS,mBAAmB,QAAQ"}
|
package/dist/apns-relay.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { http2Sessions } from "./http2-client.mjs";
|
|
2
2
|
import { createServer } from "node:http";
|
|
3
|
-
|
|
3
|
+
// src/apns-relay.ts
|
|
4
4
|
const DEFAULT_ALLOW = ["https://api.push.apple.com", "https://api.sandbox.push.apple.com"];
|
|
5
5
|
/** Request headers APNs reads; everything else (host, content-length, …) is the relay's own business. */
|
|
6
6
|
const FORWARDED = [
|
|
@@ -85,7 +85,6 @@ function startApnsRelay(options) {
|
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
//#endregion
|
|
89
88
|
export { startApnsRelay };
|
|
90
89
|
|
|
91
90
|
//# sourceMappingURL=apns-relay.mjs.map
|
package/dist/apns.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/apns.ts
|
|
6
6
|
const APNS_HOSTS = {
|
|
7
7
|
sandbox: "https://api.sandbox.push.apple.com",
|
|
8
8
|
production: "https://api.push.apple.com"
|
|
@@ -196,7 +196,6 @@ function apnsKeyFromBase64(value) {
|
|
|
196
196
|
if (!pem.includes("-----BEGIN PRIVATE KEY-----")) throw new require_engine_retry.PermanentError("APNs key is not a PKCS #8 PEM (.p8) file");
|
|
197
197
|
return pem;
|
|
198
198
|
}
|
|
199
|
-
//#endregion
|
|
200
199
|
exports.APNS_HOSTS = APNS_HOSTS;
|
|
201
200
|
exports.ApnsProviderToken = ApnsProviderToken;
|
|
202
201
|
exports.ApnsPushSender = ApnsPushSender;
|
package/dist/apns.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/apns.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* `@shware/workflow/apns` — iOS push delivery straight to the Apple Push
|
|
7
6
|
* Notification service, token-based (an APNs auth key, the `.p8` file from the
|
|
@@ -105,5 +104,4 @@ export declare function apnsReason(body: string): string;
|
|
|
105
104
|
export declare function signApnsJwt(key: ApnsProviderTokenOptions, nowMs?: number): Promise<string>;
|
|
106
105
|
/** The `.p8` as it is usually shipped in a secret: base64 of the file. */
|
|
107
106
|
export declare function apnsKeyFromBase64(value: string): string;
|
|
108
|
-
//#endregion
|
|
109
107
|
//# sourceMappingURL=apns.d.cts.map
|
package/dist/apns.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apns.d.cts","names":[],"sources":["../src/apns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"apns.d.cts","names":[],"sources":["../src/apns.ts"],"mappings":";;;;;;;;;;;;;;;;iBAoBiB;;EAEf;;EAEA;;EAEA;;iBAGe;;EAEf,aAAa;;EAEb;;;;;;;EAOA;EACA,QAAQ;;;;;;EAMR;;EAEA,eAAe;;qBAGJ;WACX;WACA;;;;;;;;;;;;;;;;;;;;;qBAsBW,oBAAoB;;;;;;;;wBAsBX,cAAc,yBAAyB;;;;;;;;qBAqBhD;mBAIkB;UAHrB;UACA;EAER,YAA6B,SAAS;;EAGhC,MAAM,eAAmB;;EAgB/B;;qBAKW,0BAA0B;mBACR;EAA7B,YAA6B,SAAS;EAEhC,KAAK,SAAS,kBAAkB,eAAe;;;wBAkFvC,WAAW;;wBAUL,YACpB,KAAK,0BACL,iBACC;;wBAoBa,kBAAkB"}
|
package/dist/apns.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/apns.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* `@shware/workflow/apns` — iOS push delivery straight to the Apple Push
|
|
7
6
|
* Notification service, token-based (an APNs auth key, the `.p8` file from the
|
|
@@ -105,5 +104,4 @@ export declare function apnsReason(body: string): string;
|
|
|
105
104
|
export declare function signApnsJwt(key: ApnsProviderTokenOptions, nowMs?: number): Promise<string>;
|
|
106
105
|
/** The `.p8` as it is usually shipped in a secret: base64 of the file. */
|
|
107
106
|
export declare function apnsKeyFromBase64(value: string): string;
|
|
108
|
-
//#endregion
|
|
109
107
|
//# sourceMappingURL=apns.d.mts.map
|
package/dist/apns.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apns.d.mts","names":[],"sources":["../src/apns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"apns.d.mts","names":[],"sources":["../src/apns.ts"],"mappings":";;;;;;;;;;;;;;;;iBAoBiB;;EAEf;;EAEA;;EAEA;;iBAGe;;EAEf,aAAa;;EAEb;;;;;;;EAOA;EACA,QAAQ;;;;;;EAMR;;EAEA,eAAe;;qBAGJ;WACX;WACA;;;;;;;;;;;;;;;;;;;;;qBAsBW,oBAAoB;;;;;;;;wBAsBX,cAAc,yBAAyB;;;;;;;;qBAqBhD;mBAIkB;UAHrB;UACA;EAER,YAA6B,SAAS;;EAGhC,MAAM,eAAmB;;EAgB/B;;qBAKW,0BAA0B;mBACR;EAA7B,YAA6B,SAAS;EAEhC,KAAK,SAAS,kBAAkB,eAAe;;;wBAkFvC,WAAW;;wBAUL,YACpB,KAAK,0BACL,iBACC;;wBAoBa,kBAAkB"}
|
package/dist/apns.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/apns.ts
|
|
5
5
|
const APNS_HOSTS = {
|
|
6
6
|
sandbox: "https://api.sandbox.push.apple.com",
|
|
7
7
|
production: "https://api.push.apple.com"
|
|
@@ -195,7 +195,6 @@ function apnsKeyFromBase64(value) {
|
|
|
195
195
|
if (!pem.includes("-----BEGIN PRIVATE KEY-----")) throw new PermanentError("APNs key is not a PKCS #8 PEM (.p8) file");
|
|
196
196
|
return pem;
|
|
197
197
|
}
|
|
198
|
-
//#endregion
|
|
199
198
|
export { APNS_HOSTS, ApnsProviderToken, ApnsPushSender, DEAD_TOKEN_REASONS, apnsIdFromKey, apnsKeyFromBase64, apnsReason, signApnsJwt };
|
|
200
199
|
|
|
201
200
|
//# sourceMappingURL=apns.mjs.map
|
package/dist/aws/engine-step.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_engine_retry = require("../engine/retry.cjs");
|
|
3
3
|
let _aws_durable_execution_sdk_js = require("@aws/durable-execution-sdk-js");
|
|
4
|
-
|
|
4
|
+
// src/aws/engine-step.ts
|
|
5
5
|
/**
|
|
6
6
|
* EngineStep over a Lambda durable execution.
|
|
7
7
|
*
|
|
@@ -96,7 +96,6 @@ var AwsEngineStep = class {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
|
-
//#endregion
|
|
100
99
|
exports.AwsEngineStep = AwsEngineStep;
|
|
101
100
|
exports.stepRetry = stepRetry;
|
|
102
101
|
|
|
@@ -2,7 +2,6 @@ import { EngineStep } from "../engine/ports.cjs";
|
|
|
2
2
|
import { ExecutionRegistry, JourneyStore } from "../store/index.cjs";
|
|
3
3
|
import { LambdaApi } from "./lambda-api.cjs";
|
|
4
4
|
import { DurableContext, RetryDecision } from "@aws/durable-execution-sdk-js";
|
|
5
|
-
//#region src/aws/engine-step.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* EngineStep over a Lambda durable execution.
|
|
8
7
|
*
|
|
@@ -40,5 +39,4 @@ export declare class AwsEngineStep implements EngineStep {
|
|
|
40
39
|
deadlineMs: number;
|
|
41
40
|
}): Promise<'event' | 'timeout'>;
|
|
42
41
|
}
|
|
43
|
-
//#endregion
|
|
44
42
|
//# sourceMappingURL=engine-step.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-step.d.cts","names":[],"sources":["../../src/aws/engine-step.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"engine-step.d.cts","names":[],"sources":["../../src/aws/engine-step.ts"],"mappings":";;;;;;;;;;;;;;;wBAuBgB,UAAU,OAAO,OAAO,kBAAkB;qBAa7C,yBAAyB;mBAKjB;mBACA;mBACA;mBACA;mBACA;mBACA;UATX;UACA;EAER,YACmB,SAAS,gBACT,OAAO,cACP,YAAY,mBACZ,QAAQ,WACR,gBACA;EAGnB,GAAG,GAAG,cAAc,UAAU,QAAQ,KAAK,QAAQ;EAI7C,MAAM,cAAc,aAAa;EAMjC,UACJ,cACA,2BACA;IAAW;MACV;EAoCG,YAAY,eAAe;;;;;EAsB3B,YACJ,cACA;IAAS;IAAmB;MAC3B"}
|
|
@@ -2,7 +2,6 @@ import { EngineStep } from "../engine/ports.mjs";
|
|
|
2
2
|
import { ExecutionRegistry, JourneyStore } from "../store/index.mjs";
|
|
3
3
|
import { LambdaApi } from "./lambda-api.mjs";
|
|
4
4
|
import { DurableContext, RetryDecision } from "@aws/durable-execution-sdk-js";
|
|
5
|
-
//#region src/aws/engine-step.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* EngineStep over a Lambda durable execution.
|
|
8
7
|
*
|
|
@@ -40,5 +39,4 @@ export declare class AwsEngineStep implements EngineStep {
|
|
|
40
39
|
deadlineMs: number;
|
|
41
40
|
}): Promise<'event' | 'timeout'>;
|
|
42
41
|
}
|
|
43
|
-
//#endregion
|
|
44
42
|
//# sourceMappingURL=engine-step.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-step.d.mts","names":[],"sources":["../../src/aws/engine-step.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"engine-step.d.mts","names":[],"sources":["../../src/aws/engine-step.ts"],"mappings":";;;;;;;;;;;;;;;wBAuBgB,UAAU,OAAO,OAAO,kBAAkB;qBAa7C,yBAAyB;mBAKjB;mBACA;mBACA;mBACA;mBACA;mBACA;UATX;UACA;EAER,YACmB,SAAS,gBACT,OAAO,cACP,YAAY,mBACZ,QAAQ,WACR,gBACA;EAGnB,GAAG,GAAG,cAAc,UAAU,QAAQ,KAAK,QAAQ;EAI7C,MAAM,cAAc,aAAa;EAMjC,UACJ,cACA,2BACA;IAAW;MACV;EAoCG,YAAY,eAAe;;;;;EAsB3B,YACJ,cACA;IAAS;IAAmB;MAC3B"}
|
package/dist/aws/engine-step.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isRetryable } from "../engine/retry.mjs";
|
|
2
2
|
import { CallbackTimeoutError } from "@aws/durable-execution-sdk-js";
|
|
3
|
-
|
|
3
|
+
// src/aws/engine-step.ts
|
|
4
4
|
/**
|
|
5
5
|
* EngineStep over a Lambda durable execution.
|
|
6
6
|
*
|
|
@@ -95,7 +95,6 @@ var AwsEngineStep = class {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
//#endregion
|
|
99
98
|
export { AwsEngineStep, stepRetry };
|
|
100
99
|
|
|
101
100
|
//# sourceMappingURL=engine-step.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_buffer = require("node:buffer");
|
|
3
|
-
|
|
3
|
+
// src/aws/function-url.ts
|
|
4
4
|
/**
|
|
5
5
|
* An HTTP request, told apart by the event's own top-level shape — the Function URL wraps
|
|
6
6
|
* every request in `requestContext.http`, so no request body can pass for anything else.
|
|
@@ -46,7 +46,6 @@ async function fromResponse(response, method) {
|
|
|
46
46
|
isBase64Encoded: !textual
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
//#endregion
|
|
50
49
|
exports.fromResponse = fromResponse;
|
|
51
50
|
exports.isFunctionUrlEvent = isFunctionUrlEvent;
|
|
52
51
|
exports.toRequest = toRequest;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/aws/function-url.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Lambda Function URL events (payload format 2.0) as fetch `Request`s, and `Response`s back as
|
|
4
3
|
* the result Lambda turns into the HTTP response — so the host's HTTP API runs unchanged.
|
|
@@ -34,5 +33,4 @@ export interface FunctionUrlResult {
|
|
|
34
33
|
export declare function isFunctionUrlEvent(event: unknown): event is FunctionUrlEvent;
|
|
35
34
|
export declare function toRequest(event: FunctionUrlEvent): Request;
|
|
36
35
|
export declare function fromResponse(response: Response, method: string): Promise<FunctionUrlResult>;
|
|
37
|
-
//#endregion
|
|
38
36
|
//# sourceMappingURL=function-url.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function-url.d.cts","names":[],"sources":["../../src/aws/function-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"function-url.d.cts","names":[],"sources":["../../src/aws/function-url.ts"],"mappings":";;;;iBAMiB;EACf;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;IACE;IACA;MAAQ;MAAgB;MAAmB;;;;iBAI9B;EACf;EACA,SAAS;EACT;EACA;EACA;;;;;;wBAOc,mBAAmB,iBAAiB,SAAS;wBAoB7C,UAAU,OAAO,mBAAmB;wBA4B9B,aAAa,UAAU,UAAU,iBAAiB,QAAQ"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/aws/function-url.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Lambda Function URL events (payload format 2.0) as fetch `Request`s, and `Response`s back as
|
|
4
3
|
* the result Lambda turns into the HTTP response — so the host's HTTP API runs unchanged.
|
|
@@ -34,5 +33,4 @@ export interface FunctionUrlResult {
|
|
|
34
33
|
export declare function isFunctionUrlEvent(event: unknown): event is FunctionUrlEvent;
|
|
35
34
|
export declare function toRequest(event: FunctionUrlEvent): Request;
|
|
36
35
|
export declare function fromResponse(response: Response, method: string): Promise<FunctionUrlResult>;
|
|
37
|
-
//#endregion
|
|
38
36
|
//# sourceMappingURL=function-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function-url.d.mts","names":[],"sources":["../../src/aws/function-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"function-url.d.mts","names":[],"sources":["../../src/aws/function-url.ts"],"mappings":";;;;iBAMiB;EACf;EACA;EACA;EACA,UAAU;EACV;EACA;EACA;EACA;IACE;IACA;MAAQ;MAAgB;MAAmB;;;;iBAI9B;EACf;EACA,SAAS;EACT;EACA;EACA;;;;;;wBAOc,mBAAmB,iBAAiB,SAAS;wBAoB7C,UAAU,OAAO,mBAAmB;wBA4B9B,aAAa,UAAU,UAAU,iBAAiB,QAAQ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Buffer } from "node:buffer";
|
|
2
|
-
|
|
2
|
+
// src/aws/function-url.ts
|
|
3
3
|
/**
|
|
4
4
|
* An HTTP request, told apart by the event's own top-level shape — the Function URL wraps
|
|
5
5
|
* every request in `requestContext.http`, so no request body can pass for anything else.
|
|
@@ -45,7 +45,6 @@ async function fromResponse(response, method) {
|
|
|
45
45
|
isBase64Encoded: !textual
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { fromResponse, isFunctionUrlEvent, toRequest };
|
|
50
49
|
|
|
51
50
|
//# sourceMappingURL=function-url.mjs.map
|
package/dist/aws/index.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const require_aws_instances = require("./instances.cjs");
|
|
|
13
13
|
const require_aws_lambda_api = require("./lambda-api.cjs");
|
|
14
14
|
let _aws_durable_execution_sdk_js = require("@aws/durable-execution-sdk-js");
|
|
15
15
|
let node_async_hooks = require("node:async_hooks");
|
|
16
|
-
|
|
16
|
+
// src/aws/index.ts
|
|
17
17
|
/**
|
|
18
18
|
* `@shware/workflow/aws` — the journey host as one Lambda durable function behind a Function
|
|
19
19
|
* URL, on Postgres.
|
|
@@ -192,7 +192,6 @@ function journeyLambda(options) {
|
|
|
192
192
|
};
|
|
193
193
|
return { handler };
|
|
194
194
|
}
|
|
195
|
-
//#endregion
|
|
196
195
|
exports.AwsEngineStep = require_aws_engine_step.AwsEngineStep;
|
|
197
196
|
exports.AwsInstances = require_aws_instances.AwsInstances;
|
|
198
197
|
exports.RUN_EVENT_TYPE = require_aws_instances.RUN_EVENT_TYPE;
|
package/dist/aws/index.d.cts
CHANGED
|
@@ -7,7 +7,6 @@ import { JourneyEnv } from "../host/platform.cjs";
|
|
|
7
7
|
import { JourneyHostOptions } from "../host/journey-host.cjs";
|
|
8
8
|
import { AwsInstances, AwsInstancesOptions, RUN_EVENT_TYPE, RunInput, executionName, isRunInput } from "./instances.cjs";
|
|
9
9
|
import { DurableExecutionInvocationInput, DurableExecutionInvocationOutput } from "@aws/durable-execution-sdk-js";
|
|
10
|
-
//#region src/aws/index.d.ts
|
|
11
10
|
/**
|
|
12
11
|
* `@shware/workflow/aws` — the journey host as one Lambda durable function behind a Function
|
|
13
12
|
* URL, on Postgres.
|
|
@@ -70,6 +69,5 @@ export interface JourneyLambda {
|
|
|
70
69
|
handler: (event: DurableExecutionInvocationInput, context: LambdaContext) => Promise<DurableExecutionInvocationOutput>;
|
|
71
70
|
}
|
|
72
71
|
export declare function journeyLambda<Env extends JourneyLambdaEnv>(options: JourneyLambdaOptions<Env>): JourneyLambda;
|
|
73
|
-
//#endregion
|
|
74
72
|
export { type Authorize, AwsEngineStep, AwsInstances, type AwsInstancesOptions, type ExecutionState, type FunctionUrlEvent, type FunctionUrlResult, type LambdaApi, RUN_EVENT_TYPE, type RunInput, bearerMatches, executionName, fromResponse, isFunctionUrlEvent, isRunInput, sdkLambdaApi, stepRetry, timingSafeEqual, toRequest };
|
|
75
73
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/aws/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/aws/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/aws/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqDa;;YAGD,mBAAmB,KAAK;iBAEnB,qBAAqB,YAAY,0BAA0B,KAC1E,mBAAmB,MAAM;;EAIzB,KAAK;;EAEL,QAAQ,KAAK,KAAK;IAAY;QAAqB,eAAe;;EAElE,SAAS;;EAET;;;;;;EAMA;;;;;;EAMA;;;;;;iBAOe;EACf;EACA;EACA;EACA;EACA;;iBAGe;;EAEf,UACE,OAAO,iCACP,SAAS,kBACN,QAAQ;;wBAeC,cAAc,YAAY,kBACxC,SAAS,qBAAqB,OAC7B"}
|
package/dist/aws/index.d.mts
CHANGED
|
@@ -7,7 +7,6 @@ import { JourneyEnv } from "../host/platform.mjs";
|
|
|
7
7
|
import { JourneyHostOptions } from "../host/journey-host.mjs";
|
|
8
8
|
import { AwsInstances, AwsInstancesOptions, RUN_EVENT_TYPE, RunInput, executionName, isRunInput } from "./instances.mjs";
|
|
9
9
|
import { DurableExecutionInvocationInput, DurableExecutionInvocationOutput } from "@aws/durable-execution-sdk-js";
|
|
10
|
-
//#region src/aws/index.d.ts
|
|
11
10
|
/**
|
|
12
11
|
* `@shware/workflow/aws` — the journey host as one Lambda durable function behind a Function
|
|
13
12
|
* URL, on Postgres.
|
|
@@ -70,6 +69,5 @@ export interface JourneyLambda {
|
|
|
70
69
|
handler: (event: DurableExecutionInvocationInput, context: LambdaContext) => Promise<DurableExecutionInvocationOutput>;
|
|
71
70
|
}
|
|
72
71
|
export declare function journeyLambda<Env extends JourneyLambdaEnv>(options: JourneyLambdaOptions<Env>): JourneyLambda;
|
|
73
|
-
//#endregion
|
|
74
72
|
export { type Authorize, AwsEngineStep, AwsInstances, type AwsInstancesOptions, type ExecutionState, type FunctionUrlEvent, type FunctionUrlResult, type LambdaApi, RUN_EVENT_TYPE, type RunInput, bearerMatches, executionName, fromResponse, isFunctionUrlEvent, isRunInput, sdkLambdaApi, stepRetry, timingSafeEqual, toRequest };
|
|
75
73
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/aws/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/aws/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/aws/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqDa;;YAGD,mBAAmB,KAAK;iBAEnB,qBAAqB,YAAY,0BAA0B,KAC1E,mBAAmB,MAAM;;EAIzB,KAAK;;EAEL,QAAQ,KAAK,KAAK;IAAY;QAAqB,eAAe;;EAElE,SAAS;;EAET;;;;;;EAMA;;;;;;EAMA;;;;;;iBAOe;EACf;EACA;EACA;EACA;EACA;;iBAGe;;EAEf,UACE,OAAO,iCACP,SAAS,kBACN,QAAQ;;wBAeC,cAAc,YAAY,kBACxC,SAAS,qBAAqB,OAC7B"}
|
package/dist/aws/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { AwsInstances, RUN_EVENT_TYPE, executionName, isRunInput } from "./insta
|
|
|
12
12
|
import { sdkLambdaApi } from "./lambda-api.mjs";
|
|
13
13
|
import { withDurableExecution } from "@aws/durable-execution-sdk-js";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
|
-
|
|
15
|
+
// src/aws/index.ts
|
|
16
16
|
/**
|
|
17
17
|
* `@shware/workflow/aws` — the journey host as one Lambda durable function behind a Function
|
|
18
18
|
* URL, on Postgres.
|
|
@@ -191,7 +191,6 @@ function journeyLambda(options) {
|
|
|
191
191
|
};
|
|
192
192
|
return { handler };
|
|
193
193
|
}
|
|
194
|
-
//#endregion
|
|
195
194
|
export { AwsEngineStep, AwsInstances, RUN_EVENT_TYPE, SWEEP_EVENT_TYPE, bearerMatches, executionName, fromResponse, isFunctionUrlEvent, isRunInput, journeyLambda, sdkLambdaApi, stepRetry, timingSafeEqual, toRequest };
|
|
196
195
|
|
|
197
196
|
//# sourceMappingURL=index.mjs.map
|
package/dist/aws/instances.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_engine_bucket = require("../engine/bucket.cjs");
|
|
3
3
|
const require_host_platform = require("../host/platform.cjs");
|
|
4
|
-
|
|
4
|
+
// src/aws/instances.ts
|
|
5
5
|
/**
|
|
6
6
|
* The router's instance port over Lambda durable executions: an instance is one execution of
|
|
7
7
|
* this same function, started by an asynchronous self-invoke under a stable execution name;
|
|
@@ -210,7 +210,6 @@ var AwsInstances = class {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
|
-
//#endregion
|
|
214
213
|
exports.AwsInstances = AwsInstances;
|
|
215
214
|
exports.RUN_EVENT_TYPE = RUN_EVENT_TYPE;
|
|
216
215
|
exports.executionName = executionName;
|
package/dist/aws/instances.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ExecutionRegistry, ExecutionStart, JourneyStore } from "../store/index.cjs";
|
|
2
2
|
import { LambdaApi } from "./lambda-api.cjs";
|
|
3
3
|
import { JourneyParams, WorkflowBindingLike, WorkflowInstanceLike } from "../host/platform.cjs";
|
|
4
|
-
//#region src/aws/instances.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The router's instance port over Lambda durable executions: an instance is one execution of
|
|
7
6
|
* this same function, started by an asynchronous self-invoke under a stable execution name;
|
|
@@ -100,5 +99,4 @@ export declare class AwsInstances implements WorkflowBindingLike {
|
|
|
100
99
|
private reconcile;
|
|
101
100
|
private instance;
|
|
102
101
|
}
|
|
103
|
-
//#endregion
|
|
104
102
|
//# sourceMappingURL=instances.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instances.d.cts","names":[],"sources":["../../src/aws/instances.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"instances.d.cts","names":[],"sources":["../../src/aws/instances.ts"],"mappings":";;;;;;;;;qBAsBa;iBAEI;EACf,aAAa;EACb;EACA,QAAQ;;EAER;;wBAGc,WAAW,iBAAiB,SAAS;;;;;;wBA0BrC,cAAc,oBAAoB;iBAQjC;EACf,OAAO;EACP,YAAY;EACZ,QAAQ;;;;;EAKR,OAAO,qBAAqB,mBAAmB;;;;;;EAM/C;;EAEA;;;;;;EAMA;EACA;;qBAKW,wBAAwB;mBAMN;mBALZ;mBACA;mBACA;mBACA;EAEjB,YAA6B,SAAS;;;;;;EAYhC,KAAK;IACT;IACA,QAAQ;IACR;IACA;MACE,QAAQ;EAeN,OAAO;IAAW;IAAY;MAAoB,QAAQ;EAS1D,IAAI,aAAa,QAAQ;EAQzB,OAAO;IAAS;IAAkB;MAAmB;EAMrD,YAAY;UA4BJ;;UAUA;UASA;;;;;UAWN;;UAKA;;;;;;;;;;UAaM;UAKA;UA0CN"}
|
package/dist/aws/instances.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ExecutionRegistry, ExecutionStart, JourneyStore } from "../store/index.mjs";
|
|
2
2
|
import { LambdaApi } from "./lambda-api.mjs";
|
|
3
3
|
import { JourneyParams, WorkflowBindingLike, WorkflowInstanceLike } from "../host/platform.mjs";
|
|
4
|
-
//#region src/aws/instances.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* The router's instance port over Lambda durable executions: an instance is one execution of
|
|
7
6
|
* this same function, started by an asynchronous self-invoke under a stable execution name;
|
|
@@ -100,5 +99,4 @@ export declare class AwsInstances implements WorkflowBindingLike {
|
|
|
100
99
|
private reconcile;
|
|
101
100
|
private instance;
|
|
102
101
|
}
|
|
103
|
-
//#endregion
|
|
104
102
|
//# sourceMappingURL=instances.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instances.d.mts","names":[],"sources":["../../src/aws/instances.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"instances.d.mts","names":[],"sources":["../../src/aws/instances.ts"],"mappings":";;;;;;;;;qBAsBa;iBAEI;EACf,aAAa;EACb;EACA,QAAQ;;EAER;;wBAGc,WAAW,iBAAiB,SAAS;;;;;;wBA0BrC,cAAc,oBAAoB;iBAQjC;EACf,OAAO;EACP,YAAY;EACZ,QAAQ;;;;;EAKR,OAAO,qBAAqB,mBAAmB;;;;;;EAM/C;;EAEA;;;;;;EAMA;EACA;;qBAKW,wBAAwB;mBAMN;mBALZ;mBACA;mBACA;mBACA;EAEjB,YAA6B,SAAS;;;;;;EAYhC,KAAK;IACT;IACA,QAAQ;IACR;IACA;MACE,QAAQ;EAeN,OAAO;IAAW;IAAY;MAAoB,QAAQ;EAS1D,IAAI,aAAa,QAAQ;EAQzB,OAAO;IAAS;IAAkB;MAAmB;EAMrD,YAAY;UA4BJ;;UAUA;UASA;;;;;UAWN;;UAKA;;;;;;;;;;UAaM;UAKA;UA0CN"}
|
package/dist/aws/instances.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { murmur3 } from "../engine/bucket.mjs";
|
|
2
2
|
import { InstanceNotFoundError } from "../host/platform.mjs";
|
|
3
|
-
|
|
3
|
+
// src/aws/instances.ts
|
|
4
4
|
/**
|
|
5
5
|
* The router's instance port over Lambda durable executions: an instance is one execution of
|
|
6
6
|
* this same function, started by an asynchronous self-invoke under a stable execution name;
|
|
@@ -209,7 +209,6 @@ var AwsInstances = class {
|
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
|
-
//#endregion
|
|
213
212
|
export { AwsInstances, RUN_EVENT_TYPE, executionName, isRunInput };
|
|
214
213
|
|
|
215
214
|
//# sourceMappingURL=instances.mjs.map
|
package/dist/aws/lambda-api.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/aws/lambda-api.ts
|
|
3
3
|
const STATES = {
|
|
4
4
|
RUNNING: "running",
|
|
5
5
|
SUCCEEDED: "succeeded",
|
|
@@ -83,7 +83,6 @@ function sdkLambdaApi(options = {}) {
|
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
//#endregion
|
|
87
86
|
exports.sdkLambdaApi = sdkLambdaApi;
|
|
88
87
|
|
|
89
88
|
//# sourceMappingURL=lambda-api.cjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as LambdaSdk from "@aws-sdk/client-lambda";
|
|
2
|
-
//#region src/aws/lambda-api.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* The Lambda control-plane calls the adapter makes, as a port: starting an execution of this
|
|
5
4
|
* function, completing a wake callback, and looking at or stopping an execution. The default
|
|
@@ -38,6 +37,5 @@ export declare function sdkLambdaApi(options?: {
|
|
|
38
37
|
/** A configured client (endpoint, retries) instead of the default one. */
|
|
39
38
|
client?: Pick<InstanceType<Sdk['LambdaClient']>, 'send'>;
|
|
40
39
|
}): LambdaApi;
|
|
41
|
-
//#endregion
|
|
42
40
|
export {};
|
|
43
41
|
//# sourceMappingURL=lambda-api.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lambda-api.d.cts","names":[],"sources":["../../src/aws/lambda-api.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"lambda-api.d.cts","names":[],"sources":["../../src/aws/lambda-api.ts"],"mappings":";;;;;;;YASY;iBAEK;;;;;EAKf,eAAe;IACb;IACA;IACA;MACE;IAAU;;;;;;EAKd,iBAAiB,oBAAoB,iBAAiB;;EAEtD,eAAe,cAAc,QAAQ;;EAErC,cAAc,gBAAgB,eAAe;;EAE7C,cAAc,cAAc;;KAoBzB,aAAa;;wBAGF,aACd;EACE;;EAEA,SAAS,KAAK,aAAa;IAE5B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as LambdaSdk from "@aws-sdk/client-lambda";
|
|
2
|
-
//#region src/aws/lambda-api.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* The Lambda control-plane calls the adapter makes, as a port: starting an execution of this
|
|
5
4
|
* function, completing a wake callback, and looking at or stopping an execution. The default
|
|
@@ -38,6 +37,5 @@ export declare function sdkLambdaApi(options?: {
|
|
|
38
37
|
/** A configured client (endpoint, retries) instead of the default one. */
|
|
39
38
|
client?: Pick<InstanceType<Sdk['LambdaClient']>, 'send'>;
|
|
40
39
|
}): LambdaApi;
|
|
41
|
-
//#endregion
|
|
42
40
|
export {};
|
|
43
41
|
//# sourceMappingURL=lambda-api.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lambda-api.d.mts","names":[],"sources":["../../src/aws/lambda-api.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"lambda-api.d.mts","names":[],"sources":["../../src/aws/lambda-api.ts"],"mappings":";;;;;;;YASY;iBAEK;;;;;EAKf,eAAe;IACb;IACA;IACA;MACE;IAAU;;;;;;EAKd,iBAAiB,oBAAoB,iBAAiB;;EAEtD,eAAe,cAAc,QAAQ;;EAErC,cAAc,gBAAgB,eAAe;;EAE7C,cAAc,cAAc;;KAoBzB,aAAa;;wBAGF,aACd;EACE;;EAEA,SAAS,KAAK,aAAa;IAE5B"}
|
package/dist/aws/lambda-api.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/aws/lambda-api.ts
|
|
2
2
|
const STATES = {
|
|
3
3
|
RUNNING: "running",
|
|
4
4
|
SUCCEEDED: "succeeded",
|
|
@@ -82,7 +82,6 @@ function sdkLambdaApi(options = {}) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
export { sdkLambdaApi };
|
|
87
86
|
|
|
88
87
|
//# sourceMappingURL=lambda-api.mjs.map
|
package/dist/client.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/client.ts
|
|
3
3
|
var JourneyClientError = class extends Error {
|
|
4
4
|
path;
|
|
5
5
|
status;
|
|
@@ -120,7 +120,6 @@ var JourneyClient = class {
|
|
|
120
120
|
return await response.json();
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
//#endregion
|
|
124
123
|
exports.JourneyClient = JourneyClient;
|
|
125
124
|
exports.JourneyClientError = JourneyClientError;
|
|
126
125
|
exports.JourneyValidationError = JourneyValidationError;
|
package/dist/client.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { ProfileProps } from "./store/index.cjs";
|
|
|
2
2
|
import { Contract, ContractIssue, ProfilePatch } from "./contract.cjs";
|
|
3
3
|
import { DeployResult, IdentifyResult, IngestResult } from "./host/ingest.cjs";
|
|
4
4
|
import * as core from "zod/v4/core";
|
|
5
|
-
//#region src/client.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* `@shware/workflow/client` — the producer side of the ingest API, for the
|
|
8
7
|
* service that knows what users do (an api server, a webhook handler). Plain
|
|
@@ -104,6 +103,5 @@ export declare class JourneyClient<C extends Contract | undefined = undefined> {
|
|
|
104
103
|
deploy(bundle: unknown): Promise<DeployResult>;
|
|
105
104
|
private post;
|
|
106
105
|
}
|
|
107
|
-
//#endregion
|
|
108
106
|
export {};
|
|
109
107
|
//# sourceMappingURL=client.d.cts.map
|
package/dist/client.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.cts","names":[],"sources":["../src/client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.cts","names":[],"sources":["../src/client.ts"],"mappings":";;;;;;;;;;iBAYiB,qBAAqB,UAAU;;;;;EAK9C,WAAW;;EAEX;;EAEA;;EAEA,eAAe;;qBAGJ,2BAA2B;WAE3B;WACA;WACA;EAHX,YACW,cACA,gBACA;;;qBAQA,+BAA+B;WAE/B;WACA;WACA,QAAQ;EAHnB,YACW,cACA,2BACA,QAAQ;;KAWhB,SAAS,KAAK,UAAU,eAAe,KAAK;;YAErC,gBAAgB,MAAM,wCAAwC,SAAS;KAC9E,UAAU,GAAG,MAAM,0BACnB,UAAU,yBAAyB,UAAU,gBAC9C,gBAAgB,SAAS,MACtB,SAAS,KAAK,MAAM,SAAS,GAAG,KAAK,UAAU;KAEjD,cAAc,MAAM,yBACrB,eACA,UAAU,SAAS,eAAe,KAAK,mBAAmB,KACxD,aAAa;iBAGF;;EAEf;;EAEA;;qBAGW,cAAc,UAAU;mBACN;EAA7B,YAA6B,SAAS,qBAAqB;;EAG3D,SAAS,gBAAgB,OAAO,cAAc,KAAK,QAAQ;;;;;;;EAgB3D,MAAM,UAAU,gBAAgB,IAC9B,gBACA,OAAO,MACJ,MAAM,UAAU,GAAG,KACrB,QAAQ;;;;;;EAsBX,eACE,gBACA;IAAU;IAAe;IAAqC;MAC7D;IAAU;IAAU;;;;;;EAcvB,cAAc,gBAAgB,oBAAoB;IAAU;IAAU;;;;;;;;EAUtE,WAAW,iBAAiB;IAAU;IAAU;IAAiB;;;EAKjE,aAAa,gBAAgB;IAAU;IAAU;;;EAKjD,aAAa,gBAAgB;IAAU;IAAU;;;EAKjD,OAAO,kBAAkB,QAAQ;UAInB"}
|
package/dist/client.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { ProfileProps } from "./store/index.mjs";
|
|
|
2
2
|
import { Contract, ContractIssue, ProfilePatch } from "./contract.mjs";
|
|
3
3
|
import { DeployResult, IdentifyResult, IngestResult } from "./host/ingest.mjs";
|
|
4
4
|
import * as core from "zod/v4/core";
|
|
5
|
-
//#region src/client.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* `@shware/workflow/client` — the producer side of the ingest API, for the
|
|
8
7
|
* service that knows what users do (an api server, a webhook handler). Plain
|
|
@@ -104,6 +103,5 @@ export declare class JourneyClient<C extends Contract | undefined = undefined> {
|
|
|
104
103
|
deploy(bundle: unknown): Promise<DeployResult>;
|
|
105
104
|
private post;
|
|
106
105
|
}
|
|
107
|
-
//#endregion
|
|
108
106
|
export {};
|
|
109
107
|
//# sourceMappingURL=client.d.mts.map
|
package/dist/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","names":[],"sources":["../src/client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.mts","names":[],"sources":["../src/client.ts"],"mappings":";;;;;;;;;;iBAYiB,qBAAqB,UAAU;;;;;EAK9C,WAAW;;EAEX;;EAEA;;EAEA,eAAe;;qBAGJ,2BAA2B;WAE3B;WACA;WACA;EAHX,YACW,cACA,gBACA;;;qBAQA,+BAA+B;WAE/B;WACA;WACA,QAAQ;EAHnB,YACW,cACA,2BACA,QAAQ;;KAWhB,SAAS,KAAK,UAAU,eAAe,KAAK;;YAErC,gBAAgB,MAAM,wCAAwC,SAAS;KAC9E,UAAU,GAAG,MAAM,0BACnB,UAAU,yBAAyB,UAAU,gBAC9C,gBAAgB,SAAS,MACtB,SAAS,KAAK,MAAM,SAAS,GAAG,KAAK,UAAU;KAEjD,cAAc,MAAM,yBACrB,eACA,UAAU,SAAS,eAAe,KAAK,mBAAmB,KACxD,aAAa;iBAGF;;EAEf;;EAEA;;qBAGW,cAAc,UAAU;mBACN;EAA7B,YAA6B,SAAS,qBAAqB;;EAG3D,SAAS,gBAAgB,OAAO,cAAc,KAAK,QAAQ;;;;;;;EAgB3D,MAAM,UAAU,gBAAgB,IAC9B,gBACA,OAAO,MACJ,MAAM,UAAU,GAAG,KACrB,QAAQ;;;;;;EAsBX,eACE,gBACA;IAAU;IAAe;IAAqC;MAC7D;IAAU;IAAU;;;;;;EAcvB,cAAc,gBAAgB,oBAAoB;IAAU;IAAU;;;;;;;;EAUtE,WAAW,iBAAiB;IAAU;IAAU;IAAiB;;;EAKjE,aAAa,gBAAgB;IAAU;IAAU;;;EAKjD,aAAa,gBAAgB;IAAU;IAAU;;;EAKjD,OAAO,kBAAkB,QAAQ;UAInB"}
|
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/client.ts
|
|
2
2
|
var JourneyClientError = class extends Error {
|
|
3
3
|
path;
|
|
4
4
|
status;
|
|
@@ -119,7 +119,6 @@ var JourneyClient = class {
|
|
|
119
119
|
return await response.json();
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
//#endregion
|
|
123
122
|
export { JourneyClient, JourneyClientError, JourneyValidationError };
|
|
124
123
|
|
|
125
124
|
//# sourceMappingURL=client.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_host_platform = require("../host/platform.cjs");
|
|
3
|
-
|
|
3
|
+
// src/cloudflare/bindings.ts
|
|
4
4
|
/** How Cloudflare's `get` reports an unknown instance id. */
|
|
5
5
|
const CF_NOT_FOUND = "instance.not_found";
|
|
6
6
|
/**
|
|
@@ -42,7 +42,6 @@ const WAKE_TIMEOUT_TOLERANCE_MS = 5e3;
|
|
|
42
42
|
function wakeExpired(deadlineMs, now) {
|
|
43
43
|
return now >= deadlineMs - WAKE_TIMEOUT_TOLERANCE_MS;
|
|
44
44
|
}
|
|
45
|
-
//#endregion
|
|
46
45
|
exports.WAKE_TIMEOUT_TOLERANCE_MS = WAKE_TIMEOUT_TOLERANCE_MS;
|
|
47
46
|
exports.cloudflareJourneyBinding = cloudflareJourneyBinding;
|
|
48
47
|
exports.wakeExpired = wakeExpired;
|