@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.
Files changed (436) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +1 -2
  2. package/dist/apns-relay.cjs +1 -2
  3. package/dist/apns-relay.d.cts +0 -2
  4. package/dist/apns-relay.d.cts.map +1 -1
  5. package/dist/apns-relay.d.mts +0 -2
  6. package/dist/apns-relay.d.mts.map +1 -1
  7. package/dist/apns-relay.mjs +1 -2
  8. package/dist/apns.cjs +1 -2
  9. package/dist/apns.d.cts +0 -2
  10. package/dist/apns.d.cts.map +1 -1
  11. package/dist/apns.d.mts +0 -2
  12. package/dist/apns.d.mts.map +1 -1
  13. package/dist/apns.mjs +1 -2
  14. package/dist/aws/engine-step.cjs +1 -2
  15. package/dist/aws/engine-step.d.cts +0 -2
  16. package/dist/aws/engine-step.d.cts.map +1 -1
  17. package/dist/aws/engine-step.d.mts +0 -2
  18. package/dist/aws/engine-step.d.mts.map +1 -1
  19. package/dist/aws/engine-step.mjs +1 -2
  20. package/dist/aws/function-url.cjs +1 -2
  21. package/dist/aws/function-url.d.cts +0 -2
  22. package/dist/aws/function-url.d.cts.map +1 -1
  23. package/dist/aws/function-url.d.mts +0 -2
  24. package/dist/aws/function-url.d.mts.map +1 -1
  25. package/dist/aws/function-url.mjs +1 -2
  26. package/dist/aws/index.cjs +1 -2
  27. package/dist/aws/index.d.cts +0 -2
  28. package/dist/aws/index.d.cts.map +1 -1
  29. package/dist/aws/index.d.mts +0 -2
  30. package/dist/aws/index.d.mts.map +1 -1
  31. package/dist/aws/index.mjs +1 -2
  32. package/dist/aws/instances.cjs +1 -2
  33. package/dist/aws/instances.d.cts +0 -2
  34. package/dist/aws/instances.d.cts.map +1 -1
  35. package/dist/aws/instances.d.mts +0 -2
  36. package/dist/aws/instances.d.mts.map +1 -1
  37. package/dist/aws/instances.mjs +1 -2
  38. package/dist/aws/lambda-api.cjs +1 -2
  39. package/dist/aws/lambda-api.d.cts +0 -2
  40. package/dist/aws/lambda-api.d.cts.map +1 -1
  41. package/dist/aws/lambda-api.d.mts +0 -2
  42. package/dist/aws/lambda-api.d.mts.map +1 -1
  43. package/dist/aws/lambda-api.mjs +1 -2
  44. package/dist/client.cjs +1 -2
  45. package/dist/client.d.cts +0 -2
  46. package/dist/client.d.cts.map +1 -1
  47. package/dist/client.d.mts +0 -2
  48. package/dist/client.d.mts.map +1 -1
  49. package/dist/client.mjs +1 -2
  50. package/dist/cloudflare/bindings.cjs +1 -2
  51. package/dist/cloudflare/bindings.d.cts +0 -2
  52. package/dist/cloudflare/bindings.d.cts.map +1 -1
  53. package/dist/cloudflare/bindings.d.mts +0 -2
  54. package/dist/cloudflare/bindings.d.mts.map +1 -1
  55. package/dist/cloudflare/bindings.mjs +1 -2
  56. package/dist/cloudflare/runner.cjs +1 -2
  57. package/dist/cloudflare/runner.d.cts +0 -2
  58. package/dist/cloudflare/runner.d.cts.map +1 -1
  59. package/dist/cloudflare/runner.d.mts +0 -2
  60. package/dist/cloudflare/runner.d.mts.map +1 -1
  61. package/dist/cloudflare/runner.mjs +1 -2
  62. package/dist/cloudflare/worker.cjs +1 -2
  63. package/dist/cloudflare/worker.d.cts +0 -2
  64. package/dist/cloudflare/worker.d.cts.map +1 -1
  65. package/dist/cloudflare/worker.d.mts +0 -2
  66. package/dist/cloudflare/worker.d.mts.map +1 -1
  67. package/dist/cloudflare/worker.mjs +1 -2
  68. package/dist/cloudflare/workers.d.cts +0 -2
  69. package/dist/cloudflare/workers.d.cts.map +1 -1
  70. package/dist/cloudflare/workers.d.mts +0 -2
  71. package/dist/cloudflare/workers.d.mts.map +1 -1
  72. package/dist/config.cjs +1 -2
  73. package/dist/config.d.cts +0 -2
  74. package/dist/config.d.cts.map +1 -1
  75. package/dist/config.d.mts +0 -2
  76. package/dist/config.d.mts.map +1 -1
  77. package/dist/config.mjs +1 -2
  78. package/dist/contract.cjs +1 -2
  79. package/dist/contract.d.cts +0 -2
  80. package/dist/contract.d.cts.map +1 -1
  81. package/dist/contract.d.mts +0 -2
  82. package/dist/contract.d.mts.map +1 -1
  83. package/dist/contract.mjs +1 -2
  84. package/dist/dsl/action.cjs +1 -2
  85. package/dist/dsl/action.d.cts +0 -2
  86. package/dist/dsl/action.d.cts.map +1 -1
  87. package/dist/dsl/action.d.mts +0 -2
  88. package/dist/dsl/action.d.mts.map +1 -1
  89. package/dist/dsl/action.mjs +1 -2
  90. package/dist/dsl/base.cjs +1 -2
  91. package/dist/dsl/base.d.cts +0 -2
  92. package/dist/dsl/base.d.cts.map +1 -1
  93. package/dist/dsl/base.d.mts +0 -2
  94. package/dist/dsl/base.d.mts.map +1 -1
  95. package/dist/dsl/base.mjs +1 -2
  96. package/dist/dsl/bundle.cjs +1 -2
  97. package/dist/dsl/bundle.d.cts +0 -2
  98. package/dist/dsl/bundle.d.cts.map +1 -1
  99. package/dist/dsl/bundle.d.mts +0 -2
  100. package/dist/dsl/bundle.d.mts.map +1 -1
  101. package/dist/dsl/bundle.mjs +1 -2
  102. package/dist/dsl/condition.cjs +1 -2
  103. package/dist/dsl/condition.d.cts +0 -2
  104. package/dist/dsl/condition.d.cts.map +1 -1
  105. package/dist/dsl/condition.d.mts +0 -2
  106. package/dist/dsl/condition.d.mts.map +1 -1
  107. package/dist/dsl/condition.mjs +1 -2
  108. package/dist/dsl/flow.cjs +1 -2
  109. package/dist/dsl/flow.d.cts +0 -2
  110. package/dist/dsl/flow.d.cts.map +1 -1
  111. package/dist/dsl/flow.d.mts +0 -2
  112. package/dist/dsl/flow.d.mts.map +1 -1
  113. package/dist/dsl/flow.mjs +1 -2
  114. package/dist/dsl/refs.cjs +1 -2
  115. package/dist/dsl/refs.d.cts +0 -2
  116. package/dist/dsl/refs.d.cts.map +1 -1
  117. package/dist/dsl/refs.d.mts +0 -2
  118. package/dist/dsl/refs.d.mts.map +1 -1
  119. package/dist/dsl/refs.mjs +1 -2
  120. package/dist/dsl/template.cjs +1 -2
  121. package/dist/dsl/template.d.cts +0 -2
  122. package/dist/dsl/template.d.cts.map +1 -1
  123. package/dist/dsl/template.d.mts +0 -2
  124. package/dist/dsl/template.d.mts.map +1 -1
  125. package/dist/dsl/template.mjs +1 -2
  126. package/dist/dsl/trigger.cjs +1 -2
  127. package/dist/dsl/trigger.d.cts +0 -2
  128. package/dist/dsl/trigger.d.cts.map +1 -1
  129. package/dist/dsl/trigger.d.mts +0 -2
  130. package/dist/dsl/trigger.d.mts.map +1 -1
  131. package/dist/dsl/trigger.mjs +1 -2
  132. package/dist/dsl/workflow.cjs +1 -2
  133. package/dist/dsl/workflow.d.cts +0 -2
  134. package/dist/dsl/workflow.d.cts.map +1 -1
  135. package/dist/dsl/workflow.d.mts +0 -2
  136. package/dist/dsl/workflow.d.mts.map +1 -1
  137. package/dist/dsl/workflow.mjs +1 -2
  138. package/dist/email-context.cjs +1 -2
  139. package/dist/email-context.d.cts +0 -2
  140. package/dist/email-context.d.cts.map +1 -1
  141. package/dist/email-context.d.mts +0 -2
  142. package/dist/email-context.d.mts.map +1 -1
  143. package/dist/email-context.mjs +1 -2
  144. package/dist/email-sender.cjs +1 -2
  145. package/dist/email-sender.d.cts +0 -2
  146. package/dist/email-sender.d.cts.map +1 -1
  147. package/dist/email-sender.d.mts +0 -2
  148. package/dist/email-sender.d.mts.map +1 -1
  149. package/dist/email-sender.mjs +1 -2
  150. package/dist/email.cjs +1 -2
  151. package/dist/email.d.cts +0 -2
  152. package/dist/email.d.cts.map +1 -1
  153. package/dist/email.d.mts +0 -2
  154. package/dist/email.d.mts.map +1 -1
  155. package/dist/email.mjs +1 -2
  156. package/dist/engine/actions.cjs +1 -2
  157. package/dist/engine/actions.d.cts +0 -2
  158. package/dist/engine/actions.d.cts.map +1 -1
  159. package/dist/engine/actions.d.mts +0 -2
  160. package/dist/engine/actions.d.mts.map +1 -1
  161. package/dist/engine/actions.mjs +1 -2
  162. package/dist/engine/bucket.cjs +1 -2
  163. package/dist/engine/bucket.d.cts +0 -2
  164. package/dist/engine/bucket.d.cts.map +1 -1
  165. package/dist/engine/bucket.d.mts +0 -2
  166. package/dist/engine/bucket.d.mts.map +1 -1
  167. package/dist/engine/bucket.mjs +1 -2
  168. package/dist/engine/condition.cjs +1 -2
  169. package/dist/engine/condition.d.cts +0 -2
  170. package/dist/engine/condition.d.cts.map +1 -1
  171. package/dist/engine/condition.d.mts +0 -2
  172. package/dist/engine/condition.d.mts.map +1 -1
  173. package/dist/engine/condition.mjs +1 -2
  174. package/dist/engine/duration.cjs +1 -2
  175. package/dist/engine/duration.d.cts +0 -2
  176. package/dist/engine/duration.d.cts.map +1 -1
  177. package/dist/engine/duration.d.mts +0 -2
  178. package/dist/engine/duration.d.mts.map +1 -1
  179. package/dist/engine/duration.mjs +1 -2
  180. package/dist/engine/interpreter.cjs +1 -2
  181. package/dist/engine/interpreter.d.cts +0 -2
  182. package/dist/engine/interpreter.d.cts.map +1 -1
  183. package/dist/engine/interpreter.d.mts +0 -2
  184. package/dist/engine/interpreter.d.mts.map +1 -1
  185. package/dist/engine/interpreter.mjs +1 -2
  186. package/dist/engine/ports.d.cts +0 -2
  187. package/dist/engine/ports.d.cts.map +1 -1
  188. package/dist/engine/ports.d.mts +0 -2
  189. package/dist/engine/ports.d.mts.map +1 -1
  190. package/dist/engine/recipient.cjs +1 -2
  191. package/dist/engine/recipient.d.cts +0 -2
  192. package/dist/engine/recipient.d.cts.map +1 -1
  193. package/dist/engine/recipient.d.mts +0 -2
  194. package/dist/engine/recipient.d.mts.map +1 -1
  195. package/dist/engine/recipient.mjs +1 -2
  196. package/dist/engine/retry.cjs +1 -2
  197. package/dist/engine/retry.d.cts +0 -2
  198. package/dist/engine/retry.d.cts.map +1 -1
  199. package/dist/engine/retry.d.mts +0 -2
  200. package/dist/engine/retry.d.mts.map +1 -1
  201. package/dist/engine/retry.mjs +1 -2
  202. package/dist/engine/time-scale.cjs +1 -2
  203. package/dist/engine/time-scale.d.cts +0 -2
  204. package/dist/engine/time-scale.d.cts.map +1 -1
  205. package/dist/engine/time-scale.d.mts +0 -2
  206. package/dist/engine/time-scale.d.mts.map +1 -1
  207. package/dist/engine/time-scale.mjs +1 -2
  208. package/dist/engine/time-window.cjs +1 -2
  209. package/dist/engine/time-window.d.cts +0 -2
  210. package/dist/engine/time-window.d.cts.map +1 -1
  211. package/dist/engine/time-window.d.mts +0 -2
  212. package/dist/engine/time-window.d.mts.map +1 -1
  213. package/dist/engine/time-window.mjs +1 -2
  214. package/dist/fcm.cjs +1 -2
  215. package/dist/fcm.d.cts +0 -2
  216. package/dist/fcm.d.cts.map +1 -1
  217. package/dist/fcm.d.mts +0 -2
  218. package/dist/fcm.d.mts.map +1 -1
  219. package/dist/fcm.mjs +1 -2
  220. package/dist/hash.cjs +1 -2
  221. package/dist/hash.d.cts +0 -2
  222. package/dist/hash.d.cts.map +1 -1
  223. package/dist/hash.d.mts +0 -2
  224. package/dist/hash.d.mts.map +1 -1
  225. package/dist/hash.mjs +1 -2
  226. package/dist/host/auth.cjs +1 -2
  227. package/dist/host/auth.d.cts +0 -2
  228. package/dist/host/auth.d.cts.map +1 -1
  229. package/dist/host/auth.d.mts +0 -2
  230. package/dist/host/auth.d.mts.map +1 -1
  231. package/dist/host/auth.mjs +1 -2
  232. package/dist/host/channels.cjs +1 -2
  233. package/dist/host/channels.d.cts +0 -2
  234. package/dist/host/channels.d.cts.map +1 -1
  235. package/dist/host/channels.d.mts +0 -2
  236. package/dist/host/channels.d.mts.map +1 -1
  237. package/dist/host/channels.mjs +1 -2
  238. package/dist/host/execute.cjs +1 -2
  239. package/dist/host/execute.d.cts +0 -2
  240. package/dist/host/execute.d.cts.map +1 -1
  241. package/dist/host/execute.d.mts +0 -2
  242. package/dist/host/execute.d.mts.map +1 -1
  243. package/dist/host/execute.mjs +1 -2
  244. package/dist/host/fresh-read.cjs +1 -2
  245. package/dist/host/fresh-read.d.cts +0 -2
  246. package/dist/host/fresh-read.d.cts.map +1 -1
  247. package/dist/host/fresh-read.d.mts +0 -2
  248. package/dist/host/fresh-read.d.mts.map +1 -1
  249. package/dist/host/fresh-read.mjs +1 -2
  250. package/dist/host/http.cjs +1 -2
  251. package/dist/host/http.d.cts +0 -2
  252. package/dist/host/http.d.cts.map +1 -1
  253. package/dist/host/http.d.mts +0 -2
  254. package/dist/host/http.d.mts.map +1 -1
  255. package/dist/host/http.mjs +1 -2
  256. package/dist/host/ingest.cjs +1 -2
  257. package/dist/host/ingest.d.cts +0 -2
  258. package/dist/host/ingest.d.cts.map +1 -1
  259. package/dist/host/ingest.d.mts +0 -2
  260. package/dist/host/ingest.d.mts.map +1 -1
  261. package/dist/host/ingest.mjs +1 -2
  262. package/dist/host/journey-host.cjs +1 -2
  263. package/dist/host/journey-host.d.cts +0 -2
  264. package/dist/host/journey-host.d.cts.map +1 -1
  265. package/dist/host/journey-host.d.mts +0 -2
  266. package/dist/host/journey-host.d.mts.map +1 -1
  267. package/dist/host/journey-host.mjs +1 -2
  268. package/dist/host/platform.cjs +1 -2
  269. package/dist/host/platform.d.cts +0 -2
  270. package/dist/host/platform.d.cts.map +1 -1
  271. package/dist/host/platform.d.mts +0 -2
  272. package/dist/host/platform.d.mts.map +1 -1
  273. package/dist/host/platform.mjs +1 -2
  274. package/dist/host/senders.cjs +1 -2
  275. package/dist/host/senders.d.cts +0 -2
  276. package/dist/host/senders.d.cts.map +1 -1
  277. package/dist/host/senders.d.mts +0 -2
  278. package/dist/host/senders.d.mts.map +1 -1
  279. package/dist/host/senders.mjs +1 -2
  280. package/dist/http2-client.cjs +1 -2
  281. package/dist/http2-client.d.cts +0 -2
  282. package/dist/http2-client.d.cts.map +1 -1
  283. package/dist/http2-client.d.mts +0 -2
  284. package/dist/http2-client.d.mts.map +1 -1
  285. package/dist/http2-client.mjs +1 -2
  286. package/dist/ir.cjs +1 -2
  287. package/dist/ir.d.cts +0 -2
  288. package/dist/ir.d.cts.map +1 -1
  289. package/dist/ir.d.mts +0 -2
  290. package/dist/ir.d.mts.map +1 -1
  291. package/dist/ir.mjs +1 -2
  292. package/dist/jwt.cjs +1 -2
  293. package/dist/jwt.d.cts +0 -2
  294. package/dist/jwt.d.cts.map +1 -1
  295. package/dist/jwt.d.mts +0 -2
  296. package/dist/jwt.d.mts.map +1 -1
  297. package/dist/jwt.mjs +1 -2
  298. package/dist/plan.cjs +1 -2
  299. package/dist/plan.d.cts +0 -2
  300. package/dist/plan.d.cts.map +1 -1
  301. package/dist/plan.d.mts +0 -2
  302. package/dist/plan.d.mts.map +1 -1
  303. package/dist/plan.mjs +1 -2
  304. package/dist/postgres-js.cjs +1 -2
  305. package/dist/postgres-js.d.cts +0 -2
  306. package/dist/postgres-js.d.cts.map +1 -1
  307. package/dist/postgres-js.d.mts +0 -2
  308. package/dist/postgres-js.d.mts.map +1 -1
  309. package/dist/postgres-js.mjs +1 -2
  310. package/dist/provenance.cjs +1 -2
  311. package/dist/provenance.d.cts +0 -2
  312. package/dist/provenance.d.cts.map +1 -1
  313. package/dist/provenance.d.mts +0 -2
  314. package/dist/provenance.d.mts.map +1 -1
  315. package/dist/provenance.mjs +1 -2
  316. package/dist/push.cjs +1 -2
  317. package/dist/push.d.cts +0 -2
  318. package/dist/push.d.cts.map +1 -1
  319. package/dist/push.d.mts +0 -2
  320. package/dist/push.d.mts.map +1 -1
  321. package/dist/push.mjs +1 -2
  322. package/dist/react-email.cjs +1 -2
  323. package/dist/react-email.d.cts +0 -2
  324. package/dist/react-email.d.cts.map +1 -1
  325. package/dist/react-email.d.mts +0 -2
  326. package/dist/react-email.d.mts.map +1 -1
  327. package/dist/react-email.mjs +1 -2
  328. package/dist/reporting/classify.cjs +1 -2
  329. package/dist/reporting/classify.d.cts +0 -2
  330. package/dist/reporting/classify.d.cts.map +1 -1
  331. package/dist/reporting/classify.d.mts +0 -2
  332. package/dist/reporting/classify.d.mts.map +1 -1
  333. package/dist/reporting/classify.mjs +1 -2
  334. package/dist/reporting/observer.cjs +1 -2
  335. package/dist/reporting/observer.d.cts +0 -2
  336. package/dist/reporting/observer.d.cts.map +1 -1
  337. package/dist/reporting/observer.d.mts +0 -2
  338. package/dist/reporting/observer.d.mts.map +1 -1
  339. package/dist/reporting/observer.mjs +1 -2
  340. package/dist/reporting/tracking.cjs +1 -2
  341. package/dist/reporting/tracking.d.cts +0 -2
  342. package/dist/reporting/tracking.d.cts.map +1 -1
  343. package/dist/reporting/tracking.d.mts +0 -2
  344. package/dist/reporting/tracking.d.mts.map +1 -1
  345. package/dist/reporting/tracking.mjs +1 -2
  346. package/dist/runtime.cjs +1 -2
  347. package/dist/runtime.d.cts +0 -2
  348. package/dist/runtime.d.cts.map +1 -1
  349. package/dist/runtime.d.mts +0 -2
  350. package/dist/runtime.d.mts.map +1 -1
  351. package/dist/runtime.mjs +1 -2
  352. package/dist/store/erasure.cjs +1 -2
  353. package/dist/store/erasure.d.cts +0 -2
  354. package/dist/store/erasure.d.cts.map +1 -1
  355. package/dist/store/erasure.d.mts +0 -2
  356. package/dist/store/erasure.d.mts.map +1 -1
  357. package/dist/store/erasure.mjs +1 -2
  358. package/dist/store/facts.cjs +1 -2
  359. package/dist/store/facts.d.cts +0 -2
  360. package/dist/store/facts.d.cts.map +1 -1
  361. package/dist/store/facts.d.mts +0 -2
  362. package/dist/store/facts.d.mts.map +1 -1
  363. package/dist/store/facts.mjs +1 -2
  364. package/dist/store/index.cjs +1 -2
  365. package/dist/store/index.d.cts +0 -2
  366. package/dist/store/index.d.cts.map +1 -1
  367. package/dist/store/index.d.mts +0 -2
  368. package/dist/store/index.d.mts.map +1 -1
  369. package/dist/store/index.mjs +1 -2
  370. package/dist/store/postgres-reporting.cjs +1 -2
  371. package/dist/store/postgres-reporting.d.cts +0 -2
  372. package/dist/store/postgres-reporting.d.cts.map +1 -1
  373. package/dist/store/postgres-reporting.d.mts +0 -2
  374. package/dist/store/postgres-reporting.d.mts.map +1 -1
  375. package/dist/store/postgres-reporting.mjs +1 -2
  376. package/dist/store/postgres.cjs +1 -2
  377. package/dist/store/postgres.d.cts +0 -2
  378. package/dist/store/postgres.d.cts.map +1 -1
  379. package/dist/store/postgres.d.mts +0 -2
  380. package/dist/store/postgres.d.mts.map +1 -1
  381. package/dist/store/postgres.mjs +1 -2
  382. package/dist/store/sql.cjs +1 -2
  383. package/dist/store/sql.d.cts +0 -2
  384. package/dist/store/sql.d.cts.map +1 -1
  385. package/dist/store/sql.d.mts +0 -2
  386. package/dist/store/sql.d.mts.map +1 -1
  387. package/dist/store/sql.mjs +1 -2
  388. package/dist/store/tables.cjs +1 -2
  389. package/dist/store/tables.d.cts +0 -2
  390. package/dist/store/tables.d.cts.map +1 -1
  391. package/dist/store/tables.d.mts +0 -2
  392. package/dist/store/tables.d.mts.map +1 -1
  393. package/dist/store/tables.mjs +1 -2
  394. package/dist/store/user-lock.cjs +1 -2
  395. package/dist/store/user-lock.d.cts +0 -2
  396. package/dist/store/user-lock.d.cts.map +1 -1
  397. package/dist/store/user-lock.d.mts +0 -2
  398. package/dist/store/user-lock.d.mts.map +1 -1
  399. package/dist/store/user-lock.mjs +1 -2
  400. package/dist/templates.cjs +1 -2
  401. package/dist/templates.d.cts +0 -2
  402. package/dist/templates.d.cts.map +1 -1
  403. package/dist/templates.d.mts +0 -2
  404. package/dist/templates.d.mts.map +1 -1
  405. package/dist/templates.mjs +1 -2
  406. package/dist/transports/cloudflare-email.cjs +1 -2
  407. package/dist/transports/cloudflare-email.d.cts +0 -2
  408. package/dist/transports/cloudflare-email.d.cts.map +1 -1
  409. package/dist/transports/cloudflare-email.d.mts +0 -2
  410. package/dist/transports/cloudflare-email.d.mts.map +1 -1
  411. package/dist/transports/cloudflare-email.mjs +1 -2
  412. package/dist/transports/ses.cjs +1 -2
  413. package/dist/transports/ses.d.cts +0 -2
  414. package/dist/transports/ses.d.cts.map +1 -1
  415. package/dist/transports/ses.d.mts +0 -2
  416. package/dist/transports/ses.d.mts.map +1 -1
  417. package/dist/transports/ses.mjs +1 -2
  418. package/dist/transports/sigv4.cjs +1 -2
  419. package/dist/transports/sigv4.d.cts +0 -2
  420. package/dist/transports/sigv4.d.cts.map +1 -1
  421. package/dist/transports/sigv4.d.mts +0 -2
  422. package/dist/transports/sigv4.d.mts.map +1 -1
  423. package/dist/transports/sigv4.mjs +1 -2
  424. package/dist/webhooks.cjs +1 -2
  425. package/dist/webhooks.d.cts +0 -2
  426. package/dist/webhooks.d.cts.map +1 -1
  427. package/dist/webhooks.d.mts +0 -2
  428. package/dist/webhooks.d.mts.map +1 -1
  429. package/dist/webhooks.mjs +1 -2
  430. package/dist/webpush.cjs +1 -2
  431. package/dist/webpush.d.cts +0 -2
  432. package/dist/webpush.d.cts.map +1 -1
  433. package/dist/webpush.d.mts +0 -2
  434. package/dist/webpush.d.mts.map +1 -1
  435. package/dist/webpush.mjs +1 -2
  436. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/provenance.ts
