Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ty-everett
left a comment
There was a problem hiding this comment.
Maintainer review: retain this as draft and redesign it compatibly. WERR_NETWORK_CHAIN is exported through the public sdk namespace and SDK subpath; removing it breaks consumer imports, instanceof checks and typed JSON round trips. ProcessSyncChunkResult.error is also a public declaration. Internal non-use and the artifact checker’s selected export list do not establish absence of external consumers. Keep/deprecate these surfaces, retain round-trip coverage, and address #541 with an explicit live-sync chain preflight and #542 with documented, tested custom-provider failure handling. Do not close those issues through an API deletion in this maintenance release. A deliberate removal would need an approved major-version migration. Current main has also advanced substantially, so final acceptance must be rerun after the compatible revision.
…ChunkResult.error WERR_NETWORK_CHAIN was defined and deserialized but never thrown, and no processSyncChunk producer or consumer set or read result.error. Remove the dead surface instead of inventing new chain-mismatch or chunk-error semantics. Historical JSON with that error name still deserializes as a generic WalletError. Closes #541 Closes #542 Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
fbb0b5f to
5616c96
Compare
…0-16 The 2026-10-08 reviewBy date expired on main and blocks hosted CI. Static re-review confirms the same 30 dispositions; 29 source hashes are unchanged and the remaining suite matches the 2026-10-05 hash. No suite was executed. Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
…unkResult.error Keep WERR_NETWORK_CHAIN and ProcessSyncChunkResult.error as public surfaces. Compare reader/writer TableSettings.chain before any live-sync chunk moves and throw WERR_NETWORK_CHAIN on mismatch. Honor a custom writer's ProcessSyncChunkResult.error by throwing it and stopping the loop. First-party providers still throw. Addresses #541 and #542 without an API deletion. Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
Close GHSA-8r5x-fm3f-whwj and GHSA-p8wg-vrv2-v86f on the frozen ts-jest graph. 4.7.10 is younger than the 7-day floor until 2026-10-12, so handlebars is temporarily age-excluded for this security install. Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
Resolve conflicts with #968 and the 2.14.7 wallet-toolbox train. Keep the compatible live-sync wiring. Drop the temporary handlebars override now that main already locks 4.7.10 and treats release age as advisory. Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
Bring in #1029 (IndexedDB confirmed internalize). Conflicts were changelog and release notes only; keep both 2.14.7 notes and the live-sync wiring. Co-authored-by: deggen <d.kellenschwiler@bsvassociation.org>
|



Addresses #541 and #542 by wiring the existing public surfaces. This is not an API deletion.
Reworked after maintainer review (
CHANGES_REQUESTED):WERR_NETWORK_CHAINandProcessSyncChunkResult.errorstay public. LivesyncToWriter/syncFromReadernow compare reader and writerTableSettings.chainbefore any chunk moves and throwWERR_NETWORK_CHAINon mismatch. Custom writers may setProcessSyncChunkResult.error; both live-sync loops throw that error and stop. First-party providers still throw. Deserializer andinstanceofJSON round-trip coverage remain.Merged onto current
origin/mainincluding #1029 (6493d5f29). Conflicts were changelog and release notes only; live-sync source did not conflict. Unpublished candidate remains 2.14.7.Program and scope
Error), and executing manual/funded suitese9280ff14157f038f584d2a362409006a86c5561Impact
Affected packages/services and intended patch versions (publication occurs only
through the release workflow after approval):
@bsv/wallet-toolbox2.14.7 (unpublished candidate vs published 2.14.5;releaseTyperemains patch; no version bump)@bsv/wallet-toolbox-clientand@bsv/wallet-toolbox-mobileshare the same sourceVerification
pnpm --filter @bsv/wallet-toolbox exec jest --testPathPatterns='WalletError.test|liveSyncGuards.test|liveSyncManager.test' --no-coverage— 3 suites, 35 passedpnpm docs:packages:check— passedpnpm health:check— passed (existing maintenance reminders only)e9280ff14157f038f584d2a362409006a86c5561. 39 successful checks includingBuild, lint, and policy,build-and-test (24.x), wallet-toolbox coverage, packed-consumer, browser/mobile,Mutation quality, andmerge-gate. Expected skips only.CI / Build, lint, and policysucceededcompatibility, public API, artifacts, dependencies, docs, and operations
scope-based skip is expected and validated by the merge gate
Security and dependencies
mainaudit results were reviewed
(including accepted or false-positive issue states) and zero unreviewed hotspots;
Sonar's aggregate
Quality Gate passedverdict alone is not merge evidenceand removal condition
Release and operations
controlling program
Decision
Public surfaces are retained and wired. Hosted CI is green on this merge head. Keep as draft for maintainer re-review (prior
CHANGES_REQUESTEDstill stands). Do not merge.