Skip to content

Commit 49ef23e

Browse files
chore: rebuild lib so the branch is installable from a git ref (#5)
Upstream keeps `lib/` in .gitignore and builds it on `npm publish`. This fork is consumed as `github:arekkubaczkowski/react-native-webrtc#<sha>`, where no lifecycle script runs, so the build output has to be committed. It last was at fb71a28 (2026-03-24) and has been drifting behind `src/` ever since. Everything merged or cherry-picked after that date had no JS build output: upstream livekit#62 (AudioDeviceModule), livekit#57's DataPacketCryptor, and the three iOS audio-device commits on this branch (livekit#90, livekit#91, livekit#96). `lib/commonjs/index.js` exported neither `AudioDeviceModule`, `AudioEngineMuteMode`, `AudioEngineAvailability` nor `audioDeviceModuleEvents` - all four of which `@livekit/react-native` 2.11 imports by name. Nothing broke only because `package.json` declares `"react-native": "src/index.ts"` and Metro reads that field before `main`, so a React Native app compiles the TypeScript sources directly. Anything resolving through `main` or `types` - tsc without skipLibCheck, jest, a node script - saw a package five months out of date. `bob build` output only; no source change. `tsc --noEmit` is clean. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 88204f8 commit 49ef23e

122 files changed

Lines changed: 5371 additions & 227 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/commonjs/AudioDeviceModule.js

Lines changed: 351 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/commonjs/AudioDeviceModule.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)