2
+ // src/provenance.ts
3
3
  /**
4
4
  * V8-style frame: `at fn (file:line:col)` / `at file:line:col`, where file may
5
5
  * be an absolute path, a file:// URL (Node ESM) or an http(s) URL (Vite dev).
@@ -60,7 +60,6 @@ function toPosix(path) {
60
60
  const slashed = path.replaceAll("\\", "/");
61
61
  return /^[a-z]:/.test(slashed) ? slashed[0].toUpperCase() + slashed.slice(1) : slashed;
62
62
  }
63
- //#endregion
64
63
  exports.captureLoc = captureLoc;
65
64
  exports.normalizeFile = normalizeFile;
66
65
 
@@ -1,5 +1,4 @@
1
1
  import { SourceLocIR } from "./ir.cjs";
2
- //#region src/provenance.d.ts
3
2
  /**
4
3
  * Provenance — where in source code a definition came from.
5
4
  *
@@ -37,6 +36,5 @@ export declare function captureLoc(boundary: AnyFunction): SourceLocIR | undefin
37
36
  * line, and the platform it gets wrong is not the one the suite runs on.
38
37
  */
39
38
  export declare function normalizeFile(rawFile: string, cwd: string | undefined): string;
40
- //#endregion
41
39
  export {};
42
40
  //# sourceMappingURL=provenance.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provenance.d.cts","names":[],"sources":["../src/provenance.ts"],"mappings":";;;;;;;;;;;;;;;;;;KAmBK,kBAAkB;;;;;wBAYP,WAAW,UAAU,cAAc;;;;;;;;;;;;;;;wBAyCnC,cAAc,iBAAiB"}
