@walletconnect/react-native-compat 2.9.2-canary-eb8558a → 2.9.2-canary-02dba62
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -0
- package/package.json +4 -3
package/index.js
CHANGED
@@ -4,6 +4,9 @@ import "fast-text-encoding";
|
|
4
4
|
// Polyfill crypto.getRandomvalues
|
5
5
|
import "react-native-get-random-values";
|
6
6
|
|
7
|
+
// Polyfill URL()
|
8
|
+
import "react-native-url-polyfill/auto";
|
9
|
+
|
7
10
|
// Polyfill Buffer
|
8
11
|
if (typeof Buffer === "undefined") {
|
9
12
|
global.Buffer = require("buffer").Buffer;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@walletconnect/react-native-compat",
|
3
3
|
"description": "Shims for WalletConnect Protocol in React Native Projects",
|
4
|
-
"version": "2.9.2-canary-
|
4
|
+
"version": "2.9.2-canary-02dba62",
|
5
5
|
"author": "WalletConnect, Inc. <walletconnect.com>",
|
6
6
|
"homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
|
7
7
|
"license": "Apache-2.0",
|
@@ -21,12 +21,13 @@
|
|
21
21
|
"prettier": "prettier --check './**/*.{js,ts,jsx,tsx}'"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@react-native-community/netinfo": "^9.4.1",
|
25
24
|
"events": "3.3.0",
|
26
|
-
"fast-text-encoding": "^1.0.6"
|
25
|
+
"fast-text-encoding": "^1.0.6",
|
26
|
+
"react-native-url-polyfill": "^2.0.0"
|
27
27
|
},
|
28
28
|
"peerDependencies": {
|
29
29
|
"@react-native-async-storage/async-storage": "*",
|
30
|
+
"@react-native-community/netinfo": "*",
|
30
31
|
"react-native-get-random-values": "*"
|
31
32
|
}
|
32
33
|
}
|