Uh oh!
There was an error while loading. Please reload this page.
feat(clerk-expo): Add secure token cache implementation and rename secureStore - #5375
Conversation
🦋 Changeset detectedLatest commit: 81c632a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
secureStore| }, | ||
| "expo-secure-store": { | ||
| "optional": true |
There was a problem hiding this comment.
We should remove this in the next major, because if someone is not using this package they will get errors when updating their package.
There was a problem hiding this comment.
Good catch and I agree. Updated. thanks!
panteliselef
left a comment
There was a problem hiding this comment.
Seems like we are not deprecating properly. And we are introducing breaking changes since secureStore is no longer exported from the expected path.
Uh oh!
There was an error while loading. Please reload this page.
| const item = await SecureStore.getItemAsync(key); | ||
| return item; | ||
| } catch (error) { | ||
| console.error('Clerk: Failed to retrieve token from SecureStore:', error); |
25b7130 to
e539a3cCompare
Description
This PR introduces a default secure token cache (basically what's in our quickstart) and deprecates
secureStorein favor ofresourceCachefor the experimental offline support.Resolves ECO-510
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change