1
+ {"version":3,"file":"provenance.d.cts","names":[],"sources":["../src/provenance.ts"],"mappings":";;;;;;;;;;;;;;;;;KAmBK,kBAAkB;;;;;wBAYP,WAAW,UAAU,cAAc;;;;;;;;;;;;;;;wBAyCnC,cAAc,iBAAiB"}
@@ -1,5 +1,4 @@
1
1
  import { SourceLocIR } from "./ir.mjs";
2
- //#region src/provenance.d.ts
3
2
  /**
4
3
  * Provenance — where in source code a definition came from.
5
4
  *
@@ -37,6 +36,5 @@ export declare function captureLoc(boundary: AnyFunction): SourceLocIR | undefin
37
36
  * line, and the platform it gets wrong is not the one the suite runs on.
38
37
  */
39
38
  export declare function normalizeFile(rawFile: string, cwd: string | undefined): string;
40
- //#endregion
41
39
  export {};
42
40
  //# sourceMappingURL=provenance.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provenance.d.mts","names":[],"sources":["../src/provenance.ts"],"mappings":";;;;;;;;;;;;;;;;;;KAmBK,kBAAkB;;;;;wBAYP,WAAW,UAAU,cAAc;;;;;;;;;;;;;;;wBAyCnC,cAAc,iBAAiB"}
