Skip to content

Commit 29d9a91

Browse files
committed
polyfill react native
1 parent 6fcdd15 commit 29d9a91

File tree

3 files changed

+1721
-4
lines changed

3 files changed

+1721
-4
lines changed

packages/sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"undici": "^6.19.2"
4848
},
4949
"dependencies": {
50-
"base64-js": "^1.5.1"
50+
"base64-js": "^1.5.1",
51+
"react-native-url-polyfill": "^2.0.0"
5152
}
5253
}

packages/sdk/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'react-native-url-polyfill/auto'; // For React Native compatibility, their URL class is barely implemented
2+
13
// Should be at the top as other modules depend on it
24
export * from './db_connection_impl.ts';
35

0 commit comments

Comments
 (0)