Skip to content

Commit 55f34fb

Browse files
committed
Try fix electron
1 parent e249007 commit 55f34fb

18 files changed

+2047
-855
lines changed

Diff for: README.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
## API
2+
3+
<docgen-index>
4+
5+
* [`getIP()`](#getip)
6+
* [`getSSID()`](#getssid)
7+
* [`connect(...)`](#connect)
8+
* [`connectPrefix(...)`](#connectprefix)
9+
* [`disconnect()`](#disconnect)
10+
11+
</docgen-index>
12+
13+
<docgen-api>
14+
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
15+
16+
### getIP()
17+
18+
```typescript
19+
getIP() => Promise<{ ip: string | null; }>
20+
```
21+
22+
**Returns:** <code>Promise&lt;{ ip: string | null; }&gt;</code>
23+
24+
--------------------
25+
26+
27+
### getSSID()
28+
29+
```typescript
30+
getSSID() => Promise<{ ssid: string | null; }>
31+
```
32+
33+
**Returns:** <code>Promise&lt;{ ssid: string | null; }&gt;</code>
34+
35+
--------------------
36+
37+
38+
### connect(...)
39+
40+
```typescript
41+
connect(options: { ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }) => Promise<{ ssid: string | null; }>
42+
```
43+
44+
| Param | Type |
45+
| ------------- | --------------------------------------------------------------------------------------------- |
46+
| **`options`** | <code>{ ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }</code> |
47+
48+
**Returns:** <code>Promise&lt;{ ssid: string | null; }&gt;</code>
49+
50+
--------------------
51+
52+
53+
### connectPrefix(...)
54+
55+
```typescript
56+
connectPrefix(options: { ssid: string; password?: string; joinOnce?: boolean; }) => Promise<{ ssid: string | null; }>
57+
```
58+
59+
| Param | Type |
60+
| ------------- | --------------------------------------------------------------------- |
61+
| **`options`** | <code>{ ssid: string; password?: string; joinOnce?: boolean; }</code> |
62+
63+
**Returns:** <code>Promise&lt;{ ssid: string | null; }&gt;</code>
64+
65+
--------------------
66+
67+
68+
### disconnect()
69+
70+
```typescript
71+
disconnect() => Promise<void>
72+
```
73+
74+
--------------------
75+
76+
</docgen-api>

Diff for: dist/docs.json

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"api": {
3+
"name": "WifiPlugin",
4+
"slug": "wifiplugin",
5+
"docs": "",
6+
"tags": [],
7+
"methods": [
8+
{
9+
"name": "getIP",
10+
"signature": "() => Promise<{ ip: string | null; }>",
11+
"parameters": [],
12+
"returns": "Promise<{ ip: string | null; }>",
13+
"tags": [],
14+
"docs": "",
15+
"complexTypes": [],
16+
"slug": "getip"
17+
},
18+
{
19+
"name": "getSSID",
20+
"signature": "() => Promise<{ ssid: string | null; }>",
21+
"parameters": [],
22+
"returns": "Promise<{ ssid: string | null; }>",
23+
"tags": [],
24+
"docs": "",
25+
"complexTypes": [],
26+
"slug": "getssid"
27+
},
28+
{
29+
"name": "connect",
30+
"signature": "(options: { ssid: string; password?: string; joinOnce?: boolean; isHiddenSsid?: boolean; }) => Promise<{ ssid: string | null; }>",
31+
"parameters": [
32+
{
33+
"name": "options",
34+
"docs": "",
35+
"type": "{ ssid: string; password?: string | undefined; joinOnce?: boolean | undefined; isHiddenSsid?: boolean | undefined; }"
36+
}
37+
],
38+
"returns": "Promise<{ ssid: string | null; }>",
39+
"tags": [],
40+
"docs": "",
41+
"complexTypes": [],
42+
"slug": "connect"
43+
},
44+
{
45+
"name": "connectPrefix",
46+
"signature": "(options: { ssid: string; password?: string; joinOnce?: boolean; }) => Promise<{ ssid: string | null; }>",
47+
"parameters": [
48+
{
49+
"name": "options",
50+
"docs": "",
51+
"type": "{ ssid: string; password?: string | undefined; joinOnce?: boolean | undefined; }"
52+
}
53+
],
54+
"returns": "Promise<{ ssid: string | null; }>",
55+
"tags": [],
56+
"docs": "",
57+
"complexTypes": [],
58+
"slug": "connectprefix"
59+
},
60+
{
61+
"name": "disconnect",
62+
"signature": "() => Promise<void>",
63+
"parameters": [],
64+
"returns": "Promise<void>",
65+
"tags": [],
66+
"docs": "",
67+
"complexTypes": [],
68+
"slug": "disconnect"
69+
}
70+
],
71+
"properties": []
72+
},
73+
"interfaces": [],
74+
"enums": [],
75+
"typeAliases": [],
76+
"pluginConfigs": []
77+
}

Diff for: dist/esm/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/esm/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/plugin.cjs.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/plugin.cjs.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/plugin.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/plugin.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: electron/dist/plugin.js

+21-50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)