@eudiplo/sdk-core 3.1.2 → 4.0.0

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.
@@ -314,7 +314,7 @@ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
314
314
  * `setConfig()`. This is useful for example if you're using Next.js
315
315
  * to ensure your client always has the correct values.
316
316
  */
317
- type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
317
+ type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T> | Promise<Config<Required<ClientOptions> & T>>;
318
318
  interface TDataShape {
319
319
  body?: unknown;
320
320
  headers?: unknown;
@@ -314,7 +314,7 @@ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
314
314
  * `setConfig()`. This is useful for example if you're using Next.js
315
315
  * to ensure your client always has the correct values.
316
316
  */
317
- type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
317
+ type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T> | Promise<Config<Required<ClientOptions> & T>>;
318
318
  interface TDataShape {
319
319
  body?: unknown;
320
320
  headers?: unknown;