api-core-lib 11.4.4 → 11.5.4

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.mts CHANGED
@@ -88,7 +88,6 @@ interface MiddlewareContext {
88
88
  req: InternalAxiosRequestConfig;
89
89
  res?: AxiosResponse;
90
90
  error?: any;
91
- logger: Logger;
92
91
  custom?: Record<string, any>;
93
92
  }
94
93
  /**
@@ -230,14 +229,12 @@ interface ApiClientConfig {
230
229
  /** A callback function executed if the token refresh process fails. */
231
230
  onRefreshError?: (error: any) => void;
232
231
  /** A custom logger instance. Defaults to the browser `console`. */
233
- logger?: Logger;
234
232
  /** An array of middleware functions to be executed with every request. */
235
233
  middleware?: Middleware[];
236
234
  /**
237
235
  * Sets the verbosity of the internal logger.
238
236
  * @default 'info'
239
237
  */
240
- logLevel?: LogLevel;
241
238
  /**
242
239
  * If true, all requests will be treated as public by default.
243
240
  * A request can override this by explicitly setting `isPublic: false`.
package/dist/index.d.ts CHANGED
@@ -88,7 +88,6 @@ interface MiddlewareContext {
88
88
  req: InternalAxiosRequestConfig;
89
89
  res?: AxiosResponse;
90
90
  error?: any;
91
- logger: Logger;
92
91
  custom?: Record<string, any>;
93
92
  }
94
93
  /**
@@ -230,14 +229,12 @@ interface ApiClientConfig {
230
229
  /** A callback function executed if the token refresh process fails. */
231
230
  onRefreshError?: (error: any) => void;
232
231
  /** A custom logger instance. Defaults to the browser `console`. */
233
- logger?: Logger;
234
232
  /** An array of middleware functions to be executed with every request. */
235
233
  middleware?: Middleware[];
236
234
  /**
237
235
  * Sets the verbosity of the internal logger.
238
236
  * @default 'info'
239
237
  */
240
- logLevel?: LogLevel;
241
238
  /**
242
239
  * If true, all requests will be treated as public by default.
243
240
  * A request can override this by explicitly setting `isPublic: false`.