Skip to content

Release 2.3.0

Choose a tag to compare

@smitvalture smitvalture released this 22 May 16:12
· 9 commits to main since this release

What's Changed

🐛 Bug Fixes

  • Fix double WebView reload when siteKey or baseUrl props change. reset() already reloads the WebView, so the redundant follow-up reload has been removed.
  • Fix orphaned token promise on concurrent getToken() calls. Previously, if you called getToken() twice before the first resolved, the first promise would hang until its own 15s timeout fired. It's now rejected immediately when superseded.

🧹 Internal

  • Migrated to ESLint 9 flat config so yarn lint works (the legacy config referenced a preset that wasn't installed).
  • Removed deprecated @types/react-native devDep (RN ships its own types since 0.71).
  • Removed unused eslint-plugin-prettier devDep.
  • Bumped react-native-webview devDep to 13.16.1 (peer-dep range unchanged).
  • Refactored minified inline onload/onerror script handlers into named functions for readability.

📦 Package

  • No public API changes
  • No breaking changes
  • Package size unchanged: 10.6 kB tarball / 37.6 kB unpacked

Full Changelog: v2.2.0...v2.3.0