migrateNotionClientRegistration
migrateNotionClientRegistration(
walletAddress:string):Promise<boolean>
Defined in: src/lib/auth/notion.ts:525Â
Migrate unencrypted client registration to encrypted format. Call this when wallet/encryption key becomes available.
Checks two sources:
- sessionStorage fallback (from startNotionAuth when wallet was unavailable)
- Legacy plain-text localStorage (from before encryption was added)
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Promise<boolean>
Last updated on