@orbclub/create-app 0.1.6 → 0.1.8
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/bin/sdk-version.js +1 -1
- package/package.json +1 -1
- package/template/AGENTS.md +5 -0
- package/template/package.json +2 -2
package/bin/sdk-version.js
CHANGED
package/package.json
CHANGED
package/template/AGENTS.md
CHANGED
|
@@ -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
|
|
package/template/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"lint": "eslint ."
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"next": "16.4.
|
|
16
|
+
"next": "16.4.5",
|
|
17
17
|
"@orbclub/apps-sdk": __SDK_DEPENDENCY_JSON__,
|
|
18
18
|
"react": "19.2.8",
|
|
19
19
|
"react-dom": "19.2.8"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react": "^19",
|
|
24
24
|
"@types/react-dom": "^19",
|
|
25
25
|
"eslint": "^9",
|
|
26
|
-
"eslint-config-next": "16.4.
|
|
26
|
+
"eslint-config-next": "16.4.5",
|
|
27
27
|
"typescript": "^5"
|
|
28
28
|
}
|
|
29
29
|
}
|