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

@falconeta/capacitor-wifi-connect

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@falconeta/capacitor-wifi-connect - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

65

dist/docs.json

@@ -30,3 +30,3 @@ {

"name": "connect",
"signature": "(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: number; }>",
"signature": "(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>",
"parameters": [

@@ -39,6 +39,8 @@ {

],
"returns": "Promise<{ value: number; }>",
"returns": "Promise<{ value: ConnectState; }>",
"tags": [],
"docs": "",
"complexTypes": [],
"complexTypes": [
"ConnectState"
],
"slug": "connect"

@@ -48,3 +50,3 @@ },

"name": "prefixConnect",
"signature": "(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: number; }>",
"signature": "(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>",
"parameters": [

@@ -57,6 +59,8 @@ {

],
"returns": "Promise<{ value: number; }>",
"returns": "Promise<{ value: ConnectState; }>",
"tags": [],
"docs": "",
"complexTypes": [],
"complexTypes": [
"ConnectState"
],
"slug": "prefixconnect"

@@ -66,3 +70,3 @@ },

"name": "secureConnect",
"signature": "(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: number; }>",
"signature": "(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>",
"parameters": [

@@ -75,6 +79,8 @@ {

],
"returns": "Promise<{ value: number; }>",
"returns": "Promise<{ value: ConnectState; }>",
"tags": [],
"docs": "",
"complexTypes": [],
"complexTypes": [
"ConnectState"
],
"slug": "secureconnect"

@@ -84,3 +90,3 @@ },

"name": "securePrefixConnect",
"signature": "(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: number; }>",
"signature": "(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>",
"parameters": [

@@ -93,6 +99,8 @@ {

],
"returns": "Promise<{ value: number; }>",
"returns": "Promise<{ value: ConnectState; }>",
"tags": [],
"docs": "",
"complexTypes": [],
"complexTypes": [
"ConnectState"
],
"slug": "secureprefixconnect"

@@ -104,5 +112,36 @@ }

"interfaces": [],
"enums": [],
"enums": [
{
"name": "ConnectState",
"slug": "connectstate",
"members": [
{
"name": "Ok",
"value": "0",
"tags": [],
"docs": ""
},
{
"name": "Denied",
"value": "-1",
"tags": [],
"docs": ""
},
{
"name": "Ko",
"value": "-2",
"tags": [],
"docs": ""
},
{
"name": "UnknowSsid",
"value": "-3",
"tags": [],
"docs": ""
}
]
}
],
"typeAliases": [],
"pluginConfigs": []
}

14

dist/esm/definitions.d.ts

@@ -12,3 +12,3 @@ export interface CapacitorWifiConnectPlugin {

}): Promise<{
value: number;
value: ConnectState;
}>;

@@ -19,3 +19,3 @@ prefixConnect(options: {

}): Promise<{
value: number;
value: ConnectState;
}>;

@@ -28,3 +28,3 @@ secureConnect(options: {

}): Promise<{
value: number;
value: ConnectState;
}>;

@@ -37,4 +37,10 @@ securePrefixConnect(options: {

}): Promise<{
value: number;
value: ConnectState;
}>;
}
export declare enum ConnectState {
Ok = 0,
Denied = -1,
Ko = -2,
UnknowSsid = -3
}

@@ -1,2 +0,8 @@

export {};
export var ConnectState;
(function (ConnectState) {
ConnectState[ConnectState["Ok"] = 0] = "Ok";
ConnectState[ConnectState["Denied"] = -1] = "Denied";
ConnectState[ConnectState["Ko"] = -2] = "Ko";
ConnectState[ConnectState["UnknowSsid"] = -3] = "UnknowSsid";
})(ConnectState || (ConnectState = {}));
//# sourceMappingURL=definitions.js.map

@@ -7,2 +7,10 @@ 'use strict';

exports.ConnectState = void 0;
(function (ConnectState) {
ConnectState[ConnectState["Ok"] = 0] = "Ok";
ConnectState[ConnectState["Denied"] = -1] = "Denied";
ConnectState[ConnectState["Ko"] = -2] = "Ko";
ConnectState[ConnectState["UnknowSsid"] = -3] = "UnknowSsid";
})(exports.ConnectState || (exports.ConnectState = {}));
const CapacitorWifiConnect = core.registerPlugin('CapacitorWifiConnect', {

@@ -9,0 +17,0 @@ web: () => Promise.resolve().then(function () { return web; }).then(m => new m.CapacitorWifiConnectPluginWeb()),

var capacitorCapacitorWifiConnectPlugin = (function (exports, core) {
'use strict';
exports.ConnectState = void 0;
(function (ConnectState) {
ConnectState[ConnectState["Ok"] = 0] = "Ok";
ConnectState[ConnectState["Denied"] = -1] = "Denied";
ConnectState[ConnectState["Ko"] = -2] = "Ko";
ConnectState[ConnectState["UnknowSsid"] = -3] = "UnknowSsid";
})(exports.ConnectState || (exports.ConnectState = {}));
const CapacitorWifiConnect = core.registerPlugin('CapacitorWifiConnect', {

@@ -5,0 +13,0 @@ web: () => Promise.resolve().then(function () { return web; }).then(m => new m.CapacitorWifiConnectPluginWeb()),

{
"name": "@falconeta/capacitor-wifi-connect",
"version": "0.0.15",
"version": "0.0.16",
"description": "plugin used for connect the device trhought Wifi also with prefix",

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

@@ -44,2 +44,3 @@ # @falconeta/capacitor-wifi-connect

* [`securePrefixConnect(...)`](#secureprefixconnect)
* [Enums](#enums)

@@ -76,3 +77,3 @@ </docgen-index>

```typescript
connect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: number; }>
connect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>
```

@@ -84,3 +85,3 @@

**Returns:** <code>Promise&lt;{ value: number; }&gt;</code>
**Returns:** <code>Promise&lt;{ value: <a href="#connectstate">ConnectState</a>; }&gt;</code>

@@ -93,3 +94,3 @@ --------------------

```typescript
prefixConnect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: number; }>
prefixConnect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>
```

@@ -101,3 +102,3 @@

**Returns:** <code>Promise&lt;{ value: number; }&gt;</code>
**Returns:** <code>Promise&lt;{ value: <a href="#connectstate">ConnectState</a>; }&gt;</code>

@@ -110,3 +111,3 @@ --------------------

```typescript
secureConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: number; }>
secureConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>
```

@@ -118,3 +119,3 @@

**Returns:** <code>Promise&lt;{ value: number; }&gt;</code>
**Returns:** <code>Promise&lt;{ value: <a href="#connectstate">ConnectState</a>; }&gt;</code>

@@ -127,3 +128,3 @@ --------------------

```typescript
securePrefixConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: number; }>
securePrefixConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>
```

@@ -135,6 +136,19 @@

**Returns:** <code>Promise&lt;{ value: number; }&gt;</code>
**Returns:** <code>Promise&lt;{ value: <a href="#connectstate">ConnectState</a>; }&gt;</code>
--------------------
### Enums
#### ConnectState
| Members | Value |
| ---------------- | --------------- |
| **`Ok`** | <code>0</code> |
| **`Denied`** | <code>-1</code> |
| **`Ko`** | <code>-2</code> |
| **`UnknowSsid`** | <code>-3</code> |
</docgen-api>

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