@lunora/notify 1.0.0-alpha.96 → 1.0.0-alpha.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,3 +1,21 @@
1
+ /**
2
+ * `@lunora/notify`
3
+ *
4
+ * Multi-channel notifications for Lunora, wrapping the `@visulima/notification`
5
+ * engine. `defineNotify` in `lunora/notify.ts` configures the edge-safe channels
6
+ * (Web Push + FCM, plus chat / in-app inbox / webhook); codegen wires `ctx.notify`
7
+ * and its `ctx.push` alias onto every handler ctx from it (mirroring `defineFlags`
8
+ * → `ctx.flags`).
9
+ *
10
+ * Edge-safety: Web Push (VAPID + RFC 8291) and FCM (HTTP v1) run on `fetch` + Web
11
+ * Crypto under workerd. APNs (`node:http2`) and SMS / Node-only queue adapters are
12
+ * deliberately **not** on the edge facade — route heavy fan-out through
13
+ * `@lunora/queue` (`enqueuePushBroadcast` / `runPushBroadcastPage`).
14
+ *
15
+ * - `@lunora/notify` — `defineNotify`, `createNotify`, config resolvers, subscription stores and types.
16
+ * - `@lunora/notify/web` — the browser `subscribeToPush` service-worker helper.
17
+ * @packageDocumentation
18
+ */
1
19
  import { FcmConfig } from '@visulima/notification/providers/fcm';
2
20
  export type { FcmConfig } from '@visulima/notification/providers/fcm';
3
21
  import { PushSubscriptionLike, WebPushConfig } from '@visulima/notification/providers/web-push';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,21 @@
1
+ /**
2
+ * `@lunora/notify`
3
+ *
4
+ * Multi-channel notifications for Lunora, wrapping the `@visulima/notification`
5
+ * engine. `defineNotify` in `lunora/notify.ts` configures the edge-safe channels
6
+ * (Web Push + FCM, plus chat / in-app inbox / webhook); codegen wires `ctx.notify`
7
+ * and its `ctx.push` alias onto every handler ctx from it (mirroring `defineFlags`
8
+ * → `ctx.flags`).
9
+ *
10
+ * Edge-safety: Web Push (VAPID + RFC 8291) and FCM (HTTP v1) run on `fetch` + Web
11
+ * Crypto under workerd. APNs (`node:http2`) and SMS / Node-only queue adapters are
12
+ * deliberately **not** on the edge facade — route heavy fan-out through
13
+ * `@lunora/queue` (`enqueuePushBroadcast` / `runPushBroadcastPage`).
14
+ *
15
+ * - `@lunora/notify` — `defineNotify`, `createNotify`, config resolvers, subscription stores and types.
16
+ * - `@lunora/notify/web` — the browser `subscribeToPush` service-worker helper.
17
+ * @packageDocumentation
18
+ */
1
19
  import { FcmConfig } from '@visulima/notification/providers/fcm';
2
20
  export type { FcmConfig } from '@visulima/notification/providers/fcm';
3
21
  import { PushSubscriptionLike, WebPushConfig } from '@visulima/notification/providers/web-push';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/notify",
3
- "version": "1.0.0-alpha.96",
3
+ "version": "1.0.0-alpha.98",
4
4
  "description": "Multi-channel notifications for Lunora — ctx.notify / ctx.push over @visulima/notification: edge-safe Web Push + FCM, plus chat, in-app inbox and webhook channels, with subscription storage and queue-backed fan-out",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@lunora/errors": ">=1.0.0-alpha.51 <2.0.0-0",
53
- "@visulima/notification": "1.2.0"
53
+ "@visulima/notification": "2.0.2"
54
54
  },
55
55
  "engines": {
56
56
  "node": "^22.15.0 || >=24.11.0"