@marktiderman/genesis-supabase 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -354,6 +354,16 @@ and release notes (`notes`, an array of `{ version, title?, body }`). Copy it in
|
|
|
354
354
|
|
|
355
355
|
## Push (the push block)
|
|
356
356
|
|
|
357
|
+
> **Superseded by [`@marktiderman/genesis-notifications`](../notifications/README.md).** Its
|
|
358
|
+
> migration adopts this one's three tables in place (adding columns, changing no row), replaces
|
|
359
|
+
> `genesis_push_register` and `genesis_push_forget` with stricter versions (a token moves to
|
|
360
|
+
> another login only from the same phone, and forget reveals nothing), and its runner replaces
|
|
361
|
+
> the `genesis-push-send` function and the sender functions below. Migration 0005 and the
|
|
362
|
+
> function stay here unchanged for apps that already run them; new apps take the notifications
|
|
363
|
+
> block instead. When you move, remove 0005's pgTAP test from your app (two of its assertions
|
|
364
|
+
> describe the old register and forget) and stop calling `genesis-push-send`.
|
|
365
|
+
|
|
366
|
+
|
|
357
367
|
[`migrations/0005_genesis_push.sql`](./migrations/0005_genesis_push.sql) and the
|
|
358
368
|
[`genesis-push-send`](./functions/genesis-push-send) Edge Function are the server half of
|
|
359
369
|
`@marktiderman/genesis-native/push`. Copy the migration into your app's `supabase/migrations/`
|