Repository navigation
React Native SDK 0.1.0-beta.2
Pre-release
Pre-release
·
30 commits
to main
since this release
Added
useBalance(federation)anduseOperation(operation), React hooks that keep a component up to date with a federation's balance and an operation's state. Each takes an optionalonError.Exception.toString()andException.toDebugString()give the error's code and reason, and themessageof a thrown error includes them.
Changed
- Built against fedimint 0.13.0-beta.1, where 0.1.0-beta.1 was built against an unreleased fedimint.
Meta.get(key)andMeta.all()also read the document the federation publishes at itsmeta_override_url. A key takes its value from the consensus metadata first, then from that document, then from the configuration.- The Android libraries are about half the size, and the iOS library no longer exports the Rust symbols in it to the app.
Fixed
Notes.parseaccepts a v2 ecash token that is wrapped across lines or in another letter case, and an invoice may start withlightning:.
npm install @fedimint/react-native@0.1.0-beta.2 @fedimint/react-native-bindings@0.1.0-beta.2