Skip to content

Commit caded33

Browse files
committed
fix: switch to base64-js
1 parent 514d8cd commit caded33

4 files changed

Lines changed: 3 additions & 18 deletions

File tree

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,11 @@
4545
"@livekit/components-react": "^2.8.1",
4646
"@livekit/mutex": "^1.1.1",
4747
"array.prototype.at": "^1.1.1",
48+
"base64-js": "1.5.1",
4849
"event-target-shim": "6.0.2",
4950
"events": "^3.3.0",
5051
"loglevel": "^1.8.0",
5152
"promise.allsettled": "^1.0.5",
52-
<<<<<<< HEAD
53-
"react-native-quick-base64": "^2.2.1",
54-
=======
55-
"react-native-quick-base64": "^2.2.2",
56-
>>>>>>> a625ffb (fix: update quick-base64 to 2.2.2 for 16KB page support)
5753
"react-native-url-polyfill": "^1.3.0",
5854
"typed-emitter": "^2.1.0",
5955
"web-streams-polyfill": "^4.1.0",

src/audio/MediaRecorder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Event,
66
defineEventAttribute,
77
} from 'event-target-shim/index';
8-
import { toByteArray } from 'react-native-quick-base64';
8+
import { toByteArray } from 'base64-js';
99
import LiveKitModule from '../LKNativeModule';
1010
import { log } from '../logger';
1111

src/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'well-known-symbols/Symbol.asyncIterator/auto';
22
import 'well-known-symbols/Symbol.iterator/auto';
33
import './polyfills/MediaRecorderShim';
4-
import 'react-native-quick-base64';
54
import { registerGlobals as webrtcRegisterGlobals } from '@livekit/react-native-webrtc';
65
import { setupURLPolyfill } from 'react-native-url-polyfill';
76
import './polyfills/EncoderDecoderTogether.min.js';

yarn.lock

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2466,6 +2466,7 @@ __metadata:
24662466
"@types/react": ^18.2.6
24672467
array.prototype.at: ^1.1.1
24682468
babel-jest: ^29.6.3
2469+
base64-js: 1.5.1
24692470
commitlint: ^16.2.1
24702471
eslint: ^8.23.0
24712472
eslint-config-prettier: ^8.5.0
@@ -2483,7 +2484,6 @@ __metadata:
24832484
react: 18.2.0
24842485
react-native: 0.74.2
24852486
react-native-builder-bob: ^0.18.2
2486-
react-native-quick-base64: ^2.2.2
24872487
react-native-url-polyfill: ^1.3.0
24882488
release-it: ^14.2.2
24892489
typed-emitter: ^2.1.0
@@ -10739,16 +10739,6 @@ __metadata:
1073910739
languageName: node
1074010740
linkType: hard
1074110741

10742-
"react-native-quick-base64@npm:^2.2.2":
10743-
version: 2.2.2
10744-
resolution: "react-native-quick-base64@npm:2.2.2"
10745-
peerDependencies:
10746-
react: "*"
10747-
react-native: "*"
10748-
checksum: 51cd8df0b7f78d4c10996f157927cc075b8a9e85f7d0e48790a4247a033ca335e440c96572969fb6f6b49135d51dbf87c6d659fba509b51b9237957d41a6c580
10749-
languageName: node
10750-
linkType: hard
10751-
1075210742
"react-native-url-polyfill@npm:^1.3.0":
1075310743
version: 1.3.0
1075410744
resolution: "react-native-url-polyfill@npm:1.3.0"

0 commit comments

Comments
 (0)