• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / javascript-sdk / 38429501638
78%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2026 04:21PM UTC
Jobs 2
Files 125
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Oct 2026 04:19PM UTC coverage: 77.624%. Remained the same
38429501638

push

github

web-flow
[FSSDK-13250] Support AsyncStorage v3 in React Native (#1178)

## Summary
- **AsyncStorage v3 support.** v3 removed `multiGet` in favour of `getMany`, and no longer exports the `AsyncStorageStatic` type. The React Native AsyncStorage import shim now adds a `multiGet` built on `getMany` when the storage doesn't have one. It keeps the requested key order and returns `null` for missing keys. The removed type import is replaced with a local `AsyncStorageCompat` interface. v1/v2 storage is returned unchanged.
- **`AsyncStorageCache` now extends `AsyncStoreWithBatchedGet`.** It previously only implemented `AsyncStore`, so `getBatchedAsync` failed its `instanceof` check and read stored events with one `getItem` per key. Its `getBatched`, and therefore `multiGet`, was never called. Failed-event retries now read all stored events in one batched call.
- **Wider React Native peer ranges:**
  - AsyncStorage `<4.0.0` (was `<3.0.0`)
  - NetInfo `<13.0.0` (was `<12.0.0`)
  - `react-native-get-random-values` `>=1.11.0 <3.0.0` (was `^1.11.0`)
  - `fast-text-encoding` and `ua-parser-js` are now written as explicit `<2.0.0` ranges, allowing the same versions as before. `ua-parser-js` 2.x is licensed AGPL-3.0, so it stays excluded.
- **Test fix:** a leaked `mockImplementationOnce` in `event_processor_factory.react_native.spec.ts` was making a later test construct a real `AsyncStorageCache`.
---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1549 of 3029 branches covered (51.14%)

Branch coverage included in aggregate %.

8990 of 10548 relevant lines covered (85.23%)

130.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-22 - 38429501638.1 13 Oct 2026 04:21PM UTC 125
77.62
GitHub Action Run
2 run-20 - 38429501638.2 13 Oct 2026 04:21PM UTC 125
77.62
GitHub Action Run
Source Files on build 38429501638
  • Tree
  • List 125
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fd652c3e on github
  • Prev Build on master (#35337163978)
  • Next Build on master (#38805102404)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc