Skip to content

update to new sdk version#1202

Draft
priosshrsth wants to merge 4 commits intomainfrom
anit/out-3679-update-to-latest-sdk-task-app
Draft

update to new sdk version#1202
priosshrsth wants to merge 4 commits intomainfrom
anit/out-3679-update-to-latest-sdk-task-app

Conversation

@priosshrsth
Copy link
Copy Markdown
Collaborator

Changes

  • ...

Testing Criteria

  • Test Criterias (explain how you did testing for this PR mentioning all the cases you tested for) [Loom](video link going through the test criteria)

Notes

  • Dependencies on other PRs, any required changes in config/setup to test behaviour, or links to external documents, threads, etc -- if any of them are required

Impact & Surface Area of Change

  • An overview of components behaviour to be looked at for unintended breaks after the changes. This will make regression testing easier and efficient.

@priosshrsth priosshrsth self-assigned this May 4, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 4, 2026

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment May 4, 2026 10:09am

Request Review

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 4, 2026

Deployment failed with the following error:

Deploying Serverless Functions to multiple regions is restricted to the Pro and Enterprise plans.

Learn More: https://vercel.link/multiple-function-regions

Assembly session tokens now expire every 5 minutes. Subscribe to
AssemblyBridge.sessionToken updates and keep a single source of truth
for the latest token across the client.

- Add @assembly-js/app-bridge dependency
- New useTokenRefresh hook + assemblyTokenStore module-level ref
- ClientSideStateUpdate seeds the live store and mounts the refresher
- fetcher overwrites ?token= with getLiveToken() on the browser
- All imperative client call sites (mutations, drag/drop, realtime
  router.push, navigation hrefs) now read requireLiveToken() at call
  time instead of closing over a stale prop/Redux value
- SWR cache keys no longer embed the token, so rotations don't thrash

Server-side SSR fetchers and api routes are unchanged — they get a
fresh token from the URL searchParam on every request.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants