You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ A number of REST Client classes are available to use and extend to create Client
36
36
Each of the REST Clients extends from the `NoAuthRestClient`, overriding the relevant methods. Exception is PlatformApiRestClient and PlatformApiLogicClient.
37
37
38
38
### NoAuthRestClient
39
-
[NoAuthRestClient](https://github.com/elasticio/component-commons-library/blob/master/lib/authentication/NoAuthRestClient.ts) class to make rest requests no no auth APIs by provided options.
39
+
[NoAuthRestClient](https://github.com/elasticio/component-commons-library/blob/master/src/authentication/NoAuthRestClient.ts) class to make rest requests no no auth APIs by provided options.
40
40
41
41
#### constructor(emitter, cfg)
42
42
- emitter - EIO emitting context.
@@ -80,7 +80,7 @@ class MyClient extends NoAuthRestClient {
class extends [BasicAuthRestClient](#BasicAuthRestClient) class.
148
148
The method inside this class checks for the status code 200, if not, then throws an error. And also checks that the response came with the correct data in the JSON format and the other expected response headers.
149
149
@@ -156,7 +156,7 @@ const Client = new PlatformApiRestClient(emitter, cfg);
class extends [PlatformApiRestClient](#PlatformApiRestClient) class.
161
161
Contains useful methods to manipulate flow's state to set it either to active running or to inactive stopped, searching flows, workspaces, credentials and more.
162
162
@@ -225,7 +225,7 @@ const result = await new AttachmentProcessor().getAttachment('http://example.com
225
225
```
226
226
227
227
## Logger
228
-
The built in logger uses Bunyan Logger as its base implementation. The available logger methods can be found [here](https://github.com/elasticio/component-commons-library/blob/master/lib/logger/logger.ts#L19).
228
+
The built in logger uses Bunyan Logger as its base implementation. The available logger methods can be found [here](https://github.com/elasticio/component-commons-library/blob/master/src/logger/logger.ts#L19).
0 commit comments