1
+ {"version":3,"file":"provenance.d.mts","names":[],"sources":["../src/provenance.ts"],"mappings":";;;;;;;;;;;;;;;;;KAmBK,kBAAkB;;;;;wBAYP,WAAW,UAAU,cAAc;;;;;;;;;;;;;;;wBAyCnC,cAAc,iBAAiB"}
@@ -1,4 +1,4 @@
1
- //#region src/provenance.ts
1
+ // src/provenance.ts
2
2
  /**
3
3
  * V8-style frame: `at fn (file:line:col)` / `at file:line:col`, where file may
4
4
  * be an absolute path, a file:// URL (Node ESM) or an http(s) URL (Vite dev).
@@ -59,7 +59,6 @@ function toPosix(path) {
59
59
  const slashed = path.replaceAll("\\", "/");
60
60
  return /^[a-z]:/.test(slashed) ? slashed[0].toUpperCase() + slashed.slice(1) : slashed;
61
61
  }
62
- //#endregion
63
62
  export { captureLoc, normalizeFile };
64
63
 
65
64
  //# sourceMappingURL=provenance.mjs.map
package/dist/push.cjs CHANGED
@@ -1,12 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_templates = require("./templates.cjs");
3
- //#region src/push.ts
3
+ // src/push.ts
4
4
  /** A renderer over the registry, by template id; a TemplateValidationError means nothing may be sent. */
5
5
  function registryPushRenderer(pushes) {
6
6
  const index = require_templates.indexTemplates("push", pushes);
7
7
  return async (id, props) => require_templates.renderPushContent(require_templates.lookupTemplate(index, "push", id), props);
8
8
  }
9
- //#endregion
10
9
  exports.registryPushRenderer = registryPushRenderer;
11
10
 
12
11
  //# sourceMappingURL=push.cjs.map
package/dist/push.d.cts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { ScalarIR } from "./ir.cjs";
2
2
  import { PushContent, PushTemplate } from "./templates.cjs";
3
- //#region src/push.d.ts
4
3
  /**
5
4
  * `@shware/workflow/push` — push-notification content. A push is data, not a
6
5
  * component: a title and a body the OS renders in its own chrome, built by a
@@ -12,5 +11,4 @@ export type RenderedPush = PushContent;
12
11
  export type PushRenderer = (template: string, props: Record<string, ScalarIR | undefined>) => Promise<RenderedPush>;
13
12
  /** A renderer over the registry, by template id; a TemplateValidationError means nothing may be sent. */
14
13
  export declare function registryPushRenderer(pushes: Readonly<Record<string, PushTemplate>>): PushRenderer;
15
- //#endregion
16
14
  //# sourceMappingURL=push.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"push.d.cts","names":[],"sources":["../src/push.ts"],"mappings":";;;;;;;;;;YAiBY,eAAe;YAEf,gBACV,kBACA,OAAO,eAAe,0BACnB,QAAQ;;wBAGG,qBAAqB,QAAQ,SAAS,eAAe,iBAAiB"}
1
+ {"version":3,"file":"push.d.cts","names":[],"sources":["../src/push.ts"],"mappings":";;;;;;;;;YAiBY,eAAe;YAEf,gBACV,kBACA,OAAO,eAAe,0BACnB,QAAQ;;wBAGG,qBAAqB,QAAQ,SAAS,eAAe,iBAAiB"}
package/dist/push.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { ScalarIR } from "./ir.mjs";
2
2
  import { PushContent, PushTemplate } from "./templates.mjs";
