nuki-api-js 3.0.1 → 3.0.3

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/dist/index.d.ts CHANGED
@@ -7255,6 +7255,7 @@ type Response = {
7255
7255
  type FetchImpl = (url: string, init?: RequestInit | undefined) => Promise<Response>;
7256
7256
 
7257
7257
  type FetcherConfig = {
7258
+ baseUrl?: string;
7258
7259
  token?: string | null;
7259
7260
  fetchImpl?: FetchImpl;
7260
7261
  headers?: Record<string, any>;
@@ -7268,7 +7269,7 @@ type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {
7268
7269
  queryParams?: TQueryParams | undefined;
7269
7270
  pathParams?: TPathParams | undefined;
7270
7271
  } & FetcherConfig;
7271
- declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParams>({ url, method, body, headers, pathParams, queryParams, signal, token, fetchImpl, }: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData>;
7272
+ declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParams>({ url, method, body, headers, pathParams, queryParams, signal, baseUrl, token, fetchImpl, }: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData>;
7272
7273
 
7273
7274
  /**
7274
7275
  * @summary Get an account