feat(authenticated-user-storage): add watchlist support#8836
Open
Prithpal-Sooriya wants to merge 1 commit into
Open
feat(authenticated-user-storage): add watchlist support#8836Prithpal-Sooriya wants to merge 1 commit into
Prithpal-Sooriya wants to merge 1 commit into
Conversation
e4e6ad4 to
c4d9e42
Compare
c4d9e42 to
bd2b5db
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
https://consensyssoftware.atlassian.net/browse/ASSETS-3219
Add watchlist support to the AUS SDK.
References
Checklist
Note
Medium Risk
Adds a new persisted user-data domain with new network requests, caching, and runtime validation; risk is mainly around API contract/validation mismatches and cache invalidation behavior.
Overview
Adds assets watchlist support to the authenticated-user-storage SDK via new
getAssetsWatchlist(returnsnullon 404) andsetAssetsWatchlistmethods plus corresponding messenger actions.Introduces an
AssetsWatchlistBlobschema/type and exportsASSETS_WATCHLIST_MAX_ASSETS(100), enforcing the cap on writes via superstruct while keeping reads lenient. Updates tests/fixtures/mocks to cover headers, error handling, caching, and invalidation, and refreshes README/CHANGELOG to document the new domain.Reviewed by Cursor Bugbot for commit bd2b5db. Bugbot is set up for automated code reviews on this repo. Configure here.