@captureid/capacitor-cidprint 5.0.14 → 5.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -208,12 +208,12 @@ connectToPreferredPrinter(options: { mac: string; }) => void
|
|
|
208
208
|
### connectToPreferredPrinter(...)
|
|
209
209
|
|
|
210
210
|
```typescript
|
|
211
|
-
connectToPreferredPrinter(options: { mac: string; autoreconnect: boolean; }) => void
|
|
211
|
+
connectToPreferredPrinter(options: { mac: string; autoreconnect: boolean; timeout: number; }) => void
|
|
212
212
|
```
|
|
213
213
|
|
|
214
|
-
| Param | Type
|
|
215
|
-
| ------------- |
|
|
216
|
-
| **`options`** | <code>{ mac: string; autoreconnect: boolean; }</code> |
|
|
214
|
+
| Param | Type |
|
|
215
|
+
| ------------- | ---------------------------------------------------------------------- |
|
|
216
|
+
| **`options`** | <code>{ mac: string; autoreconnect: boolean; timeout: number; }</code> |
|
|
217
217
|
|
|
218
218
|
--------------------
|
|
219
219
|
|
|
@@ -234,12 +234,12 @@ connectToPrinter(options: { address: string; }) => void
|
|
|
234
234
|
### connectToPrinter(...)
|
|
235
235
|
|
|
236
236
|
```typescript
|
|
237
|
-
connectToPrinter(options: { address: string; autoreconnect: boolean; }) => void
|
|
237
|
+
connectToPrinter(options: { address: string; autoreconnect: boolean; timeout: number; }) => void
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
| Param | Type
|
|
241
|
-
| ------------- |
|
|
242
|
-
| **`options`** | <code>{ address: string; autoreconnect: boolean; }</code> |
|
|
240
|
+
| Param | Type |
|
|
241
|
+
| ------------- | -------------------------------------------------------------------------- |
|
|
242
|
+
| **`options`** | <code>{ address: string; autoreconnect: boolean; timeout: number; }</code> |
|
|
243
243
|
|
|
244
244
|
--------------------
|
|
245
245
|
|
|
Binary file
|
package/dist/docs.json
CHANGED
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "connectToPreferredPrinter",
|
|
54
|
-
"signature": "(options: { mac: string; autoreconnect: boolean; }) => void",
|
|
54
|
+
"signature": "(options: { mac: string; autoreconnect: boolean; timeout: number; }) => void",
|
|
55
55
|
"parameters": [
|
|
56
56
|
{
|
|
57
57
|
"name": "options",
|
|
58
58
|
"docs": "",
|
|
59
|
-
"type": "{ mac: string; autoreconnect: boolean; }"
|
|
59
|
+
"type": "{ mac: string; autoreconnect: boolean; timeout: number; }"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"returns": "void",
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"name": "connectToPrinter",
|
|
86
|
-
"signature": "(options: { address: string; autoreconnect: boolean; }) => void",
|
|
86
|
+
"signature": "(options: { address: string; autoreconnect: boolean; timeout: number; }) => void",
|
|
87
87
|
"parameters": [
|
|
88
88
|
{
|
|
89
89
|
"name": "options",
|
|
90
90
|
"docs": "",
|
|
91
|
-
"type": "{ address: string; autoreconnect: boolean; }"
|
|
91
|
+
"type": "{ address: string; autoreconnect: boolean; timeout: number; }"
|
|
92
92
|
}
|
|
93
93
|
],
|
|
94
94
|
"returns": "void",
|
|
@@ -15,6 +15,7 @@ export interface CIDPrintPlugin {
|
|
|
15
15
|
connectToPreferredPrinter(options: {
|
|
16
16
|
mac: string;
|
|
17
17
|
autoreconnect: boolean;
|
|
18
|
+
timeout: number;
|
|
18
19
|
}): void;
|
|
19
20
|
connectToPrinter(options: {
|
|
20
21
|
address: string;
|
|
@@ -22,6 +23,7 @@ export interface CIDPrintPlugin {
|
|
|
22
23
|
connectToPrinter(options: {
|
|
23
24
|
address: string;
|
|
24
25
|
autoreconnect: boolean;
|
|
26
|
+
timeout: number;
|
|
25
27
|
}): void;
|
|
26
28
|
connectToPrinter(options: {
|
|
27
29
|
address: string;
|