Skip to content

v4.13.2

Compare
Choose a tag to compare
@0xFirekeeper 0xFirekeeper released this 17 May 19:30
918653d

What's Changed

  • [Native] ETH <> GWEI <> WEI decimal conversions are now more accurate.
    • This includes Utils.ToWei and Utils.FormatERC20.
    • When an overflow occurs (i.e., the number is too small or large for a decimal, such as with ERC20 large supply), the system falls back to using floating point arithmetic to handle the conversion.
    • Culture invariance is now respected throughout these flows.
  • [Standalone, Android] Smoother OAuth Cancellation Handling.
    • Reattempting to authenticate using OAuth (Google, etc.) before the first attempt succeeds or times out when using InAppWallet no longer throws.
    • Explicitly calling InAppWalletUI.Cancel now properly resets state and throws as usual.
    • Case of cancelling by calling InAppWalletUI.Connect again before the first one completes is now handled properly and only logs a warning.
  • [Native] Added endSessionOnDisconnect option in Prefab_ConnectWallet. You may enable this to force reauthenticate after disconnecting and not preserve sessions, for instance when using InAppWallet.