v0.1.0-beta.4
Node.js (napi-rs) bindings for rgb-lightning-node v0.4.0-beta.1, built with the vss cargo feature.
Companion to @utexo/rgb-lightning-node-bare@v0.1.0-beta.8 — both ship the same underlying c-ffi static lib, just packaged differently (napi for Node.js, bare for Bare worklets).
What's new
- VSS cloud backup — opt-in via
vss_url/vss_allow_http/vss_allow_empty_restoreonSdkInitRequest. Defaults to disabled. - APay outbound receiver flow — new
min_final_cltv_expiry_deltaonLnInvoiceRequest. - PR #34 (openchannel race fix) — natively included; no more local cherry-pick.
Migration notes (same as bare beta.8)
SendRgbRequest.skip_syncis now ignored server-side. JSON field accepted for backward compat.TransactionType:User→SendBtc+Incoming(rgb-lib split).RlnErrormapper now exposes all 17 variants by name.
Lock-refresh side effects
The Cargo.lock refresh required to break a conflict with v0.4.0-beta.1's new psrgbt pin advanced:
- bdk_wallet 2.0 → 3.0 (major bump)
- rust-lightning aa3879b0 → aa313818
- rgb-lib 5aabef63 → 0d46c9a5 (dev branch tip)
- signer-external moved from rmn-boiko fork → UTEXO-Protocol/rln-external-signer
Validated end-to-end against node-demo: 48/58 pass.