@equinor/fusion-framework-module-http 8.0.4 → 8.0.5

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.
@@ -116,6 +116,7 @@ export interface IHttpClientConfigurator<TClient extends IHttpClient = IHttpClie
116
116
  }
117
117
  /** @inheritdoc */
118
118
  export declare class HttpClientConfigurator<TClient extends IHttpClient> implements IHttpClientConfigurator<TClient> {
119
+ /** Named client configurations keyed by client name. */
119
120
  protected _clients: Record<string, HttpClientOptions<TClient>>;
120
121
  /**
121
122
  * Gets a shallow clone of all named client configurations.
@@ -8,6 +8,7 @@ import { HttpResponseError } from './HttpResponseError.js';
8
8
  */
9
9
  export declare class HttpJsonResponseError<TType = unknown, TResponse = Response> extends HttpResponseError<TResponse> {
10
10
  static Name: string;
11
+ /** The parsed JSON data associated with the error response, if any. */
11
12
  readonly data?: TType;
12
13
  /**
13
14
  * Creates a new instance of `HttpJsonResponseError`.
@@ -1 +1 @@
1
- export declare const version = "8.0.4";
1
+ export declare const version = "8.0.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-http",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -153,6 +153,7 @@ export interface IHttpClientConfigurator<TClient extends IHttpClient = IHttpClie
153
153
  export class HttpClientConfigurator<TClient extends IHttpClient>
154
154
  implements IHttpClientConfigurator<TClient>
155
155
  {
156
+ /** Named client configurations keyed by client name. */
156
157
  protected _clients: Record<string, HttpClientOptions<TClient>> = {};
157
158
 
158
159
  /**
@@ -12,6 +12,7 @@ export class HttpJsonResponseError<
12
12
  TResponse = Response,
13
13
  > extends HttpResponseError<TResponse> {
14
14
  static Name = 'HttpJsonResponseError';
15
+ /** The parsed JSON data associated with the error response, if any. */
15
16
  public readonly data?: TType;
16
17
 
17
18
  /**
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '8.0.4';
2
+ export const version = '8.0.5';