@walletconnect/react-native-compat 2.22.1 → 2.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-require-imports */
2
- import { getApplicationModule } from "./module";
2
+ import { getApplicationModule } from "./module/index.js";
3
3
 
4
4
  // Polyfill TextEncode / TextDecode
5
5
  import "fast-text-encoding";
package/module/index.ts CHANGED
@@ -6,11 +6,10 @@ const LINKING_ERROR =
6
6
  "- You rebuilt the app after installing the package\n" +
7
7
  "- If you are using Expo: install expo-application \n";
8
8
 
9
- // @ts-expect-error
10
9
  const isTurboModuleEnabled = global.__turboModuleProxy != null;
11
10
 
12
11
  const RNWalletConnectModule = isTurboModuleEnabled
13
- ? require("../module/NativeRNWalletConnectModule").default
12
+ ? require("../module/NativeRNWalletConnectModule.js").default
14
13
  : NativeModules.RNWalletConnectModule;
15
14
 
16
15
  function getExpoModule(): any | undefined {
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.22.1",
4
+ "version": "2.22.3",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "SEE LICENSE IN LICENSE.md",