3
- //#region src/push.d.ts
4
3
  /**
5
4
  * `@shware/workflow/push` — push-notification content. A push is data, not a
6
5
  * component: a title and a body the OS renders in its own chrome, built by a
@@ -12,5 +11,4 @@ export type RenderedPush = PushContent;
12
11
  export type PushRenderer = (template: string, props: Record<string, ScalarIR | undefined>) => Promise<RenderedPush>;
13
12
  /** A renderer over the registry, by template id; a TemplateValidationError means nothing may be sent. */
14
13
  export declare function registryPushRenderer(pushes: Readonly<Record<string, PushTemplate>>): PushRenderer;
15
- //#endregion
16
14
  //# sourceMappingURL=push.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"push.d.mts","names":[],"sources":["../src/push.ts"],"mappings":";;;;;;;;;;YAiBY,eAAe;YAEf,gBACV,kBACA,OAAO,eAAe,0BACnB,QAAQ;;wBAGG,qBAAqB,QAAQ,SAAS,eAAe,iBAAiB"}
1
+ {"version":3,"file":"push.d.mts","names":[],"sources":["../src/push.ts"],"mappings":";;;;;;;;;YAiBY,eAAe;YAEf,gBACV,kBACA,OAAO,eAAe,0BACnB,QAAQ;;wBAGG,qBAAqB,QAAQ,SAAS,eAAe,iBAAiB"}
package/dist/push.mjs CHANGED
@@ -1,11 +1,10 @@
1
1
  import { indexTemplates, lookupTemplate, renderPushContent } from "./templates.mjs";
2
- //#region src/push.ts
2
+ // src/push.ts
3
3
  /** A renderer over the registry, by template id; a TemplateValidationError means nothing may be sent. */
4
4
  function registryPushRenderer(pushes) {
5
5
  const index = indexTemplates("push", pushes);
6
6
  return async (id, props) => renderPushContent(lookupTemplate(index, "push", id), props);
7
7
  }
8
- //#endregion
9
8
  export { registryPushRenderer };
10
9
 
11
10
  //# sourceMappingURL=push.mjs.map
@@ -4,7 +4,7 @@ const require_templates = require("./templates.cjs");
4
4
  const require_email_context = require("./email-context.cjs");
5
5
  let react = require("react");
6
6
  let react_dom_server = require("react-dom/server");
7
- //#region src/react-email.ts
7
+ // src/react-email.ts
8
8
  /**
9
9
  * `@shware/workflow/react-email` — an EmailRenderer over the project's email
10
10
  * registry (`react-dom` is an optional peer dependency; import this subpath
@@ -50,7 +50,6 @@ async function renderToHtml(element) {
50
50
  if (failure !== void 0) throw failure instanceof Error ? failure : new Error("email render failed", { cause: failure });
51
51
  return html.replace(/^<!DOCTYPE html>/i, "").replace(/<link rel="preload" as="image"[^>]*\/>/g, "");
52
52
  }
53
- //#endregion
54
53
  exports.registryRenderer = registryRenderer;
55
54
 
56
55
  //# sourceMappingURL=react-email.cjs.map
@@ -1,7 +1,5 @@
1
1
  import { EmailConfig } from "./email.cjs";
2
2
  import { EmailTemplate } from "./templates.cjs";
3
3
  import { EmailRenderer } from "./email-sender.cjs";
4
- //#region src/react-email.d.ts
5
4
  export declare function registryRenderer(emails: Readonly<Record<string, EmailTemplate>>, config?: EmailConfig): EmailRenderer;
6
- //#endregion
7
5
  //# sourceMappingURL=react-email.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-email.d.cts","names":[],"sources":["../src/react-email.ts"],"mappings":";;;;wBAmCgB,iBACd,QAAQ,SAAS,eAAe,iBAChC,SAAS,cACR"}
1
+ {"version":3,"file":"react-email.d.cts","names":[],"sources":["../src/react-email.ts"],"mappings":";;;wBAmCgB,iBACd,QAAQ,SAAS,eAAe,iBAChC,SAAS,cACR"}
@@ -1,7 +1,5 @@
1
1
  import { EmailConfig } from "./email.mjs";
2
2
  import { EmailTemplate } from "./templates.mjs";
3
3
  import { EmailRenderer } from "./email-sender.mjs";
4
- //#region src/react-email.d.ts
5
4
  export declare function registryRenderer(emails: Readonly<Record<string, EmailTemplate>>, config?: EmailConfig): EmailRenderer;
6
- //#endregion
7
5
  //# sourceMappingURL=react-email.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-email.d.mts","names":[],"sources":["../src/react-email.ts"],"mappings":";;;;wBAmCgB,iBACd,QAAQ,SAAS,eAAe,iBAChC,SAAS,cACR"}
1
+ {"version":3,"file":"react-email.d.mts","names":[],"sources":["../src/react-email.ts"],"mappings":";;;wBAmCgB,iBACd,QAAQ,SAAS,eAAe,iBAChC,SAAS,cACR"}
@@ -3,7 +3,7 @@ import { indexTemplates, lookupTemplate, parseTemplateProps } from "./templates.
3
3
  import { EmailProvider } from "./email-context.mjs";
4
4
  import { createElement } from "react";
5
5
  import { renderToReadableStream } from "react-dom/server";
6
- //#region src/react-email.ts
6
+ // src/react-email.ts
7
7
  /**
8
8
  * `@shware/workflow/react-email` — an EmailRenderer over the project's email
9
9
  * registry (`react-dom` is an optional peer dependency; import this subpath
@@ -49,7 +49,6 @@ async function renderToHtml(element) {
49
49
  if (failure !== void 0) throw failure instanceof Error ? failure : new Error("email render failed", { cause: failure });
50
50
  return html.replace(/^<!DOCTYPE html>/i, "").replace(/<link rel="preload" as="image"[^>]*\/>/g, "");
51
51
  }
52
- //#endregion
53
52
  export { registryRenderer };
54
53
 
55
54
  //# sourceMappingURL=react-email.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/reporting/classify.ts
2
+ // src/reporting/classify.ts
3
3
  /** How close together clicks on different links of one message must be to count as one walk. */
4
4
  const BURST_WINDOW_MS = 5e3;
5
5
  const DEFAULT_QUICK_MS = 1e3;
@@ -33,7 +33,6 @@ function classifyClick(facts, options = {}) {
33
33
  if (quick && pair) return machine("quick+link_pair");
34
34
  return human;
35
35
  }
36
- //#endregion
37
36
  exports.BURST_WINDOW_MS = BURST_WINDOW_MS;
38
37
  exports.DEFAULT_QUICK_MS = DEFAULT_QUICK_MS;
39
38
  exports.classifyClick = classifyClick;
