Socket
Socket
Sign inDemoInstall

capacitorjs-plugin-wifi

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

22

dist/esm/web.js

@@ -12,23 +12,3 @@ import { WebPlugin } from '@capacitor/core';

wifiScan() {
console.warn("Not implemented in web, returning a mock");
return Promise.resolve({ networks: [{
BSSID: "aa:bb:cc:dd:ee:ff",
SSID: "Test SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
},
{
BSSID: "aa:bb:cc:dd:ee:fx",
SSID: "Test 2 SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
}], error: "Not implemented in web" });
return Promise.resolve({ networks: [], error: "Not implemented in web" });
}

@@ -35,0 +15,0 @@ ;

@@ -50,23 +50,3 @@ 'use strict';

wifiScan() {
console.warn("Not implemented in web, returning a mock");
return Promise.resolve({ networks: [{
BSSID: "aa:bb:cc:dd:ee:ff",
SSID: "Test SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
},
{
BSSID: "aa:bb:cc:dd:ee:fx",
SSID: "Test 2 SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
}], error: "Not implemented in web" });
return Promise.resolve({ networks: [], error: "Not implemented in web" });
}

@@ -73,0 +53,0 @@ ;

@@ -47,23 +47,3 @@ var capacitorCapacitorWifi = (function (exports, core) {

wifiScan() {
console.warn("Not implemented in web, returning a mock");
return Promise.resolve({ networks: [{
BSSID: "aa:bb:cc:dd:ee:ff",
SSID: "Test SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
},
{
BSSID: "aa:bb:cc:dd:ee:fx",
SSID: "Test 2 SSID",
capabilities: "example",
centerFreq0: 80,
centerFreq1: 80,
frequency: 0,
level: 20,
timestamp: 20
}], error: "Not implemented in web" });
return Promise.resolve({ networks: [], error: "Not implemented in web" });
}

@@ -70,0 +50,0 @@ ;

2

package.json
{
"name": "capacitorjs-plugin-wifi",
"version": "1.0.3",
"version": "1.0.4",
"description": "Capacitor JS plugin to scan and connect to wifi",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc