feat(notifications): mint long-lived JWT for native New Activity prefetch (Phase A)

Add BACKGROUND_JWT_EXPIRY_DAYS/SECONDS and accessTokenForBackgroundNotifications
via createEndorserJwtForDid; configureNativeFetcher uses it instead of getHeaders
so WorkManager prefetch is not stuck with a 60s access token. Interactive API
calls unchanged.
This commit is contained in:
Jose Olarte III
2026-03-27 21:33:46 +08:00
parent c9ea2e4120
commit 9f44a53047
4 changed files with 31 additions and 9 deletions

4
package-lock.json generated
View File

@@ -8685,8 +8685,8 @@
}
},
"node_modules/@timesafari/daily-notification-plugin": {
"version": "2.1.5",
"resolved": "git+https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin.git#469167a55fbebb91b3e61d6c8b3aec6fc873a13c",
"version": "2.2.0",
"resolved": "git+https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin.git#9121b1e0f7e1be50d00eb3e78d52e06816196697",
"license": "MIT",
"workspaces": [
"packages/*"