<>ts-stack
Get StartedArchitecturePackagesSpecsGuides
⌘K
Reference
Home
Get StartedOverviewInstallChoose your stackKey concepts
ArchitectureOverviewStack layersBEEF (BRC-62)BRC-100 Wallet InterfaceIdentity & AuthConformance pipeline
PackagesOverviewSDKWalletNetworkOverlaysMessagingMiddlewareHelpers
InfrastructureOverviewmessage-box-serveroverlay-serveruhrp-server-basicuhrp-server-cloud-bucketwabwallet-infrachaintracks-serverwebrtpay-relay
SpecsOverviewBRC-100 Wallet InterfaceOverlay HTTPMessage-box HTTPAuthsocket (WebSocket)BRC-31 Auth HandshakeBRC-29 Peer PaymentBRC-121 / HTTP 402ARC BroadcastMerkle ServiceStorage AdapterGASP SyncUHRPAir-Gap Optical (BRC-141)
ConformanceOverviewVector catalogTS runnerContributing vectors
GuidesOverviewIdentity, DIDs and credentialsIdentity migrationBuild a wallet-aware appRun an overlay nodePeer-to-peer messagingHTTP 402 payments
ReferenceOverviewBRC indexRepository health
AboutVersioningContributingDoc agentDocumentation sources
Loading…
Edit this page on GitHub
© 2026 BSV Blockchain. ts-stack is open-source.
GitHubContributingVersioning

Package API, Declarations, and Migration Ledger

This page is generated from all 39 public manifests, package documentation, and governance/package-release-notes.json. It records source candidates without publishing them. CI rejects a version change unless its release classification, summary, and migration guidance are updated at the same time.

The declaration targets below describe the packed manifest contract. The package pages remain the human API and usage authority; generated declarations and clean-consumer tests remain the executable type authority.

Current release boundary