@@ -1,4 +1,3 @@
1
- //#region src/reporting/classify.d.ts
2
1
  /**
3
2
  * Who opened or clicked: a person, or a machine acting on the message without one — the split
4
3
  * between human and machine engagement that open and click rates are read through. No single
@@ -56,5 +55,4 @@ export declare const BURST_WINDOW_MS = 5000;
56
55
  export declare const DEFAULT_QUICK_MS = 1000;
57
56
  export declare function classifyOpen(facts: RequestFacts, options?: ClassifyOptions): Verdict;
58
57
  export declare function classifyClick(facts: ClickFacts, options?: ClassifyOptions): Verdict;
59
- //#endregion
60
58
  //# sourceMappingURL=classify.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"classify.d.cts","names":[],"sources":["../../src/reporting/classify.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BiB;EACf;EACA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;iBAGe,mBAAmB;;EAElC;;EAEA;;;qBAIW;qBACA;wBAcG,aAAa,OAAO,cAAc,UAAS,kBAAuB;wBAYlE,cAAc,OAAO,YAAY,UAAS,kBAAuB"}
1
+ {"version":3,"file":"classify.d.cts","names":[],"sources":["../../src/reporting/classify.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BiB;EACf;EACA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;iBAGe,mBAAmB;;EAElC;;EAEA;;;qBAIW;qBACA;wBAcG,aAAa,OAAO,cAAc,UAAS,kBAAuB;wBAYlE,cAAc,OAAO,YAAY,UAAS,kBAAuB"}
@@ -1,4 +1,3 @@
1
- //#region src/reporting/classify.d.ts
2
1
  /**
3
2
  * Who opened or clicked: a person, or a machine acting on the message without one — the split
4
3
  * between human and machine engagement that open and click rates are read through. No single
@@ -56,5 +55,4 @@ export declare const BURST_WINDOW_MS = 5000;
56
55
  export declare const DEFAULT_QUICK_MS = 1000;
57
56
  export declare function classifyOpen(facts: RequestFacts, options?: ClassifyOptions): Verdict;
58
57
  export declare function classifyClick(facts: ClickFacts, options?: ClassifyOptions): Verdict;
59
- //#endregion
60
58
  //# sourceMappingURL=classify.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"classify.d.mts","names":[],"sources":["../../src/reporting/classify.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BiB;EACf;EACA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;iBAGe,mBAAmB;;EAElC;;EAEA;;;qBAIW;qBACA;wBAcG,aAAa,OAAO,cAAc,UAAS,kBAAuB;wBAYlE,cAAc,OAAO,YAAY,UAAS,kBAAuB"}
1
+ {"version":3,"file":"classify.d.mts","names":[],"sources":["../../src/reporting/classify.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BiB;EACf;EACA;;iBAGe;EACf;EACA;;EAEA;;EAEA;;iBAGe;;EAEf;;iBAGe,mBAAmB;;EAElC;;EAEA;;;qBAIW;qBACA;wBAcG,aAAa,OAAO,cAAc,UAAS,kBAAuB;wBAYlE,cAAc,OAAO,YAAY,UAAS,kBAAuB"}
@@ -1,4 +1,4 @@
1
- //#region src/reporting/classify.ts
1
+ // src/reporting/classify.ts
2
2
  /** How close together clicks on different links of one message must be to count as one walk. */
3
3
  const BURST_WINDOW_MS = 5e3;
4
4
  const DEFAULT_QUICK_MS = 1e3;
@@ -32,7 +32,6 @@ function classifyClick(facts, options = {}) {
32
32
  if (quick && pair) return machine("quick+link_pair");
33
33
  return human;
34
34
  }
35
- //#endregion
36
35
  export { BURST_WINDOW_MS, DEFAULT_QUICK_MS, classifyClick, classifyOpen };
37
36
 
38
37
  //# sourceMappingURL=classify.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/reporting/observer.ts
2
+ // src/reporting/observer.ts
3
3
  /**
4
4
  * The observer journeyWorker installs when the store keeps reporting: every node arrival, copy
5
5
  * and outcome recorded through `store.reporting`.
@@ -59,7 +59,6 @@ function channelOf(message) {
59
59
  if (message.channel !== "push") return message.channel;
60
60
  return `push_${message.device?.platform ?? "unknown"}`;
61
61
  }
62
- //#endregion
63
62
  exports.reportingObserver = reportingObserver;
64
63
 
65
64
  //# sourceMappingURL=observer.cjs.map
@@ -1,7 +1,6 @@
1
1
  import { JourneyObserver } from "../engine/ports.cjs";
2
2
  import "../engine/index.cjs";
3
3
  import { JourneyReporting } from "../store/index.cjs";
4
- //#region src/reporting/observer.d.ts
5
4
  /**
6
5
  * The observer journeyWorker installs when the store keeps reporting: every node arrival, copy
7
6
  * and outcome recorded through `store.reporting`.
@@ -15,5 +14,4 @@ import { JourneyReporting } from "../store/index.cjs";
15
14
  * The links are recorded when the sender commits the rewritten email, before it goes out.
16
15
  */
17
16
  export declare function reportingObserver(reporting: JourneyReporting, origin: string | undefined): JourneyObserver;
18
- //#endregion
19
17
  //# sourceMappingURL=observer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"observer.d.cts","names":[],"sources":["../../src/reporting/observer.ts"],"mappings":";;;;;;;;;;;;;;;;wBAegB,kBACd,WAAW,kBACX,6BACC"}
1
+ {"version":3,"file":"observer.d.cts","names":[],"sources":["../../src/reporting/observer.ts"],"mappings":";;;;;;;;;;;;;;;wBAegB,kBACd,WAAW,kBACX,6BACC"}
@@ -1,7 +1,6 @@
1
1
  import { JourneyObserver } from "../engine/ports.mjs";
2
2
  import "../engine/index.mjs";
3
3
  import { JourneyReporting } from "../store/index.mjs";
4
- //#region src/reporting/observer.d.ts
5
4
  /**
6
5
  * The observer journeyWorker installs when the store keeps reporting: every node arrival, copy
7
6
  * and outcome recorded through `store.reporting`.
@@ -15,5 +14,4 @@ import { JourneyReporting } from "../store/index.mjs";
15
14
  * The links are recorded when the sender commits the rewritten email, before it goes out.
16
15
  */
17
16
  export declare function reportingObserver(reporting: JourneyReporting, origin: string | undefined): JourneyObserver;
18
- //#endregion
19
17
  //# sourceMappingURL=observer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"observer.d.mts","names":[],"sources":["../../src/reporting/observer.ts"],"mappings":";;;;;;;;;;;;;;;;wBAegB,kBACd,WAAW,kBACX,6BACC"}
1
+ {"version":3,"file":"observer.d.mts","names":[],"sources":["../../src/reporting/observer.ts"],"mappings":";;;;;;;;;;;;;;;wBAegB,kBACd,WAAW,kBACX,6BACC"}
@@ -1,4 +1,4 @@
1
- //#region src/reporting/observer.ts
1
+ // src/reporting/observer.ts
2
2
  /**
3
3
  * The observer journeyWorker installs when the store keeps reporting: every node arrival, copy
4
4
  * and outcome recorded through `store.reporting`.
@@ -58,7 +58,6 @@ function channelOf(message) {
58
58
  if (message.channel !== "push") return message.channel;
59
59
  return `push_${message.device?.platform ?? "unknown"}`;
60
60
  }
61
- //#endregion
62
61
  export { reportingObserver };
63
62
 
64
63
  //# sourceMappingURL=observer.mjs.map
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_reporting_classify = require("./classify.cjs");
3
- //#region src/reporting/tracking.ts
3
+ // src/reporting/tracking.ts
4
4
  const GIF = Uint8Array.from(atob("R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"), (char) => char.charCodeAt(0));
5
5
  const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
6
6
  function requester(request) {
@@ -156,7 +156,6 @@ function page(options, message, status = 200, extra = "") {
156
156
  headers: { "content-type": "text/html; charset=utf-8" }
157
157
  });
158
158
  }
159
- //#endregion
160
159
  exports.handleTracking = handleTracking;
161
160
  exports.recordPushOpen = recordPushOpen;
162
161
 
@@ -1,5 +1,4 @@
1
1
  import { JourneyReporting } from "../store/index.cjs";
2
- //#region src/reporting/tracking.d.ts
3
2
  /**
4
3
  * The endpoints a journey email's tracking points at (see ./observer.ts), served by journeyWorker
5
4
  * without a bearer — recipients open them:
@@ -52,5 +51,4 @@ export declare function handleTracking(request: Request, reporting: JourneyRepor
52
51
  * notification. False when the message is unknown or not the user's.
53
52
  */
54
53
  export declare function recordPushOpen(reporting: JourneyReporting, userId: string, messageId: string, at?: number): Promise<boolean>;
55
- //#endregion
56
54
  //# sourceMappingURL=tracking.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.d.cts","names":[],"sources":["../../src/reporting/tracking.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBA0BiB;;EAEf;;EAEA;;EAEA,eACM;IAAQ;IAAmB;IAAgB;QAAiB;;;;;;EAOlE,mBACM;IAAe;IAAmB;IAAgB;QAAiB;;;wBAgCrD,eACpB,SAAS,SACT,WAAW,kBACX,UAAS,kBACR,QAAQ;;;;;;wBAoFW,eACpB,WAAW,kBACX,gBACA,mBACA,cACC"}
