diff --git a/package.json b/package.json index c68df52..85b75f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-lan-port-scanner", - "version": "1.1.8", + "version": "1.1.9", "description": "A simple port scanner for react native.", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/src/index.ts b/src/index.ts index 194313e..2f5d40a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ const LINKING_ERROR = '- You are not using Expo Go\n'; const LanPortScanner = NativeModules.LanPortScannerModule - ? NativeModules.LanPortScanner + ? NativeModules.LanPortScannerModule : new Proxy( {}, {