@wildix/wim-cache-client 1.0.0 → 1.0.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.
@@ -110,6 +110,8 @@ export type WimCacheClientConfigType = Partial<__SmithyConfiguration<__HttpHandl
110
110
  * The configuration interface of WimCacheClient class constructor that set the region, credentials and other options.
111
111
  */
112
112
  export interface WimCacheClientConfig extends WimCacheClientConfigType {
113
+ env: string;
114
+ token: TokenProvider;
113
115
  }
114
116
  /**
115
117
  * @public
@@ -122,10 +124,6 @@ export type WimCacheClientResolvedConfigType = __SmithyResolvedConfiguration<__H
122
124
  */
123
125
  export interface WimCacheClientResolvedConfig extends WimCacheClientResolvedConfigType {
124
126
  }
125
- export interface WmpApiClientConfig extends WimCacheClientConfigType {
126
- env: string;
127
- token: TokenProvider;
128
- }
129
127
  /**
130
128
  * @public
131
129
  */
@@ -134,7 +132,7 @@ export declare class WimCacheClient extends __Client<__HttpHandlerOptions, Servi
134
132
  * The resolved configuration of WimCacheClient class. This is resolved and normalized from the {@link WimCacheClientConfig | constructor configuration interface}.
135
133
  */
136
134
  readonly config: WimCacheClientResolvedConfig;
137
- constructor(...[configuration]: __CheckOptionalClientConfig<WmpApiClientConfig>);
135
+ constructor(...[configuration]: __CheckOptionalClientConfig<WimCacheClientConfig>);
138
136
  /**
139
137
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
140
138
  * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
+ env: string;
19
+ token: import("@wildix/smithy-utils").TokenProvider;
18
20
  apiVersion: string;
19
21
  urlParser: import("@smithy/types").UrlParser;
20
22
  base64Decoder: import("@smithy/types").Decoder;
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
+ env: string;
19
+ token: import("@wildix/smithy-utils").TokenProvider;
18
20
  apiVersion: string;
19
21
  urlParser: import("@smithy/types").UrlParser;
20
22
  base64Decoder: import("@smithy/types").Decoder;
@@ -5,6 +5,8 @@ import { WimCacheClientConfig } from "./WimCacheClient";
5
5
  export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
+ env: string;
9
+ token: import("@wildix/smithy-utils").TokenProvider;
8
10
  requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
11
  updateHttpClientConfig(key: never, value: never): void;
10
12
  httpHandlerConfigs(): {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-cache-client",
3
3
  "description": "@wildix/wim-cache-client client",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",