chore: commit to move to laptop

This commit is contained in:
Matthew Raymer
2025-10-31 09:56:23 +00:00
parent c1cc8802f6
commit 01b7dae5df
26 changed files with 2243 additions and 145 deletions

View File

@@ -365,8 +365,13 @@ export interface DailyNotificationPlugin {
* - Production: `"https://api.timesafari.com"`
* - `activeDid` (required): Active DID for authentication.
* Format: `"did:ethr:0x..."`. Used as JWT issuer/subject.
* - `jwtSecret` (required): JWT secret for signing tokens.
* **Keep secure in production!** Consider using secure storage.
* - `jwtToken` (required): Pre-generated JWT token (ES256K signed).
* Generated in TypeScript using TimeSafari's `createEndorserJwtForKey()` function.
* **Note**: Token should be ES256K signed (DID-based), not HS256.
*
* **Architecture Note**: JWT tokens should be generated in TypeScript using TimeSafari's
* `createEndorserJwtForKey()` function (which uses DID-based ES256K signing), then passed
* to this method. This avoids the complexity of implementing DID-based JWT signing in Java.
*
* @throws {Error} If configuration fails (missing params, no fetcher registered, etc.)
*
@@ -376,7 +381,7 @@ export interface DailyNotificationPlugin {
configureNativeFetcher(options: {
apiBaseUrl: string;
activeDid: string;
jwtSecret: string;
jwtToken: string; // Pre-generated JWT token (ES256K signed) from TypeScript
}): Promise<void>;
// Rolling window management