@orbclub/create-app 0.1.5 → 0.1.7

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.
@@ -1,3 +1,3 @@
1
1
  // The @orbclub/apps-sdk release generated apps depend on (`^SDK_VERSION`). Keep it
2
2
  // equal to the root package.json version; test/tooling.test.ts enforces it.
3
- export const SDK_VERSION = "0.1.5";
3
+ export const SDK_VERSION = "0.1.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbclub/create-app",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Create an Orb app with Next.js and @orbclub/apps-sdk",
5
5
  "keywords": [
6
6
  "orb",
@@ -96,6 +96,11 @@ environment variables are in `README.md`.
96
96
  - `tip({ account, postId? })` opens Orb's sheet and lets the viewer pick the
97
97
  amount. A completed result means queued and has no hash. Verify on chain
98
98
  before granting anything.
99
+ - Notifications: call `orb.requestNotifications()` from a tap when the context
100
+ feature is enabled. Permission returns status only. Publish public signing keys
101
+ in `/.well-known/orb-app.json`; keep private keys on the server. Send signed
102
+ requests to verified account addresses with `sendOrbNotification`. See
103
+ `node_modules/@orbclub/apps-sdk/docs/notifications.md` for consent and rotation.
99
104
  - Validate API route bodies with `src/app/api/route-security.ts` and pass other
100
105
  generated API calls `signal: AbortSignal.timeout(…)`.
101
106