Skip to content

React Native SDK 0.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Oct 18:28
· 30 commits to main since this release
e48ded8

Added

  • useBalance(federation) and useOperation(operation), React hooks that keep a component up to date with a federation's balance and an operation's state. Each takes an optional onError.
  • Exception.toString() and Exception.toDebugString() give the error's code and reason, and the message of 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) and Meta.all() also read the document the federation publishes at its meta_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.parse accepts a v2 ecash token that is wrapped across lines or in another letter case, and an invoice may start with lightning:.
npm install @fedimint/react-native@0.1.0-beta.2 @fedimint/react-native-bindings@0.1.0-beta.2