@ancon/wildcat-utils 1.44.0-terminal-refactor.2 → 1.44.0-terminal-refactor.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.
@@ -1,10 +1,10 @@
1
1
  import type { APIHeaders, APIParams, APIPostRequest, APIPutRequest } from '@ancon/wildcat-types';
2
- import type { AxiosResponse } from 'axios';
2
+ import type { AxiosRequestConfig, AxiosResponse } from 'axios';
3
3
  import { HangfirePoller } from './createHangfirePoller';
4
4
  /**
5
5
  *
6
6
  * @param hangfirePoller `HangfirePoller` instance from `createHangfirePoller()`
7
7
  * @returns `makeHangfireRequest()` callback function
8
8
  */
9
- declare function createMakeHangfireRequest(hangfirePoller: HangfirePoller): <TData extends Record<string, any>, TParams extends APIParams>(request: APIPostRequest<unknown, TData, TParams> | APIPutRequest<unknown, TData, TParams>, data: TData, params: TParams, groupId: string, headers?: APIHeaders, axiosConfig?: Record<string, unknown>, onResponse?: () => void | Promise<void>) => Promise<AxiosResponse>;
9
+ declare function createMakeHangfireRequest(hangfirePoller: HangfirePoller): <TData extends Record<string, any>, TParams extends APIParams>(request: APIPostRequest<unknown, TData, TParams> | APIPutRequest<unknown, TData, TParams>, data: TData, params: TParams, groupId: string, headers?: APIHeaders, axiosConfig?: AxiosRequestConfig, onResponse?: () => void | Promise<void>) => Promise<AxiosResponse>;
10
10
  export default createMakeHangfireRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancon/wildcat-utils",
3
- "version": "1.44.0-terminal-refactor.2",
3
+ "version": "1.44.0-terminal-refactor.3",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",