Skip to content

Commit

Permalink
fix: LanPortScannerModule accessor from native module (#16)
Browse files Browse the repository at this point in the history
* fix: LanPortScannerModule accessor from native module

* fix: release
  • Loading branch information
gajjartejas committed Jun 24, 2023
1 parent 6b84b0a commit bb7e729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const LINKING_ERROR =
'- You are not using Expo Go\n';

const LanPortScanner = NativeModules.LanPortScannerModule
? NativeModules.LanPortScanner
? NativeModules.LanPortScannerModule
: new Proxy(
{},
{
Expand Down

0 comments on commit bb7e729

Please sign in to comment.