@dynatrace-sdk/client-query 1.5.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  @dynatrace-sdk/client-query
4
4
 
5
+ ## 1.5.1
6
+
7
+ ### Patch Changes
8
+
9
+ - Update JSDoc examples.
10
+
5
11
  ## 1.5.0
6
12
 
7
13
  ### Minor Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @dynatrace-sdk/client-query
2
2
 
3
- [![npm](https://img.shields.io/badge/npm-v1.5.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.5.0)
3
+ [![npm](https://img.shields.io/badge/npm-v1.5.1-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.5.1)
4
4
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5
5
 
6
6
  Exposes an API to fetch records stored in Grail
package/docs/DOCS.md CHANGED
@@ -17,7 +17,7 @@ import NpmLogo from '@site/static/img/npm-logo.png';
17
17
  </a>
18
18
  </div>
19
19
  <div class="col" style={{textAlign: 'right'}}>
20
- <a href="https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.5.0">v1.5.0</a>
20
+ <a href="https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.5.1">v1.5.1</a>
21
21
  </div>
22
22
  </div>
23
23
 
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "dynagen": {
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "generatedAt": "",
5
5
  "template": {
6
6
  "name": "@dynatrace-sdk/template-typescript-client",
7
- "version": "0.17.10"
7
+ "version": "0.17.13"
8
8
  },
9
9
  "featureFlags": {
10
10
  "typeguards": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-query",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Exposes an API to fetch records stored in Grail.",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -13,7 +13,7 @@ export declare class QueryAssistanceClient {
13
13
  /**
14
14
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a QueryAssistanceClient. Custom http client should implement {HttpClient} interface.
15
15
  * @example
16
- * const queryClientNodeJs = new QueryClient(yourCustomImplementation);
16
+ * const queryAssistanceClientNodeJs = new QueryAssistanceClient(yourCustomImplementation);
17
17
  */
18
18
  constructor(httpClientImplementation: HttpClient);
19
19
  /**
@@ -10,7 +10,7 @@ export declare class QueryExecutionClient {
10
10
  /**
11
11
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a QueryExecutionClient. Custom http client should implement {HttpClient} interface.
12
12
  * @example
13
- * const queryClientNodeJs = new QueryClient(yourCustomImplementation);
13
+ * const queryExecutionClientNodeJs = new QueryExecutionClient(yourCustomImplementation);
14
14
  */
15
15
  constructor(httpClientImplementation: HttpClient);
16
16
  /**
@@ -4,5 +4,8 @@ import { BaseError } from './base-error';
4
4
  export declare class HttpClientResponseError extends BaseError implements types.HttpClientResponseError {
5
5
  readonly name = "ResponseError";
6
6
  readonly response: HttpClientResponse;
7
- constructor(response: Response);
7
+ readonly requestMethod?: string;
8
+ constructor(response: Response, data?: {
9
+ requestMethod?: string;
10
+ });
8
11
  }
@@ -8,4 +8,6 @@ export interface CommonSerializedError {
8
8
  stack?: string;
9
9
  type: ErrorType.COMMON;
10
10
  errorRef?: string;
11
+ cause?: any;
12
+ details?: any;
11
13
  }
@@ -8,6 +8,9 @@ export interface HttpSerializedError {
8
8
  stack?: string;
9
9
  type: ErrorType.HTTP;
10
10
  status: number;
11
+ /** @deprecated */
11
12
  body?: unknown;
12
13
  errorRef?: string;
14
+ cause?: any;
15
+ details?: any;
13
16
  }