Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-hotspot

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-hotspot - npm Package Compare versions

Comparing version 0.8.1 to 1.0.0

2

package.json
{
"name": "cordova-plugin-hotspot",
"version": "0.8.1",
"version": "1.0.0",
"description": "Cordova WiFi Hotspot Plugin",

@@ -5,0 +5,0 @@ "cordova": {

@@ -150,3 +150,6 @@ /*

* @param successCB
* A callback function to be called when connected successful and is called with an array of JSON objects { ip: ..., mac: ... }
* A callback function to be called when connected successful and is called with an array of JSON objects:
* {
* ip | mac
* }
* @param errorCB

@@ -162,3 +165,3 @@ * A callback function to be called when connection was not successful

/**
* Connect to a WiFi Hotspot
* Connect to a WiFi network
*

@@ -174,6 +177,6 @@ * @param {string} ssid

*/
connectToHotspot: function (ssid, password, successCB, errorCB) {
connectToWifi: function (ssid, password, successCB, errorCB) {
cordova.exec(successCB, function (err) {
errorCB(err);
}, "HotSpotPlugin", "connectToHotspot", [ssid, password]);
}, "HotSpotPlugin", "connectToWifi", [ssid, password]);
},

@@ -350,3 +353,3 @@

/**
* Start a perodically scan wifi
* Start a periodically scan wifi
*

@@ -362,9 +365,9 @@ * @param {long} interval

*/
startPeriodicallyScan: function (interval, duration, successCB, errorCB) {
startWifiPeriodicallyScan: function (interval, duration, successCB, errorCB) {
cordova.exec(successCB, function (err) {
errorCB(err);
}, 'HotSpotPlugin', 'startPeriodicallyScan', [interval, duration]);
}, 'HotSpotPlugin', 'startWifiPeriodicallyScan', [interval, duration]);
},
/**
* Stop a perodically scan wifi
* Stop a periodically scan wifi
*

@@ -376,6 +379,6 @@ * @param {function} successCB

*/
stopPeriodicallyScan: function (successCB, errorCB) {
stopWifiPeriodicallyScan: function (successCB, errorCB) {
cordova.exec(successCB, function (err) {
errorCB(err);
}, 'HotSpotPlugin', 'stopPeriodicallyScan', []);
}, 'HotSpotPlugin', 'stopWifiPeriodicallyScan', []);
},

@@ -382,0 +385,0 @@ /**

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc