mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
abf37d3dfa
#### PR Dependency Tree * **PR #15219** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added secure, automatic auth session token refresh and request replay for expired-token responses across Android, iOS, and Electron. * Updated sign-in flows to manage sessions without returning tokens to the app layer. * Added “Devices” management UI with sign out per device and sign out all. * Enabled support for both Hashcash and Turnstile captcha providers. * **Bug Fixes** * Improved refresh de-duplication, inflight cancellation/clear behavior, and recovery from corrupted/invalid sessions. * **Tests** * Expanded auth-session, refresh/revoke, and replay coverage (Electron unit tests, Android instrumentation tests, iOS auth date parser tests). * **Chores** * Removed CAPTCHA site key from build-time configuration and adjusted CI test execution. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
21 lines
443 B
JSON
21 lines
443 B
JSON
{
|
|
"name": "@affine/mobile-shared",
|
|
"version": "0.27.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./auth/endpoint": "./src/auth/endpoint.ts",
|
|
"./nbstore/payload": "./src/nbstore/payload.ts"
|
|
},
|
|
"dependencies": {
|
|
"@affine/core": "workspace:*",
|
|
"@capacitor/core": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|