jclib-ui 1.1.2 → 1.1.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.
@@ -21,7 +21,7 @@ export type GlobalApiConfig = {
21
21
  /** envia cookies de sessão nas requisições (APIs que usam cookie HttpOnly) */
22
22
  withCredentials?: boolean;
23
23
  getToken: () => string;
24
- setToken: (token: string) => void;
24
+ setToken?: (token: string) => void;
25
25
  afterRequest: (res: AxiosResponse) => void;
26
26
  };
27
27
  export declare function createApiConfig(obj?: GlobalApiConfig): GlobalApiConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jclib-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "dependencies": {