ingeniuscliq-core 0.2.38 → 0.2.40

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,8 +1,10 @@
1
- export declare const api: import('axios').AxiosInstance;
2
- export declare const initAxiosConfigs: (baseURL?: string) => void;
1
+ import { AxiosInstance } from 'axios';
2
+ declare let api: AxiosInstance;
3
+ export declare const initAxiosConfigs: (baseURL: string) => void;
3
4
  /**
4
5
  * Ensures the CSRF token is fetched once per session
5
6
  * Use this function before making API calls that require CSRF protection
6
7
  * @returns {Promise} A promise that resolves when the CSRF token is ready
7
8
  */
8
- export declare const ensureCsrfToken: (baseURL?: string) => Promise<boolean>;
9
+ export declare const ensureCsrfToken: (baseURL: string) => Promise<boolean>;
10
+ export { api };