Packagenpm baselineSourceCandidateAPIMigration
@bsv/402-pay0.3.60.3.6noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Custom clients must send a strictly framed BRC-95 Atomic BEEF envelope whose subject is the payment transaction; plain BEEF is no longer accepted. Legacy Atomic BEEF containing unrelated branches remains compatible because the server reduces it to the declared subject and dependency closure. The default replay store is bounded and process-local; production services with more than one serving process or node must inject the same durable atomic PaymentReplayStore everywhere. Low-level validators should retain one wallet object or pass an explicit store. Applications that relied on implicit console diagnostics must supply the optional structured logger. Treat an unchallenged 503 after payment submission as ambiguous and reconcile the transaction before requesting another payment. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/air-gap0.1.40.1.4noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No migration is required for valid BRC-141 v1 senders or decoders. Malformed, oversized, duplicate-heavy, or adversarial high-degree sessions now fail closed or are evicted within the documented limits instead of consuming unbounded resources.
@bsv/amountinator2.1.102.1.11patchAPI and usageNo consumer migration is required. Wallets can continue using the existing conversion methods and should display an unavailable quote when a requested fiat rate is missing.
@bsv/auth0.1.90.1.9noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No valid proof bytes or public API shape changes. Client and server must use the same protocol tuple; security levels 0, 1, and 2 remain supported and select wallet consent policy while the explicit counterparty scopes derivation at every level. Proof and wallet adapters must supply plain own data fields and dense byte arrays; inherited, accessor-backed, sparse, or malformed runtime shapes fail closed. Structured bodies containing non-finite numbers or negative zero must be normalized to an unambiguous wire representation before signing. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/auth-express-middleware2.4.02.4.0noneAPI and usageNo BRC100 call, wire or wallet-data migration. Configure and validate transport header limits at the HTTP server, CDN, proxy or WAF; maxRequestBytes no longer caps received headers. Clients needing larger signed responses require corresponding client capacity, including SDK 2.8.5. Published 2.2.8 is verified against protected release 36052862859 and its immutable source artifacts. Upgrade the required SDK peer to 2.8.5; custom ExpressTransport/Peer setups should pass maxGeneralPayloadBytes=null when the HTTP layer owns payload capacity. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. No BRC-103/104 wire or request-shape migration. Clients that already retry authentication after 401 recover from a server nonce they cannot verify. Clients that treated HTTP 500 as a permanent internal failure for this case now receive 401. Either this middleware or the SDK 4.0.1 hotfix stops the lock-out; deploy both when they are published. This source candidate is not publication. No change for ordinary routes. Guarded routes explicitly call guardAuthenticatedResponse after authentication and before sending; acquire the application durable fence, recheck current authorization and targets, and synchronously enqueue under it. Native Node HTTP/1 transport is required without compression/deferred response wrappers. Replacements are complete responses limited to64KiB and must preserve required CORS/capability headers. No production rate-limiting or transport defaults change. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No migration for the owned-byte correction; current authorization and synchronous enqueue remain the guard owner's responsibility. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. No API, authentication, wire or request-replay migration for response promise ownership. Requires @bsv/sdk ^2.8.5 || ^3.0.0. Set captureRawBody:true before body parsers when enabling multipart payment middleware. Default parsed-body integration remains available; nonempty non-multipart preimages remain compatible. Raw collection rejects compressed, oversized, slow and already-consumed bodies and enforces aggregate memory and pending-request bounds. Multipart boundary parameters must be signed exactly; receivers do not fall back to verification without the boundary. Configure public credential-free CORS preflight and expose the negotiation header. No deployment or publication is performed by this source candidate. For empty binary requests, upgrade SDK clients to the SDK4.0.0 candidate and auth receivers to 2.3.0 together; older length-0 signatures/reconstructions need the paired correction. Nonempty preimages are unchanged. The retained SDK2 alternative keeps its previously published floor; the integrated source graph now uses SDK3, including the paired BRC-118 correction. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No major SDK2 migration or forced peer installation is required for the receiver implementation. Strict packed current SDK2.8.11 and SDK3 reference/candidate runtime checks retain all original cases and separately record oversized legacy refusals. Original body/header/resource, signature, payment and replay controls remain. This component evidence does not qualify every historical version or the complete system. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package. No BRC100 call, wire or wallet-data migration. Configure and validate transport header limits at the HTTP server, CDN, proxy or WAF; maxRequestBytes no longer caps received headers. Clients needing larger signed responses require corresponding client capacity, including SDK 2.8.5. Published 2.2.8 is verified against protected release 36052862859 and its immutable source artifacts. Upgrade the required SDK peer to 2.8.5; custom ExpressTransport/Peer setups should pass maxGeneralPayloadBytes=null when the HTTP layer owns payload capacity. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package. No BRC-103/104 wire or request-shape migration. Clients that already retry authentication after 401 recover from a server nonce they cannot verify. Clients that treated HTTP 500 as a permanent internal failure for this case now receive 401. Either this middleware or the SDK 4.0.0 candidate stops the lock-out; deploy both when they are published. This source candidate is not publication.
@bsv/authsocket2.1.122.1.12noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required for valid JSON events. Existing numeric-key objects under byte-like names are unchanged; typed payment protocols recover historical byte objects at their explicit fields. Outbound non-JSON or ambiguous runtime values, including negative zero, nested undefined, sparse arrays, accessors, hidden/extra properties, and serialization hooks, now fail closed before signing. requestedCertificates is an SDK allowlist, not an application authorization verdict. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/authsocket-client2.1.112.1.11noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required for valid JSON events. Existing numeric-key objects under byte-like names are unchanged; typed payment protocols recover historical byte objects at their explicit fields. Outbound non-JSON or ambiguous runtime values, including negative zero, nested undefined, sparse arrays, accessors, hidden/extra properties, and serialization hooks, now fail closed before signing. The connect event/connected property report Socket.IO transport state, not completed BRC-103 authentication; wait for verified application traffic when local behavior requires a known unpinned server. Distributors who copy the UMD file must keep THIRD_PARTY_NOTICES.md and LICENSES/ with it. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/btms1.2.71.2.7noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Existing local, mainnet, testnet, and number-array behavior is unchanged. TTN consumers select networkPreset teratestnet; all consumers should upgrade to @bsv/sdk 2.4.1 or later for byte-boundary compatibility. Valid canonical token amounts remain compatible. Audit historical tokens for signed, exponent, leading-zero, non-positive, or greater-than-9007199254740991 amount fields before rebuilding wallet state; public number-based operations now fail closed when an aggregate cannot be represented exactly. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/btms-permission-module1.2.51.2.5noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Valid canonical BTMS flows remain compatible. Custom prompts must return literal true, authorization maps may contain at most 1,024 entries, and callers must provide dense signatures, safe exact totals, and canonical preimages; coercive or trailing-byte forms now fail closed. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/chirp0.1.70.1.7noneAPI and usageNo API or protocol migration is required. No API, codec, object identifier, service schema, or wire-format migration. Use @bsv/chirp 0.1.3 with SDK 2.8.9 or later and Cloud Bucket 0.2.48 or Lite 0.1.45 for authenticated binary uploads, including full 4 MiB chunks. Custom authenticated transports must send the supplied owned byte body unchanged and supply ordinary HTTP framing; Content-Type remains signed through AuthFetch. Earlier service entrypoints do not parse staged binary bytes before authentication and require this service patch. Existing stored objects, sessions, advertisements and leases remain unchanged. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/color-permission-module0.2.20.2.2noneAPI and usage0.1.1 restores numeric module balance queries for established clients. Wallet hosts use SDK4.0.1 or newer and register the color scheme with the underlying wallet, a ColorOverlayProvider and a prompt callback. Exact accounting and value movement enumerate outputs; numeric summaries above 2^53 may round. Published inventory scope and wallet data remain unchanged. 0.2.0: No migration for hosts that register no profiles: behaviour is 0.1.1's (numeric balances, SDK ^4.0.1, #1338 suffix tags and inputBEEF recovery). ColorOverlayProvider.submit receives an optional third offChainValues argument; existing providers ignore it. Hosts that register profiles must supply a durable ColorModuleStore, submit plain-noSend hand-overs and pending receipts themselves, and call markSettled(txid) once the overlay admitted them. For every host, each consent message now carries seekPermission and a declined request throws ColorConsentDeclinedError, whose message is the 0.1.0 text prefixed with [ColorConsentDeclinedError]. 0.1.1 advertised brc207-color=5; 0.2.0 advertises brc207-color=4, the discovery value the pinned BRC-207 revision defines, so apps that check for 4 discover the module. 0.2.1: no migration. 0.2.2: no migration.
@bsv/did0.3.30.3.3noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. DID0.3 is a breaking pre-1.0 candidate: compressed identity-key input only; remote document/lifecycle options rejected. Use original signed BRC52 binary for envelopes, or explicitly verified compatible structured core. Wire authenticated BRC103/104 payload/control, durable atomic replay, consent, issuer/schema/purpose reliance and local status policy; callbacks alone are not full transport conformance. See docs/guides/identity-did-vc-migration.md. Proposed custom W3C mechanisms remain unregistered. Import BRC52 APIs/types from @bsv/did/brc52; identity-key DID and independent SD-JWT helpers stay at @bsv/did. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/ecpm-permission-module0.2.00.2.0noneAPI and usageBreaking. Every ECPM scalar changes, under every counterparty including self, so a point masked with 0.1.x cannot be unmasked with 0.2.0. Finish or restart any in-progress protocol on one version, and do not mix versions among participants. Request arguments, result format, permission prompts, cached-grant scope and peer ranges are unchanged. Hosts that call dispose during an in-flight request now receive a closed request instead of a late result. Other BRC-229 implementations must adopt the amended canonical scalar derivation and its new conformance vectors.
@bsv/eqc0.1.10.1.1noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No consumer migration is required; this is the first release of a new additive package. Existing LookupResolver, MessageBoxClient, overlay, and message box server routes are unchanged. Requires @bsv/sdk ^2.8.0, ^3.0.0 or ^4.0.1; 2.8.0 is the first SDK2 release whose AuthFetch accepts bounded transport options and whose SLAP advertisements are canonical https, wss or js8 URIs. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/fund-wallet1.5.61.5.6noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No public API migration is required for conforming wallets. Custom WalletInterface adapters must return the literal accepted: true verdict after successful internalization; refusals and malformed or coercive results now throw instead of being reported as success. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/gasp1.3.111.3.11noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required. In bidirectional mode, the receiver must already have the parent of a pushed child, request it during a subsequent synchronization round, or reject the graph because GASP v1 submitNode does not transmit the spentBy parent outpoint. Pull-only operation avoids that assumption. Custom storage and remote adapters must preserve exact request/node binding and bounded responses. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/group-messaging0.1.10.2.0minorAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No migration is required: this is the package's first appearance in ts-stack and it has not been published to npm before. Consumers supply their own wallet, storage and transport. @bsv/sdk is a required peer dependency. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. 0.2.0: No migration is required. Every change is additive over the published 0.1.1 and no export was removed, narrowed or renamed. Reaction.reference, MessageContent.replyTo and the reference arguments to sendReply and sendReaction remain typed string, documented on each field as the id messageIdOf derives. A host that invented its own message id may keep it, but two hosts interoperate only on the derived id. The widened KeyPackage lifetime is read from the same notBefore and notAfter fields a 0.1.x peer already validates, so 0.1.x and 0.2.0 members interoperate in both directions with no wire, persistence or data migration. The templates are new files reachable through ./templates/*; nothing imports them unless a host asks for them.
@bsv/lch0.3.10.3.1noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Replace buyer.quote(endpoint, request, issuer, keyGrants) with buyer.quote(verifiedSignedOffer, request, expectedSeller, keyGrants). JavaScript callers that still pass an endpoint string fail before transport I/O. Persist the returned plan and every partial settlement proof, retry with the same funded transaction, and configure a profile-aware agreementEvaluator before completion or recovery. Low-level unverified recovery results must not authorize key storage or content access. DNS endpoints require an address-pinning connector outside trusted browser environments. Distributors must retain THIRD_PARTY_NOTICES.md with the package; published BRC-170 remains authoritative if the implementation and standard differ. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. The optional overlay-acquisition and overlay-covenant entries require the coordinated SDK3.3.0 output and revenue-listing companions; existing root peer ranges remain unchanged. Ordinary BRC-170 imports and SDK2 consumers remain unchanged. Decoded acquisition context and entitlement fingerprints remain explicitly unverified. Opt-in callers must install local proof sources and protected immutable-object custody before funding. LCHOverlayPaidDomain performs the concrete fixed-render/direct-collector checks; unsupported policy terms and profiles fail before funding. Ordinary BRC-170 imports, CORE_CAPABILITIES and SDK2 peers stay unchanged. The minor candidate adds APIs and a locally qualified authenticated native paid-lookup recovery flow. The current native covenant acquisition reference examples are implemented; their selectors and complete final-source gates are recorded in the checkpoint inventory. The browser workbench separately demonstrates progressive and live lookup. Install LCHOverlayPaidSeller only with the protected coordinator, actual read-only native credit reconciliation and complete original CEKs; financial effects remain owned by the coordinator and native adapters. Opt-in covenant callers must compose the terms adapter with actual complete genesis/Script/purchase, role and release verification; terms validation alone cannot issue a License or authorize decryption. Preserve the buyer-free standing Offer and exact original signed Request on every retry. Import LCHOverlayCovenantDomain through @bsv/lch/overlay-covenant, reserve original and positive-verification custody before financial work, and install actual full lineage/purchase/release proof ports. A decoded portable package, signed settlement or entitlement fingerprint alone cannot authorize playback. Public disclosed native fixtures compose the current covenant, encrypted custody, native wallet, seller and authenticated admission/recovery; full checkpoint qualification remains required. Install LCHOverlayCovenantSeller with actual full verifiers and the protected purchase coordinator; the advertised finite request/response limits must reserve the complete future C context before preparation. Issuance requires the complete retained candidate passed by the current coordinator, independently assessed release and original private material. Catalogue withdrawal does not replace that obligation. Combined wallet-backed topical-admission and native reference demonstrations are implemented; complete final-source qualification remains required. The opt-in covenant domain accepts complete plain BEEF selected by the original explicit wallet txid, independent of proof-record order; present Atomic BEEF markers must match. All original independent material, Script, lineage and licence checks remain. Ordinary BRC-170 behavior and persisted formats are unchanged. Existing BRC170 and paid-lookup behavior is unchanged. The approved pre-adoption C profile replacement requires purchaseCommitment in its signed settlement and in installed purchase verifier results; return the full authenticated input-zero SHA256d digest with an owned synchronous checkCurrent guard. Never infer it from equal outputs or transport claims. Preserve original signed release, License, settlement and protected obligations; currentAlias is separate unverified transport evidence. Qualify the replacement family, immutable collector terms, protected child wallet and native alias custody before advertising C. No existing ordinary content or paid-lookup stored format is reinterpreted. For current C representation, select decodeLCHCollectorRevenueProfile/bindLCHCollectorRevenueProfile and supply the exact immutable schedule and expiryHeight. New preparations require independently verified active stage and installed current height below expiry; retained obligations do not repeat that new-work predicate. These helpers do not authenticate Offers, verify ancestry/currentness or migrate historical owners; the current reference composition installs those independent responsibilities explicitly. Authenticate current C with validateLCHOverlayCovenantProfileTerms and retain its original consent; validateLCHOverlayCovenantProfilePromise validates a frozen obligation, while validateLCHOverlayCovenantProfileWindow is for new work. Independently verify authorized current-family lineage, roles, active stage and installed chain height before financial work. These terms interfaces perform no wallet action and do not migrate the historical buyer/seller/native alias owners. Select decodeLCHOverlayCovenantProfilePurchaseEvidence and bindLCHOverlayCovenantProfileSettlement for the current immutable descriptor. Representation and signed commitment binding do not establish actual Bitcoin history, Script execution, roles, release satisfaction, License validity or native alias ownership; retain independent full verification and historical entitlement checks. Select LCHOverlayCovenantProfileDomain for the current immutable collector. Initialize protected custody and retain/recheck fundingPreflight immediately before financial effects. Install actual complete current lineage, original funded and released transaction proof, and release-policy ports. Existing historical domain IDs/formats/defaults remain unchanged; retained delivery and offline playback never repeat a new-funding expiry predicate. The current reference composition separately installs native alias/action custody and the current seller; neither responsibility is supplied by the buyer domain alone. Select LCHOverlayCovenantProfileSeller for current immutable seller material. Its distinct installation identity does not reinterpret historical custody. Supply complete actual reserve/activation/purchase/release verifiers; retain and recheck the preparation guard before promising material. Original historical seller interfaces/IDs/formats/defaults remain. The current reference composition separately installs coordinator commitment packets and native alias/action/admission/HTTP owners; the seller domain alone supplies none of those authorities. Omit verification.candidate to preserve the prior installation identity and absent binding capability. Installing it selects a distinct full-commitment domain before buyer creation or reopen; its verification ID must bind complete independently selected algorithms. Provide the full ProfilePurchase verifier and same-context guard, retain original protected custody, and assess current alias placement separately on the buyer's own chain. Historical new-funding cutoffs do not re-gate this read-only verification. These additive components remain under native, packed and platform qualification; no full checkpoint claim. Conforming dense integer-byte wallet results remain compatible. Custom wallet adapters must return every plaintext/ciphertext byte as an own data value; missing or accessor-backed bytes fail with ERR_LCH_KEY rather than being synthesized. The additive seller assessment companion retains pending-finality or pending-evidence before financial reservation. Installing verification.assessPurchase selects a distinct material binding. Complete original consent, roles, Script/domain and release checks remain mandatory; pending evidence cannot fulfill compensation or issue a License. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/message-box-client2.7.12.8.0minorAPI and usageNo migration required. note and paymail are optional and absent on older senders.
@bsv/output-knowledge0.1.10.1.1noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. New opt-in package requiring SDK ^3.3.0, which introduces the output-protocol APIs; SDK3.0–3.2 do not provide these APIs. Preserve wallet custody and explicit action authorization; do not infer spending from source membership changes. New journals seal configured currentness rules in local frame v3 with canonical assessment ordering. Existing v1/v2 journals retain their encoding and replay behavior when read or extended. Adopting v3 for an older journal or changing policies requires a new namespace; retain the old journal for audit and recovery. Body-only proposal journal entries retain their bytes and retry keys. Upgrade all SQLite proposal writers before relying on reserved completion capacity; capacity limits are sealed, and older pending jobs do not gain retroactive guarantees. ProposalService requires durable context/capacity storage, an authenticated transport, a current host access policy and idempotent durable topic admission. SDKProposalEvidence verifies exact BEEF/Script against an installed immutable chain view; it does not replace topic rules or establish unspentness. Legacy proposal-service/1 records remain readable; rich evidence reservations use local proposal-service/2, so upgrade readers before writing v2. Context-required admission cannot synthesize missing legacy material. Reservation verification and actual durable topic assessment remain distinct. Import workflow control storage from ./operations or ./operations/sqlite. These local CAS cells do not replace receipt journals or validate protocol transitions. Use explicit create only for new workflow identities; recover existing storage with open, and treat absence as lost state. Existing exports and journal formats remain unchanged. Import the live adapter from ./sources/live-lookup. Create its durable control cell once before network I/O, recover that exact cell after restart, and reuse the source instance across cancelled or uncertain connection attempts. Its local control format is output-live-lookup-source/1. Lost continuity requires an explicit new source generation; a local reset never manufactures a successful cursor or Bitcoin spend. Existing finite adapters and their browser entry are unchanged. Import the optional revenue-listing entry explicitly and supply the authenticated fixed program plus an installed immutable chain view. Its historical verdict does not establish asset authority, currentness, acquisition association or private fulfillment. No existing root export, wire format or journal migration. The optional revenue-listing authority port requires explicit dedicated key custody and installed consent policy; it never extracts a wallet funding root key or substitutes BRC-100 derived identities. Its signature checks do not establish full-transaction validity, lineage or fulfillment, and it introduces no existing stored-format migration. Root storage is opt-in through root-eviction types and root-eviction/sqlite. Explicit creation uses a new database file; recovery never creates missing state or changes its sealed identity, chain or capacities. All service instances and serving adapters must share the same durable gate. The journal does not install requester authority, validate advertisement BEEF/Script, implement broader bans or expiry scheduling, or mount HTTP handlers. Current authorization, evidence policy, index integration and final middleware enqueue qualification remain service responsibilities; do not advertise the full BRC-199 profile from this component alone. Import SDKRootEvictionEvidence from root-eviction/evidence with an installed immutable chain resolver and owned verification context. Its verified facts do not authorize suppression/restoration or establish currentness, and operator references are not fetched or automatically authorized. No existing wire or stored-format migration. Existing deterministic root methods and stored format remain unchanged. The optional RootEvictionCheckedStorage companion requires synchronous trusted clock/access/context callbacks that share the same physical gate or an independently coherent local port. Retain the returned observed head through signing and recheck it at final enqueue. These methods do not install network authentication, chain currentness or operator policy. RootEvictionContracts requires the original retained selector on recovery. Its record must be persisted atomically with first intake; the portable helper does not itself store that record; use the optional coordinated journal for atomic intake. RootEvictionCoordinatedStorage is an optional companion. Existing configurations retain exact root-eviction/1 behavior. New coordination configurations use root-eviction/2 and a sealed bounded original-contract byte capacity; upgrade existing files only through upgradeCoordination with the same root, chain and prior capacities. Already-open old connections fail after upgrade. Preserve backups and all history; missing legacy selections remain unavailable and cannot be invented from current discovery. HTTP, broader local bans, scheduling and all serving adapters remain separate requirements. SQLiteRootEvictionMaintenance opens an existing root journal with its exact sealed configuration; no new format or implicit creation. Install synchronous root-maintenance authorization and a trusted clock. Schedule bounded startup and periodic scan passes, restarting without a cursor at each pass end. Maintenance does not grant requester status access, process peer decisions or restore eligibility. RootEvictionRecoveryStorage preserves existing interfaces and formats. Authorize its worker guard independently of requester status access; missing original selections remain unavailable. Run maintenance expiry even when current chain/context checks prevent richer recovery. New service installations pass strictly decoded received UTF-8 text and an available manifest snapshot; third-party coordinated adapters implement its text-intake contract. Returned observations still require the native final-enqueue revision and current-access guard. Existing parsed packet calls and lookup defaults remain unchanged. RootEvictionScheduler is opt-in and defaults to manual/advisory expiry. Use maintenance and recovery ports for the same sealed journal; install automatic policy and guarded authority explicitly. Observe its lifetime and reports, stop intake and await physical drain before closing injected storage. No existing interface, stored format or default route changes. SQLiteRootEvictionLocalRules requires coordination plus explicit localRules configuration. Preserve formats1/2; upgrade format2 only with upgradeLocalRules, preserving exact prior capacities and fencing older connections. Install trusted rule evaluation and operator attribution separately, report unknown results as null and complete projection before serving. Local active rules reserve future lift records/epochs/revisions; permanent history is never silently reclaimed. The optional evidence entry adds SDKRootAdvertisementEvidence; the existing signed-request verifier and its authority checks remain compatible. Existing proposal journal bytes and methods are unchanged. Opt into responseEnqueue only with a transport guard that runs after signing and supplies exact response/record, original-contract, retention and current-access validation. All authorization writers require the same gate or explicit coherence; callbacks are synchronous and cannot reenter. Responses are bounded to 4 MiB, with smaller selected-contract limits enforced by disclosure. Track actual enqueue independently: a subsequent error cannot undo delivery or authorize a replacement response. The new ProposalResponseDisclosure companion is opt-in and runs with ProposalJournalSend after signing; current host access must share its policy domain. Retrying an older recorded publication returns its original acknowledgement without replacing the current head; no stored-format migration. Existing journal constructor behavior is preserved. Use create only for intentional installation and open for restart; missing sealed state fails rather than resetting the namespace. Observe the optional scheduler lifetime and drain stop before closing dependencies. These additions neither compact terminal fences nor initiate new finalizations. No existing schema, wire or default behavior migration. Opt in with the same sessions/contracts/current authorization and an explicit synchronous control policy. All relevant writers must share the durable guard protocol; native callbacks cannot await, close or reenter storage. Existing workers may omit nextInvalidation. Installed deadline hooks must be pure and paired with durable invalidation in advance; applications still retire previously displayed activity at its deadline. Existing expired-assessment behavior and stored/wire formats remain unchanged. Await setContext before treating a new verification context as committed; flush does not complete a pending context write. No new wire or storage migration. Use a new journal namespace when enabling proposal acceptance or changing its reader/source/policy installation. Existing default local frames and unaccepted proposal-group behavior remain unchanged; no implicit upgrade or downgrade. Install same-name source/proposal services under the existing observation contract. Authenticated proposal heads are signed variants, not a current-channel selection; provider states remain reports and do not authorize Bitcoin or application effects. A separately registered query/projection and current private authorization remain necessary. Existing stores may omit the new pure reducer deadline hook; a due hook requires durable worker invalidation before reads, including historical publication. The runtime permits one bounded recovery when expiry crosses after worker return. The SQLite journal/index refactor preserves existing constructors, namespace formats and default behavior. Internal shared transaction and savepoint domains coordinate SQL with staged journal caches; they are not public raw-SQL or authorization ports. Independently opened adapters are not atomic compound writers. Failed rollback retires uncertain connections; preserve the original operation for durable recovery. The shared primitive alone does not enable the optional compound profile. Install the query and exact source/reader policy explicitly; wrap an already connected durable BRC103 live source and project only published core input. Current intent does not establish complete history or effect authority. Legacy manual views lack required order/generation facts. Empty completed generations retire prior state. Select the separately sealed compound owner explicitly; the client components do not install it automatically. Import the Node-only factory from ./proposals/channels-sqlite. Initial create is atomic; recovery open requires all original components and sealed limits. Route every producer through its journal or bounded batch commit, and use its feed/sessions for lookup. Fresh authorization must include the mandatory policy visibility guard returned by authorizeLookup, in addition to current host access guards. A pure optional readVisibility descriptor preserves read continuity only when equal values mean identical permissions for every principal; omitted hooks conservatively compare the full signed body. No standalone format migration or automatic compaction is introduced. Retain all service-identity history and fences when capacity is exhausted. The transient signature cache retains no payloads or durable decisions; no wire or storage migration is needed. The protected ledger requires explicit exclusive creation, stable external store identity/custody and consistent whole-database/key backup. It has no remote mutation endpoint or automatic initialization/compaction; complete qualification of the publication and acquisition compositions remains required. The in-memory root signature cache changes no persisted or wire format. Preserve the authoritative private database and its separate indexing/encryption custody; opening never creates replacement state. No existing application behavior changes. The private lineage implementation extraction requires no consumer, wire or storage migration; existing revenue-listing imports and verification decisions are unchanged. Existing private storage calls and version-1 records retain their behavior. Verified staging is an explicit optional installation and uses version-2 fences with the original contract; missing legacy context requires explicit reconciliation. The optional Node private publication entry requires an explicitly created or reopened seller/chain domain, protected custody, installed domain validation and current access/chain policy. Existing ordinary imports, two-argument publication storage and version-1 fences retain their behavior. Metadata-backed unavailable status preserves original obligations and never recreates material; restoration is explicit. Drain reconciliation and physical coordinator work before closing custody. HTTP publication remains separate from private lookup acquisition and purchase release. The paid-acquisition composition preserves existing stored formats and commits funding fences with progress atomically. Original quote/material ownership, wallet recovery, release policy and guarded HTTP delivery are coordinated through the installed private/node service. The native acquisition owner adds no migration of existing stored formats. Preserve original custody and all outstanding obligations; the local batch option is explicit and the existing default/SDK wire ceiling is unchanged. Domain/release verification, wallet reconciliation and final authenticated HTTP composition remain required. Install original-obligation domain policies and a durable wallet controller explicitly; worker authority does not bypass buyer or domain permission. Drain actual work before closing custody. The wallet package remains a development-only dependency; runtime applications explicitly supply the durable controller. Existing entries remain compatible; new applications explicitly install the private/node acquisition ports and follow the acquisition/recovery guide. Protected control state is opt-in through operations/protected; preserve original wallet custody and reserve complete ciphertext capacity. Large delivered results require their own owner. Operation objects are opt-in through operations/objects and operations/objects/sqlite, with dedicated original storage and supplied custody. No existing store, export or wire migration. Reserve every promised object before financial effects; logical capacity does not replace physical quota, backup or whole-store rollback policy. Reads never recreate missing state and retained first bytes cannot be replaced. New private/buyer installations must provide preflight alongside verify and usable. This newly introduced entry changes no existing wire or custody records; preflight cannot perform financial effects. RevenueListingPurchaseVerifier is opt-in through revenue-listing; it adds no stored or wire migration. Preserve original request/terms and independently select the seller and chain context. Historical domain verification does not authorize funding, admission, release or usability; these remain separate durable workflows. Private purchase custody is opt-in through private/node and adds separate typed records without migrating existing acquisition/publication state. Install domain validation, actual retained topic admission, selected release-policy verification, protected material and current authenticated disclosure explicitly; custody primitives alone do not establish those premises. Preserve original database, keys, request fences and outstanding obligations. Refusal reasons are local diagnostics, not wire/global verdicts. Compose real covenant/domain validation and retained admission before enabling the optional purchase workflow; controlled lifecycle fixtures do not establish Bitcoin truth. Stop and drain the coordinator before closing protected custody. Existing four-argument private purchase issue adapters remain compatible; new complete-evidence issuers require the retained candidate supplied by the updated coordinator. No persisted or wire format changes. New covenant buyers explicitly create or reopen protected owners with privatePurchaseBuyerBinding, six immutable slots and a 16384-byte control envelope. Supply independent preflight/verify/usable and synchronous current permission. Install the structural native action owner and exact family/selected chain context through private/purchase-wallet; use the existing maxOutputsPerAction1/migrationInputsPerAction0 managed-change profile to fit the covenant layout. Preserve refused prepared intents for explicit wallet recovery/abort; timeout never chooses another transaction. recover performs no new funding/signing/submission; advance alone authorizes original work, and retained finalized bytes may fulfill their original recovery promise after construction cutoff. Stop/drain owners before storage shutdown. Native synthetic tests establish actual Script/genesis and lost-reply custody; complete exact-source qualification of the authenticated topic/admission/release/LCH workbench remains required. Install the cumulative evidence owner before new BRC-196 preparations using the original native domain and sealed limits. Existing obligations retain their original owner; missing proof custody is never automatically initialized during recovery. Omitted-companion behavior remains compatible. Choose native-observation-v1 only when installing new private purchase custody; retained state authenticates the original profile, and mismatched or older readers refuse opt-in records. Existing obligations require their original profile until reconciled. This local persistence choice changes no signed terms, wire packet, financial identity, deadline or payment authority. Native planning callbacks are synchronous local calculation only, with owned bounded plans, current authority rechecks and unchanged CAS/capacity guards. Plain revenue BEEF is selected by its explicit declared txid and requires that raw subject independently of record order. Any Atomic BEEF marker must match; complete bounded Script, economic and authorized-genesis checks remain required. This changes no wire or persisted format. Import RootAdvertisementServing and RootLookupServingDisclosure explicitly from ./root-eviction/serving. The original coordination entry preserves every prior export and browser budget; these newly introduced unpublished helpers have their own measured entry. Install RootAdvertisementServing only with the native root-serving-send/1 gate and a complete bounded positive inventory. RootLookupServingDisclosure preserves provider-then-root lock order; stale whole signed responses require a new identifier-free control. PrivatePublicationLookupContext requires explicit current recipient rules in the protected domain and request-local Engine hydration; it neither charges nor issues material. Existing asynchronous root enqueue, publication status and legacy public lookup remain compatible. No existing schema, receipt or wire changes are required. Owned-value copying introduces no API, wire, storage or custody migration; callers still explicitly validate schemas and current authority. The internal validation extraction changes no private purchase wire or persisted schema, authority freshness, financial effect, context clock or disclosure behavior; no caller migration is required. The proposal read ownership guard requires no caller, wire or persisted-format migration. Installed synchronous policy callbacks must not reenter journal operations; sequential reads and independently opened writers remain supported. No caller, wire or schema migration is required for bounded standalone proposal replay. Its synchronous ownership gate and existing policy, storage-integrity and authority checks remain in force. Select RevenueListingProfileLineageVerifier, RevenueListingProfilePurchaseVerifier and parseRevenueListingProfileLineagePackage for the current PR295 immutable family. Earlier non-Profile names retain the historical pre-replacement contract and are not current-family qualification. This additive component requires no existing wire/store migration; the separate current private wallet, alias custody and LCH integrations require complete exact-source qualification. Existing purchase buyers may omit fundingPreflight without migration. Current domains bind the selected companion in their validation installation ID, return an owned synchronous stable checkCurrent guard and recheck it immediately before effects through the supplied wallet callback. This companion does not implement native alias reconciliation or reinterpret stored obligations. Select the commitment owner before preparation and bind its complete verifier/guard contract in the installation identity. The historical five-argument store constructor, pin method and version-one declarations remain unchanged. The owners refuse cross-profile custody; no automatic migration or alias reconciliation is introduced. Pair SQLitePrivatePurchaseCommitmentStore with the explicit fourth full-purchase-commitment-v1 argument to PrivatePurchaseAccess; the three-argument access constructor retains exact historical state1 behavior. Profile mismatches fail before private request policy reads. No automatic custody migration or alias authority is introduced. Select PrivatePurchaseBuyer candidateProfile before calculating the storage binding, provide the independent complete candidateBinding verifier, and reserve seven protected objects including the bounded original identity. Omitted mode keeps six original reservations and exact-txid defaults. Signed alias representation remains received until independent released-subject and usable-rights verification; historical recovery retains the first protected identity and never allocates a replacement wallet action. Select WalletToolboxProfilePurchasePayment explicitly with the current RevenueListingProfile and original recoverable action owner. Preserve its separately bound format-two plans and both program hashes; never reinterpret historical format-one custody or create another financial intent after a missing reply. The current reference composition installs native listing funding, protected fixed-child remittance, alias reconciliation and authenticated HTTP as separate responsibilities. Select RevenueListingProfileAuthority from the optional revenue-listing entry for the current family. Supply an independently chosen identity, explicit originator and synchronous current authorization fence; await actual child signing preflight before genesis funding. Independently approve the complete funded plan, lineage and roles. The adapter creates no funds or transaction and cannot undo an already produced wallet signature. Historical authority APIs, defaults, wire formats and custody remain unchanged; the current native all-route and combined release composition is implemented, with complete final-source qualification required. The optional local objectReadProfile joint-custody-v1 requires a qualified readMany object-store companion; omit it to retain existing individual reads. This read strategy changes no wire packet, original binding or persisted custody format. New acquisitions may explicitly install SQLitePrivatePurchaseAliasStore and PrivatePurchaseAliasCoordinator with SQLitePrivatePurchaseAliases on the same domain/contracts and select alias-custody-v1 access. Prepay complete terminal result and selected/pending alias capacity before exposing terms. State3 and the request-fence profile are distinct; never reinterpret old rows. Native constructors are in private/node; portable SDKPrivatePurchaseAliasCurrentness and PrivatePurchaseBuyerAliasCurrentness are in private/purchase-buyer. Install PrivatePurchaseAliasDisclosure through the optional Overlay Express prepareAsync hook. Buyer currentAlias performs only free recovery and independent domain/chain assessment; it never replaces a retained License/key or wallet intent. Missing currentness cannot re-gate historical rights. Source checks are not native, whole-mutation, packed/browser, exact-head or Checkpoint2 qualification. See docs/guides/private-purchase-alias-custody.md. Native protected-payload boundary optimization requires no API, wire, persisted-format or custody migration: every call still resolves current custody, derives its key afresh and authenticates the original binding. Independent original Buffer-key framing remains readable, and newly written envelopes remain readable by the original framing. Shared native decoding retains all original bytes, hashes, validation, custody and authority checks; portable SDK decoder return types and defaults remain unchanged. No caller, wire or persisted-data migration is required. This internal native conversion preserves custody formats, accepted encoding and bounds, errors and currentness checks; no migration is required. No result, alias, ledger or clock-profile migration is required by this completion correction. Native header inventory framing requires no API, wire or persisted-format migration; the original ordered digest and all refusal boundaries are retained. Alias-coordinator method metadata changes no public declaration, installation selection, wire packet or stored custody format; no caller migration is required. The direct alias-coordinator method checks require no API, wire, stored-data or consumer migration. Every property identity and current authorization is checked afresh; no input, key or currentness verdict is cached. Fixed protected-envelope field names require no API, wire, stored-data or consumer migration; every field and current custody decision remains freshly checked. Native scalar inspection requires no public-interface, stored-data or recovery migration; no record or authorization verdict is cached. Full current-head runtime and mutation qualification remains required. The inlined string-field serializer is opt-in; native private payload/ledger aliases select it. Ordinary SDK serialization, stored bytes, errors and resource limits are unchanged; no migration or input/verdict cache is introduced. Complete current-head runtime and mutation qualification remain required. Ordinary ownership stays unchanged; the protected native ledger explicitly selects the additive companion with all representation/resource and authority checks retained, without input or verdict caching. No migration for these native import selections: wire bytes, storage, ownership, error observations, resource bounds and portable/ordinary SDK defaults remain unchanged; exact-head runtime and full mutation qualification remain required. These explicit bindings retain every public interface, stored format and original guard; no migration is required. These additional import bindings require no public API, wire, persisted-record or consumer migration. Fresh validation remains mandatory on every call; full hosted properties and mutation qualification remain required. Existing signatures and wire encodings remain unchanged. Text/byte purchase inputs retain the general parser, object inputs select fresh independent ownership, and native alias records use the general mixed-value parser. Three explicit purchase parser companions add root SDK exports, alongside one internal deep-module schema export. Ordinary purchase parsing retains its previous path; native callers explicitly opt in. No input or verdict cache is introduced; full hosted qualification remains required. Native purchase contracts explicitly select additive inline companions for capability selection and retention, packet digests and verification, and signed purchase terms. Each invocation owns and validates its complete input afresh. Historical capability restoration still checks the recorded selection time, original signature, selected endpoint, identity, chain, selector, installed rules and digest. Current caller authorization and actual operation deadlines remain separate checks. Ordinary SDK entry points, wire text and bytes, canonical encodings, resource limits, error identities and custody formats retain their existing behavior. No input, parsed packet, shape, secret, currentness or authority verdict is cached; only the existing bounded mathematical signature facts and fixed grammar are shared. This is an implementation choice with identical protocol semantics, not a new advertised protocol profile. Hosted property and full mutation qualification remain required. Current native private-state imports explicitly select the owned-record and recursive inline implementations. No wire, persistence, caller-interface, resource-limit or authority migration is required; representation ownership remains separate from schema, signature and current-operation checks. Existing ordinary and opt-in SDK entries remain available; full hosted qualification is required. No new export, caller, wire, persistence, signature, authority or resource-limit migration is required for these import bindings; each representation is independently checked and owned anew. Complete exact-head hosted runtime and mutation qualification remain required. No public interface, wire, protected-envelope or stored-record migration. The native codec selects the representation companions internally; original readers remain available and all original tests and ledger engines are preserved. Hosted runtime and complete mutation qualification remain required. Current profile validation accepts ordinary Bitcoin-final Script/domain-valid transitions. Explicit pending-candidate custody and journaled rejection recovery preserve original commitment, terms, recipient, deadlines and all prior operations/decisions. Historical installations and formats are not silently migrated. Fresh eligible recovery must consult durable topical history before any external effect. No interface, wire, storage or configuration migration is required for clock-initialization failure recovery; retry the same worker and store after repairing the installed clock. No migration is required for wallet source clock-failure recovery. Retry the same source after repairing the clock; non-cancellable wallet I/O retains its existing capacity until it settles. With SDK4, call module balance queries separately from WalletOutputSource; decimal balance aggregates are not output-discovery pages. Wallet output enumeration requires an inventory query; read balance summaries separately. No automatic fallback or wallet-data migration. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/overlay2.8.02.8.1patchAPI and usageNo consumer migration is required. No consumer migration is required. Run the new satoshis-width migration from KnexStorageMigrations (overlay-express runs them at start). MySQL and Postgres rewrite the outputs table to change the column type, and Postgres blocks reads and writes on it meanwhile. Outputs MySQL already clamped to 2,147,483,647 satoshis are not corrected. No API or wire change.
@bsv/overlay-discovery-services2.2.102.2.10noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No wire, API, or database migration. Deploy the reviewed patch through the protected release workflow; retain existing validation and configured resource bounds. SDK consumers may retain ^2.4.0 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. Overlay names: names accepted before are still accepted; no migration is required. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/overlay-express2.9.02.9.1patchAPI and usageNo consumer migration is required.
@bsv/overlay-topics2.0.42.0.4noneAPI and usageTopics2 is a breaking retirement candidate. Remove DIDTopicManager/createDIDLookupService/DIDRecord/DIDQuery and tm_did/ls_did usage. Resolve immutable identity-key DIDs offline; explicitly configured tm_identity/ls_identity supplies certificate discovery, not DID-document mutation or automatic trust. Preserve existing database/history and plan service rollout without automatic replacement installation. See docs/guides/identity-did-vc-migration.md. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Mandala is a clean break with no data migration: the old MandalaToken/MandalaAdmin wire format is no longer admitted and 1.x Mandala rows are not read or converted, so start Mandala on a new database with new deploys (existing on-chain outputs are not spent or deleted). MandalaTopicManager drops adminWallet, adminProtocolID and stateStore.isAdminOutpoint and requires trustedIssuers (non-empty compressed lowercase public keys) and engineOutputs, with optional membership, membershipExempt and onOwnerRepair; pass the same MandalaStorageManager (a MandalaStateStore) to admission and lookup. Refusals are MandalaReject { code, reason } from the Reasons catalog; do not match on old error text. MandalaLinkagePayload is replaced by MandalaEnvelope with encodeEnvelope/decodeEnvelope; the register action is replaced by a deploy at output 0 with a deploySig. foldAction, defaultAssetState, AssetAdminState, FoldContext and MandalaTokenRecord use tokenId (_0) instead of assetId, drop issuerIdentityKey and add feeRatePerKb. Persisted schema (section 6.6): new mandalaOwners and mandalaAuthorities collections; mandalaTokens, mandalaMetadata, mandalaAssetStates and mandalaAdminHistory are keyed by tokenId, metadata holds the decoded deploy payload, and history rows store kind, detailsHex, commitment and delta (plus optional frozenAmount/frozenOwner on freezes). De-trusting an issuer key revokes the authority coins it holds; rotate keys by moving authority coins first. Operators register tm_mandala_registry/ls_mandala_registry explicitly. The infra/overlay-server wiring follows after publication (P1b). The prior 2.0.0 contracts above are the published baseline. This 2.0.1 UMP patch has no API, wire or schema migration; deploy with overlay 2.6.4 to retain history past confirmation. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. To restore larger KVStore tag sets end to end, deploy this package together with SDK4.1.1 and upgrade client SDKs. No KVStore database or token migration is required; preserve all existing tags and signed bytes. Per-tag validation, overall payload/request bounds, signatures, controller binding and pagination are unchanged.
@bsv/paymail2.5.12.5.1noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. None. All additions are new exports; existing capabilities, routes, client methods, defaults and discovery documents are unchanged except that a host configured with only the new BRC-235 routes and no requestSenderValidation omits the sender-validation flag. Previous release: None. ESM consumers are unaffected. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/payment-express-middleware2.2.02.2.0noneAPI and usageNo BRC100 call, wire or wallet-data migration. maxPaymentHeaderBytes is now ignored, including existing explicit values: move transport policy to the HTTP server, CDN, proxy or WAF and remove the deprecated option. Validate the complete HTTP route for supported payment proofs. Published 2.1.8 is verified against protected release 36052862859 and its immutable source artifacts. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. Requires @bsv/sdk ^2.1.6 || ^3.0.0. Set enableMultipart:true behind @bsv/auth-express-middleware captureRawBody:true installed before parsers. Support is advertised only on verified raw-byte requests. Configure maxPaymentBytes and maxPaymentBodyBytes with matching proxy/auth limits, and share a durable replay store across processes. Preserve recovery context after any submitted payment: the released ERR_PAYMENT_FAILED 400 does not prove rollback, and replay-store 503 is also ambiguous. Header-only deployments remain supported. See the BRC-118 guide. The retained SDK2 alternative keeps its previously published floor; the integrated source graph now uses SDK3, including the paired BRC-118 correction. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No major SDK2 migration or forced peer installation is required for the receiver implementation. Strict packed current SDK2.8.11 and SDK3 reference/candidate runtime checks retain all original cases and separately record oversized legacy refusals. Original body/header/resource, signature, payment and replay controls remain. This component evidence does not qualify every historical version or the complete system. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package.
@bsv/sdk4.1.24.2.0minorAPI and usageNo consumer migration is required. Embedded certificate requests: no API break and empty answers stay off by default. toPeer on a session whose embedded certificate answer is pending can be delayed, at most 30 seconds, by the wallet's certificate lookup; a send from inside a certificates-received listener is not held. Enable sendEmptyCertificateResponses only for servers that accept an empty answer: @bsv/auth-express-middleware replies 400 ERR_CERTIFICATES_REQUIRED and clears that session's active certificate request. go-sdk's Peer already sends empty answers and accepts them. LivePolicy endpoint: no consumer migration is required; both options are optional and the default endpoint, client, cache and fallback rate are unchanged. To use another network, pass a configured LivePolicy to Transaction.fee() instead of relying on the default. Whole-BEEF lookups: no API, wire or data migration; the default is unchanged and callers opt in per query. A lookup service answering whole-BEEF queries with plain BEEF should put each output's subject last; callers that need the longest history from several hosts merge the onEvidence copies themselves. SignedMessage: no consumer migration is required. signWithWallet and the expectedSigner option are additive, and three-argument verify calls behave as before. A caller that passes expectedSigner gets false, not a thrown error, for a designated-verifier signature by another key even when the recipient key is missing or wrong. Zero-field certificate proofs: existing validateCertificates callers keep the nonempty path unless they pass allowZeroFields true, which they should do only for a request they retained locally and bound to an authenticated message. A zero-field proof carries no keyring for the verifier and the initial-response signature does not cover certificates, so it shows that a valid certificate names the authenticated identity as subject, not that the holder presented it; do not call decryptFields on such a certificate. Behaviour change on the nonempty path: a session whose store lost its request snapshot no longer freezes a policy at authentication time, so later standalone certificate responses on that session are checked against the Peer's current certificatesToRequest. No API break, wire or stored-data change. No consumer migration is required. No consumer migration is required. No consumer migration is required. Behaviour change: a 2xx body reporting a status in ARC's failure set (REJECTED, DOUBLE_SPEND_ATTEMPTED, INVALID, MALFORMED, MINED_IN_STALE_BLOCK), a txStatus naming an orphan, or another well-formed txid is now a failure, with code txStatus and more { txStatus, arcStatus, competingTxs } (or ERR_TXID_MISMATCH). Callers that treated every 2xx Teranode answer as success must handle that failure result. Callers that need certainty for RECEIVED check txStatus or poll the service (GET /tx/{txid}). No consumer migration is required.
@bsv/sigma-permission-module0.0.00.1.0minorAPI and usageNo consumer migration required; first release. The module is inert until a wallet host registers it under permissionModules: { sigma }; removing that registration rolls it back.
@bsv/simple0.7.30.7.3noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Simple0.7 is a breaking pre-1.0 candidate. Remove mutable DID/resolver/provider configuration, proxy handlers and DIDError/types; use DID.fromIdentityKey/resolve and wallet.getDID. CredentialIssuer.issue returns {credential,keyringForSubject}; verify accepts exact JSON or UTF8 bytes and returns structured cryptographic results. The HTTP verify route now requires {credential: originalEnvelopeJson} with original text as a string; parsed objects return HTTP400. Web request decoding rejects duplicate members and invalid UTF8, and custom parsed-body adapters must establish equivalent strict decoding. Preserve received text and inspect verification.verified, not HTTP success. Local revocation record status is retained/unknown, not inferred chain revocation. See docs/guides/identity-did-vc-migration.md. Replace createServerWalletHandler() deployments with createServerWalletHandler({ authorize: async ({ action, headers }) => authenticatedSessionCanUseAction(headers, action) }). The callback must return literal true for each status, create, request, receive, balance, outputs, or reset action; omission now returns HTTP 403 for every action. Roll out the authentication layer and callback with the package, update anonymous probes or automation, and apply the same policy to every replica. Do not emulate the old public behavior with an unconditional authorize: () => true callback. Valid recipient derivations and authenticated Message Box peers remain supported; malformed, wrong-owner, or transaction-mutated flows now fail closed. New CredentialSchema and Certifier records use canonical 32-byte types. Current SDK wallet methods reject historical short types, so do not put migration aliases in wallet list, acquire, prove, or relinquish calls. Export affected records through the storage version that created them, authenticate them offline against the exact locally configured identifier, and reissue/import canonical replacements; no legacy certificate is rewritten automatically. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/. Persisted local field ordering requires no migration; transport adapters preserve original certificate signing bytes. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/templates2.3.02.3.0noneAPI and usageNo consumer migration is required: additive only. Existing exports, subpaths, peer ranges (@bsv/sdk ^2.1.6 || ^3.0.0 || ^4.0.1) and wire formats are unchanged. R1Comb is published on its own subpath (import * as R1Comb from '@bsv/templates/R1Comb.ts') so that root-entry consumers do not bundle it.
@bsv/teranode-listener1.1.101.1.10noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No API migration is required for valid consumers: raw callbacks remain the default and decoding is opt-in with decodeMessages: true. Configuration arrays and callbacks are snapshotted at construction, boolean controls must be literal booleans, and malformed or duplicate topics, addresses, keys, and unsupported properties now fail closed. usePrivateDHT: false now actually omits the DHT service. The published mainnet PNET value is transport compatibility data, not a publisher credential; decoded sender and payload fields remain untrusted and security-critical claims require independent validation. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/verifast0.3.100.3.10noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. Valid typed verification calls and worker protocols remain compatible. Custom module factories and WASM adapters must return the exact documented binary and boolean shapes; coercive network, height, flag, byte, batch, verdict, lifecycle, or disposed-instance values now fail closed. Keep THIRD_PARTY_NOTICES.md and LICENSES/ with every JavaScript and WebAssembly distribution. SDK consumers may retain ^2.1.8 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/wallet-helper0.2.00.2.0noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. getAddress now derives with forSelf: true and returns the caller-owned side of the bilateral relationship. Applications that stored or coordinated the previous peer-owned result must regenerate and exchange the corrected address before sending value. Amount must be an integer from 1 through 1,000 and counterparties must be valid public keys. Valid canonical transaction-builder flows remain supported; malformed, ambiguous, or wallet-mutated results now fail closed. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. 0.2.0: no migration is required; transactions built without tags or labels produce the same createAction arguments as 0.1.12.
@bsv/wallet-relay0.8.00.8.0noneAPI and usageNo consumer migration is required. Handlers that return getSession() unchanged include topic and protocolID automatically. A handler that rebuilds the JSON must copy topic, backendIdentityKey, and protocolID from that object: topic equals the QR topic, backendIdentityKey equals the QR key, and protocolID equals the QR's canonical protocol JSON string. Wallets that ignore unknown fields keep working. A session response that carries a malformed topic or protocolID now fails validateSessionInfo, so WalletRelayClient rejects it. No API migration is required for allowLocalNetworkHttp: the default transport policy is unchanged, except that all of 127.0.0.0/8 and, on the mobile pairing boundary, *.localhost now count as loopback. To pair a phone with a development backend on a LAN IP address, set allowLocalNetworkHttp: true on WalletRelayService, on WalletRelayClient or useWalletRelayClient, and in the wallet's parsePairingUri and WalletPairingSession calls, for example behind a developer setting; a wallet without it rejects such QR codes. Never enable it in production: an on-path attacker can rewrite the plaintext session lookup and relay URL of an HTTP origin. The WalletPairingSession and WalletRelayClient transport errors are reworded to 'Pairing origin must be HTTPS, except for loopback development' and 'Relay API URL requires HTTPS, except for loopback development.', and a server or desktop private-network rejection names allowLocalNetworkHttp; callers that matched the previous text must update the match. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
@bsv/wallet-toolbox2.18.02.18.1patchAPI and usageNo consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
@bsv/wallet-toolbox-client2.18.02.18.1patchAPI and usageNo consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
@bsv/wallet-toolbox-mobile2.18.02.18.1patchAPI and usageNo consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
@bsv/webrtpay0.2.40.2.4noneAPI and usageNo API, wire or data migration is required. Redistributors must retain the included license and notice files. No consumer migration required. Public exports, dependency ranges, relay readiness and browser behavior remain unchanged. React Native answerers can accept unlimited reliable channels reported with native sentinel values. Use the attested 0.2.2 artifact for verified releases. No consumer migration required. Offer code bytes, encoded expiry, timeout errors and handshake behavior are unchanged. Offers remain available until their encoded expiry even when a timer wakes early. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
create-bsv-app1.2.11.3.0minorAPI and usageNo consumer migration is required. Existing projects keep their dependency ranges until the next add-mode run, which merges the manifest's capabilities (tx-core included) and raises outdated ranges. devDependencies and unrecognised ranges are never changed and are listed for manual review. An add-mode run that selects a capability without what it requires now also writes the required capability's files and dependencies and records it; existing files are still skipped unless --force is given. Add-mode --file configs no longer drop the manifest's recorded capabilities, so they need not repeat them; keys such a config leaves out (network, bsvDir, stack, targets, name) now come from the manifest instead of resetting to defaults. A project with no detectable frontend or backend must declare its stack (for example --frontend react, or a stack in the --file config) before capabilities can be added.

