@putkoff/abstract-utilities 0.1.106 → 0.1.108

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.
@@ -9,7 +9,7 @@
9
9
  /** Pulls base-URL from AppConfig.API_BASE_URL, strips trailing slashes */
10
10
  export declare function get_app_config_url(endpoint: any): string;
11
11
  export declare function fetchIt(endpoint: string, body?: unknown, method?: string | null, headers?: Record<string, string> | null, blob?: boolean | null, no_api?: boolean, requireAuth?: boolean): Promise<unknown>;
12
- export declare function secureFetchIt<T>(endpoint: string, body?: unknown, method?: string, headers?: Record<string, string> | null, blob?: false, noApi?: boolean, requireAuth?: boolean): Promise<T>;
12
+ export declare function secureFetchIt<T>(endpoint: string, body?: unknown, method?: string, headers?: Record<string, string> | null, blob?: false, noApi?: boolean, withCredentials?: boolean, returnJson?: boolean, returnReult?: boolean): Promise<T>;
13
13
  export declare function secureFetchIt(endpoint: string, body?: unknown, method?: string, headers?: Record<string, string> | null, blob?: boolean, noApi?: boolean, withCredentials?: boolean, returnJson?: boolean, returnReult?: boolean): Promise<Blob>;
14
14
  export declare function requestPatch(url: string, body?: unknown): Promise<Response>;
15
15
  export declare function fetchSharePatch(file: unknown): Promise<void>;
@@ -2,5 +2,3 @@ import React from 'react';
2
2
  export declare const useState: typeof React.useState, useEffect: typeof React.useEffect, useCallback: typeof React.useCallback;
3
3
  export { fetchIt } from './../fetch_utils';
4
4
  export { currentUsername, isTokenExpired, getToken } from './../auth_utils';
5
- export { uploadFile, downloadFile } from './../../file_utils';
6
- export { useFiles } from './../../hooks/useFiles';
@@ -1,4 +1,2 @@
1
- export * from './file_utils';
2
1
  export * from './functions';
3
- export * from './hooks';
4
2
  export * from './types';