1
+ {"version":3,"file":"tracking.d.cts","names":[],"sources":["../../src/reporting/tracking.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBA0BiB;;EAEf;;EAEA;;EAEA,eACM;IAAQ;IAAmB;IAAgB;QAAiB;;;;;;EAOlE,mBACM;IAAe;IAAmB;IAAgB;QAAiB;;;wBAgCrD,eACpB,SAAS,SACT,WAAW,kBACX,UAAS,kBACR,QAAQ;;;;;;wBAoFW,eACpB,WAAW,kBACX,gBACA,mBACA,cACC"}
@@ -1,5 +1,4 @@
1
1
  import { JourneyReporting } from "../store/index.mjs";
2
- //#region src/reporting/tracking.d.ts
3
2
  /**
4
3
  * The endpoints a journey email's tracking points at (see ./observer.ts), served by journeyWorker
5
4
  * without a bearer — recipients open them:
@@ -52,5 +51,4 @@ export declare function handleTracking(request: Request, reporting: JourneyRepor
52
51
  * notification. False when the message is unknown or not the user's.
53
52
  */
54
53
  export declare function recordPushOpen(reporting: JourneyReporting, userId: string, messageId: string, at?: number): Promise<boolean>;
55
- //#endregion
56
54
  //# sourceMappingURL=tracking.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.d.mts","names":[],"sources":["../../src/reporting/tracking.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBA0BiB;;EAEf;;EAEA;;EAEA,eACM;IAAQ;IAAmB;IAAgB;QAAiB;;;;;;EAOlE,mBACM;IAAe;IAAmB;IAAgB;QAAiB;;;wBAgCrD,eACpB,SAAS,SACT,WAAW,kBACX,UAAS,kBACR,QAAQ;;;;;;wBAoFW,eACpB,WAAW,kBACX,gBACA,mBACA,cACC"}
1
+ {"version":3,"file":"tracking.d.mts","names":[],"sources":["../../src/reporting/tracking.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBA0BiB;;EAEf;;EAEA;;EAEA,eACM;IAAQ;IAAmB;IAAgB;QAAiB;;;;;;EAOlE,mBACM;IAAe;IAAmB;IAAgB;QAAiB;;;wBAgCrD,eACpB,SAAS,SACT,WAAW,kBACX,UAAS,kBACR,QAAQ;;;;;;wBAoFW,eACpB,WAAW,kBACX,gBACA,mBACA,cACC"}
@@ -1,5 +1,5 @@
1
1
  import { BURST_WINDOW_MS, classifyClick, classifyOpen } from "./classify.mjs";
2
- //#region src/reporting/tracking.ts
2
+ // src/reporting/tracking.ts
3
3
  const GIF = Uint8Array.from(atob("R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"), (char) => char.charCodeAt(0));
4
4
  const UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
5
5
  function requester(request) {
@@ -155,7 +155,6 @@ function page(options, message, status = 200, extra = "") {
155
155
  headers: { "content-type": "text/html; charset=utf-8" }
156
156
  });
157
157
  }
158
- //#endregion
159
158
  export { handleTracking, recordPushOpen };
160
159
 
161
160
  //# sourceMappingURL=tracking.mjs.map
package/dist/runtime.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/runtime.ts
2
+ // src/runtime.ts
3
3
  const DEFAULTS = {
4
4
  timeScale: 1,
5
5
  logMessages: false
@@ -13,7 +13,6 @@ function resolveRuntime(config, mode) {
13
13
  logMessages: entry.logMessages ?? DEFAULTS.logMessages
14
14
  };
15
15
  }
16
- //#endregion
17
16
  exports.resolveRuntime = resolveRuntime;
18
17
 
19
18
  //# sourceMappingURL=runtime.cjs.map
@@ -1,4 +1,3 @@
1
- //#region src/runtime.d.ts
2
1
  /**
3
2
  * Runtime options — how the engine should behave in a given environment, as
4
3
  * typed configuration rather than loose environment variables. A project keeps
@@ -26,5 +25,4 @@ export type JourneyMode = 'development' | 'production' | (string & {});
26
25
  export type JourneyRuntimeConfig = Partial<Record<JourneyMode, JourneyRuntimeOptions>>;
27
26
  /** The options for `mode`, defaults filled in; `config` may be absent altogether. */
28
27
  export declare function resolveRuntime(config: JourneyRuntimeConfig | undefined, mode: JourneyMode): Required<JourneyRuntimeOptions>;
29
- //#endregion
30
28
  //# sourceMappingURL=runtime.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.cts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;;;;;;;;iBAWiB;;;;;;;EAOf;;EAEA;;;YAIU;;YAGA,uBAAuB,QAAQ,OAAO,aAAa;;wBAK/C,eACd,QAAQ,kCACR,MAAM,cACL,SAAS"}
1
+ {"version":3,"file":"runtime.d.cts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;;;;;;;iBAWiB;;;;;;;EAOf;;EAEA;;;YAIU;;YAGA,uBAAuB,QAAQ,OAAO,aAAa;;wBAK/C,eACd,QAAQ,kCACR,MAAM,cACL,SAAS"}
@@ -1,4 +1,3 @@
1
- //#region src/runtime.d.ts
2
1
  /**
3
2
  * Runtime options — how the engine should behave in a given environment, as
4
3
  * typed configuration rather than loose environment variables. A project keeps
@@ -26,5 +25,4 @@ export type JourneyMode = 'development' | 'production' | (string & {});
26
25
  export type JourneyRuntimeConfig = Partial<Record<JourneyMode, JourneyRuntimeOptions>>;
27
26
  /** The options for `mode`, defaults filled in; `config` may be absent altogether. */
28
27
  export declare function resolveRuntime(config: JourneyRuntimeConfig | undefined, mode: JourneyMode): Required<JourneyRuntimeOptions>;
29
- //#endregion
30
28
  //# sourceMappingURL=runtime.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;;;;;;;;iBAWiB;;;;;;;EAOf;;EAEA;;;YAIU;;YAGA,uBAAuB,QAAQ,OAAO,aAAa;;wBAK/C,eACd,QAAQ,kCACR,MAAM,cACL,SAAS"}
1
+ {"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/runtime.ts"],"mappings":";;;;;;;;;;iBAWiB;;;;;;;EAOf;;EAEA;;;YAIU;;YAGA,uBAAuB,QAAQ,OAAO,aAAa;;wBAK/C,eACd,QAAQ,kCACR,MAAM,cACL,SAAS"}
package/dist/runtime.mjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/runtime.ts
1
+ // src/runtime.ts
2
2
  const DEFAULTS = {
3
3
  timeScale: 1,
4
4
  logMessages: false
@@ -12,7 +12,6 @@ function resolveRuntime(config, mode) {
12
12
  logMessages: entry.logMessages ?? DEFAULTS.logMessages
13
13
  };
14
14
  }
15
- //#endregion
16
15
  export { resolveRuntime };
17
16
 
18
17
  //# sourceMappingURL=runtime.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/store/erasure.ts
2
+ // src/store/erasure.ts
3
3
  /**
4
4
  * The user has an erasure tombstone — requested and under way, or carried out — so nothing may
5
5
  * be written about them: a write that got through would come back after the erase, or bring an
@@ -16,7 +16,6 @@ var UserErasedError = class extends Error {
16
16
  this.userId = userId;
17
17
  }
18
18
  };
19
- //#endregion
20
19
  exports.UserErasedError = UserErasedError;
21
20
 
22
21
  //# sourceMappingURL=erasure.cjs.map
@@ -1,4 +1,3 @@
1
- //#region src/store/erasure.d.ts
2
1
  /** Where a user stands with erasure: see `JourneyStore.erasureState`. */
3
2
  export type ErasureState = 'none' | 'erasing' | 'erased';
4
3
  /**
@@ -14,5 +13,4 @@ export declare class UserErasedError extends Error {
14
13
  readonly retryable = false;
15
14
  constructor(userId: string);
16
15
  }
17
- //#endregion
18
16
  //# sourceMappingURL=erasure.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"erasure.d.cts","names":[],"sources":["../../src/store/erasure.ts"],"mappings":";;YACY;;;;;;;qBAQC,wBAAwB;WAId;WAHH;;WAET;EACT,YAAqB"}
1
+ {"version":3,"file":"erasure.d.cts","names":[],"sources":["../../src/store/erasure.ts"],"mappings":";YACY;;;;;;;qBAQC,wBAAwB;WAId;WAHH;;WAET;EACT,YAAqB"}
@@ -1,4 +1,3 @@
1
- //#region src/store/erasure.d.ts
2
1
  /** Where a user stands with erasure: see `JourneyStore.erasureState`. */
