@walletconnect/react-native-compat 2.0.0-220dfb7e → 2.0.0-3ab9f144.0

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -1,2 +1,5 @@
1
+ // Polyfill TextEncode / TextDecode
1
2
  import "fast-text-encoding";
3
+
4
+ // Polyfill crypto.getRandomvalues
2
5
  import "react-native-get-random-values";
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.0.0-220dfb7e",
4
+ "version": "2.0.0-3ab9f144.0",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "Apache-2.0",
@@ -17,13 +17,15 @@
17
17
  "react-native"
18
18
  ],
19
19
  "scripts": {
20
- "lint": "eslint -c '../../.eslintrc' --fix './src/**/*.js'",
21
- "prettier": "prettier --check '{src,test}/**/*.{js,ts,jsx,tsx}'"
20
+ "lint": "eslint -c '../../.eslintrc' --fix './**/*.{js,ts,jsx,tsx}'",
21
+ "prettier": "prettier --check './**/*.{js,ts,jsx,tsx}'"
22
22
  },
23
23
  "dependencies": {
24
- "@react-native-async-storage/async-storage": "1.17.9",
25
24
  "events": "3.3.0",
26
- "fast-text-encoding": "1.0.4",
27
- "react-native-get-random-values": "1.8.0"
25
+ "fast-text-encoding": "1.0.4"
26
+ },
27
+ "peerDependencies": {
28
+ "@react-native-async-storage/async-storage": "*",
29
+ "react-native-get-random-values": "*"
28
30
  }
29
31
  }
@@ -1,3 +0,0 @@
1
- import "fast-text-encoding";
2
- import "react-native-get-random-values";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gCAAgC,CAAC"}