Commit ac9e5cb
refactor(react-sdk): use batchDecryptBalancesAsMutationOptions factory (#204)
* refactor(react-sdk): use batchDecryptBalancesAsMutationOptions factory
useBatchDecryptBalancesAs was the only delegation hook inlining its
mutation key and function instead of using the corresponding SDK
options factory.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: regenerate react-sdk API report
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(sdk): prevent concurrent contract extensions from dropping addresses
When two allow() calls with different contracts ran concurrently, the
second could start from stale credentials after the first's extend
promise resolved and was nulled. Cache the last extend result so
subsequent calls use it as the base, preserving all added addresses.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* revert: remove #lastExtendResult from credentials manager
Reverts the concurrent extension caching (cee34b8) to keep
this branch's diff minimal. Formatting-only changes from the linter.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0ba9c55 commit ac9e5cb
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
862 | | - | |
| 862 | + | |
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
| 27 | + | |
24 | 28 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
0 commit comments