@walletconnect/react-native-compat 2.7.1 → 2.7.3-canary-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-console */
1
2
  // Polyfill TextEncode / TextDecode
2
3
  import "fast-text-encoding";
3
4
 
@@ -8,3 +9,9 @@ import "react-native-get-random-values";
8
9
  if (typeof Buffer === "undefined") {
9
10
  global.Buffer = require("buffer").Buffer;
10
11
  }
12
+
13
+ if (typeof Linking === "undefined") {
14
+ console.log("setting Linking");
15
+ global.Linking = require("react-native").Linking;
16
+ console.log("Linking set", global.Linking);
17
+ }
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.7.1",
4
+ "version": "2.7.3-canary-1",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "Apache-2.0",