capacitorjs-plugin-wifi
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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 @@ ; |
{ | ||
"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
68937
892