none means the source manifest matches the recorded npm baseline. Any other value records source ahead of that baseline; it does not establish the current registry state. initial with a null published baseline identifies a new package with no recorded published baseline; it does not invent an npm version or waive publication checks. Publication, tags, releases, registry reconciliation, and infrastructure dependency synchronization remain separate, explicitly authorized operations.

Package entry points

@bsv/402-pay

  • Package documentation: docs/packages/middleware/402-pay.md
  • Source: packages/middleware/402-pay
  • Release note: 0.3.6: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adds an exact-tarball Vite and esbuild contract for the browser-safe client entry point, including a bundle-size ratchet and an assertion that server exports never leak into browser consumers. Retains the hash-pinned pre-uniformization Open BSV License version 4 grant as a scoped continuity notice. Standardizes first-party author metadata on the current BSV Association name. Binds BRC-121 pricing and internalization to the transaction declared by the BRC-95 Atomic BEEF subject, removes unrelated included branches, rejects trailing bytes and non-atomic envelopes, and requires affirmative wallet acceptance before serving paid content. Adds independent bounded atomic transaction replay claims so conforming BRC-100 wallets that omit the non-public isMerge detail cannot authorize duplicate access, preserves actual overpayments in middleware receipts, uses fixed bounded wallet descriptions, makes diagnostics opt-in, and returns an unchallenged 503 after ambiguous wallet or replay-store failures to avoid inducing a second spend. Aligns the development-only Vitest runner and V8 coverage provider at 4.1.11. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Custom clients must send a strictly framed BRC-95 Atomic BEEF envelope whose subject is the payment transaction; plain BEEF is no longer accepted. Legacy Atomic BEEF containing unrelated branches remains compatible because the server reduces it to the declared subject and dependency closure. The default replay store is bounded and process-local; production services with more than one serving process or node must inject the same durable atomic PaymentReplayStore everywhere. Low-level validators should retain one wallet object or pass an explicit store. Applications that relied on implicit console diagnostics must supply the optional structured logger. Treat an unchallenged 503 after payment submission as ambiguous and reconcile the transaction before requesting another payment. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts
./server./dist/server.mjs./dist/server.cjs./dist/server.d.mts./dist/server.d.cts
./client./dist/client.mjs./dist/client.cjs./dist/client.d.mts./dist/client.d.cts

@bsv/air-gap

  • Package documentation: docs/packages/helpers/air-gap.md
  • Source: packages/helpers/air-gap
  • Release note: 0.1.4: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Bounds BRC-141 decoder state, scanned strings, duplicate tracking, pending mixes, fountain indices, and high-degree work while replacing sparse O(K) index materialization with bounded mapping. Systematic and degree-one frames remain available under pressure and valid wire-v1 payloads retain their bytes.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No migration is required for valid BRC-141 v1 senders or decoders. Malformed, oversized, duplicate-heavy, or adversarial high-degree sessions now fail closed or are evicted within the documented limits instead of consuming unbounded resources.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts

@bsv/amountinator

  • Package documentation: docs/packages/helpers/amountinator.md
  • Source: packages/helpers/amountinator
  • Release note: Converts BSV and satoshis without fiat rates, preserves whole satoshis, rounds up genuine fractions, and rejects fiat quotes when the requested rate is unavailable.
  • Migration: No consumer migration is required. Wallets can continue using the existing conversion methods and should display an unavailable quote when a requested fiat rate is missing.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts

@bsv/auth

  • Package documentation: docs/packages/middleware/auth.md
  • Source: packages/middleware/auth
  • Release note: 0.1.9: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adopts the governed strict TypeScript profile and repository-wide zero-warning lint and formatting contract. Snapshots canonical own-data proof fields, dense signature bytes, bodies, protocols, wallet identities, and exact wallet verdicts before asynchronous work; rejects accessor/inherited authority and ambiguous JSON numbers; and retains exact nonce-consumption replay claims. Standardizes first-party author metadata on the current BSV Association name. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No valid proof bytes or public API shape changes. Client and server must use the same protocol tuple; security levels 0, 1, and 2 remain supported and select wallet consent policy while the explicit counterparty scopes derivation at every level. Proof and wallet adapters must supply plain own data fields and dense byte arrays; inherited, accessor-backed, sparse, or malformed runtime shapes fail closed. Structured bodies containing non-finite numbers or negative zero must be normalized to an unambiguous wire representation before signing. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts

@bsv/auth-express-middleware

  • Package documentation: docs/packages/middleware/auth-express-middleware.md
  • Source: packages/middleware/auth-express-middleware
  • Release note: Removes middleware header byte/count ceilings and excludes received HTTP headers from authenticated request-body budgets, preserving signed header bytes. HTTP server and edge layers own transport capacity. Canonical framing, authentication, invalid-header rejection, body budgets and response signing remain. Requires SDK 2.8.5 and delegates its Peer general-payload capacity to the HTTP layer, avoiding an indirect SDK envelope ceiling for received headers. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. General-message processing classifies an unverifiable nonce or HMAC as 401 ERR_AUTH_FAILED. The classification covers ERR_INVALID_HMAC and the message HMAC is not valid, in addition to the existing nonce, signature, session, and auth-version text. Unrelated processing failures remain 500. AuthFetch therefore discards the stale session and re-handshakes. Adds optional final authenticated HTTP response admission after BRC-104 signing, with native synchronous enqueue, one bounded re-signed replacement and deadline/disconnect cancellation. Ordinary response behavior, peer ranges and wire representation are preserved. Existing bounded integration fixtures retain their development-only rate limiter. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Guarded candidate and replacement bytes now retain independent snapshots for Buffer as well as Uint8Array inputs. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. Response interception forwards unexpected response-builder promise failures to the existing Express error handler while retaining synchronous send/json/text return values and authenticated-response signing. Adds opt-in bounded raw request collection for BRC-118, authenticates the whole body and exact multipart Content-Type before extraction, restores decoded non-multipart application payloads after authentication, and preserves Express set(object) response-header behavior. Normalizes zero-length dense byte arrays and Uint8Array/Buffer bodies to the BRC-104 -1 sentinel, matching AuthFetch when express.raw runs before authentication. Frames typed-array bodies from one copied byte vector, so length metadata and serialized payload cannot disagree. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Ships receiver-owned strict HTTP payload decoding and multipart validation instead of importing SDK3-only helper subpaths. This preserves actual SDK2 compatibility and original SDK class identities without an unpublished SDK2 prerequisite. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Removes middleware header byte/count ceilings and excludes received HTTP headers from authenticated request-body budgets, preserving signed header bytes. HTTP server and edge layers own transport capacity. Canonical framing, authentication, invalid-header rejection, body budgets and response signing remain. Requires SDK 2.8.5 and delegates its Peer general-payload capacity to the HTTP layer, avoiding an indirect SDK envelope ceiling for received headers. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. General-message processing classifies an unverifiable nonce or HMAC as 401 ERR_AUTH_FAILED. The classification covers ERR_INVALID_HMAC and the message HMAC is not valid, in addition to the existing nonce, signature, session, and auth-version text. Unrelated processing failures remain 500. AuthFetch therefore discards the stale session and re-handshakes.
  • Migration: No BRC100 call, wire or wallet-data migration. Configure and validate transport header limits at the HTTP server, CDN, proxy or WAF; maxRequestBytes no longer caps received headers. Clients needing larger signed responses require corresponding client capacity, including SDK 2.8.5. Published 2.2.8 is verified against protected release 36052862859 and its immutable source artifacts. Upgrade the required SDK peer to 2.8.5; custom ExpressTransport/Peer setups should pass maxGeneralPayloadBytes=null when the HTTP layer owns payload capacity. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. No BRC-103/104 wire or request-shape migration. Clients that already retry authentication after 401 recover from a server nonce they cannot verify. Clients that treated HTTP 500 as a permanent internal failure for this case now receive 401. Either this middleware or the SDK 4.0.1 hotfix stops the lock-out; deploy both when they are published. This source candidate is not publication. No change for ordinary routes. Guarded routes explicitly call guardAuthenticatedResponse after authentication and before sending; acquire the application durable fence, recheck current authorization and targets, and synchronously enqueue under it. Native Node HTTP/1 transport is required without compression/deferred response wrappers. Replacements are complete responses limited to64KiB and must preserve required CORS/capability headers. No production rate-limiting or transport defaults change. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No migration for the owned-byte correction; current authorization and synchronous enqueue remain the guard owner's responsibility. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. No API, authentication, wire or request-replay migration for response promise ownership. Requires @bsv/sdk ^2.8.5 || ^3.0.0. Set captureRawBody:true before body parsers when enabling multipart payment middleware. Default parsed-body integration remains available; nonempty non-multipart preimages remain compatible. Raw collection rejects compressed, oversized, slow and already-consumed bodies and enforces aggregate memory and pending-request bounds. Multipart boundary parameters must be signed exactly; receivers do not fall back to verification without the boundary. Configure public credential-free CORS preflight and expose the negotiation header. No deployment or publication is performed by this source candidate. For empty binary requests, upgrade SDK clients to the SDK4.0.0 candidate and auth receivers to 2.3.0 together; older length-0 signatures/reconstructions need the paired correction. Nonempty preimages are unchanged. The retained SDK2 alternative keeps its previously published floor; the integrated source graph now uses SDK3, including the paired BRC-118 correction. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No major SDK2 migration or forced peer installation is required for the receiver implementation. Strict packed current SDK2.8.11 and SDK3 reference/candidate runtime checks retain all original cases and separately record oversized legacy refusals. Original body/header/resource, signature, payment and replay controls remain. This component evidence does not qualify every historical version or the complete system. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package. No BRC100 call, wire or wallet-data migration. Configure and validate transport header limits at the HTTP server, CDN, proxy or WAF; maxRequestBytes no longer caps received headers. Clients needing larger signed responses require corresponding client capacity, including SDK 2.8.5. Published 2.2.8 is verified against protected release 36052862859 and its immutable source artifacts. Upgrade the required SDK peer to 2.8.5; custom ExpressTransport/Peer setups should pass maxGeneralPayloadBytes=null when the HTTP layer owns payload capacity. SDK consumers may retain ^2.8.5 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package. No BRC-103/104 wire or request-shape migration. Clients that already retry authentication after 401 recover from a server nonce they cannot verify. Clients that treated HTTP 500 as a permanent internal failure for this case now receive 401. Either this middleware or the SDK 4.0.0 candidate stops the lock-out; deploy both when they are published. This source candidate is not publication.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.mjs./dist/mod.cjs./dist/mod.d.mts./dist/mod.d.cts
./package.json./package.json—

@bsv/authsocket

  • Package documentation: docs/packages/messaging/authsocket.md
  • Source: packages/messaging/authsocket
  • Release note: 2.1.12: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Contains authentication and application callback failures, caps per-socket authentication concurrency, gates every concurrently received first-session event and routing decision on one completed authenticated-connection activation, snapshots strict JSON before signing, serializes real typed arrays portably, and preserves supported signed event JSON exactly. Retains the hash-pinned pre-uniformization Open BSV License version 4 grant as a scoped continuity notice. Standardizes first-party author metadata on the current BSV Association name. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required for valid JSON events. Existing numeric-key objects under byte-like names are unchanged; typed payment protocols recover historical byte objects at their explicit fields. Outbound non-JSON or ambiguous runtime values, including negative zero, nested undefined, sparse arrays, accessors, hidden/extra properties, and serialization hooks, now fail closed before signing. requestedCertificates is an SDK allowlist, not an application authorization verdict. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.mjs./dist/mod.cjs./dist/mod.d.mts./dist/mod.d.cts
./package.json./package.json—

@bsv/authsocket-client

  • Package documentation: docs/packages/messaging/authsocket-client.md
  • Source: packages/messaging/authsocket-client
  • Release note: 2.1.11: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Contains authentication and application callback failures, caps authentication concurrency, snapshots strict JSON before signing, serializes real typed arrays portably, preserves supported signed event JSON exactly, and ships the complete SDK incorporated-material notice archive with a retained UMD notice banner. Standardizes first-party author metadata on the current BSV Association name. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required for valid JSON events. Existing numeric-key objects under byte-like names are unchanged; typed payment protocols recover historical byte objects at their explicit fields. Outbound non-JSON or ambiguous runtime values, including negative zero, nested undefined, sparse arrays, accessors, hidden/extra properties, and serialization hooks, now fail closed before signing. The connect event/connected property report Socket.IO transport state, not completed BRC-103 authentication; wait for verified application traffic when local behavior requires a known unpinned server. Distributors who copy the UMD file must keep THIRD_PARTY_NOTICES.md and LICENSES/ with it. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.js./dist/mod.cjs./dist/mod.d.ts./dist/mod.d.cts
./package.json./package.json—

@bsv/btms

  • Package documentation: docs/packages/wallet/btms.md
  • Source: packages/wallet/btms
  • Release note: 1.2.7: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adds TerraTestNet and preserves token settlement and refund transaction bytes across number-array, Uint8Array, and historical numeric-key JSON wallet runtimes. Standardizes first-party author metadata on the current BSV Association name. Rejects non-canonical or unsafe token amounts, applies exact checked arithmetic to financial aggregates, and enforces value conservation for custom change strategies. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Existing local, mainnet, testnet, and number-array behavior is unchanged. TTN consumers select networkPreset teratestnet; all consumers should upgrade to @bsv/sdk 2.4.1 or later for byte-boundary compatibility. Valid canonical token amounts remain compatible. Audit historical tokens for signed, exponent, leading-zero, non-positive, or greater-than-9007199254740991 amount fields before rebuilding wallet state; public number-based operations now fail closed when an aggregate cannot be represented exactly. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts

@bsv/btms-permission-module

  • Package documentation: docs/packages/wallet/btms-permission-module.md
  • Source: packages/wallet/btms-permission-module
  • Release note: 1.2.5: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Requires literal authorization verdicts, bounds authorization state, validates dense signature bytes and safe-integer totals, and binds BTMS signing to an exact canonical BIP143 preimage with no trailing data. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Valid canonical BTMS flows remain compatible. Custom prompts must return literal true, authorization maps may contain at most 1,024 entries, and callers must provide dense signatures, safe exact totals, and canonical preimages; coercive or trailing-byte forms now fail closed. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.d.mts

@bsv/chirp

  • Package documentation: docs/packages/network/chirp.md
  • Source: packages/network/chirp
  • Release note: 0.1.7: Optimizes hashing of bounded typed views without expanding them to arrays. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Fixes authenticated CHIRP object uploads: omit explicit Content-Length and Content-Encoding application headers that AuthFetch rejects, while HTTP transport generates the correct length and absent encoding preserves identity bytes. Adds a real mutually authenticated client/server regression that verifies raw object bytes, automatic HTTP framing, object identifiers, caller identity, and successful commit. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API or protocol migration is required. No API, codec, object identifier, service schema, or wire-format migration. Use @bsv/chirp 0.1.3 with SDK 2.8.9 or later and Cloud Bucket 0.2.48 or Lite 0.1.45 for authenticated binary uploads, including full 4 MiB chunks. Custom authenticated transports must send the supplied owned byte body unchanged and supply ordinary HTTP framing; Content-Type remains signed through AuthFetch. Earlier service entrypoints do not parse staged binary bytes before authentication and require this service patch. Existing stored objects, sessions, advertisements and leases remain unchanged. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.

CLI entry points: {"chirp":"./dist/cli.js"}.

Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.js./dist/index.d.ts
./openapi./dist/openapi.js./dist/openapi.js./dist/openapi.d.ts
./package.json./package.json—

@bsv/color-permission-module

  • Package documentation: docs/packages/wallet/color-permission-module.md
  • Source: packages/wallet/color-permission-module
  • Release note: Introduces the BRC-207 color wallet module for BRC-162 fungible tokens: receipt verification against the asset overlay, token sends funded from per-asset baskets with token change and signed during signAction, BRC-177 handoffs with an exact-amount split, a p color tag holding the SHA-256 of the derivation suffix on every output it files, inputBEEF for the token inputs the module selects (merged with the caller's, read by suffix tag in one listing per asset basket or bounded pagination when distinct payments share a suffix), input records bound to the action reference between createAction and signAction so signing does not list the wallet's outputs, createSignature for app-built transactions, and the p color assets and p color balance views. Assets first deployed as BRC-161 JSON, at any output index, are handled in BRC-162 form. 0.2.0 builds on the published 0.1.1 and includes all of its fixes: numeric p color balance summaries (summed exactly as a bigint, then one Number conversion), the unchanged inventory view (every held output, reserved ones listed with spendable false and color_state_reserved), the #1338 suffix tags and input BEEF recovery (outputs filed without a suffix tag are not selected or spendable through the module) and the SDK ^4.0.1 peer floor. 0.2.0 adds required processing profiles: a fail-closed handler registry (profiles option, with a required durable ColorModuleStore under color.v1. keys) in which every required profile must be registered with its version and handlers only restrict. Their hooks check descriptors and ext, route each asset to its own overlay provider, resolve unknown deploys, restrict holder operations, check plan profileData, supply BRC-22 submission data (passed to ColorOverlayProvider.submit as an optional third offChainValues argument) and, through admitReceipt, decide each receipt of their asset as settled or pending in place of the overlay spendability check. A pending receipt and the token change of a plain-noSend hand-over (sendPolicy plain-nosend: noSend required, change kept in the transaction, never submitted by the module) are tagged color_offline in the views until the host calls the in-process markSettled(txid), which is not a BRC-100 method. Receipts carry BRC-207 custody instructions only: any receipt profileData is rejected with the 0.1.0 error and the 1000-byte limit holds. actionConsent and transactionConsent take the token reader (and actionConsent the hand-over flag) in a trailing options object (ActionConsentOptions, TransactionConsentOptions); their 0.1.0 calls are unchanged. New error classes ProfileParamsError, ProfileDataError and ColorConsentDeclinedError carry a [ClassName] message prefix, and every consent message carries seekPermission. Plans also cover deploys, mints, burns and authority operations. Module-built deploys that require profiles, BRC-161 JSON outputs held by the wallet, BRC-209, and createSignature for assets whose profiles define sendPolicy, submissionData or checkPlanData fail explicitly in this version, as does a plain-noSend hand-over signed with options.noSend false or a sendWith batch. The module advertises brc207-color=4, the BRC-207 revision it implements. The pending balance (p color balance with tags ['color_offline']) is a number in totalOutputs, like every balance; color_offline outputs stay listed in the inventory with their computed color_state tag. The browser budget is 0.1.1's (Vite raw/gzip/brotli 1375000/345000/270000, esbuild 1060000/310000/255000 bytes), which covers the measured 0.2.0 bundle (Vite 1281058/317875/251521, esbuild 989064/288967/234125). 0.2.1: the p color tag value is 32 random bytes drawn per output instead of the SHA-256 of the derivation suffix, and a caller-supplied tag of that form is dropped; the stored form is unchanged. 0.2.2: the p color assets inventory and the explicit-input check read the basket-prefix listing with limit 10,000, the listing cap, instead of the default of ten; while an action batch was open, the wallet cut that listing to ten outputs, so the inventory showed at most ten and an owned eleventh input was treated as foreign.
  • Migration: 0.1.1 restores numeric module balance queries for established clients. Wallet hosts use SDK4.0.1 or newer and register the color scheme with the underlying wallet, a ColorOverlayProvider and a prompt callback. Exact accounting and value movement enumerate outputs; numeric summaries above 2^53 may round. Published inventory scope and wallet data remain unchanged. 0.2.0: No migration for hosts that register no profiles: behaviour is 0.1.1's (numeric balances, SDK ^4.0.1, #1338 suffix tags and inputBEEF recovery). ColorOverlayProvider.submit receives an optional third offChainValues argument; existing providers ignore it. Hosts that register profiles must supply a durable ColorModuleStore, submit plain-noSend hand-overs and pending receipts themselves, and call markSettled(txid) once the overlay admitted them. For every host, each consent message now carries seekPermission and a declined request throws ColorConsentDeclinedError, whose message is the 0.1.0 text prefixed with [ColorConsentDeclinedError]. 0.1.1 advertised brc207-color=5; 0.2.0 advertises brc207-color=4, the discovery value the pinned BRC-207 revision defines, so apps that check for 4 discover the module. 0.2.1: no migration. 0.2.2: no migration.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.d.mts

@bsv/did

  • Package documentation: docs/packages/helpers/did.md
  • Source: packages/helpers/did
  • Release note: 0.3.3: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Fixes the CommonJS build of the DID key, signature and multibase helpers. The CommonJS build imported @bsv/sdk classes through bundler Node-mode interop, which bound each default import to the whole SDK module, so require() consumers failed at first use with ".default is not a constructor". SDK classes are now imported by name from the SDK barrels; the ESM build, public API and browser bundle size are unchanged. Adds proposed BRC202 exact compressed identity-key DID resolution and BRC203 original-byte verified envelopes, authorized recipient-bound selected disclosure and explicit status/privacy adapters. Preserves the independently named SD-JWT format. BRC52 adapters use an explicit optional @bsv/did/brc52 entry, preserving the original DID-only browser budget. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. DID0.3 is a breaking pre-1.0 candidate: compressed identity-key input only; remote document/lifecycle options rejected. Use original signed BRC52 binary for envelopes, or explicitly verified compatible structured core. Wire authenticated BRC103/104 payload/control, durable atomic replay, consent, issuer/schema/purpose reliance and local status policy; callbacks alone are not full transport conformance. See docs/guides/identity-did-vc-migration.md. Proposed custom W3C mechanisms remain unregistered. Import BRC52 APIs/types from @bsv/did/brc52; identity-key DID and independent SD-JWT helpers stay at @bsv/did. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.js./dist/mod.cjs./dist/mod.d.ts./dist/mod.d.cts
./*.ts./dist/src/*.js./dist/src/*.cjs./dist/src/*.d.ts./dist/src/*.d.cts
./brc52./dist/brc52.js./dist/brc52.cjs./dist/brc52.d.ts./dist/brc52.d.cts

@bsv/ecpm-permission-module

  • Package documentation: docs/packages/wallet/ecpm-permission-module.md
  • Source: packages/wallet/ecpm-permission-module
  • Release note: 0.2.0 fixes GHSA-m3c6-3mv8-j86f. The module no longer multiplies the caller's point by the raw BRC-42/43 child key, which let a caller able to compute the BRC-42 offset recover the wallet's root ECDH shared secret with a third party, with no prompt at security level 0. The child key is now used only as HKDF-SHA256 input, and the multiplication scalar is 1 + (the 48-byte HKDF output mod (n - 1)). The same level-0 oracle also exposed the wallet's self shared secret, allowing recovery of self-derived symmetric and HMAC keys and decryption of self-encrypted data. Apply and remove still round-trip, and masks from different wallets still commute. Regression tests cover third-party, self and caller-held counterparty recovery attempts plus fixed conformance vectors. Disposal also invalidates in-flight authorization and privileged key-provider results, so a late approval cannot restore a cleared grant or complete a torn-down request.
  • Migration: Breaking. Every ECPM scalar changes, under every counterparty including self, so a point masked with 0.1.x cannot be unmasked with 0.2.0. Finish or restart any in-progress protocol on one version, and do not mix versions among participants. Request arguments, result format, permission prompts, cached-grant scope and peer ranges are unchanged. Hosts that call dispose during an in-flight request now receive a closed request instead of a late result. Other BRC-229 implementations must adopt the amended canonical scalar derivation and its new conformance vectors.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.d.mts

@bsv/eqc

  • Package documentation: docs/packages/overlays/eqc.md
  • Source: packages/overlays/eqc
  • Release note: 0.1.1: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Introduces the Economic Query Client for BRC-178 race-settled collection markets: SLAP-bootstrapped host discovery, a client-judged race over BRC-77 attestations, one square-root-weighted BRC-29 payout transaction, hash-verified collection, BRC-136 topic-anchor consistency reporting, local host reputation, and framework-agnostic host handlers with overlay-lookup, message-list, and byte providers. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No consumer migration is required; this is the first release of a new additive package. Existing LookupResolver, MessageBoxClient, overlay, and message box server routes are unchanged. Requires @bsv/sdk ^2.8.0, ^3.0.0 or ^4.0.1; 2.8.0 is the first SDK2 release whose AuthFetch accepts bounded transport options and whose SLAP advertisements are canonical https, wss or js8 URIs. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts
./host./dist/host.mjs./dist/host.cjs./dist/host.d.mts./dist/host.d.cts

@bsv/fund-wallet

  • Package documentation: docs/packages/helpers/fund-wallet.md
  • Source: packages/helpers/fund-wallet
  • Release note: 1.5.6: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Requires the funding wallet's internalizeAction result to contain accepted: true before reporting a funded transaction as successfully internalized. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Rejects a listOutputs result whose totalOutputs is not a number. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No public API migration is required for conforming wallets. Custom WalletInterface adapters must return the literal accepted: true verdict after successful internalization; refusals and malformed or coercive results now throw instead of being reported as success. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.

CLI entry points: {"fund-metanet":"./dist/index.mjs"}.

Public subpathRuntime target(s)Declaration target(s)
.——

@bsv/gasp

  • Package documentation: docs/packages/overlays/gasp.md
  • Source: packages/overlays/gasp-core
  • Release note: 1.3.11: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Validates and correlates every GASP page, outpoint, node, raw transaction, metadata field, requested-input map, and completion result; caps page, graph, metadata and concurrency work; prevents prototype-sensitive records, quadratic replies, stale-watermark advancement, and non-progressing pagination. Retains the positional constructor and v1 wire contract while documenting the parent-availability assumption of the bidirectional push half. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No API or wire migration is required. In bidirectional mode, the receiver must already have the parent of a pushed child, request it during a subsequent synchronization round, or reject the graph because GASP v1 submitNode does not transmit the spentBy parent outpoint. Pull-only operation avoids that assumption. Custom storage and remote adapters must preserve exact request/node binding and bounded responses. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/esm/mod.js./dist/cjs/mod.js./dist/types/mod.d.ts./dist/cjs/mod.d.ts
./*.ts./dist/esm/src/*.js./dist/cjs/src/*.js./dist/types/src/*.d.ts./dist/cjs/src/*.d.ts

@bsv/group-messaging

  • Package documentation: docs/packages/messaging/group-messaging.md
  • Source: packages/messaging/group-messaging
  • Release note: 0.1.1: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Initial migration into ts-stack of end-to-end encrypted group messaging for BRC-100 wallets, with MLS (RFC 9420) group state by way of ts-mls and each member's MLS credential bound to their wallet's secp256k1 identity so a peer cannot join under a name that is not theirs. Ships storage backends for Map, SQL and IndexedDB, and transport backends for an in-process hub and @bsv/message-box-client with optional live socket delivery over a polling backstop. The library opens no database and no network connection of its own beyond the socket a caller explicitly asks for, and never stores private KeyPackage material. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. 0.2.0 builds on the published 0.1.1 and includes it. Adds messageIdOf: replyTo and a reaction reference always named an id the library did not define, so each host invented one and two hosts inventing differently did not interoperate. The id is the SHA-256 of the MLS application message bytes in lower-case hex, derived rather than chosen, so sender and recipients reach it independently; every send returns it, every message event carries it, and a send that did not get through carries it on the deliveryFailed event and on the BroadcastError it rejects with, including across a retry that fails again. Adds TransportService.onLiveStatus, forwarding what the backend live connection is doing; LiveStatus moves to the backend contract so a backend other than MessageBox can report it, is still exported from the MessageBox backend that declared it, and the connection phase is replayed to a handler that subscribes late. A delivered report describes one batch rather than the connection, so it is not what gets replayed and two identical ones are both reported; close() releases the live-status handlers on the backend and through TransportService alike. Widens a KeyPackage lifetime window by 300 seconds at each end: ts-mls runs the lifetime check unconditionally for a commit the caller is sending, so a peer whose clock ran ahead rejected an add outright with "Current time not within Lifetime", observed on two devices 162 seconds apart. Ships five templates under templates/ to read and copy rather than import, with no export subpath for them and templates/tests excluded from the artifact: client-lifecycle, sql-shelf, transcript, web-crypto-conformance and managed-invitations. They ship as source to copy and carry no compatibility promise.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No migration is required: this is the package's first appearance in ts-stack and it has not been published to npm before. Consumers supply their own wallet, storage and transport. @bsv/sdk is a required peer dependency. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. 0.2.0: No migration is required. Every change is additive over the published 0.1.1 and no export was removed, narrowed or renamed. Reaction.reference, MessageContent.replyTo and the reference arguments to sendReply and sendReaction remain typed string, documented on each field as the id messageIdOf derives. A host that invented its own message id may keep it, but two hosts interoperate only on the derived id. The widened KeyPackage lifetime is read from the same notBefore and notAfter fields a 0.1.x peer already validates, so 0.1.x and 0.2.0 members interoperate in both directions with no wire, persistence or data migration. The templates are new files reachable through ./templates/*; nothing imports them unless a host asks for them.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts
./package.json./package.json—

@bsv/lch

  • Package documentation: docs/packages/content/lch.md
  • Source: packages/content/lch
  • Release note: 0.3.1: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Hardens the BRC-170 Licensed Content Header implementation with deterministic malformed-input handling, URL-canonical SSRF protection including IPv4-mapped IPv6 literals, bounded DAG composition, authenticated settlement evidence, replay-safe receipts, recovery-safe multipay state, and signed-Offer agreement binding. Removes the endpoint-only quote overload because it cannot authenticate the Asset, Policy, Agreement, seller, or key-delivery terms. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an optional overlay-acquisition entry with strict BRC-198 binding, collector schedule, typed evidence and exact CBOR/JCS representation checks, without installing new profiles through ordinary imports. Adds a concrete opt-in fixed-render/direct-collector paid domain: original signed Offer/Request and canonical ODRL consent, selected mechanisms, independent payment/listing/release verification, exact License and BRC-78 key grants, protected immutable original/verification custody, and offline playback from an already verified entitlement. Additive License extension options leave ordinary bodies unchanged when omitted. Adds a concrete seller domain retaining original protected CEKs, independently reconciling native credit and issuing exact signed settlement, derived Agreement and recipient-bound License. Authenticated native buyer/seller recovery survives a lost paid reply, custody restart, Offer expiry and catalogue withdrawal without another charge. Adds reusable standing-Offer covenant terms with exact initial revenue/anchor/family and selected topic-mechanism binding, individual signed buyer consent, and frozen purchase/recovery promises. Paid and covenant modes share unchanged accepted-policy, human-term, mechanism and original Request-byte checks. Adds a separate optional overlay-covenant buyer domain with original protected consent, complete independently installed purchase/release verification, exact C settlement and License bindings, native entitlement reopen and authenticated playback. Paid and covenant domains share the existing complete License, role, Agreement and recipient-key checks. Adds a concrete optional covenant seller with independently installed complete genesis/Script/purchase and selected-release verification, retained private CEKs, original bounded delivery capacity, exact collector settlement and recipient License/key grants. Native coordinator issuance receives an additive trailing owned retained-candidate argument; existing four-argument adapters remain compatible. Aligns the optional unpublished C settlement to BRC PR295 with a mandatory full purchase commitment bound to reserved result/POTATOES and independently installed buyer/seller verifier results. Pins owned synchronous digest assessments across asynchronous issuance. Excludes independently assessed current-alias transport evidence from historical entitlement fingerprints without granting new rights or online playback dependencies. The current reference composition integrates the replacement family with protected child authority, native wallet and alias custody, per-transaction admission, authenticated HTTP and LCH; complete exact-source qualification remains required. Adds independently selected immutable collector decoding, complete descriptor binding and strict active-stage/new-preparation expiry predicates for current BRC198 C. Existing historical collector and covenant domain APIs retain their prior behavior. Adds separately selected current immutable covenant terms, promise and window validation through one shared complete consent pipeline, retaining the historical public interfaces and error identities. Adds separately selected immutable current settlement/evidence representation and binding interfaces using the complete shared settlement pipeline. Existing public settlement wrappers and all consent/signature/historical-release/POTATOES checks remain. Adds an explicitly selected immutable current buyer domain over the complete shared buyer core, preserving historical public interfaces and installation identities. Current funding returns an owned synchronous active-stage/height/time fence; actual original funded and released subjects require independently verified identical full purchase commitments before protected entitlement, License and playback. Adds an explicitly selected immutable current seller over the complete shared issuance pipeline. Owned active-stage/height and same-view/Offer/preparation-time fences protect new promises; retained issuance keeps the original complete purchase/release/role/CEK/License and full-commitment checks without reapplying new-work expiry. Adds an explicitly installed complete-candidate verification port to the current immutable covenant domain. Its optional candidateBinding capability verifies the original funded subject and recovery aliases without inventing release evidence or accepting a License. Copies wallet encryption/decryption byte results through bounded own data values, rejecting missing bytes and accessors without custom iteration or changes to valid BRC-78 bytes and key identities. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Replace buyer.quote(endpoint, request, issuer, keyGrants) with buyer.quote(verifiedSignedOffer, request, expectedSeller, keyGrants). JavaScript callers that still pass an endpoint string fail before transport I/O. Persist the returned plan and every partial settlement proof, retry with the same funded transaction, and configure a profile-aware agreementEvaluator before completion or recovery. Low-level unverified recovery results must not authorize key storage or content access. DNS endpoints require an address-pinning connector outside trusted browser environments. Distributors must retain THIRD_PARTY_NOTICES.md with the package; published BRC-170 remains authoritative if the implementation and standard differ. SDK consumers may retain ^2.4.1 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. The optional overlay-acquisition and overlay-covenant entries require the coordinated SDK3.3.0 output and revenue-listing companions; existing root peer ranges remain unchanged. Ordinary BRC-170 imports and SDK2 consumers remain unchanged. Decoded acquisition context and entitlement fingerprints remain explicitly unverified. Opt-in callers must install local proof sources and protected immutable-object custody before funding. LCHOverlayPaidDomain performs the concrete fixed-render/direct-collector checks; unsupported policy terms and profiles fail before funding. Ordinary BRC-170 imports, CORE_CAPABILITIES and SDK2 peers stay unchanged. The minor candidate adds APIs and a locally qualified authenticated native paid-lookup recovery flow. The current native covenant acquisition reference examples are implemented; their selectors and complete final-source gates are recorded in the checkpoint inventory. The browser workbench separately demonstrates progressive and live lookup. Install LCHOverlayPaidSeller only with the protected coordinator, actual read-only native credit reconciliation and complete original CEKs; financial effects remain owned by the coordinator and native adapters. Opt-in covenant callers must compose the terms adapter with actual complete genesis/Script/purchase, role and release verification; terms validation alone cannot issue a License or authorize decryption. Preserve the buyer-free standing Offer and exact original signed Request on every retry. Import LCHOverlayCovenantDomain through @bsv/lch/overlay-covenant, reserve original and positive-verification custody before financial work, and install actual full lineage/purchase/release proof ports. A decoded portable package, signed settlement or entitlement fingerprint alone cannot authorize playback. Public disclosed native fixtures compose the current covenant, encrypted custody, native wallet, seller and authenticated admission/recovery; full checkpoint qualification remains required. Install LCHOverlayCovenantSeller with actual full verifiers and the protected purchase coordinator; the advertised finite request/response limits must reserve the complete future C context before preparation. Issuance requires the complete retained candidate passed by the current coordinator, independently assessed release and original private material. Catalogue withdrawal does not replace that obligation. Combined wallet-backed topical-admission and native reference demonstrations are implemented; complete final-source qualification remains required. The opt-in covenant domain accepts complete plain BEEF selected by the original explicit wallet txid, independent of proof-record order; present Atomic BEEF markers must match. All original independent material, Script, lineage and licence checks remain. Ordinary BRC-170 behavior and persisted formats are unchanged. Existing BRC170 and paid-lookup behavior is unchanged. The approved pre-adoption C profile replacement requires purchaseCommitment in its signed settlement and in installed purchase verifier results; return the full authenticated input-zero SHA256d digest with an owned synchronous checkCurrent guard. Never infer it from equal outputs or transport claims. Preserve original signed release, License, settlement and protected obligations; currentAlias is separate unverified transport evidence. Qualify the replacement family, immutable collector terms, protected child wallet and native alias custody before advertising C. No existing ordinary content or paid-lookup stored format is reinterpreted. For current C representation, select decodeLCHCollectorRevenueProfile/bindLCHCollectorRevenueProfile and supply the exact immutable schedule and expiryHeight. New preparations require independently verified active stage and installed current height below expiry; retained obligations do not repeat that new-work predicate. These helpers do not authenticate Offers, verify ancestry/currentness or migrate historical owners; the current reference composition installs those independent responsibilities explicitly. Authenticate current C with validateLCHOverlayCovenantProfileTerms and retain its original consent; validateLCHOverlayCovenantProfilePromise validates a frozen obligation, while validateLCHOverlayCovenantProfileWindow is for new work. Independently verify authorized current-family lineage, roles, active stage and installed chain height before financial work. These terms interfaces perform no wallet action and do not migrate the historical buyer/seller/native alias owners. Select decodeLCHOverlayCovenantProfilePurchaseEvidence and bindLCHOverlayCovenantProfileSettlement for the current immutable descriptor. Representation and signed commitment binding do not establish actual Bitcoin history, Script execution, roles, release satisfaction, License validity or native alias ownership; retain independent full verification and historical entitlement checks. Select LCHOverlayCovenantProfileDomain for the current immutable collector. Initialize protected custody and retain/recheck fundingPreflight immediately before financial effects. Install actual complete current lineage, original funded and released transaction proof, and release-policy ports. Existing historical domain IDs/formats/defaults remain unchanged; retained delivery and offline playback never repeat a new-funding expiry predicate. The current reference composition separately installs native alias/action custody and the current seller; neither responsibility is supplied by the buyer domain alone. Select LCHOverlayCovenantProfileSeller for current immutable seller material. Its distinct installation identity does not reinterpret historical custody. Supply complete actual reserve/activation/purchase/release verifiers; retain and recheck the preparation guard before promising material. Original historical seller interfaces/IDs/formats/defaults remain. The current reference composition separately installs coordinator commitment packets and native alias/action/admission/HTTP owners; the seller domain alone supplies none of those authorities. Omit verification.candidate to preserve the prior installation identity and absent binding capability. Installing it selects a distinct full-commitment domain before buyer creation or reopen; its verification ID must bind complete independently selected algorithms. Provide the full ProfilePurchase verifier and same-context guard, retain original protected custody, and assess current alias placement separately on the buyer's own chain. Historical new-funding cutoffs do not re-gate this read-only verification. These additive components remain under native, packed and platform qualification; no full checkpoint claim. Conforming dense integer-byte wallet results remain compatible. Custom wallet adapters must return every plaintext/ciphertext byte as an own data value; missing or accessor-backed bytes fail with ERR_LCH_KEY rather than being synthesized. The additive seller assessment companion retains pending-finality or pending-evidence before financial reservation. Installing verification.assessPurchase selects a distinct material binding. Complete original consent, roles, Script/domain and release checks remain mandatory; pending evidence cannot fulfill compensation or issue a License. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.

CLI entry points: {"lch":"./dist/cli.js"}.

Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.js./dist/index.d.ts
./package.json./package.json—
./overlay-acquisition./dist/overlayAcquisition.js./dist/overlayAcquisition.js./dist/overlayAcquisition.d.ts
./overlay-covenant./dist/overlayCovenant.js./dist/overlayCovenant.js./dist/overlayCovenant.d.ts

@bsv/message-box-client

  • Package documentation: docs/packages/messaging/message-box-client.md
  • Source: packages/messaging/message-box-client
  • Release note: PaymentToken now keeps an optional, bounded note and paymail from an incoming MessageBox payment. note is text of at most 500 characters and 2,000 bytes with no control characters; paymail is a name@domain address of at most 254 bytes that parsePaymail in @bsv/ts-paymail accepts. An invalid value is dropped and the payment is still returned. The token keeps exactly its old shape when the sender sent neither. Both fields are unverified text chosen by the sender. A token that carries a sender field is still rejected.
  • Migration: No migration required. note and paymail are optional and absent on older senders.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.js./dist/mod.cjs./dist/mod.d.ts./dist/mod.d.cts
./package.json./package.json—

@bsv/output-knowledge

  • Package documentation: docs/packages/application/output-knowledge.md
  • Source: packages/application/output-knowledge
  • Release note: 0.1.1: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Initial application output knowledge reference runtime, interchangeable durable journals, scoped provider currentness, durable expiry and bounded source equivocation quarantine. Adds an optional installed-proposal policy entry with author-document signature, revision and exact finalization relation checks. Adds pure proposal lifecycle plans for durable reservation, expiry and terminal admission outcomes. Adds bounded Memory and SQLite proposal journals with atomic lifecycle events, admission jobs, cross-channel operation claims and crash recovery. Adds atomic local recovery context and reserved terminal-receipt capacity with shared SQLite limit sealing. Binds retained proposal contracts to exact installed policies and exposes indexed atomic record/context reads. Adds durable proposal service orchestration with current access checks, original contract recovery, receipt/response capacity preflight and a concrete bounded SDK evidence adapter. Adds original evidence-context retention in versioned reservations and a compatible admission recovery argument. Adds optional bounded operation state stores with immutable configuration, atomic compare-and-swap, exact immediate-write recovery and Memory, SQLite and IndexedDB adapters. Adds an optional durable BRC-193 live lookup source with retained opening identity, bounded capture-before-delivery, exact core-receipt cursor gates, progressive snapshot/live ingestion, generation fencing and durable continuity resets. Retains a separate historical bounded full-history revenue-listing verifier with seller-authorized genesis, collect-before-resolve BEEF assembly, both merge parents and explicit covenant execution even for mined transitions. Retains a historical dedicated revenue-listing authority port and software-key implementation that use the same explicit authority identity for seller-authorized genesis and covenant transaction signatures. Adds a separate bounded SQLite root-advertisement journal with signed immutable request retention, independent suppression/restoration bases, frozen action attribution, root-authorized currentness assessments, durable projection intents and a shared cross-process final synchronous enqueue gate. Adds a separate current-format SHIP/SLAP evidence adapter with advertiser authentication, exact consuming-transaction verification and selected-ancestry placement. Adds optional root commit observations with the clock, access, installed policy and external context checked after acquiring the durable gate. Adds portable exact root capability selection and original-manifest recovery with stricter advertised/profile bounds. Adds opt-in atomic original-capability/request retention, narrower result reservations and an explicit transactional root journal format1-to2 upgrade with old-connection fencing. Adds an opt-in Node maintenance companion for bounded pending scans and client-independent expiry under the existing journal gate. Adds optional checked original-contract recovery by durable request digest for installed root workers. Adds opt-in RootEvictionService for received-text intake, original-contract status signing and exact observed-result verification, reusing bounded physical work without changing existing lookup diagnostics. Adds an optional recoverable root scheduler with independent expiry, bounded periodic and wake-driven scans, explicit installed automatic policy and physical shutdown drain. Adds opt-in format3 root-local rule history, complete assessment coverage and reserved lift capacity, with immutable operation fences independent from peer decisions. Direct local advertisement evidence verification shares existing SHIP/SLAP and Bitcoin checks without requiring a peer coordination envelope; currentness and serving policy remain separate. Adds an optional SQLite proposal response enqueue companion, binding a fresh owned channel/proposal read and synchronous disclosure check to the same writer lock through native delivery. Adds optional service-owned proposal response disclosure binding for original request/caller, retained contracts, current authority and exact state at native enqueue. Publication retries now recover an original retained proposal after later channel revisions, under current access and the original deadline. Adds explicit SQLite proposal create/open startup and a private finite maintenance inventory with opt-in bounded expiry/recovery scheduling, physical shutdown drain and retained failure reports. Adds optional LookupResponseDisclosure and a SQLite session native-enqueue port, with original response binding, fresh bounded authorization, durable guards and exclusive expiry after signing. Adds an optional pure worker publication-deadline hook, exact exclusive expiry checks across asynchronous projection work, and owned native response bytes for Node Buffer inputs. Pending context changes now hold publication closed until all overlapping context commits settle, including in-flight workers and projectors. Adds optional proposal source policy, exact-envelope client verification, separate authenticated intent/provider reports, sealed local frame4 replay and durable exclusive expiry across direct reads and runtime publication. Optional proposal implementation stays behind its separate entry. Native IndexedDB tests cover receipt, browser restart and retained expiry. Internal SQLite transaction domains now coordinate journal caches and SQL savepoints without changing existing public constructors or formats. Adds opt-in current-channel query mapping, complete-group authenticated source validation and independent provider/generation projection with additive retained event-order metadata. Providers may accept a narrow domain-owned read/time feed without generic write authority. Adds an optional atomic private proposal/current-feed/session SQLite owner with bounded indexed expiry, reserved future events and complete wire groups, shared monotonic clocks and policy visibility fences. Bounds repeated positive proposal-signature verification to 256 full-envelope identities while preserving every current policy, scope and authorization check. Adds internal encrypted private-service ledger records with authenticated inventory, native atomic capacity/completion reservations and current disclosure guards. Bounds repeated root-request authentication with exact packet/selection identities while preserving every live policy and record check. Adds internal native private-publication storage with retained indexing-key identity, shared protected blobs, independent request fences, ordered admission/binding phases and bounded metadata discovery. Reference demonstrations exercise private admission, authenticated HTTP and acquisition composition; final-source qualification remains a separate gate. Separates complete lineage script-layout and transition validation from graph traversal for bounded full-source qualification, preserving the existing verifier behavior and API. Adds internal exact-output private publication verification, retained signed contracts and atomic native protected lookup binding. Adds optional private/node publication composition with structural storage/admission ports, current verification leases, bounded physical work, original-contract reconciliation, truthful protected-material availability and final native response disclosure. Adds internal paid-acquisition progress, original quote/capability ownership, recipient-safe results, SDK funding evidence and seller/chain funding uniqueness reservations. Adds internal atomic acquisition originals, bounded material/result slots, permanent invoice-prefix reservations and native funding/delivery transitions, plus an explicit bounded local ledger batch option. Adds internal paid-acquisition coordination, native wallet receipt ownership, release-evidence validation, guarded disclosure and opt-in local recovery workers. Exposes opt-in Node-only private acquisition coordination, native custody, release checks, wallet bridging and recovery workers. Adds selected-wallet protected workflow state above existing SQLite/IndexedDB CAS owners, including exact initialization, capacity and lost-ack recovery. Adds explicit immutable native/browser operation-object custody for large original requests, contracts and results, with complete logical reservation and first-byte recovery. Preserves current-channel wire behavior with explicit head/removal grammar and co-locates asynchronous runtime work with its awaited lifecycle. The optional private/buyer entry composes original capability/request custody, complete immutable reservations, explicit one-action payment, unpaid recovery and separate evidence/material usability checks. WalletToolboxBuyerPayment requires an installed durable local action controller and never broadcasts or falls back to ordinary BRC-100 retry. The installed buyer domain policy now performs mandatory original-term and challenge preflight before new quote or financial work, with copied inputs and post-await authority checks; funded recovery remains independent of fresh offer eligibility. Adds optional exact prepared-purchase verification composing BRC-196 original request/terms authentication, predecessor/successor and recipient-bound receipt checks with complete BRC-197 Bitcoin/genesis/Script history verification. Adds optional original BRC-196 purchase contracts and native protected custody with complete request/capability retention, future completion reservations, one transaction/admission intent, exact first signed result and guarded original-term/result enqueue. Purchase verification exposes optional bounded local preparation/ABI diagnostics. Mined release decoding honors the selected caller byte budget while retaining its existing complete-evidence envelope limit. Adds optional staged PrivatePurchaseCoordinator, native recipient access and exact physical response disclosure. Independent installed domain/admission/release ports preserve original reservations, outstanding work and first signed private results across restart. Pure private purchase issuance receives the owned complete candidate BEEF from original native custody as an optional fifth domain argument, enabling independently verified portable C evidence without a transient cache. Adds separate optional private/purchase-buyer and private/purchase-wallet entries: six pre-reserved protected original objects, small durable control state, read-only original wallet/seller recovery, explicit guarded new work and independent delivered usability; concrete native noSend purchase construction independently verifies complete genesis/lineage and refuses complete submission overflow before signing. Old private/buyer exports and size ceilings remain unchanged. Adds optional native cumulative purchase-evidence custody: complete future chunks/updates reserved before preparation, independent incoming and combined validation, exact proof-generation guards at physical effects, and original immutable candidate/result preservation with staged lost-reply recovery. Adds optional synchronous commitPrepared native planning and an explicit installation-bound native-observation-v1 private purchase clock profile, preserving existing commit/default behavior. Adds synchronous native root physical enqueue and composable whole-response root/lookup serving guards, plus an optional protected recipient-authorized publication lookup-context reader. Native independent-root, Mongo/SQLite, authenticated physical-send and public/private isolation examples exercise these optional layers. Isolates the new native root-serving helpers in the explicitly selected portable root-eviction/serving entry, preserving original root coordination exports and budgets. Uses SDK ownOutputJSON for checked value-ownership compositions while preserving raw parsing, current capability and access checks and all wire and persistence contracts. Private purchase progress and retained-record validation use internal helpers with the original ordered checks and failure identities; source-dependent execution plans preserve every complete canonical module and full test selection. Native private ledgers avoid redundant physical head updates within one transaction while preserving fresh authentication, permission and inventory checks, active write-custody validation, pure-read key rotation and durable refusal clocks. Standalone SQLite proposal reads now replay their installed policies within one synchronous read transaction, preserving one metadata/prefix snapshot and rejecting reentry before native connection operations. Standalone SQLite proposal replay now reads bounded 128-entry pages inside one physical snapshot and finishes each native read before invoking installed application policy; an empty delta continues checking persisted entry storage. Adds separately selected immutable-profile lineage and exact purchase verifiers for reserve-stage genesis, public child-link activation, complete raw funding, actual input Script execution and full independently verified purchase commitments. Adds an optional signed-term native buyer fundingPreflight companion that retains an owned synchronous same-view domain guard through planning, custody awaits and the native wallet effect callback. Omitted hooks preserve the complete original preflight and finalized recovery paths. Adds an explicitly selected SQLitePrivatePurchaseCommitmentStore over the complete shared native pipeline, with separately sealed version-two custody and independently verified immutable purchase commitment in every pinned status and signed first delivery. Adds a separately selected commitment access guard that checks sealed custody profile before private policy reads. Adds explicitly selected buyer commitment custody beside the immutable original funded transaction. Private purchase buyers own their normalized original terms request through the additive SDK verifier and repeat every returned packet, association and signature check; domain, access, funding and rights checks remain independent. Adds an explicitly selected WalletToolboxProfilePurchasePayment over the complete shared native noSend intent/funding/layout/recovery pipeline, with both frozen programs, separately bound format-two plans, reserve-stage genesis/activation verification and same-view height eligibility at new financial boundaries. Historical WalletToolboxPurchasePayment options and format-one plans remain compatible; both pin installed owner identities. Adds explicitly selected RevenueListingProfileAuthority for current immutable listing child signing with actual protected-wallet identity, fixed-child and signing preflight, owned asynchronous requests and checked signatures. Retained buyer results are freshly authenticated and missing received-phase commits are healed without a redundant protected-result write. Initial and remote results retain their original custody writes; protected object plans return fresh owned binding copies from their constructor-validated immutable scalar configuration. No public schema, wire, default, authentication/currentness checks or property controls change. Adds internal bounded purchase-alias metadata, encrypted native per-txid custody and same-ledger selected-status projection, with explicit atomic contributions and unchanged exact-txid owners. Native alias effect-owner, coordinator and HTTP integration remain under qualification. Adds an explicitly selected bounded joint native object-read companion while preserving original individual reads, immutable custody, payment and recovery checks; implementation qualification remains in progress. Adds explicit full-commitment alias-custody core3, bounded per-txid admission coordination, independent SDK selected-chain currentness, optional authenticated HTTP alias disclosure inside the same native view, and read-only free buyer alias assessment. Historical signed delivery and currentness remain separate. New whole-runtime companions retain all existing regression sequences and critical mutation controls; controlled fixtures do not qualify the composed financial profile. Native protected-payload cipher calls use fresh secret-key objects and bounded canonical Base64 byte decoding, removing repeated key-brand probing and number-array copies without changing custody checks, authenticated framing or stored envelopes. A shared internal native byte decoder applies the unchanged SDK canonical encoding/limit/refusal contract to retained acquisition chunks and alias storage without intermediate number-array copies; complete helper source remains in the existing critical mutation inventory. Retained purchase access uses the same bounded canonical native byte decoder with the original typed parser representation; every current permission, original request, chunk and policy check remains fresh. First alias result completion derives delivery time at its actual authenticated native commit, accepting normal monotonic clock advancement while retaining head/row conflicts and current authority/placement fences; historical alias and protected result remain one atomic write. Protected ledger plaintext checks canonical encoding during its same complete fresh parse, preserving original UTF-8, resource bounds, noncanonical-record refusal, authenticated record and current custody checks and plaintext zeroing; no record or authority cache is introduced. The protected ledger prepares its fixed record SELECT once per connection; every execution reads current bounded rows and independently authenticates inventory, headers, ciphertext, custody and plaintext. No stored format, reservation, transaction, key-rotation or authorization rule changes. Alias proposals reuse bounded canonical value ownership. Fresh native original-custody restores inspect encoding and pass already canonical owned values to the same closed schema and installed original-contract checks; other accepted encodings retain original normalization. A fresh snapshot serializes only its internally constructed expected binding once while independently checking every stored binding. No custody, schema, key, authority or chain verdict is retained between reads; storage, errors, checks and defaults are unchanged. Fixed private-ledger, alias and purchase grammars retain field names once through the SDK companion. Every input still receives complete fresh ownership, descriptor, scalar, ciphertext, custody, revision, clock and authority checks; legacy/current profile selection and all wire/storage/error contracts are unchanged. No input or validation verdict is cached. Native inventory validates every raw header row with the existing codec, then directly encodes only its private fresh seven-scalar shape in canonical field order; generic caller inventory keeps full JSON validation. Shared aggregate assertions, hash framing, ordering, totals, SQL reads and all current authorization/encryption/custody fences remain unchanged, with no row or verdict cache. Ledger addresses freshly inspect ordinary exact bounded ASCII data records and create new scalar results; proxies retain the original descriptor sequence and all other representations use the original general validator. No caller shape, membership, authorization or validation verdict is cached. Retains immutable alias-coordinator method installation metadata while preserving every fresh property identity check, original getter/short-circuit order and caller authorization boundary. Adds all-installed-method replacement and repeated getter-order regressions; no currentness verdict is cached. Reads every installed alias-coordinator method directly in original order without a per-method callback, preserving cancellation, caller authorization, receiver, short-circuit refusal and all original method identities. The private payload source retains its original six-field grammar and protected-ledger mutant golden. Additional ordinary payload negatives cover every missing, renamed and non-string field without changing original tests. Reuses a frozen six-name protected-payload envelope list while checking each fresh owned string, exact field count, schema, revision, clock, authentication and custody on every open. Original grammar, error ordering and protected-ledger mutant golden are retained. Selects the additive SDK scalar-record inspector through one native ledger import alias for fresh authenticated plaintext while retaining every other ledger byte, custody/authentication/inventory check and stored format. Add an explicitly selected inlined ASCII string-field serializer with fresh original traversal/refusal order and simplify scalar-record grammar without changing canonical bytes. Explicit native ownership uses ownOutputJSONWithInlineStrings for fresh canonical validation and independent data graphs. The current native alias journal and acquisition owner explicitly select fresh inline canonical serialization and one-pass independent ownership; the protected ledger codec selects the canonical companion without changing persisted framing or public interfaces. Alias-state, selection, currentness, coordination and disclosure bindings explicitly select the same existing fresh JSON companions. Purchase contracts retain explicit fresh-copy ownership and canonical JSON companions. Native contract and alias imports explicitly select additive SDK purchase prepare, terms and submit parsing companions; native alias-custody/admission mixed records use the general parser. Public interfaces, stored formats and original tests remain unchanged. Native purchase validation selects fresh inline capability and signed-term companions. Adds explicit owned-record parsing/inspection and recursive canonical/ownership companions, retaining all existing public paths and fresh validation. Extends fresh SDK JSON companion selection through original purchase coordination, custody, cumulative evidence, progress, payload identity and disclosure imports; all native method bodies remain unchanged. Add explicit fresh-ownership purchase-envelope, commitment, POTATOES and release-evidence companions, with original signature/request binding and no retained input or verdict; private-purchase bindings select them through imports while ordinary entry points remain unchanged. Internal explicit schema ownership counts complete canonical bytes without building discarded composite text, retaining all fresh guards and independent copies; qualification remains required. Adds opt-in counted value-only ownership and audited native import bindings; full byte/representation guards, original method bodies and text-requiring paths are retained. Carries explicit purchase and release parsing through fixed nested policy, STEAK and release-evidence companion grammars while retaining ordinary schemas, nested JSON text, complete bounds/refusals and signature/request bindings; internal deep helpers add no root export or input/verdict cache. Nested companion grammars are instantiated lazily as fixed validator configuration so unused browser paths can be removed; every supplied representation and authority check remains fresh. Adds freshly checked exact native protected-envelope lexical ownership and canonical Base64 allocation companions; all nonmatching/refusal forms retain the original readers, custody and authentication remain fresh, and no validation or authority state is cached. Worker passes release their single-pass guard when an installed clock throws before replay, preserving the original failure and allowing the same worker and journal to retry after clock recovery. Wallet source refreshes release their active slot when an installed clock throws before wallet I/O, preserving the original error and allowing the same adapter to retry after clock recovery. Supports SDK4 ordinary numeric output-count pages and refuses module balance aggregates before emitting an empty-scan completion. WalletOutputSource rejects BRC-112 ordinary and module balance queries before invoking the wallet; numeric summaries cannot be mistaken for output-count pages or empty-scan completion. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. New opt-in package requiring SDK ^3.3.0, which introduces the output-protocol APIs; SDK3.0–3.2 do not provide these APIs. Preserve wallet custody and explicit action authorization; do not infer spending from source membership changes. New journals seal configured currentness rules in local frame v3 with canonical assessment ordering. Existing v1/v2 journals retain their encoding and replay behavior when read or extended. Adopting v3 for an older journal or changing policies requires a new namespace; retain the old journal for audit and recovery. Body-only proposal journal entries retain their bytes and retry keys. Upgrade all SQLite proposal writers before relying on reserved completion capacity; capacity limits are sealed, and older pending jobs do not gain retroactive guarantees. ProposalService requires durable context/capacity storage, an authenticated transport, a current host access policy and idempotent durable topic admission. SDKProposalEvidence verifies exact BEEF/Script against an installed immutable chain view; it does not replace topic rules or establish unspentness. Legacy proposal-service/1 records remain readable; rich evidence reservations use local proposal-service/2, so upgrade readers before writing v2. Context-required admission cannot synthesize missing legacy material. Reservation verification and actual durable topic assessment remain distinct. Import workflow control storage from ./operations or ./operations/sqlite. These local CAS cells do not replace receipt journals or validate protocol transitions. Use explicit create only for new workflow identities; recover existing storage with open, and treat absence as lost state. Existing exports and journal formats remain unchanged. Import the live adapter from ./sources/live-lookup. Create its durable control cell once before network I/O, recover that exact cell after restart, and reuse the source instance across cancelled or uncertain connection attempts. Its local control format is output-live-lookup-source/1. Lost continuity requires an explicit new source generation; a local reset never manufactures a successful cursor or Bitcoin spend. Existing finite adapters and their browser entry are unchanged. Import the optional revenue-listing entry explicitly and supply the authenticated fixed program plus an installed immutable chain view. Its historical verdict does not establish asset authority, currentness, acquisition association or private fulfillment. No existing root export, wire format or journal migration. The optional revenue-listing authority port requires explicit dedicated key custody and installed consent policy; it never extracts a wallet funding root key or substitutes BRC-100 derived identities. Its signature checks do not establish full-transaction validity, lineage or fulfillment, and it introduces no existing stored-format migration. Root storage is opt-in through root-eviction types and root-eviction/sqlite. Explicit creation uses a new database file; recovery never creates missing state or changes its sealed identity, chain or capacities. All service instances and serving adapters must share the same durable gate. The journal does not install requester authority, validate advertisement BEEF/Script, implement broader bans or expiry scheduling, or mount HTTP handlers. Current authorization, evidence policy, index integration and final middleware enqueue qualification remain service responsibilities; do not advertise the full BRC-199 profile from this component alone. Import SDKRootEvictionEvidence from root-eviction/evidence with an installed immutable chain resolver and owned verification context. Its verified facts do not authorize suppression/restoration or establish currentness, and operator references are not fetched or automatically authorized. No existing wire or stored-format migration. Existing deterministic root methods and stored format remain unchanged. The optional RootEvictionCheckedStorage companion requires synchronous trusted clock/access/context callbacks that share the same physical gate or an independently coherent local port. Retain the returned observed head through signing and recheck it at final enqueue. These methods do not install network authentication, chain currentness or operator policy. RootEvictionContracts requires the original retained selector on recovery. Its record must be persisted atomically with first intake; the portable helper does not itself store that record; use the optional coordinated journal for atomic intake. RootEvictionCoordinatedStorage is an optional companion. Existing configurations retain exact root-eviction/1 behavior. New coordination configurations use root-eviction/2 and a sealed bounded original-contract byte capacity; upgrade existing files only through upgradeCoordination with the same root, chain and prior capacities. Already-open old connections fail after upgrade. Preserve backups and all history; missing legacy selections remain unavailable and cannot be invented from current discovery. HTTP, broader local bans, scheduling and all serving adapters remain separate requirements. SQLiteRootEvictionMaintenance opens an existing root journal with its exact sealed configuration; no new format or implicit creation. Install synchronous root-maintenance authorization and a trusted clock. Schedule bounded startup and periodic scan passes, restarting without a cursor at each pass end. Maintenance does not grant requester status access, process peer decisions or restore eligibility. RootEvictionRecoveryStorage preserves existing interfaces and formats. Authorize its worker guard independently of requester status access; missing original selections remain unavailable. Run maintenance expiry even when current chain/context checks prevent richer recovery. New service installations pass strictly decoded received UTF-8 text and an available manifest snapshot; third-party coordinated adapters implement its text-intake contract. Returned observations still require the native final-enqueue revision and current-access guard. Existing parsed packet calls and lookup defaults remain unchanged. RootEvictionScheduler is opt-in and defaults to manual/advisory expiry. Use maintenance and recovery ports for the same sealed journal; install automatic policy and guarded authority explicitly. Observe its lifetime and reports, stop intake and await physical drain before closing injected storage. No existing interface, stored format or default route changes. SQLiteRootEvictionLocalRules requires coordination plus explicit localRules configuration. Preserve formats1/2; upgrade format2 only with upgradeLocalRules, preserving exact prior capacities and fencing older connections. Install trusted rule evaluation and operator attribution separately, report unknown results as null and complete projection before serving. Local active rules reserve future lift records/epochs/revisions; permanent history is never silently reclaimed. The optional evidence entry adds SDKRootAdvertisementEvidence; the existing signed-request verifier and its authority checks remain compatible. Existing proposal journal bytes and methods are unchanged. Opt into responseEnqueue only with a transport guard that runs after signing and supplies exact response/record, original-contract, retention and current-access validation. All authorization writers require the same gate or explicit coherence; callbacks are synchronous and cannot reenter. Responses are bounded to 4 MiB, with smaller selected-contract limits enforced by disclosure. Track actual enqueue independently: a subsequent error cannot undo delivery or authorize a replacement response. The new ProposalResponseDisclosure companion is opt-in and runs with ProposalJournalSend after signing; current host access must share its policy domain. Retrying an older recorded publication returns its original acknowledgement without replacing the current head; no stored-format migration. Existing journal constructor behavior is preserved. Use create only for intentional installation and open for restart; missing sealed state fails rather than resetting the namespace. Observe the optional scheduler lifetime and drain stop before closing dependencies. These additions neither compact terminal fences nor initiate new finalizations. No existing schema, wire or default behavior migration. Opt in with the same sessions/contracts/current authorization and an explicit synchronous control policy. All relevant writers must share the durable guard protocol; native callbacks cannot await, close or reenter storage. Existing workers may omit nextInvalidation. Installed deadline hooks must be pure and paired with durable invalidation in advance; applications still retire previously displayed activity at its deadline. Existing expired-assessment behavior and stored/wire formats remain unchanged. Await setContext before treating a new verification context as committed; flush does not complete a pending context write. No new wire or storage migration. Use a new journal namespace when enabling proposal acceptance or changing its reader/source/policy installation. Existing default local frames and unaccepted proposal-group behavior remain unchanged; no implicit upgrade or downgrade. Install same-name source/proposal services under the existing observation contract. Authenticated proposal heads are signed variants, not a current-channel selection; provider states remain reports and do not authorize Bitcoin or application effects. A separately registered query/projection and current private authorization remain necessary. Existing stores may omit the new pure reducer deadline hook; a due hook requires durable worker invalidation before reads, including historical publication. The runtime permits one bounded recovery when expiry crosses after worker return. The SQLite journal/index refactor preserves existing constructors, namespace formats and default behavior. Internal shared transaction and savepoint domains coordinate SQL with staged journal caches; they are not public raw-SQL or authorization ports. Independently opened adapters are not atomic compound writers. Failed rollback retires uncertain connections; preserve the original operation for durable recovery. The shared primitive alone does not enable the optional compound profile. Install the query and exact source/reader policy explicitly; wrap an already connected durable BRC103 live source and project only published core input. Current intent does not establish complete history or effect authority. Legacy manual views lack required order/generation facts. Empty completed generations retire prior state. Select the separately sealed compound owner explicitly; the client components do not install it automatically. Import the Node-only factory from ./proposals/channels-sqlite. Initial create is atomic; recovery open requires all original components and sealed limits. Route every producer through its journal or bounded batch commit, and use its feed/sessions for lookup. Fresh authorization must include the mandatory policy visibility guard returned by authorizeLookup, in addition to current host access guards. A pure optional readVisibility descriptor preserves read continuity only when equal values mean identical permissions for every principal; omitted hooks conservatively compare the full signed body. No standalone format migration or automatic compaction is introduced. Retain all service-identity history and fences when capacity is exhausted. The transient signature cache retains no payloads or durable decisions; no wire or storage migration is needed. The protected ledger requires explicit exclusive creation, stable external store identity/custody and consistent whole-database/key backup. It has no remote mutation endpoint or automatic initialization/compaction; complete qualification of the publication and acquisition compositions remains required. The in-memory root signature cache changes no persisted or wire format. Preserve the authoritative private database and its separate indexing/encryption custody; opening never creates replacement state. No existing application behavior changes. The private lineage implementation extraction requires no consumer, wire or storage migration; existing revenue-listing imports and verification decisions are unchanged. Existing private storage calls and version-1 records retain their behavior. Verified staging is an explicit optional installation and uses version-2 fences with the original contract; missing legacy context requires explicit reconciliation. The optional Node private publication entry requires an explicitly created or reopened seller/chain domain, protected custody, installed domain validation and current access/chain policy. Existing ordinary imports, two-argument publication storage and version-1 fences retain their behavior. Metadata-backed unavailable status preserves original obligations and never recreates material; restoration is explicit. Drain reconciliation and physical coordinator work before closing custody. HTTP publication remains separate from private lookup acquisition and purchase release. The paid-acquisition composition preserves existing stored formats and commits funding fences with progress atomically. Original quote/material ownership, wallet recovery, release policy and guarded HTTP delivery are coordinated through the installed private/node service. The native acquisition owner adds no migration of existing stored formats. Preserve original custody and all outstanding obligations; the local batch option is explicit and the existing default/SDK wire ceiling is unchanged. Domain/release verification, wallet reconciliation and final authenticated HTTP composition remain required. Install original-obligation domain policies and a durable wallet controller explicitly; worker authority does not bypass buyer or domain permission. Drain actual work before closing custody. The wallet package remains a development-only dependency; runtime applications explicitly supply the durable controller. Existing entries remain compatible; new applications explicitly install the private/node acquisition ports and follow the acquisition/recovery guide. Protected control state is opt-in through operations/protected; preserve original wallet custody and reserve complete ciphertext capacity. Large delivered results require their own owner. Operation objects are opt-in through operations/objects and operations/objects/sqlite, with dedicated original storage and supplied custody. No existing store, export or wire migration. Reserve every promised object before financial effects; logical capacity does not replace physical quota, backup or whole-store rollback policy. Reads never recreate missing state and retained first bytes cannot be replaced. New private/buyer installations must provide preflight alongside verify and usable. This newly introduced entry changes no existing wire or custody records; preflight cannot perform financial effects. RevenueListingPurchaseVerifier is opt-in through revenue-listing; it adds no stored or wire migration. Preserve original request/terms and independently select the seller and chain context. Historical domain verification does not authorize funding, admission, release or usability; these remain separate durable workflows. Private purchase custody is opt-in through private/node and adds separate typed records without migrating existing acquisition/publication state. Install domain validation, actual retained topic admission, selected release-policy verification, protected material and current authenticated disclosure explicitly; custody primitives alone do not establish those premises. Preserve original database, keys, request fences and outstanding obligations. Refusal reasons are local diagnostics, not wire/global verdicts. Compose real covenant/domain validation and retained admission before enabling the optional purchase workflow; controlled lifecycle fixtures do not establish Bitcoin truth. Stop and drain the coordinator before closing protected custody. Existing four-argument private purchase issue adapters remain compatible; new complete-evidence issuers require the retained candidate supplied by the updated coordinator. No persisted or wire format changes. New covenant buyers explicitly create or reopen protected owners with privatePurchaseBuyerBinding, six immutable slots and a 16384-byte control envelope. Supply independent preflight/verify/usable and synchronous current permission. Install the structural native action owner and exact family/selected chain context through private/purchase-wallet; use the existing maxOutputsPerAction1/migrationInputsPerAction0 managed-change profile to fit the covenant layout. Preserve refused prepared intents for explicit wallet recovery/abort; timeout never chooses another transaction. recover performs no new funding/signing/submission; advance alone authorizes original work, and retained finalized bytes may fulfill their original recovery promise after construction cutoff. Stop/drain owners before storage shutdown. Native synthetic tests establish actual Script/genesis and lost-reply custody; complete exact-source qualification of the authenticated topic/admission/release/LCH workbench remains required. Install the cumulative evidence owner before new BRC-196 preparations using the original native domain and sealed limits. Existing obligations retain their original owner; missing proof custody is never automatically initialized during recovery. Omitted-companion behavior remains compatible. Choose native-observation-v1 only when installing new private purchase custody; retained state authenticates the original profile, and mismatched or older readers refuse opt-in records. Existing obligations require their original profile until reconciled. This local persistence choice changes no signed terms, wire packet, financial identity, deadline or payment authority. Native planning callbacks are synchronous local calculation only, with owned bounded plans, current authority rechecks and unchanged CAS/capacity guards. Plain revenue BEEF is selected by its explicit declared txid and requires that raw subject independently of record order. Any Atomic BEEF marker must match; complete bounded Script, economic and authorized-genesis checks remain required. This changes no wire or persisted format. Import RootAdvertisementServing and RootLookupServingDisclosure explicitly from ./root-eviction/serving. The original coordination entry preserves every prior export and browser budget; these newly introduced unpublished helpers have their own measured entry. Install RootAdvertisementServing only with the native root-serving-send/1 gate and a complete bounded positive inventory. RootLookupServingDisclosure preserves provider-then-root lock order; stale whole signed responses require a new identifier-free control. PrivatePublicationLookupContext requires explicit current recipient rules in the protected domain and request-local Engine hydration; it neither charges nor issues material. Existing asynchronous root enqueue, publication status and legacy public lookup remain compatible. No existing schema, receipt or wire changes are required. Owned-value copying introduces no API, wire, storage or custody migration; callers still explicitly validate schemas and current authority. The internal validation extraction changes no private purchase wire or persisted schema, authority freshness, financial effect, context clock or disclosure behavior; no caller migration is required. The proposal read ownership guard requires no caller, wire or persisted-format migration. Installed synchronous policy callbacks must not reenter journal operations; sequential reads and independently opened writers remain supported. No caller, wire or schema migration is required for bounded standalone proposal replay. Its synchronous ownership gate and existing policy, storage-integrity and authority checks remain in force. Select RevenueListingProfileLineageVerifier, RevenueListingProfilePurchaseVerifier and parseRevenueListingProfileLineagePackage for the current PR295 immutable family. Earlier non-Profile names retain the historical pre-replacement contract and are not current-family qualification. This additive component requires no existing wire/store migration; the separate current private wallet, alias custody and LCH integrations require complete exact-source qualification. Existing purchase buyers may omit fundingPreflight without migration. Current domains bind the selected companion in their validation installation ID, return an owned synchronous stable checkCurrent guard and recheck it immediately before effects through the supplied wallet callback. This companion does not implement native alias reconciliation or reinterpret stored obligations. Select the commitment owner before preparation and bind its complete verifier/guard contract in the installation identity. The historical five-argument store constructor, pin method and version-one declarations remain unchanged. The owners refuse cross-profile custody; no automatic migration or alias reconciliation is introduced. Pair SQLitePrivatePurchaseCommitmentStore with the explicit fourth full-purchase-commitment-v1 argument to PrivatePurchaseAccess; the three-argument access constructor retains exact historical state1 behavior. Profile mismatches fail before private request policy reads. No automatic custody migration or alias authority is introduced. Select PrivatePurchaseBuyer candidateProfile before calculating the storage binding, provide the independent complete candidateBinding verifier, and reserve seven protected objects including the bounded original identity. Omitted mode keeps six original reservations and exact-txid defaults. Signed alias representation remains received until independent released-subject and usable-rights verification; historical recovery retains the first protected identity and never allocates a replacement wallet action. Select WalletToolboxProfilePurchasePayment explicitly with the current RevenueListingProfile and original recoverable action owner. Preserve its separately bound format-two plans and both program hashes; never reinterpret historical format-one custody or create another financial intent after a missing reply. The current reference composition installs native listing funding, protected fixed-child remittance, alias reconciliation and authenticated HTTP as separate responsibilities. Select RevenueListingProfileAuthority from the optional revenue-listing entry for the current family. Supply an independently chosen identity, explicit originator and synchronous current authorization fence; await actual child signing preflight before genesis funding. Independently approve the complete funded plan, lineage and roles. The adapter creates no funds or transaction and cannot undo an already produced wallet signature. Historical authority APIs, defaults, wire formats and custody remain unchanged; the current native all-route and combined release composition is implemented, with complete final-source qualification required. The optional local objectReadProfile joint-custody-v1 requires a qualified readMany object-store companion; omit it to retain existing individual reads. This read strategy changes no wire packet, original binding or persisted custody format. New acquisitions may explicitly install SQLitePrivatePurchaseAliasStore and PrivatePurchaseAliasCoordinator with SQLitePrivatePurchaseAliases on the same domain/contracts and select alias-custody-v1 access. Prepay complete terminal result and selected/pending alias capacity before exposing terms. State3 and the request-fence profile are distinct; never reinterpret old rows. Native constructors are in private/node; portable SDKPrivatePurchaseAliasCurrentness and PrivatePurchaseBuyerAliasCurrentness are in private/purchase-buyer. Install PrivatePurchaseAliasDisclosure through the optional Overlay Express prepareAsync hook. Buyer currentAlias performs only free recovery and independent domain/chain assessment; it never replaces a retained License/key or wallet intent. Missing currentness cannot re-gate historical rights. Source checks are not native, whole-mutation, packed/browser, exact-head or Checkpoint2 qualification. See docs/guides/private-purchase-alias-custody.md. Native protected-payload boundary optimization requires no API, wire, persisted-format or custody migration: every call still resolves current custody, derives its key afresh and authenticates the original binding. Independent original Buffer-key framing remains readable, and newly written envelopes remain readable by the original framing. Shared native decoding retains all original bytes, hashes, validation, custody and authority checks; portable SDK decoder return types and defaults remain unchanged. No caller, wire or persisted-data migration is required. This internal native conversion preserves custody formats, accepted encoding and bounds, errors and currentness checks; no migration is required. No result, alias, ledger or clock-profile migration is required by this completion correction. Native header inventory framing requires no API, wire or persisted-format migration; the original ordered digest and all refusal boundaries are retained. Alias-coordinator method metadata changes no public declaration, installation selection, wire packet or stored custody format; no caller migration is required. The direct alias-coordinator method checks require no API, wire, stored-data or consumer migration. Every property identity and current authorization is checked afresh; no input, key or currentness verdict is cached. Fixed protected-envelope field names require no API, wire, stored-data or consumer migration; every field and current custody decision remains freshly checked. Native scalar inspection requires no public-interface, stored-data or recovery migration; no record or authorization verdict is cached. Full current-head runtime and mutation qualification remains required. The inlined string-field serializer is opt-in; native private payload/ledger aliases select it. Ordinary SDK serialization, stored bytes, errors and resource limits are unchanged; no migration or input/verdict cache is introduced. Complete current-head runtime and mutation qualification remain required. Ordinary ownership stays unchanged; the protected native ledger explicitly selects the additive companion with all representation/resource and authority checks retained, without input or verdict caching. No migration for these native import selections: wire bytes, storage, ownership, error observations, resource bounds and portable/ordinary SDK defaults remain unchanged; exact-head runtime and full mutation qualification remain required. These explicit bindings retain every public interface, stored format and original guard; no migration is required. These additional import bindings require no public API, wire, persisted-record or consumer migration. Fresh validation remains mandatory on every call; full hosted properties and mutation qualification remain required. Existing signatures and wire encodings remain unchanged. Text/byte purchase inputs retain the general parser, object inputs select fresh independent ownership, and native alias records use the general mixed-value parser. Three explicit purchase parser companions add root SDK exports, alongside one internal deep-module schema export. Ordinary purchase parsing retains its previous path; native callers explicitly opt in. No input or verdict cache is introduced; full hosted qualification remains required. Native purchase contracts explicitly select additive inline companions for capability selection and retention, packet digests and verification, and signed purchase terms. Each invocation owns and validates its complete input afresh. Historical capability restoration still checks the recorded selection time, original signature, selected endpoint, identity, chain, selector, installed rules and digest. Current caller authorization and actual operation deadlines remain separate checks. Ordinary SDK entry points, wire text and bytes, canonical encodings, resource limits, error identities and custody formats retain their existing behavior. No input, parsed packet, shape, secret, currentness or authority verdict is cached; only the existing bounded mathematical signature facts and fixed grammar are shared. This is an implementation choice with identical protocol semantics, not a new advertised protocol profile. Hosted property and full mutation qualification remain required. Current native private-state imports explicitly select the owned-record and recursive inline implementations. No wire, persistence, caller-interface, resource-limit or authority migration is required; representation ownership remains separate from schema, signature and current-operation checks. Existing ordinary and opt-in SDK entries remain available; full hosted qualification is required. No new export, caller, wire, persistence, signature, authority or resource-limit migration is required for these import bindings; each representation is independently checked and owned anew. Complete exact-head hosted runtime and mutation qualification remain required. No public interface, wire, protected-envelope or stored-record migration. The native codec selects the representation companions internally; original readers remain available and all original tests and ledger engines are preserved. Hosted runtime and complete mutation qualification remain required. Current profile validation accepts ordinary Bitcoin-final Script/domain-valid transitions. Explicit pending-candidate custody and journaled rejection recovery preserve original commitment, terms, recipient, deadlines and all prior operations/decisions. Historical installations and formats are not silently migrated. Fresh eligible recovery must consult durable topical history before any external effect. No interface, wire, storage or configuration migration is required for clock-initialization failure recovery; retry the same worker and store after repairing the installed clock. No migration is required for wallet source clock-failure recovery. Retry the same source after repairing the clock; non-cancellable wallet I/O retains its existing capacity until it settles. With SDK4, call module balance queries separately from WalletOutputSource; decimal balance aggregates are not output-discovery pages. Wallet output enumeration requires an inventory query; read balance summaries separately. No automatic fallback or wallet-data migration. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.js./dist/index.d.ts
./package.json./package.json—
./sources./dist/sources/index.js./dist/sources/index.js./dist/sources/index.d.ts
./sources/live-lookup./dist/sources/live-lookup.js./dist/sources/live-lookup.js./dist/sources/live-lookup.d.ts
./sqlite./dist/storage/SQLiteJournal.js./dist/storage/SQLiteJournal.js./dist/storage/SQLiteJournal.d.ts
./proposals./dist/proposals/index.js./dist/proposals/index.js./dist/proposals/index.d.ts
./proposals/sqlite./dist/proposals/SQLiteProposalJournal.js./dist/proposals/SQLiteProposalJournal.js./dist/proposals/SQLiteProposalJournal.d.ts
./operations./dist/operations/index.js./dist/operations/index.js./dist/operations/index.d.ts
./operations/sqlite./dist/operations/SQLiteOperationStateStore.js./dist/operations/SQLiteOperationStateStore.js./dist/operations/SQLiteOperationStateStore.d.ts
./lookup./dist/lookup/index.js./dist/lookup/index.js./dist/lookup/index.d.ts
./lookup/sqlite./dist/lookup/sqlite.js./dist/lookup/sqlite.js./dist/lookup/sqlite.d.ts
./revenue-listing./dist/revenue-listing/index.js./dist/revenue-listing/index.js./dist/revenue-listing/index.d.ts
./root-eviction./dist/root-eviction/index.js./dist/root-eviction/index.js./dist/root-eviction/index.d.ts
./root-eviction/sqlite./dist/root-eviction/SQLiteRootEvictionStore.js./dist/root-eviction/SQLiteRootEvictionStore.js./dist/root-eviction/SQLiteRootEvictionStore.d.ts
./root-eviction/evidence./dist/root-eviction/SDKRootEvictionEvidence.js./dist/root-eviction/SDKRootEvictionEvidence.js./dist/root-eviction/SDKRootEvictionEvidence.d.ts
./proposals/channels-sqlite./dist/proposals/SQLiteProposalChannelStore.js./dist/proposals/SQLiteProposalChannelStore.js./dist/proposals/SQLiteProposalChannelStore.d.ts
./private/node./dist/private/node.js./dist/private/node.js./dist/private/node.d.ts
./operations/protected./dist/operations/protected.js./dist/operations/protected.js./dist/operations/protected.d.ts
./operations/objects./dist/operations/objects.js./dist/operations/objects.js./dist/operations/objects.d.ts
./operations/objects/sqlite./dist/operations/objects-sqlite.js./dist/operations/objects-sqlite.js./dist/operations/objects-sqlite.d.ts
./private/buyer./dist/private/buyer.js./dist/private/buyer.js./dist/private/buyer.d.ts
./private/purchase-buyer./dist/private/purchase-buyer.js./dist/private/purchase-buyer.js./dist/private/purchase-buyer.d.ts
./private/purchase-wallet./dist/private/purchase-wallet.js./dist/private/purchase-wallet.js./dist/private/purchase-wallet.d.ts
./root-eviction/serving./dist/root-eviction/serving.js./dist/root-eviction/serving.js./dist/root-eviction/serving.d.ts

@bsv/overlay

  • Package documentation: docs/packages/overlays/overlay.md
  • Source: packages/overlays/overlay
  • Release note: Proof ingest now records a Merkle proof for a transaction a topic applied without storing any of its outputs (for example a spend accepted only for the coin it consumed), so its applied rows become proven and enter BRC-136 anchors instead of handleNewMerkleProof throwing and /arc-ingest answering 400. Stores an ancestor's Merkle proof when a descendant output's stored BEEF already ends at a proven transaction that spends the ancestor or a bound descendant of it, skipping that descendant instead of throwing and leaving the ancestor's proof unstored; a BEEF that carries the ancestor is updated as before and other incomplete BEEFs still fail without writing. Knex storage widens outputs.satoshis to a 64-bit integer on MySQL and Postgres, so an admitted output above 2,147,483,647 satoshis is stored exactly instead of being clamped (MySQL) or failing to insert after broadcast (Postgres).
  • Migration: No consumer migration is required. No consumer migration is required. Run the new satoshis-width migration from KnexStorageMigrations (overlay-express runs them at start). MySQL and Postgres rewrite the outputs table to change the column type, and Postgres blocks reads and writes on it meanwhile. Outputs MySQL already clamped to 2,147,483,647 satoshis are not corrected. No API or wire change.
Public subpathRuntime target(s)Declaration target(s)
../dist/esm/mod.js./dist/cjs/mod.js./dist/types/mod.d.ts./dist/cjs/mod.d.ts
./*.ts./dist/esm/src/*.js./dist/cjs/src/*.js./dist/types/src/*.d.ts./dist/cjs/src/*.d.ts
./storage./dist/esm/src/storage/Storage.js./dist/cjs/src/storage/Storage.js./dist/types/src/storage/Storage.d.ts./dist/cjs/src/storage/Storage.d.ts
./storage/*.ts./dist/esm/src/storage/*.js./dist/cjs/src/storage/*.js./dist/types/src/storage/*.d.ts./dist/cjs/src/storage/*.d.ts
./storage/*./dist/esm/src/storage/*.js./dist/cjs/src/storage/*.js./dist/types/src/storage/*.d.ts./dist/cjs/src/storage/*.d.ts
./proposal-admission./dist/esm/src/ProposalAdmission.js./dist/cjs/src/ProposalAdmission.js./dist/types/src/ProposalAdmission.d.ts./dist/cjs/src/ProposalAdmission.d.ts
./private-publication-admission./dist/esm/src/PrivatePublicationAdmission.js./dist/cjs/src/PrivatePublicationAdmission.js./dist/types/src/PrivatePublicationAdmission.d.ts./dist/cjs/src/PrivatePublicationAdmission.d.ts
./purchase-admission./dist/esm/src/PurchaseAdmission.js./dist/cjs/src/PurchaseAdmission.js./dist/types/src/PurchaseAdmission.d.ts./dist/cjs/src/PurchaseAdmission.d.ts

@bsv/overlay-discovery-services

  • Package documentation: docs/packages/overlays/overlay-discovery-services.md
  • Source: packages/overlays/overlay-discovery-services
  • Release note: 2.2.10: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adds the unique MongoDB _id tie breaker to discovery pagination so bounded overflow probes preserve stable ordering. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. isValidTopicOrServiceName, SHIP/SLAP admission, WalletAdvertiser and SHIP/SLAP lookup filters accept topic and service names with digits up to 256 bytes, matching the SDK overlay name grammar and the BRC-207 per-asset names. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No wire, API, or database migration. Deploy the reviewed patch through the protected release workflow; retain existing validation and configured resource bounds. SDK consumers may retain ^2.4.0 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. Overlay names: names accepted before are still accepted; no migration is required. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/esm/mod.js./dist/cjs/mod.js./dist/types/mod.d.ts./dist/cjs/mod.d.ts
./*.ts./dist/esm/src/*.js./dist/cjs/src/*.js./dist/types/src/*.d.ts./dist/cjs/src/*.d.ts

@bsv/overlay-express

  • Package documentation: docs/packages/overlays/overlay-express.md
  • Source: packages/overlays/overlay-express
  • Release note: /arc-ingest answers 503 instead of 202 to a MINED or IMMUTABLE callback that carries no Merkle path, so Arcade retries it with the stored path instead of treating the callback as delivered and leaving the transaction unproven.
  • Migration: No consumer migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/esm/mod.js./dist/cjs/mod.js./dist/types/mod.d.ts./dist/cjs/mod.d.ts
./*.ts./dist/esm/src/*.js./dist/cjs/src/*.js./dist/types/src/*.d.ts./dist/cjs/src/*.d.ts
./output-lookup./dist/esm/src/OutputLookupRoutes.js./dist/cjs/src/OutputLookupRoutes.js./dist/types/src/OutputLookupRoutes.d.ts./dist/cjs/src/OutputLookupRoutes.d.ts
./root-eviction-response./dist/esm/src/RootEvictionResponseGuard.js./dist/cjs/src/RootEvictionResponseGuard.js./dist/types/src/RootEvictionResponseGuard.d.ts./dist/cjs/src/RootEvictionResponseGuard.d.ts
./root-eviction./dist/esm/src/RootEvictionRoutes.js./dist/cjs/src/RootEvictionRoutes.js./dist/types/src/RootEvictionRoutes.d.ts./dist/cjs/src/RootEvictionRoutes.d.ts
./proposals./dist/esm/src/ProposalRoutes.js./dist/cjs/src/ProposalRoutes.js./dist/types/src/ProposalRoutes.d.ts./dist/cjs/src/ProposalRoutes.d.ts
./private-publication./dist/esm/src/PrivatePublicationRoutes.js./dist/cjs/src/PrivatePublicationRoutes.js./dist/types/src/PrivatePublicationRoutes.d.ts./dist/cjs/src/PrivatePublicationRoutes.d.ts
./private-acquisition./dist/esm/src/PrivateAcquisitionRoutes.js./dist/cjs/src/PrivateAcquisitionRoutes.js./dist/types/src/PrivateAcquisitionRoutes.d.ts./dist/cjs/src/PrivateAcquisitionRoutes.d.ts
./private-purchase./dist/esm/src/PrivatePurchaseRoutes.js./dist/cjs/src/PrivatePurchaseRoutes.js./dist/types/src/PrivatePurchaseRoutes.d.ts./dist/cjs/src/PrivatePurchaseRoutes.d.ts

@bsv/overlay-topics

  • Package documentation: docs/packages/overlays/overlay-topics.md
  • Source: packages/overlays/topics
  • Release note: Accepts SDK StorageDownloader UHRP pages up to 200 rows with deterministic outpoint ordering. Retains selector allowlists and authenticated advertisement admission. Removes serial-DID topic/lookup/storage exports and tm_did/ls_did registrations. Existing BRC189 identity discovery, UORA and all other legitimate topics remain. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Replaces the tm_mandala/ls_mandala admission, lookup and storage API with Mandala on BRC-162 (BSV-21 binary tokens with authority supply, consuming the @bsv/templates 2.0.0 Bsv21Binary codec): typed MandalaReject refusals with ERR_* codes, the v3 envelope, strict-CBOR admin details committed by the authority output, a trusted-issuer set, an append-only owner journal with inline owner-index repair, and the eviction API. Adds the tm_mandala_registry/ls_mandala_registry identity registry topic (RegistryTopicManager, RegistryLookupService). Changes the persisted Mandala schema (spec section 6.6). UMP lookup requests the retained token-update lineage for presentation, recovery and outpoint queries, within the engine traversal budgets. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. Topics2.0.4 removes the fixed KVStore tag-query count cap and pairs with SDK4.1.1 for larger signed token admission and history verification. Other lookup protocols retain their existing count policies.
  • Migration: Topics2 is a breaking retirement candidate. Remove DIDTopicManager/createDIDLookupService/DIDRecord/DIDQuery and tm_did/ls_did usage. Resolve immutable identity-key DIDs offline; explicitly configured tm_identity/ls_identity supplies certificate discovery, not DID-document mutation or automatic trust. Preserve existing database/history and plan service rollout without automatic replacement installation. See docs/guides/identity-did-vc-migration.md. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Mandala is a clean break with no data migration: the old MandalaToken/MandalaAdmin wire format is no longer admitted and 1.x Mandala rows are not read or converted, so start Mandala on a new database with new deploys (existing on-chain outputs are not spent or deleted). MandalaTopicManager drops adminWallet, adminProtocolID and stateStore.isAdminOutpoint and requires trustedIssuers (non-empty compressed lowercase public keys) and engineOutputs, with optional membership, membershipExempt and onOwnerRepair; pass the same MandalaStorageManager (a MandalaStateStore) to admission and lookup. Refusals are MandalaReject { code, reason } from the Reasons catalog; do not match on old error text. MandalaLinkagePayload is replaced by MandalaEnvelope with encodeEnvelope/decodeEnvelope; the register action is replaced by a deploy at output 0 with a deploySig. foldAction, defaultAssetState, AssetAdminState, FoldContext and MandalaTokenRecord use tokenId (_0) instead of assetId, drop issuerIdentityKey and add feeRatePerKb. Persisted schema (section 6.6): new mandalaOwners and mandalaAuthorities collections; mandalaTokens, mandalaMetadata, mandalaAssetStates and mandalaAdminHistory are keyed by tokenId, metadata holds the decoded deploy payload, and history rows store kind, detailsHex, commitment and delta (plus optional frozenAmount/frozenOwner on freezes). De-trusting an issuer key revokes the authority coins it holds; rotate keys by moving authority coins first. Operators register tm_mandala_registry/ls_mandala_registry explicitly. The infra/overlay-server wiring follows after publication (P1b). The prior 2.0.0 contracts above are the published baseline. This 2.0.1 UMP patch has no API, wire or schema migration; deploy with overlay 2.6.4 to retain history past confirmation. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. To restore larger KVStore tag sets end to end, deploy this package together with SDK4.1.1 and upgrade client SDKs. No KVStore database or token migration is required; preserve all existing tags and signed bytes. Per-tag validation, overall payload/request bounds, signatures, controller binding and pagination are unchanged.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.js./dist/index.d.ts

@bsv/paymail

  • Package documentation: docs/packages/messaging/paymail.md
  • Source: packages/messaging/ts-paymail
  • Release note: 2.5.1: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adds BRC-235 public profile lookup (0ace65da5987) and reverse lookup (43dcf83ddc5f): ProfileLookupCapability/ProfileReverseLookupCapability, ProfileLookupRoute/ProfileReverseLookupRoute for hosts, PaymailClient.lookupProfiles/resolveProfile/reverseLookupProfile for clients, and createProfileCertificate/verifyProfileCertificate/checkProfileCertificate for self-signed BRC-52 profile certificates. Every certificate a client reads is verified (type, subject equals certifier, zero revocation outpoint, signature, domain, exact paymail, not released) and at most ten lookup results are processed. A router serving only the two BRC-235 routes, with no requestSenderValidation setting, omits the sender-validation flag from .well-known/bsvalias; every other configuration advertises exactly what it did before. PaymailServerResponseError gains an optional responseStatus set by HttpClient for non-2xx answers. Previous release: Fixes the CommonJS build of the P2P signature and PaymailClient key helpers. The CommonJS build imported @bsv/sdk classes through bundler Node-mode interop, which bound each default import to the whole SDK module, so require() consumers failed at first use with ".default is not a constructor". SDK classes are now imported by name from the SDK barrels; the ESM build, public API and browser bundle size are unchanged. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. None. All additions are new exports; existing capabilities, routes, client methods, defaults and discovery documents are unchanged except that a host configured with only the new BRC-235 routes and no requestSenderValidation omits the sender-validation flag. Previous release: None. ESM consumers are unaffected. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.browser.js./dist/mod.js./dist/mod.cjs./dist/mod.browser.d.ts./dist/mod.d.ts./dist/mod.d.cts
./client./dist/src/paymailClient/index.js./dist/src/paymailClient/index.cjs./dist/src/paymailClient/index.d.ts./dist/src/paymailClient/index.d.cts
./client/*./dist/src/paymailClient/*.js./dist/src/paymailClient/*.cjs./dist/src/paymailClient/*.d.ts./dist/src/paymailClient/*.d.cts
./capability./dist/src/capability/index.js./dist/src/capability/index.cjs./dist/src/capability/index.d.ts./dist/src/capability/index.d.cts
./capability/*./dist/src/capability/*.js./dist/src/capability/*.cjs./dist/src/capability/*.d.ts./dist/src/capability/*.d.cts
./router./dist/src/paymailRouter/index.js./dist/src/paymailRouter/index.cjs./dist/src/paymailRouter/index.d.ts./dist/src/paymailRouter/index.d.cts
./router/*./dist/src/paymailRouter/*.js./dist/src/paymailRouter/*.cjs./dist/src/paymailRouter/*.d.ts./dist/src/paymailRouter/*.d.cts
./errors./dist/src/errors/index.js./dist/src/errors/index.cjs./dist/src/errors/index.d.ts./dist/src/errors/index.d.cts
./errors/*./dist/src/errors/*.js./dist/src/errors/*.cjs./dist/src/errors/*.d.ts./dist/src/errors/*.d.cts
./package.json./package.json—

@bsv/payment-express-middleware

  • Package documentation: docs/packages/middleware/payment-express-middleware.md
  • Source: packages/middleware/payment-express-middleware
  • Release note: Removes middleware payment-header size rejection so received payments are validated regardless of header size. Retains the deprecated maxPaymentHeaderBytes option as an ignored source-compatibility field. Atomic BEEF framing, canonical base64, derivation verification, pricing, wallet acceptance and atomic replay protection remain. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. Adds receiver-first BRC-118 negotiation and bounded authenticated multipart payment extraction. Restores the original application payload and media type while retaining the existing BRC-105 amount, derivation, Atomic BEEF, internalization and replay checks. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Ships receiver-owned strict HTTP payload decoding and multipart validation instead of importing SDK3-only helper subpaths. This preserves actual SDK2 compatibility and original SDK class identities without an unpublished SDK2 prerequisite. Multipart separators and closing framing compare exact bytes, preserving binary boundary prefixes and refusing non-ASCII framing lookalikes. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges.
  • Migration: No BRC100 call, wire or wallet-data migration. maxPaymentHeaderBytes is now ignored, including existing explicit values: move transport policy to the HTTP server, CDN, proxy or WAF and remove the deprecated option. Validate the complete HTTP route for supported payment proofs. Published 2.1.8 is verified against protected release 36052862859 and its immutable source artifacts. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. Requires @bsv/sdk ^2.1.6 || ^3.0.0. Set enableMultipart:true behind @bsv/auth-express-middleware captureRawBody:true installed before parsers. Support is advertised only on verified raw-byte requests. Configure maxPaymentBytes and maxPaymentBodyBytes with matching proxy/auth limits, and share a durable replay store across processes. Preserve recovery context after any submitted payment: the released ERR_PAYMENT_FAILED 400 does not prove rollback, and replay-store 503 is also ambiguous. Header-only deployments remain supported. See the BRC-118 guide. The retained SDK2 alternative keeps its previously published floor; the integrated source graph now uses SDK3, including the paired BRC-118 correction. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. No major SDK2 migration or forced peer installation is required for the receiver implementation. Strict packed current SDK2.8.11 and SDK3 reference/candidate runtime checks retain all original cases and separately record oversized legacy refusals. Original body/header/resource, signature, payment and replay controls remain. This component evidence does not qualify every historical version or the complete system. Consumers may keep their current SDK or install @bsv/sdk 4.0.0; no migration is required for this package.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.mjs./dist/mod.cjs./dist/mod.d.mts./dist/mod.d.cts
./package.json./package.json—

@bsv/sdk

  • Package documentation: docs/packages/sdk/bsv-sdk.md
  • Source: packages/sdk
  • Release note: HTTPSOverlayBroadcastFacilitator.send now rejects a non-2xx answer with OverlayBroadcastHTTPError, which keeps the HTTP status and the first 8 KiB of the response body while the message stays 'Failed to facilitate broadcast'. The body is untrusted, server-controlled text: do not render it as HTML or log it unescaped. validateSTEAK is now exported. When a certificate request is embedded in an initialResponse, Peer holds that session's general messages, bounded at 30 seconds, until its own answer has been sent or has ended without one; certificates-received listeners still run first and can prevent disclosure. A new opt-in sendEmptyCertificateResponses option on Peer and AuthFetch answers such a request with an empty certificateResponse when the wallet holds no requested certificate; by default nothing is sent, as before. LivePolicy accepts an optional second constructor argument { policyUrl, httpClient } so the fee rate can be read from any ARC-compatible /v1/policy endpoint through an injected HttpClient. The default endpoint, client resolution, caching, fallback and LivePolicy.getInstance() are unchanged. Adds the opt-in LookupQueryOptions.wholeBeef (forwarded as LookupRequestOptions.wholeBeef): the HTTPS lookup facilitator omits X-Aggregation and reads the per-output JSON answer, keeping history a lookup service returns beyond each output's first proven transaction, which the aggregated answer drops; a binary answer to such a request counts as a rejection without a reputation penalty. Default lookups, SLAP discovery and outpoint deduplication are unchanged. Adds SignedMessage.signWithWallet, which produces a BRC-77 signature through a WalletInterface (byte-compatible with SignedMessage.sign), and an optional expectedSigner option on SignedMessage.verify so a caller can require a particular signer. Existing calls and signatures are unchanged. Initial-response certificate validation accepts a zero-field proof when the initiating Peer's retained session request lists the certificate's type with an empty field array: the signed core, subject and requested certifier and type are checked, the keyring must be empty, null or omitted, and nothing is decrypted. validateCertificates gains an optional allowZeroFields argument, default false. An initial response on a responder session or after the handshake keeps the nonempty path, standalone zero-field responses stay refused, and a lost session snapshot is no longer backfilled from the mutable certificatesToRequest. StorageDownloader.download now throws StorageDownloadError, which keeps the existing messages and adds attempts: each advertised host tried, with a reason (http with its status, timeout, size, integrity, empty or network); an empty list means no host advertises the file. Adds the opt-in DownloaderConfig.timeoutMs per-host deadline (1 to 2147483647) covering the request and the body; a host that misses it has its request aborted and its body read cancelled, and the next host is tried. There is still no deadline by default. StorageDownloader reads a response with no WHATWG body stream (such as React Native fetch) through arrayBuffer() when the host declares a Content-Length within maxDownloadBytes, with the same size and hash checks; without one the host is recorded as a size failure and the next host is tried. StorageUploader reads such provider replies through arrayBuffer() too. Native fetch responses keep the streamed path. Additive only. StorageUploader again treats an upload reply without requiredHeaders as no extra upload headers, so paid uploads to go-uhrp-storage-server hosts no longer fail after payment. A present requiredHeaders, including null, is validated as before. StorageUploader.publishFile now sends the provider's required content-type header in place of the file's own type, so signed upload URLs that cover content-type no longer reject the PUT with 403. With no required content type the file's type is still sent. Add optional BroadcastResponse.txStatus and BroadcastResponse.arcStatus, set by Teranode and ARC when the service reports them and kept by validateBroadcastResult. Teranode.broadcast now reads ARC-style status bodies: a JSON body with a txStatus is read with ARC's rules and the result carries it as data. RECEIVED stays a success but means received, not yet validated, and may still be rejected. A well-formed competingTxs list is carried as ARC carries it, and ARC reads competingTxs: null, which ARC sends when nothing competes, as no competing transactions instead of ERR_INVALID_RESPONSE. A non-2xx keeps its HTTP code and description and adds the body's ARC status, txStatus and detail under more. A bare 2xx with no body, OK or any non-status body is unchanged, so plain Teranode nodes see the same result. Export transactionSize, transactionInputSize, transactionOutputSize and varUintSize so a fee can be estimated from script lengths before a transaction is built; SatoshisPerKilobyte sizes through the same function with identical results.
  • Migration: No consumer migration is required. Embedded certificate requests: no API break and empty answers stay off by default. toPeer on a session whose embedded certificate answer is pending can be delayed, at most 30 seconds, by the wallet's certificate lookup; a send from inside a certificates-received listener is not held. Enable sendEmptyCertificateResponses only for servers that accept an empty answer: @bsv/auth-express-middleware replies 400 ERR_CERTIFICATES_REQUIRED and clears that session's active certificate request. go-sdk's Peer already sends empty answers and accepts them. LivePolicy endpoint: no consumer migration is required; both options are optional and the default endpoint, client, cache and fallback rate are unchanged. To use another network, pass a configured LivePolicy to Transaction.fee() instead of relying on the default. Whole-BEEF lookups: no API, wire or data migration; the default is unchanged and callers opt in per query. A lookup service answering whole-BEEF queries with plain BEEF should put each output's subject last; callers that need the longest history from several hosts merge the onEvidence copies themselves. SignedMessage: no consumer migration is required. signWithWallet and the expectedSigner option are additive, and three-argument verify calls behave as before. A caller that passes expectedSigner gets false, not a thrown error, for a designated-verifier signature by another key even when the recipient key is missing or wrong. Zero-field certificate proofs: existing validateCertificates callers keep the nonempty path unless they pass allowZeroFields true, which they should do only for a request they retained locally and bound to an authenticated message. A zero-field proof carries no keyring for the verifier and the initial-response signature does not cover certificates, so it shows that a valid certificate names the authenticated identity as subject, not that the holder presented it; do not call decryptFields on such a certificate. Behaviour change on the nonempty path: a session whose store lost its request snapshot no longer freezes a policy at authentication time, so later standalone certificate responses on that session are checked against the Peer's current certificatesToRequest. No API break, wire or stored-data change. No consumer migration is required. No consumer migration is required. No consumer migration is required. Behaviour change: a 2xx body reporting a status in ARC's failure set (REJECTED, DOUBLE_SPEND_ATTEMPTED, INVALID, MALFORMED, MINED_IN_STALE_BLOCK), a txStatus naming an orphan, or another well-formed txid is now a failure, with code txStatus and more { txStatus, arcStatus, competingTxs } (or ERR_TXID_MISMATCH). Callers that treated every 2xx Teranode answer as success must handle that failure result. Callers that need certainty for RECEIVED check txStatus or poll the service (GET /tx/{txid}). No consumer migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/esm/mod.js./dist/cjs/mod.js./dist/types/mod.d.ts./dist/cjs/mod.d.ts
./*.ts./dist/esm/src/*.js./dist/cjs/src/*.js./dist/types/src/*.d.ts./dist/cjs/src/*.d.ts
./primitives./dist/esm/src/primitives/index.js./dist/cjs/src/primitives/index.js./dist/types/src/primitives/index.d.ts./dist/cjs/src/primitives/index.d.ts
./primitives/BasePoint./dist/esm/src/primitives/entries/BasePoint.js./dist/cjs/src/primitives/entries/BasePoint.js./dist/types/src/primitives/entries/BasePoint.d.ts./dist/cjs/src/primitives/entries/BasePoint.d.ts
./primitives/BasePoint.ts./dist/esm/src/primitives/entries/BasePoint.js./dist/cjs/src/primitives/entries/BasePoint.js./dist/types/src/primitives/entries/BasePoint.d.ts./dist/cjs/src/primitives/entries/BasePoint.d.ts
./primitives/JacobianPoint./dist/esm/src/primitives/entries/JacobianPoint.js./dist/cjs/src/primitives/entries/JacobianPoint.js./dist/types/src/primitives/entries/JacobianPoint.d.ts./dist/cjs/src/primitives/entries/JacobianPoint.d.ts
./primitives/JacobianPoint.ts./dist/esm/src/primitives/entries/JacobianPoint.js./dist/cjs/src/primitives/entries/JacobianPoint.js./dist/types/src/primitives/entries/JacobianPoint.d.ts./dist/cjs/src/primitives/entries/JacobianPoint.d.ts
./primitives/*.ts./dist/esm/src/primitives/*.js./dist/cjs/src/primitives/*.js./dist/types/src/primitives/*.d.ts./dist/cjs/src/primitives/*.d.ts
./primitives/*./dist/esm/src/primitives/*.js./dist/cjs/src/primitives/*.js./dist/types/src/primitives/*.d.ts./dist/cjs/src/primitives/*.d.ts
./script./dist/esm/src/script/index.js./dist/cjs/src/script/index.js./dist/types/src/script/index.d.ts./dist/cjs/src/script/index.d.ts
./script/*.ts./dist/esm/src/script/*.js./dist/cjs/src/script/*.js./dist/types/src/script/*.d.ts./dist/cjs/src/script/*.d.ts
./script/*./dist/esm/src/script/*.js./dist/cjs/src/script/*.js./dist/types/src/script/*.d.ts./dist/cjs/src/script/*.d.ts
./script/templates./dist/esm/src/script/templates/index.js./dist/cjs/src/script/templates/index.js./dist/types/src/script/templates/index.d.ts./dist/cjs/src/script/templates/index.d.ts
./script/templates/*.ts./dist/esm/src/script/templates/*.js./dist/cjs/src/script/templates/*.js./dist/types/src/script/templates/*.d.ts./dist/cjs/src/script/templates/*.d.ts
./script/templates/*./dist/esm/src/script/templates/*.js./dist/cjs/src/script/templates/*.js./dist/types/src/script/templates/*.d.ts./dist/cjs/src/script/templates/*.d.ts
./transaction./dist/esm/src/transaction/index.js./dist/cjs/src/transaction/index.js./dist/types/src/transaction/index.d.ts./dist/cjs/src/transaction/index.d.ts
./transaction/*.ts./dist/esm/src/transaction/*.js./dist/cjs/src/transaction/*.js./dist/types/src/transaction/*.d.ts./dist/cjs/src/transaction/*.d.ts
./transaction/*./dist/esm/src/transaction/*.js./dist/cjs/src/transaction/*.js./dist/types/src/transaction/*.d.ts./dist/cjs/src/transaction/*.d.ts
./transaction/broadcaster./dist/esm/src/transaction/broadcasters/index.js./dist/cjs/src/transaction/broadcasters/index.js./dist/types/src/transaction/broadcasters/index.d.ts./dist/cjs/src/transaction/broadcasters/index.d.ts
./transaction/broadcaster/*.ts./dist/esm/src/transaction/broadcasters/*.js./dist/cjs/src/transaction/broadcasters/*.js./dist/types/src/transaction/broadcasters/*.d.ts./dist/cjs/src/transaction/broadcasters/*.d.ts
./transaction/broadcaster/*./dist/esm/src/transaction/broadcasters/*.js./dist/cjs/src/transaction/broadcasters/*.js./dist/types/src/transaction/broadcasters/*.d.ts./dist/cjs/src/transaction/broadcasters/*.d.ts
./transaction/broadcasters./dist/esm/src/transaction/broadcasters/index.js./dist/cjs/src/transaction/broadcasters/index.js./dist/types/src/transaction/broadcasters/index.d.ts./dist/cjs/src/transaction/broadcasters/index.d.ts
./transaction/broadcasters/*.ts./dist/esm/src/transaction/broadcasters/*.js./dist/cjs/src/transaction/broadcasters/*.js./dist/types/src/transaction/broadcasters/*.d.ts./dist/cjs/src/transaction/broadcasters/*.d.ts
./transaction/broadcasters/*./dist/esm/src/transaction/broadcasters/*.js./dist/cjs/src/transaction/broadcasters/*.js./dist/types/src/transaction/broadcasters/*.d.ts./dist/cjs/src/transaction/broadcasters/*.d.ts
./transaction/chaintrackers./dist/esm/src/transaction/chaintrackers/index.js./dist/cjs/src/transaction/chaintrackers/index.js./dist/types/src/transaction/chaintrackers/index.d.ts./dist/cjs/src/transaction/chaintrackers/index.d.ts
./transaction/chaintrackers/*.ts./dist/esm/src/transaction/chaintrackers/*.js./dist/cjs/src/transaction/chaintrackers/*.js./dist/types/src/transaction/chaintrackers/*.d.ts./dist/cjs/src/transaction/chaintrackers/*.d.ts
./transaction/chaintrackers/*./dist/esm/src/transaction/chaintrackers/*.js./dist/cjs/src/transaction/chaintrackers/*.js./dist/types/src/transaction/chaintrackers/*.d.ts./dist/cjs/src/transaction/chaintrackers/*.d.ts
./transaction/http./dist/esm/src/transaction/http/index.js./dist/cjs/src/transaction/http/index.js./dist/types/src/transaction/http/index.d.ts./dist/cjs/src/transaction/http/index.d.ts
./transaction/http/*.ts./dist/esm/src/transaction/http/*.js./dist/cjs/src/transaction/http/*.js./dist/types/src/transaction/http/*.d.ts./dist/cjs/src/transaction/http/*.d.ts
./transaction/http/*./dist/esm/src/transaction/http/*.js./dist/cjs/src/transaction/http/*.js./dist/types/src/transaction/http/*.d.ts./dist/cjs/src/transaction/http/*.d.ts
./transaction/fee-model./dist/esm/src/transaction/fee-models/index.js./dist/cjs/src/transaction/fee-models/index.js./dist/types/src/transaction/fee-models/index.d.ts./dist/cjs/src/transaction/fee-models/index.d.ts
./transaction/fee-model/*.ts./dist/esm/src/transaction/fee-models/*.js./dist/cjs/src/transaction/fee-models/*.js./dist/types/src/transaction/fee-models/*.d.ts./dist/cjs/src/transaction/fee-models/*.d.ts
./transaction/fee-model/*./dist/esm/src/transaction/fee-models/*.js./dist/cjs/src/transaction/fee-models/*.js./dist/types/src/transaction/fee-models/*.d.ts./dist/cjs/src/transaction/fee-models/*.d.ts
./transaction/fee-models./dist/esm/src/transaction/fee-models/index.js./dist/cjs/src/transaction/fee-models/index.js./dist/types/src/transaction/fee-models/index.d.ts./dist/cjs/src/transaction/fee-models/index.d.ts
./transaction/fee-models/*.ts./dist/esm/src/transaction/fee-models/*.js./dist/cjs/src/transaction/fee-models/*.js./dist/types/src/transaction/fee-models/*.d.ts./dist/cjs/src/transaction/fee-models/*.d.ts
./transaction/fee-models/*./dist/esm/src/transaction/fee-models/*.js./dist/cjs/src/transaction/fee-models/*.js./dist/types/src/transaction/fee-models/*.d.ts./dist/cjs/src/transaction/fee-models/*.d.ts
./messages./dist/esm/src/messages/index.js./dist/cjs/src/messages/index.js./dist/types/src/messages/index.d.ts./dist/cjs/src/messages/index.d.ts
./messages/*.ts./dist/esm/src/messages/*.js./dist/cjs/src/messages/*.js./dist/types/src/messages/*.d.ts./dist/cjs/src/messages/*.d.ts
./messages/*./dist/esm/src/messages/*.js./dist/cjs/src/messages/*.js./dist/types/src/messages/*.d.ts./dist/cjs/src/messages/*.d.ts
./compat./dist/esm/src/compat/index.js./dist/cjs/src/compat/index.js./dist/types/src/compat/index.d.ts./dist/cjs/src/compat/index.d.ts
./compat/*.ts./dist/esm/src/compat/*.js./dist/cjs/src/compat/*.js./dist/types/src/compat/*.d.ts./dist/cjs/src/compat/*.d.ts
./compat/*./dist/esm/src/compat/*.js./dist/cjs/src/compat/*.js./dist/types/src/compat/*.d.ts./dist/cjs/src/compat/*.d.ts
./totp./dist/esm/src/totp/index.js./dist/cjs/src/totp/index.js./dist/types/src/totp/index.d.ts./dist/cjs/src/totp/index.d.ts
./totp/*.ts./dist/esm/src/totp/*.js./dist/cjs/src/totp/*.js./dist/types/src/totp/*.d.ts./dist/cjs/src/totp/*.d.ts
./totp/*./dist/esm/src/totp/*.js./dist/cjs/src/totp/*.js./dist/types/src/totp/*.d.ts./dist/cjs/src/totp/*.d.ts
./wallet./dist/esm/src/wallet/index.js./dist/cjs/src/wallet/index.js./dist/types/src/wallet/index.d.ts./dist/cjs/src/wallet/index.d.ts
./wallet/*.ts./dist/esm/src/wallet/*.js./dist/cjs/src/wallet/*.js./dist/types/src/wallet/*.d.ts./dist/cjs/src/wallet/*.d.ts
./wallet/*./dist/esm/src/wallet/*.js./dist/cjs/src/wallet/*.js./dist/types/src/wallet/*.d.ts./dist/cjs/src/wallet/*.d.ts
./wallet/substrates./dist/esm/src/wallet/substrates/index.js./dist/cjs/src/wallet/substrates/index.js./dist/types/src/wallet/substrates/index.d.ts./dist/cjs/src/wallet/substrates/index.d.ts
./wallet/substrates/*.ts./dist/esm/src/wallet/substrates/*.js./dist/cjs/src/wallet/substrates/*.js./dist/types/src/wallet/substrates/*.d.ts./dist/cjs/src/wallet/substrates/*.d.ts
./wallet/substrates/*./dist/esm/src/wallet/substrates/*.js./dist/cjs/src/wallet/substrates/*.js./dist/types/src/wallet/substrates/*.d.ts./dist/cjs/src/wallet/substrates/*.d.ts
./auth./dist/esm/src/auth/index.js./dist/cjs/src/auth/index.js./dist/types/src/auth/index.d.ts./dist/cjs/src/auth/index.d.ts
./auth/*.ts./dist/esm/src/auth/*.js./dist/cjs/src/auth/*.js./dist/types/src/auth/*.d.ts./dist/cjs/src/auth/*.d.ts
./auth/*./dist/esm/src/auth/*.js./dist/cjs/src/auth/*.js./dist/types/src/auth/*.d.ts./dist/cjs/src/auth/*.d.ts
./auth/certificate./dist/esm/src/auth/certificates/index.js./dist/cjs/src/auth/certificates/index.js./dist/types/src/auth/certificates/index.d.ts./dist/cjs/src/auth/certificates/index.d.ts
./auth/certificate/*.ts./dist/esm/src/auth/certificates/*.js./dist/cjs/src/auth/certificates/*.js./dist/types/src/auth/certificates/*.d.ts./dist/cjs/src/auth/certificates/*.d.ts
./auth/certificate/*./dist/esm/src/auth/certificates/*.js./dist/cjs/src/auth/certificates/*.js./dist/types/src/auth/certificates/*.d.ts./dist/cjs/src/auth/certificates/*.d.ts
./auth/certificates./dist/esm/src/auth/certificates/index.js./dist/cjs/src/auth/certificates/index.js./dist/types/src/auth/certificates/index.d.ts./dist/cjs/src/auth/certificates/index.d.ts
./auth/certificates/*.ts./dist/esm/src/auth/certificates/*.js./dist/cjs/src/auth/certificates/*.js./dist/types/src/auth/certificates/*.d.ts./dist/cjs/src/auth/certificates/*.d.ts
./auth/certificates/*./dist/esm/src/auth/certificates/*.js./dist/cjs/src/auth/certificates/*.js./dist/types/src/auth/certificates/*.d.ts./dist/cjs/src/auth/certificates/*.d.ts
./identity./dist/esm/src/identity/index.js./dist/cjs/src/identity/index.js./dist/types/src/identity/index.d.ts./dist/cjs/src/identity/index.d.ts
./identity/*.ts./dist/esm/src/identity/*.js./dist/cjs/src/identity/*.js./dist/types/src/identity/*.d.ts./dist/cjs/src/identity/*.d.ts
./identity/*./dist/esm/src/identity/*.js./dist/cjs/src/identity/*.js./dist/types/src/identity/*.d.ts./dist/cjs/src/identity/*.d.ts
./overlay-tools./dist/esm/src/overlay-tools/index.js./dist/cjs/src/overlay-tools/index.js./dist/types/src/overlay-tools/index.d.ts./dist/cjs/src/overlay-tools/index.d.ts
./overlay-tools/*.ts./dist/esm/src/overlay-tools/*.js./dist/cjs/src/overlay-tools/*.js./dist/types/src/overlay-tools/*.d.ts./dist/cjs/src/overlay-tools/*.d.ts
./overlay-tools/*./dist/esm/src/overlay-tools/*.js./dist/cjs/src/overlay-tools/*.js./dist/types/src/overlay-tools/*.d.ts./dist/cjs/src/overlay-tools/*.d.ts
./telemetry./dist/esm/src/telemetry/index.js./dist/cjs/src/telemetry/index.js./dist/types/src/telemetry/index.d.ts./dist/cjs/src/telemetry/index.d.ts
./telemetry/*.ts./dist/esm/src/telemetry/*.js./dist/cjs/src/telemetry/*.js./dist/types/src/telemetry/*.d.ts./dist/cjs/src/telemetry/*.d.ts
./telemetry/*./dist/esm/src/telemetry/*.js./dist/cjs/src/telemetry/*.js./dist/types/src/telemetry/*.d.ts./dist/cjs/src/telemetry/*.d.ts
./storage./dist/esm/src/storage/index.js./dist/cjs/src/storage/index.js./dist/types/src/storage/index.d.ts./dist/cjs/src/storage/index.d.ts
./storage/*.ts./dist/esm/src/storage/*.js./dist/cjs/src/storage/*.js./dist/types/src/storage/*.d.ts./dist/cjs/src/storage/*.d.ts
./storage/*./dist/esm/src/storage/*.js./dist/cjs/src/storage/*.js./dist/types/src/storage/*.d.ts./dist/cjs/src/storage/*.d.ts
./kvstore./dist/esm/src/kvstore/index.js./dist/cjs/src/kvstore/index.js./dist/types/src/kvstore/index.d.ts./dist/cjs/src/kvstore/index.d.ts
./kvstore/*.ts./dist/esm/src/kvstore/*.js./dist/cjs/src/kvstore/*.js./dist/types/src/kvstore/*.d.ts./dist/cjs/src/kvstore/*.d.ts
./kvstore/*./dist/esm/src/kvstore/*.js./dist/cjs/src/kvstore/*.js./dist/types/src/kvstore/*.d.ts./dist/cjs/src/kvstore/*.d.ts
./remittance./dist/esm/src/remittance/index.js./dist/cjs/src/remittance/index.js./dist/types/src/remittance/index.d.ts./dist/cjs/src/remittance/index.d.ts
./remittance/*.ts./dist/esm/src/remittance/*.js./dist/cjs/src/remittance/*.js./dist/types/src/remittance/*.d.ts./dist/cjs/src/remittance/*.d.ts
./remittance/*./dist/esm/src/remittance/*.js./dist/cjs/src/remittance/*.js./dist/types/src/remittance/*.d.ts./dist/cjs/src/remittance/*.d.ts
./umd./dist/esm/src/umd.js./dist/types/src/umd.d.ts

@bsv/sigma-permission-module

  • Package documentation: docs/packages/wallet/sigma-permission-module.md
  • Source: packages/wallet/sigma-permission-module
  • Release note: First release: the sigma semantic module, specified by the sigma BRC (draft, not yet numbered). Applications obtain a wallet-held statement point and deterministic Schnorr, DLEQ and OR zero-knowledge proofs through BRC-100 encrypt, with no new method or wire message; the proof scalar is derived from the BRC-42 child key and is never the child key itself. The module accepts only encrypt; it refuses every other method the wallet host routes to it, and every basket or label beginning p sigma that reaches it, and authorization precedes derivation. Exports the module, createSigmaModule, the pure verifiers and the point codecs. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining the SDK2/3 alternatives and lower bound.
  • Migration: No consumer migration required; first release. The module is inert until a wallet host registers it under permissionModules: { sigma }; removing that registration rolls it back.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.d.mts

@bsv/simple

  • Package documentation: docs/packages/helpers/simple.md
  • Source: packages/helpers/simple
  • Release note: 0.7.3: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Corrects PushDrop self-derivation ownership, pins Message Box responses to the authenticated peer, hardens wallet, credential, DID, persistence, and transaction boundaries, preserves explicit offline migration identifiers and historical signature verification for pre-0.6 short certificate types while keeping new issuance, remote metadata, and wallet operations canonical 32-byte, and changes the generated server-wallet handler to require explicit authenticated action-level authorization. Preserves original BRC52 signed bytes, including the SDK certificate serializer's existing field order; persisted local field ordering remains a separate concern. Replaces mutable serial DID tooling with offline identity-key DID adapters and copied VC/VP proof wrappers with original-signature-preserving BRC52 envelopes. Retains certificate issuance/acquisition/revocation and persisted data. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Output-count reads reject a listOutputs result whose totalOutputs is not a number. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Simple0.7 is a breaking pre-1.0 candidate. Remove mutable DID/resolver/provider configuration, proxy handlers and DIDError/types; use DID.fromIdentityKey/resolve and wallet.getDID. CredentialIssuer.issue returns {credential,keyringForSubject}; verify accepts exact JSON or UTF8 bytes and returns structured cryptographic results. The HTTP verify route now requires {credential: originalEnvelopeJson} with original text as a string; parsed objects return HTTP400. Web request decoding rejects duplicate members and invalid UTF8, and custom parsed-body adapters must establish equivalent strict decoding. Preserve received text and inspect verification.verified, not HTTP success. Local revocation record status is retained/unknown, not inferred chain revocation. See docs/guides/identity-did-vc-migration.md. Replace createServerWalletHandler() deployments with createServerWalletHandler({ authorize: async ({ action, headers }) => authenticatedSessionCanUseAction(headers, action) }). The callback must return literal true for each status, create, request, receive, balance, outputs, or reset action; omission now returns HTTP 403 for every action. Roll out the authentication layer and callback with the package, update anonymous probes or automation, and apply the same policy to every replica. Do not emulate the old public behavior with an unconditional authorize: () => true callback. Valid recipient derivations and authenticated Message Box peers remain supported; malformed, wrong-owner, or transaction-mutated flows now fail closed. New CredentialSchema and Certifier records use canonical 32-byte types. Current SDK wallet methods reject historical short types, so do not put migration aliases in wallet list, acquire, prove, or relinquish calls. Export affected records through the storage version that created them, authenticate them offline against the exact locally configured identifier, and reissue/import canonical replacements; no legacy certificate is rewritten automatically. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/. Persisted local field ordering requires no migration; transport adapters preserve original certificate signing bytes. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts
./browser./dist/browser.mjs./dist/browser.cjs./dist/browser.d.mts./dist/browser.d.cts
./server./dist/server.mjs./dist/server.cjs./dist/server.d.mts./dist/server.d.cts

@bsv/templates

  • Package documentation: docs/packages/helpers/templates.md
  • Source: packages/helpers/ts-templates
  • Release note: Templates 2.3.0 adds the subpath @bsv/templates/R1Comb.ts: the R1C vault locking script and R1CombError. The root entry and its exports are unchanged. R1C is a 1-of-N (N = 1..5) P-256 comb-verifier lock: salted hash160 commitments to each key's comb table; the unlock reveals one table, the salt and a P-256 signature that the script verifies in full over an OP_PUSH_TX version-1 sighash preimage. It is the script of the BSV Wallet Vault (@bsv/expo-wallet-toolbox), made for P-256-only hardware keys such as YubiKey PIV. Locks and unlocks are byte-identical to the Vault's: test vectors generated by the Vault's own module and a lock and spend mined on testnet are part of the suite. Curve arithmetic uses @bsv/sdk Secp256r1; no new runtime dependency. Every 2.2.0 export is unchanged.
  • Migration: No consumer migration is required: additive only. Existing exports, subpaths, peer ranges (@bsv/sdk ^2.1.6 || ^3.0.0 || ^4.0.1) and wire formats are unchanged. R1Comb is published on its own subpath (import * as R1Comb from '@bsv/templates/R1Comb.ts') so that root-entry consumers do not bundle it.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.js./dist/mod.cjs./dist/mod.d.ts./dist/mod.d.cts
./*.ts./dist/src/*.js./dist/src/*.cjs./dist/src/*.d.ts./dist/src/*.d.cts

@bsv/teranode-listener

  • Package documentation: docs/packages/network/teranode-listener.md
  • Source: packages/network/ts-p2p
  • Release note: 1.1.10: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Adds optional bounded decoding for Teranode's two-layer JSON message envelope and typed topic payload interfaces. Hardens the network boundary with canonical PNET, multiaddr, topic, configuration, callback, and numeric validation; immutable caller-owned inputs; exact runtime controls; coalesced retry-safe lifecycle transitions; and a working DHT-disable control. Replaces the internal placeholder subtree hash with the canonical Bitcoin Merkle root and verifies exact uint64 values, dimensions, totals, conflicts, framing, and resource ceilings before accepting serialized subtree state. Refreshes the compatible libp2p dependency set while retaining the imported source's hash-pinned MIT provenance and notices. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No API migration is required for valid consumers: raw callbacks remain the default and decoding is opt-in with decodeMessages: true. Configuration arrays and callbacks are snapshotted at construction, boolean controls must be literal booleans, and malformed or duplicate topics, addresses, keys, and unsupported properties now fail closed. usePrivateDHT: false now actually omits the DHT service. The published mainnet PNET value is transport compatibility data, not a publisher credential; decoded sender and payload fields remain untrusted and security-critical claims require independent validation. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.js./dist/index.d.ts
./package.json./package.json—

@bsv/verifast

  • Package documentation: docs/packages/sdk/verifast.md
  • Source: packages/verifast
  • Release note: 0.3.10: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Hardens JavaScript, worker, and WebAssembly verification boundaries with exact network and height validation, literal consensus verdicts, uint32 flags, dense bounded byte and signature inputs, bounded batches, exact verdict shapes, and deterministic preload and disposal lifecycle handling. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. Valid typed verification calls and worker protocols remain compatible. Custom module factories and WASM adapters must return the exact documented binary and boolean shapes; coercive network, height, flag, byte, batch, verdict, lifecycle, or disposed-instance values now fail closed. Keep THIRD_PARTY_NOTICES.md and LICENSES/ with every JavaScript and WebAssembly distribution. SDK consumers may retain ^2.1.8 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.
Public subpathRuntime target(s)Declaration target(s)
../dist/mod.browser.js./dist/mod.js./dist/cjs/mod.cjs./dist/mod.js./dist/mod.browser.d.ts./dist/mod.d.ts./dist/mod.d.cts
./umd./dist/umd/verifast.js./dist/umd.js./dist/umd/verifast.cjs./dist/umd.js./dist/umd.d.ts./dist/umd.d.cts
./wasm/bdk-core.umd.js./dist/src/wasm/bdk-core.umd.js—
./wasm/bdk-core.umd.wasm./dist/src/wasm/bdk-core.umd.wasm—
./wasm/bdk-core.wasm./dist/src/wasm/bdk-core.wasm—

@bsv/wallet-helper

  • Package documentation: docs/packages/helpers/wallet-helper.md
  • Source: packages/helpers/bsv-wallet-helper
  • Release note: 0.1.12: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Corrects caller-owned bilateral address derivation and hardens address generation, transaction building, prevout binding, P2PKH, Ordinal, OrdLock, preimage, sighash, OP_RETURN, script, amount, output, and final-wallet-transaction validation. Adds an SDK3 peer alternative while preserving the existing SDK2 lower bound; clean packed SDK2.8.11 and SDK3 candidate consumers are documented in the identity/DID/VC migration guide. Adds an SDK4 peer alternative while preserving the existing SDK2 and SDK3 ranges. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. 0.2.0 adds OutputBuilder.tags(values) for per-output tags (wallet.listOutputs({ basket, tags })) and labels(values) on TransactionBuilder, OutputBuilder and InputBuilder for transaction labels (wallet.listActions({ labels })), both passed to wallet.createAction; repeated calls add to the list and drop duplicates.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. getAddress now derives with forSelf: true and returns the caller-owned side of the bilateral relationship. Applications that stored or coordinated the previous peer-owned result must regenerate and exchange the corrected address before sending value. Amount must be an integer from 1 through 1,000 and counterparties must be valid public keys. Valid canonical transaction-builder flows remain supported; malformed, ambiguous, or wallet-mutated results now fail closed. Distributors must retain THIRD_PARTY_NOTICES.md and LICENSES/ with the package. SDK consumers may retain ^2.1.6 or install the proposed SDK3 candidate. The immutable SDK2.8.11 reference has nine pre-existing SDK cold-leaf/UMD import defects; all historical floor versions are not qualified by this matrix. SDK3 removes the obsolete DID token API; use the identity-key DID and optional BRC52 adapters described in docs/guides/identity-did-vc-migration.md. No other public API or wire migration is introduced by the peer alternative. Consumers may keep their current SDK or install @bsv/sdk 4.0.1; no migration is required for this package. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required. 0.2.0: no migration is required; transactions built without tags or labels produce the same createAction arguments as 0.1.12.
Public subpathRuntime target(s)Declaration target(s)
../dist/index.mjs./dist/index.cjs./dist/index.d.mts./dist/index.d.cts

@bsv/wallet-relay

  • Package documentation: docs/packages/wallet/wallet-relay.md
  • Source: packages/wallet/ts-wallet-relay
  • Release note: 0.8.0 makes GET /api/session/:id and WalletRelayService.getSession() return the pairing tuple the QR was built with: topic (the session id), backendIdentityKey, and protocolID as the same canonical JSON string createSession embeds in the pairing URI. BSV Wallet compares those three strings to the scanned QR and rejects pairing when any one is missing or different. Existing sessionId, status, relay, and session-creation fields are unchanged. SessionInfo gains optional topic and protocolID fields, and validateSessionInfo keeps them after it checks that topic is a URL-safe pairing topic and protocolID is a valid wallet protocol tuple. Adds allowLocalNetworkHttp, a development opt-in that defaults to false, on WalletRelayService, WalletRelayClient and useWalletRelayClient, WalletPairingSession, parsePairingUri, buildPairingUri, and verifyPairingSignature. When enabled it accepts plain http: origins and API URLs and ws: relay URLs on private-network IP addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, IPv6 fc00::/7), so a phone on the same LAN can pair with a development backend. HTTP origins cannot be authenticated, so the option must stay off in production. Every side now treats localhost, *.localhost, 127.0.0.0/8, and [::1] as loopback. Public hosts, all other hostnames (including *.local and wildcard-DNS names), and IPv4-mapped IPv6 literals still require https:/wss: with or without the option. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound.
  • Migration: No consumer migration is required. Handlers that return getSession() unchanged include topic and protocolID automatically. A handler that rebuilds the JSON must copy topic, backendIdentityKey, and protocolID from that object: topic equals the QR topic, backendIdentityKey equals the QR key, and protocolID equals the QR's canonical protocol JSON string. Wallets that ignore unknown fields keep working. A session response that carries a malformed topic or protocolID now fails validateSessionInfo, so WalletRelayClient rejects it. No API migration is required for allowLocalNetworkHttp: the default transport policy is unchanged, except that all of 127.0.0.0/8 and, on the mobile pairing boundary, *.localhost now count as loopback. To pair a phone with a development backend on a LAN IP address, set allowLocalNetworkHttp: true on WalletRelayService, on WalletRelayClient or useWalletRelayClient, and in the wallet's parsePairingUri and WalletPairingSession calls, for example behind a developer setting; a wallet without it rejects such QR codes. Never enable it in production: an on-path attacker can rewrite the plaintext session lookup and relay URL of an HTTP origin. The WalletPairingSession and WalletRelayClient transport errors are reworded to 'Pairing origin must be HTTPS, except for loopback development' and 'Relay API URL requires HTTPS, except for loopback development.', and a server or desktop private-network rejection names allowLocalNetworkHttp; callers that matched the previous text must update the match. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.

CLI entry points: {"wallet-relay":"./bin/init.mjs"}.

Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.cjs./dist/index.d.ts./dist/index.d.cts
./client./dist/client.js./dist/client.cjs./dist/client.d.ts./dist/client.d.cts
./react./dist/react.js./dist/react.cjs./dist/react.d.ts./dist/react.d.cts
./package.json./package.json—

@bsv/wallet-toolbox

  • Package documentation: docs/packages/wallet/wallet-toolbox.md
  • Source: packages/wallet/wallet-toolbox
  • Release note: The ARC broadcaster treats HTTP 401 and 403 as service errors, as Arcade does since 2.15.1. An API-key protected ARC answers 401 before it reads the transaction; arc.taal.com and arc-test.taal.com, the default arcUrl on main and test, answer every keyless request that way, so a transaction was recorded as rejected and its inputs released when no other provider accepted it in the same attempt. A failed status read for an extra txid in ARC.postBeef becomes a service error for that txid instead of an exception. WhatsOnChain post answers for 401, 403, 408, an exhausted 429 retry or 5xx, including node-side service failures it relays, are service errors; a relayed node refusal of the transaction keeps its classification. A per-transaction ECONNRESET in a Bitails answer is a service error. Wallet Toolbox makes WalletPermissionsManager honor the caller's BRC-100 seekPermission: false on listActions, internalizeAction, listOutputs, encrypt, decrypt, createHmac, verifyHmac, createSignature, verifySignature, discoverByIdentityKey and discoverByAttributes, and on the built-in BRC-177 module's label check for listActions, as getPublicKey already did. A call that passes false and would otherwise prompt now fails with the existing seekPermission=false errors instead of prompting. Calls that need no prompt (an admin originator, an existing grant, an exempt protocol), and calls that omit the flag or pass true, are unaffected. Services.nLockTimeIsFinal and MockServices.nLockTimeIsFinal apply the node's finality rule for the next block. A height lock time is final when it is below tip + 1, so a lock time equal to the tip is no longer refused. A time lock time is final when it is below the median time past of the tip and its ten predecessors (BIP113) rather than the wall clock. Median time past usually runs about an hour behind the wall clock, so a transaction with a non-final input sequence and a lock time set to "now" is refused for about that long, as the network would refuse it. Inputs with an omitted sequence count as final, as they serialize as 0xffffffff. Judging a time lock reads up to eleven block headers, and a header-service failure propagates instead of reporting the transaction as not final. TaskCheckNoSends runs its scheduled, unfiltered sweep again. The sweep catches externally broadcast nosend rows that the block-triggered aging schedule defers, but it shared its clock with every run of the task, so block-triggered runs kept postponing it while blocks arrived, and at start it was spent on a run that returned early before the first header. It now keeps its own clock, waits for the first processed header and is not filtered by the aging schedule when a block has also set checkNow. A sendMax (maxPossibleSatoshis) createAction is funded from unproven change when confirmed coins cannot pay the fee, instead of failing in the signer with an invalid output amount. WhatsOnChain getUtxoStatus accepts /unspent/all entries whose status is 'unconfirmed' and that carry no height, as WhatsOnChain returns them for mempool outputs; any answer containing one previously failed as a whole, so isUtxo could report neither that output nor confirmed outputs of the same script until it was mined. A present height is still validated and a confirmed entry still requires one. Entries marked isSpentInMempoolTx: true are no longer reported as unspent, and this applies to confirmed outputs too: a confirmed output already spent by a mempool transaction, which getUtxoStatus previously reported as unspent, now reads as spent, so reviewSpendableOutputs (and its release mode), proof recovery and confirmed-spend recovery treat it as spent even if that mempool transaction is later evicted or loses a race. A non-boolean value for that field, or an outpoint listed twice, fails the answer.
  • Migration: No consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
Public subpathRuntime target(s)Declaration target(s)
../out/src/index.js./out/src/index.js./out/src/index.d.ts
./out/src/sdk./out/src/sdk/index.js./out/src/sdk/index.js./out/src/sdk/index.d.ts
./out/src/*./out/src/*.js./out/src/*.d.ts
./package.json./package.json—
./portable./out/src/storage/portable/stream.js./out/src/storage/portable/stream.js./out/src/storage/portable/stream.d.ts
./portable/node./out/src/storage/portable/node.js./out/src/storage/portable/node.js./out/src/storage/portable/node.d.ts

@bsv/wallet-toolbox-client

  • Package documentation: docs/packages/wallet/wallet-toolbox-client.md
  • Source: packages/wallet/wallet-toolbox/client
  • Release note: The ARC broadcaster treats HTTP 401 and 403 as service errors, as Arcade does since 2.15.1. An API-key protected ARC answers 401 before it reads the transaction; arc.taal.com and arc-test.taal.com, the default arcUrl on main and test, answer every keyless request that way, so a transaction was recorded as rejected and its inputs released when no other provider accepted it in the same attempt. A failed status read for an extra txid in ARC.postBeef becomes a service error for that txid instead of an exception. WhatsOnChain post answers for 401, 403, 408, an exhausted 429 retry or 5xx, including node-side service failures it relays, are service errors; a relayed node refusal of the transaction keeps its classification. A per-transaction ECONNRESET in a Bitails answer is a service error. Wallet Toolbox makes WalletPermissionsManager honor the caller's BRC-100 seekPermission: false on listActions, internalizeAction, listOutputs, encrypt, decrypt, createHmac, verifyHmac, createSignature, verifySignature, discoverByIdentityKey and discoverByAttributes, and on the built-in BRC-177 module's label check for listActions, as getPublicKey already did. A call that passes false and would otherwise prompt now fails with the existing seekPermission=false errors instead of prompting. Calls that need no prompt (an admin originator, an existing grant, an exempt protocol), and calls that omit the flag or pass true, are unaffected. Services.nLockTimeIsFinal and MockServices.nLockTimeIsFinal apply the node's finality rule for the next block. A height lock time is final when it is below tip + 1, so a lock time equal to the tip is no longer refused. A time lock time is final when it is below the median time past of the tip and its ten predecessors (BIP113) rather than the wall clock. Median time past usually runs about an hour behind the wall clock, so a transaction with a non-final input sequence and a lock time set to "now" is refused for about that long, as the network would refuse it. Inputs with an omitted sequence count as final, as they serialize as 0xffffffff. Judging a time lock reads up to eleven block headers, and a header-service failure propagates instead of reporting the transaction as not final. TaskCheckNoSends runs its scheduled, unfiltered sweep again. The sweep catches externally broadcast nosend rows that the block-triggered aging schedule defers, but it shared its clock with every run of the task, so block-triggered runs kept postponing it while blocks arrived, and at start it was spent on a run that returned early before the first header. It now keeps its own clock, waits for the first processed header and is not filtered by the aging schedule when a block has also set checkNow. A sendMax (maxPossibleSatoshis) createAction is funded from unproven change when confirmed coins cannot pay the fee, instead of failing in the signer with an invalid output amount. WhatsOnChain getUtxoStatus accepts /unspent/all entries whose status is 'unconfirmed' and that carry no height, as WhatsOnChain returns them for mempool outputs; any answer containing one previously failed as a whole, so isUtxo could report neither that output nor confirmed outputs of the same script until it was mined. A present height is still validated and a confirmed entry still requires one. Entries marked isSpentInMempoolTx: true are no longer reported as unspent, and this applies to confirmed outputs too: a confirmed output already spent by a mempool transaction, which getUtxoStatus previously reported as unspent, now reads as spent, so reviewSpendableOutputs (and its release mode), proof recovery and confirmed-spend recovery treat it as spent even if that mempool transaction is later evicted or loses a race. A non-boolean value for that field, or an outpoint listed twice, fails the answer.
  • Migration: No consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
Public subpathRuntime target(s)Declaration target(s)
../out/index.client.mjs./out/index.client.mjs./out/index.client.cjs./out/index.client.d.mts./out/index.client.d.mts./out/index.client.d.cts
./package.json./package.json—
./argon2id-worker./out/argon2id-worker.mjs—

@bsv/wallet-toolbox-mobile

  • Package documentation: docs/packages/wallet/wallet-toolbox-mobile.md
  • Source: packages/wallet/wallet-toolbox/mobile
  • Release note: The ARC broadcaster treats HTTP 401 and 403 as service errors, as Arcade does since 2.15.1. An API-key protected ARC answers 401 before it reads the transaction; arc.taal.com and arc-test.taal.com, the default arcUrl on main and test, answer every keyless request that way, so a transaction was recorded as rejected and its inputs released when no other provider accepted it in the same attempt. A failed status read for an extra txid in ARC.postBeef becomes a service error for that txid instead of an exception. WhatsOnChain post answers for 401, 403, 408, an exhausted 429 retry or 5xx, including node-side service failures it relays, are service errors; a relayed node refusal of the transaction keeps its classification. A per-transaction ECONNRESET in a Bitails answer is a service error. Wallet Toolbox makes WalletPermissionsManager honor the caller's BRC-100 seekPermission: false on listActions, internalizeAction, listOutputs, encrypt, decrypt, createHmac, verifyHmac, createSignature, verifySignature, discoverByIdentityKey and discoverByAttributes, and on the built-in BRC-177 module's label check for listActions, as getPublicKey already did. A call that passes false and would otherwise prompt now fails with the existing seekPermission=false errors instead of prompting. Calls that need no prompt (an admin originator, an existing grant, an exempt protocol), and calls that omit the flag or pass true, are unaffected. Services.nLockTimeIsFinal and MockServices.nLockTimeIsFinal apply the node's finality rule for the next block. A height lock time is final when it is below tip + 1, so a lock time equal to the tip is no longer refused. A time lock time is final when it is below the median time past of the tip and its ten predecessors (BIP113) rather than the wall clock. Median time past usually runs about an hour behind the wall clock, so a transaction with a non-final input sequence and a lock time set to "now" is refused for about that long, as the network would refuse it. Inputs with an omitted sequence count as final, as they serialize as 0xffffffff. Judging a time lock reads up to eleven block headers, and a header-service failure propagates instead of reporting the transaction as not final. TaskCheckNoSends runs its scheduled, unfiltered sweep again. The sweep catches externally broadcast nosend rows that the block-triggered aging schedule defers, but it shared its clock with every run of the task, so block-triggered runs kept postponing it while blocks arrived, and at start it was spent on a run that returned early before the first header. It now keeps its own clock, waits for the first processed header and is not filtered by the aging schedule when a block has also set checkNow. A sendMax (maxPossibleSatoshis) createAction is funded from unproven change when confirmed coins cannot pay the fee, instead of failing in the signer with an invalid output amount. WhatsOnChain getUtxoStatus accepts /unspent/all entries whose status is 'unconfirmed' and that carry no height, as WhatsOnChain returns them for mempool outputs; any answer containing one previously failed as a whole, so isUtxo could report neither that output nor confirmed outputs of the same script until it was mined. A present height is still validated and a confirmed entry still requires one. Entries marked isSpentInMempoolTx: true are no longer reported as unspent, and this applies to confirmed outputs too: a confirmed output already spent by a mempool transaction, which getUtxoStatus previously reported as unspent, now reads as spent, so reviewSpendableOutputs (and its release mode), proof recovery and confirmed-spend recovery treat it as spent even if that mempool transaction is later evicted or loses a race. A non-boolean value for that field, or an outpoint listed twice, fails the answer.
  • Migration: No consumer migration is required. No consumer migration is required. Exports, types, storage and wire formats are unchanged. An application that passed seekPermission: false and relied on the prompt appearing anyway now receives the existing seekPermission=false error and should omit the flag or pass true to allow the prompt. No API, wire or schema migration. Height acceptance widens by one block; time-lock acceptance follows median time past, usually about an hour behind the wall clock. No API, wire or schema migration. A new process sweeps once at its first processed header, then once per triggerMsecs (one day by default). No API, wire or schema migration. The ordinary createAction path runs in Storage, so upgrade a remote Storage server for it; the action batch path is fixed by upgrading the wallet host. No consumer migration is required.
Public subpathRuntime target(s)Declaration target(s)
../out/index.mobile.mjs./out/index.mobile.mjs./out/index.mobile.cjs./out/index.mobile.d.mts./out/index.mobile.d.mts./out/index.mobile.d.cts
./package.json./package.json—

@bsv/webrtpay

  • Package documentation: docs/packages/messaging/webrtpay.md
  • Source: packages/messaging/webrtpay
  • Release note: 0.2.4: Refreshes packed Apache-2.0 license, notice, patent and incorporated-material attribution files. The package includes the reviewed Apache-2.0 license, patent notice and incorporated-material notices. Publishes the already merged React Native data-channel compatibility fix through the protected trusted-publisher workflow with SLSA provenance. The answerer accepts the native unlimited-retransmission sentinels -1 and 65535, as well as the DOM null value; other channel ordering and protocol checks remain unchanged. This also repairs the missing provenance on the earlier 0.2.1 registry artifact without weakening registry verification. Keeps an offer link open until the absolute whole-second expiry encoded in its offer code. An early timer wake checks the remaining time and reschedules rather than closing a still-valid offer. Completed handshakes and explicit cancellation continue to clear the active expiry timer. Requires the repaired SDK4.0.1 hotfix for the SDK4 peer alternative while retaining every existing SDK2/3 alternative and lower bound. Aligns the exported VERSION with package 0.2.3.
  • Migration: No API, wire or data migration is required. Redistributors must retain the included license and notice files. No consumer migration required. Public exports, dependency ranges, relay readiness and browser behavior remain unchanged. React Native answerers can accept unlimited reliable channels reported with native sentinel values. Use the attested 0.2.2 artifact for verified releases. No consumer migration required. Offer code bytes, encoded expiry, timeout errors and handshake behavior are unchanged. Offers remain available until their encoded expiry even when a timer wakes early. SDK4 consumers must use @bsv/sdk >=4.0.1 <5; SDK2/3 consumers retain their existing ranges. No application-wallet wire or data migration is required.

CLI entry points: {"webrtpay-relay":"dist/server/cli.js"}.

Public subpathRuntime target(s)Declaration target(s)
../dist/src/index.js./dist/src/index.js./dist/src/index.d.ts
./server./dist/server/index.js./dist/server/index.js./dist/server/index.d.ts
./package.json./package.json—

create-bsv-app

  • Package documentation: docs/packages/helpers/create-bsv-app.md
  • Source: packages/helpers/create-bsv-app
  • Release note: Generated projects now use @bsv/sdk ^4.0.1 and @bsv/auth ^0.1.8. Add mode raises an existing project's outdated dependency floors and reports what it changed or could not change: a same-major raise applies to any package (for example qrcode ^1.4.0 to ^1.5.0), a cross-major raise (for a 0.x range, across a minor version) of an @bsv package create-bsv-app pins is asked for in the interactive terminal and otherwise left with a warning naming the package, the range found and the range the generated code needs, unless --upgrade-bsv-deps is passed, and any other package that would need a major upgrade, such as express ^4 where wallet-login needs ^5, is left and reported to check manually. New pre-selected tx-core capability: @bsv/wallet-helper ^0.2.0 TransactionBuilder and getAddress from @bsv/wallet-helper documented with examples, plus dataScript and internalizePayment, transaction and BEEF parsing helpers, and a Transactions demo page at /transactions. Add mode now also adds the capabilities a selected one requires where the layout uses them (for example wallet-connect for tx-core, only when the project has a frontend, since only the tx-core demo page uses it; a backend-only project gets tx-core without the relay files, dependencies or wiring), records them in bsv-scaffold.json and says so in the terminal prompt, the --ui page and the run summary. Add mode with --file keeps the capabilities the project's manifest already records. A capability that cannot be placed in the project's layout is rejected with a config error instead of being recorded with nothing written. Capability lists are resolved and recorded in registry order. Generated AGENTS.md follows the project layout: frontend-only and backend-only projects no longer get wiring snippets, file descriptions or install lists for a side they do not have, and manual wiring names each base file under its target (for example src/index.ts in a backend-only project). New projects with an explicit non-root target folder for a single-target layout now scaffold the framework into that folder; it was scaffolded at the root while capability files went to the folder.
  • Migration: No consumer migration is required. Existing projects keep their dependency ranges until the next add-mode run, which merges the manifest's capabilities (tx-core included) and raises outdated ranges. devDependencies and unrecognised ranges are never changed and are listed for manual review. An add-mode run that selects a capability without what it requires now also writes the required capability's files and dependencies and records it; existing files are still skipped unless --force is given. Add-mode --file configs no longer drop the manifest's recorded capabilities, so they need not repeat them; keys such a config leaves out (network, bsvDir, stack, targets, name) now come from the manifest instead of resetting to defaults. A project with no detectable frontend or backend must declare its stack (for example --frontend react, or a stack in the --file config) before capabilities can be added.

CLI entry points: {"create-bsv-app":"dist/index.js"}.

Public subpathRuntime target(s)Declaration target(s)
../dist/index.js./dist/index.d.ts

Change procedure

  1. Change the public package and select the SemVer impact from its packed API, runtime, wire, persistence, and declaration changes.
  2. Bump only affected package manifests and first-party dependents whose packed contract changes.
  3. Update the matching entry in governance/package-release-notes.json, including explicit migration guidance even when no consumer action is required.
  4. Run pnpm docs:packages, pnpm docs:packages:check, pnpm check-versions, packed-consumer checks, and the full release gates.
  5. After an authorized publication, update publishedVersion to the registry result and set releaseType to none only when source and npm match.