Repository navigation
Releases: AmbireTech/react-native-crypto
Releases · AmbireTech/react-native-crypto
Release list
v1.0.1
Changelog:
- Updated:
viempeer dependency from 2.45.2 to 2.56.3 #1 - Fixed:
encodeFunctionDataencoding a mixed-case address with a wrong checksum, where viem refuses it #1 - Fixed:
decodeFunctionResultreturning a rounded number for anintof 48 bits or fewer outside JavaScript's safe integer range, where viem throws #1 - Fixed:
decodeFunctionResultkeeping a leading byte order mark in astringoutput, where viem drops it #1
Each of these calls is now handed back to viem, so callers get viem's own error.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Rust implementations of six hot viem functions, exposed to Hermes over JSI with
uniffi-bindgen-react-native.
bytesToHex,checksumAddress,decodeFunctionResult,encodeFunctionData,
hexToBytes,keccak256- The ABI functions take and return JSON strings, with integers wider than 48
bits tagged as{"$bigint":"<decimal>"} - Matches viem's behaviour, quirks included;
viemis a peer dependency pinned
to the version the Rust was written against - The tarball carries the compiled Rust for every Android ABI and for iOS device
and simulator, so installing needs no Rust toolchain - Requires React Native with the New Architecture and Herme