@twin.org/logging-rest-client 0.0.1-next.10 → 0.0.1-next.12

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.
@@ -46,7 +46,6 @@ class LoggingClient extends apiCore.BaseRestClient {
46
46
  * @param pageSize The maximum number of entities in a page.
47
47
  * @returns All the entities for the storage matching the conditions,
48
48
  * and a cursor which can be used to request more entities.
49
- * @throws NotImplementedError if the implementation does not support retrieval.
50
49
  */
51
50
  async query(level, source, timeStart, timeEnd, cursor, pageSize) {
52
51
  const response = await this.fetch("/", "GET", {
@@ -44,7 +44,6 @@ class LoggingClient extends BaseRestClient {
44
44
  * @param pageSize The maximum number of entities in a page.
45
45
  * @returns All the entities for the storage matching the conditions,
46
46
  * and a cursor which can be used to request more entities.
47
- * @throws NotImplementedError if the implementation does not support retrieval.
48
47
  */
49
48
  async query(level, source, timeStart, timeEnd, cursor, pageSize) {
50
49
  const response = await this.fetch("/", "GET", {
@@ -30,7 +30,6 @@ export declare class LoggingClient extends BaseRestClient implements ILoggingCom
30
30
  * @param pageSize The maximum number of entities in a page.
31
31
  * @returns All the entities for the storage matching the conditions,
32
32
  * and a cursor which can be used to request more entities.
33
- * @throws NotImplementedError if the implementation does not support retrieval.
34
33
  */
35
34
  query(level?: LogLevel, source?: string, timeStart?: number, timeEnd?: number, cursor?: string, pageSize?: number): Promise<{
36
35
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/logging-rest-client - Changelog
2
2
 
3
- ## v0.0.1-next.10
3
+ ## v0.0.1-next.12
4
4
 
5
5
  - Initial Release
@@ -125,10 +125,6 @@ The maximum number of entities in a page.
125
125
  All the entities for the storage matching the conditions,
126
126
  and a cursor which can be used to request more entities.
127
127
 
128
- #### Throws
129
-
130
- NotImplementedError if the implementation does not support retrieval.
131
-
132
128
  #### Implementation of
133
129
 
134
130
  `ILoggingComponent.query`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/logging-rest-client",
3
- "version": "0.0.1-next.10",
3
+ "version": "0.0.1-next.12",
4
4
  "description": "Logging contract implementation which can connect to REST endpoints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "@twin.org/api-models": "next",
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/entity": "next",
21
- "@twin.org/logging-models": "0.0.1-next.10",
21
+ "@twin.org/logging-models": "0.0.1-next.12",
22
22
  "@twin.org/nameof": "next"
23
23
  },
24
24
  "main": "./dist/cjs/index.cjs",