@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.
- package/CHANGELOG.md +6 -0
- package/dist/esm/configurator.js +1 -0
- package/dist/esm/configurator.js.map +1 -1
- package/dist/esm/errors/HttpJsonResponseError.js +1 -0
- package/dist/esm/errors/HttpJsonResponseError.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/configurator.d.ts +1 -0
- package/dist/types/errors/HttpJsonResponseError.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/configurator.ts +1 -0
- package/src/errors/HttpJsonResponseError.ts +1 -0
- package/src/version.ts +1 -1
|
@@ -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`.
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.0.
|
|
1
|
+
export declare const version = "8.0.5";
|
package/package.json
CHANGED
package/src/configurator.ts
CHANGED
|
@@ -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.
|
|
2
|
+
export const version = '8.0.5';
|