Commit be7a540
feat(wallet-toolbox): sync upstream changes from v2.1.22 to v2.1.24
- StorageIdb: add assertNoUndefinedInPartial guard to all filter methods; align
partial filter semantics to use !== undefined (matching Knex behavior); fix
updateIdb to return actual updated count and not throw on missing rows;
fix allocateChangeInput to use noScript + validateOutputScript; refactor
getRawTxOfKnownValidTransaction slice path to include 'unfail' status;
fix getLabels/getTagsForId to use verifyOneOrNone with orphan debug logging;
add orderDescending cursor direction to filterOutputs; delete e.logger in
insertCertificate
- StorageKnex: adminStats satoshis queries now join with transactions and filter
to status='completed' to exclude failed transactions
- EntityTransaction.mergeFind: prefer (userId, txid) lookup before (userId, reference)
to avoid duplicate rows when two storages independently internalize the same txid
- listOutputsIdb: support negative offset (tail paging), add 'sending' to stati,
pass orderDescending to FindOutputsArgs; remove WERR_NOT_IMPLEMENTED import
- Bump version to 2.1.24
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 108a49b commit be7a540
6 files changed
Lines changed: 190 additions & 104 deletions
File tree
- packages/wallet/wallet-toolbox
- src/storage
- methods
- schema/entities
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments