-
Issue:
package-lock.jsoncreated despite usingpnpm
Resolved by deleting the lockfile and reinstalling withpnpm -
Issue: Both
next.config.jsandnext.config.tswere generated
Resolved by migrating config to.tsand deleting the.jsfile
- Issue: Hydration error in
useDarkModedue to prematurewindowaccess
Fixed by checkingtypeof window !== 'undefined'before accessing user preference
-
Setup Note: Cookie mode must be enabled at https://app.dynamic.xyz/dashboard/security
-
Docs Issue: Cookie-based auth docs reference a toggle (Step 7) but do not specify its location. Should be clarified it’s in Account Security settings
-
Issue: Cookie name
DYNAMIC_JWT_TOKENis undocumented. Discovered through inspection and used directly -
Issue: Docs state the JWT is “minified” but do not provide a type. Manually extracted and inspected the payload structure
-
Issue:
[DynamicSDK] [ERROR]: Error refreshUserJwt {}appears when not logged in. It appears this can be safely ignored during unauthenticated states.
- Suggestion: Export
KernelClienttype from@dynamic-labs/ethereum-aato improve DX for typed hooks