capacitor-tcp-socket
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -189,5 +189,5 @@ { | ||
"tags": [], | ||
"docs": "timeout in seconds.\n\nonly ios supports timeout.", | ||
"docs": "timeout in seconds.\n\ndefault: 10\n\nonly ios supports timeout.", | ||
"complexTypes": [], | ||
"type": "number" | ||
"type": "number | undefined" | ||
} | ||
@@ -194,0 +194,0 @@ ] |
@@ -24,5 +24,7 @@ export interface TcpSocketPlugin { | ||
* | ||
* default: 10 | ||
* | ||
* only ios supports timeout. | ||
*/ | ||
timeout: number; | ||
timeout?: number; | ||
} | ||
@@ -29,0 +31,0 @@ export interface ReadResult { |
{ | ||
"name": "capacitor-tcp-socket", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "A TCP Socket Plugin for capacitor", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -122,7 +122,7 @@ # capacitor-tcp-socket | ||
| Prop | Type | Description | | ||
| --------------- | ------------------- | ---------------------------------------------- | | ||
| **`client`** | <code>number</code> | | | ||
| **`expectLen`** | <code>number</code> | | | ||
| **`timeout`** | <code>number</code> | timeout in seconds. only ios supports timeout. | | ||
| Prop | Type | Description | | ||
| --------------- | ------------------- | ---------------------------------------------------------- | | ||
| **`client`** | <code>number</code> | | | ||
| **`expectLen`** | <code>number</code> | | | ||
| **`timeout`** | <code>number</code> | timeout in seconds. default: 10 only ios supports timeout. | | ||
@@ -129,0 +129,0 @@ |
Sorry, the diff of this file is not supported yet
35551
518