Commit 874c181
refactor(react-sdk): organize token hooks into domain folders (#181)
* refactor(react-sdk): organize token hooks into domain folders
Move hooks from flat token/ into categorized folders:
- authorization/ (allow, revoke, session)
- balance/ (confidential balance, activity feed, optimistic updates)
- transfer/ (confidential transfer, approve)
- shield/ (shield, approve underlying, allowance)
- unshield/ (unshield, resume)
- unwrap/ (unwrap, finalize)
- delegation/ (delegate decryption, revoke delegation, status)
- token/ (metadata, discovery, fees, supply, core token hooks)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(react-sdk): correct mock path in useConfidentialBalances enabled test
The test was mocking @tanstack/react-query's useQuery directly, but the
implementation imports from utils/query wrapper. Updated mock to target
the correct module path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: remove obsolete plan and design documents
These implementation plans and design docs served their purpose during
development and are no longer needed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(playwright): increase webServer timeouts to 120s to reduce CI flakiness
The anvil deploy + forge script step can exceed 60s on slow CI runners,
causing sporadic "Timed out waiting 60000ms from config.webServer" failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7dec68c commit 874c181
81 files changed
Lines changed: 65 additions & 9168 deletions
File tree
- docs
- plans
- superpowers
- plans
- specs
- packages/react-sdk/src
- __tests__
- authorization
- __tests__
- balance
- __tests__
- delegation
- __tests__
- shield
- __tests__
- transfer
- __tests__
- unshield
- __tests__
- unwrap
- __tests__
- test/playwright
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
0 commit comments