3
2
  export type ErasureState = 'none' | 'erasing' | 'erased';
4
3
  /**
@@ -14,5 +13,4 @@ export declare class UserErasedError extends Error {
14
13
  readonly retryable = false;
15
14
  constructor(userId: string);
16
15
  }
17
- //#endregion
18
16
  //# sourceMappingURL=erasure.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"erasure.d.mts","names":[],"sources":["../../src/store/erasure.ts"],"mappings":";;YACY;;;;;;;qBAQC,wBAAwB;WAId;WAHH;;WAET;EACT,YAAqB"}
1
+ {"version":3,"file":"erasure.d.mts","names":[],"sources":["../../src/store/erasure.ts"],"mappings":";YACY;;;;;;;qBAQC,wBAAwB;WAId;WAHH;;WAET;EACT,YAAqB"}
@@ -1,4 +1,4 @@
1
- //#region src/store/erasure.ts
1
+ // src/store/erasure.ts
2
2
  /**
3
3
  * The user has an erasure tombstone — requested and under way, or carried out — so nothing may
4
4
  * be written about them: a write that got through would come back after the erase, or bring an
@@ -15,7 +15,6 @@ var UserErasedError = class extends Error {
15
15
  this.userId = userId;
16
16
  }
17
17
  };
18
- //#endregion
19
18
  export { UserErasedError };
20
19
 
21
20
  //# sourceMappingURL=erasure.mjs.map
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_engine_condition = require("../engine/condition.cjs");
3
- //#region src/store/facts.ts
3
+ // src/store/facts.ts
4
4
  /** The profile path that reads the user's own id (`u.userId`). */
5
5
  const USER_ID_PROPERTY = "userId";
6
6
  /** Single-user fact source over a JourneyStore: evaluation lives in engine/condition.ts, this only reads. */
@@ -53,7 +53,6 @@ var JourneyFactSource = class {
53
53
  return this.store.listDevices(this.userId);
54
54
  }
55
55
  };
56
- //#endregion
57
56
  exports.JourneyFactSource = JourneyFactSource;
58
57
  exports.USER_ID_PROPERTY = USER_ID_PROPERTY;
59
58
 
@@ -1,7 +1,6 @@
1
1
  import { ConditionIR, ScalarIR } from "../ir.cjs";
2
2
  import { FactSource, PushDevice } from "../engine/ports.cjs";
3
3
  import { JourneyStore } from "./index.cjs";
4
- //#region src/store/facts.d.ts
5
4
  /** The profile path that reads the user's own id (`u.userId`). */
6
5
  export declare const USER_ID_PROPERTY = "userId";
7
6
  /** Single-user fact source over a JourneyStore: evaluation lives in engine/condition.ts, this only reads. */
@@ -34,5 +33,4 @@ export declare class JourneyFactSource implements FactSource {
34
33
  isSuppressed(channel: string): Promise<boolean>;
35
34
  listDevices(): Promise<PushDevice[]>;
36
35
  }
37
- //#endregion
38
36
  //# sourceMappingURL=facts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"facts.d.cts","names":[],"sources":["../../src/store/facts.ts"],"mappings":";;;;;qBAMa;;qBAGA,6BAA6B;mBAErB;mBACA;EAFnB,YACmB,OAAO,cACP;EAGb,YACJ,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;;;;;;;;;;;;;;;EA2BG,YAAY,eAAe,QAAQ;EAoBzC,oBAAoB,eAAe,QAAQ;;EAKrC,aAAa,kBAAkB;EAIrC,eAAe,QAAQ"}
1
+ {"version":3,"file":"facts.d.cts","names":[],"sources":["../../src/store/facts.ts"],"mappings":";;;;qBAMa;;qBAGA,6BAA6B;mBAErB;mBACA;EAFnB,YACmB,OAAO,cACP;EAGb,YACJ,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;;;;;;;;;;;;;;;EA2BG,YAAY,eAAe,QAAQ;EAoBzC,oBAAoB,eAAe,QAAQ;;EAKrC,aAAa,kBAAkB;EAIrC,eAAe,QAAQ"}
@@ -1,7 +1,6 @@
1
1
  import { ConditionIR, ScalarIR } from "../ir.mjs";
2
2
  import { FactSource, PushDevice } from "../engine/ports.mjs";
3
3
  import { JourneyStore } from "./index.mjs";
4
- //#region src/store/facts.d.ts
5
4
  /** The profile path that reads the user's own id (`u.userId`). */
6
5
  export declare const USER_ID_PROPERTY = "userId";
7
6
  /** Single-user fact source over a JourneyStore: evaluation lives in engine/condition.ts, this only reads. */
@@ -34,5 +33,4 @@ export declare class JourneyFactSource implements FactSource {
34
33
  isSuppressed(channel: string): Promise<boolean>;
35
34
  listDevices(): Promise<PushDevice[]>;
36
35
  }
37
- //#endregion
38
36
  //# sourceMappingURL=facts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"facts.d.mts","names":[],"sources":["../../src/store/facts.ts"],"mappings":";;;;;qBAMa;;qBAGA,6BAA6B;mBAErB;mBACA;EAFnB,YACmB,OAAO,cACP;EAGb,YACJ,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;;;;;;;;;;;;;;;EA2BG,YAAY,eAAe,QAAQ;EAoBzC,oBAAoB,eAAe,QAAQ;;EAKrC,aAAa,kBAAkB;EAIrC,eAAe,QAAQ"}
1
+ {"version":3,"file":"facts.d.mts","names":[],"sources":["../../src/store/facts.ts"],"mappings":";;;;qBAMa;;qBAGA,6BAA6B;mBAErB;mBACA;EAFnB,YACmB,OAAO,cACP;EAGb,YACJ,eACA;IAAS;IAAkB;IAAkB,QAAQ;MACpD;;;;;;;;;;;;;;;EA2BG,YAAY,eAAe,QAAQ;EAoBzC,oBAAoB,eAAe,QAAQ;;EAKrC,aAAa,kBAAkB;EAIrC,eAAe,QAAQ"}
@@ -1,5 +1,5 @@
1
1
  import { matchesWhere } from "../engine/condition.mjs";
2
- //#region src/store/facts.ts
2
+ // src/store/facts.ts
3
3
  /** The profile path that reads the user's own id (`u.userId`). */
4
4
  const USER_ID_PROPERTY = "userId";
5
5
  /** Single-user fact source over a JourneyStore: evaluation lives in engine/condition.ts, this only reads. */
@@ -52,7 +52,6 @@ var JourneyFactSource = class {
52
52
  return this.store.listDevices(this.userId);
53
53
  }
54
54
  };
55
- //#endregion
56
55
  export { JourneyFactSource, USER_ID_PROPERTY };
57
56
 
58
57
  //# sourceMappingURL=facts.mjs.map
@@ -4,7 +4,7 @@ const require_store_postgres_reporting = require("./postgres-reporting.cjs");
4
4
  const require_store_tables = require("./tables.cjs");
5
5
  const require_store_postgres = require("./postgres.cjs");
6
6
  const require_store_facts = require("./facts.cjs");
7
- //#region src/store/index.ts
7
+ // src/store/index.ts
8
8
  /**
9
9
  * The live database lacks tables or columns the engine reads (an SDK upgrade added them, or the
10
10
  * host never ran the migration). Raised before a deploy writes anything.
@@ -17,7 +17,6 @@ var SchemaMismatchError = class extends Error {
17
17
  this.problems = problems;
18
18
  }
19
19
  };
20
- //#endregion
21
20
  exports.DEFAULT_SCHEMA = require_store_tables.DEFAULT_SCHEMA;
22
21
  exports.JourneyFactSource = require_store_facts.JourneyFactSource;
23
22
  exports.PostgresJourneyStore = require_store_postgres.PostgresJourneyStore;