uapi-json 1.17.0 → 1.17.1
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/docs/Terminal.md
CHANGED
|
@@ -26,6 +26,8 @@ on how to use emulation.
|
|
|
26
26
|
In case you want to handle some specific errors from uAPI, you can provde `uapiErrorHandler` function
|
|
27
27
|
in options.
|
|
28
28
|
|
|
29
|
+
Function should return response from retried command or any other command.
|
|
30
|
+
|
|
29
31
|
Footprint of the functions should be as follows:
|
|
30
32
|
```javascript
|
|
31
33
|
async (
|
|
@@ -33,6 +35,8 @@ async (
|
|
|
33
35
|
{ command, error: err }
|
|
34
36
|
) => {
|
|
35
37
|
// your code goes here
|
|
38
|
+
// response is an array of strings (lines of terminal response)
|
|
39
|
+
return response;
|
|
36
40
|
}
|
|
37
41
|
```
|
|
38
42
|
|
package/package.json
CHANGED