nuki-api-js 3.0.2 → 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/{components-dzxfxa30.d.ts → components-hmqkpsir.d.ts} +3 -2
- package/dist/components-hmqkpsir.d.ts.map +1 -0
- package/dist/{components-b80s6chi.d.ts → components-kkyy9prd.d.ts} +3 -2
- package/dist/components-kkyy9prd.d.ts.map +1 -0
- package/dist/components.cjs +4 -3
- package/dist/components.d.cts +1 -1
- package/dist/components.d.mts +1 -1
- package/dist/components.mjs +4 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components-b80s6chi.d.ts.map +0 -1
- package/dist/components-dzxfxa30.d.ts.map +0 -1
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
|