@acrool/react-fetcher 0.0.2-alpha.1 → 0.0.2-alpha.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.
@@ -7,15 +7,17 @@ interface IProps {
7
7
  children: React.ReactNode;
8
8
  i18nDict?: Record<string, Record<number, string>>;
9
9
  checkIsRefreshTokenRequest?: (config: InternalAxiosRequestConfig) => boolean;
10
- getLocale: () => string;
10
+ locale?: string;
11
11
  onError?: (error: IResponseFirstError) => void;
12
+ authorizationPrefix?: string;
13
+ isDebug?: boolean;
12
14
  }
13
15
  /**
14
16
  * Axios Client 提供者
15
17
  * @param children
16
18
  * @param authTokensManager
17
- * @param getLocale
19
+ * @param locale
18
20
  * @param onError
19
21
  */
20
- declare const FetcherProvider: ({ children, getLocale, onError, i18nDict, checkIsRefreshTokenRequest, }: IProps) => import("react/jsx-runtime").JSX.Element;
22
+ declare const FetcherProvider: ({ children, locale, onError, i18nDict, checkIsRefreshTokenRequest, authorizationPrefix, isDebug }: IProps) => import("react/jsx-runtime").JSX.Element;
21
23
  export default FetcherProvider;