@authing/guard-shim-react18 4.5.40-alpha.0 → 4.5.40-alpha.10

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.
@@ -14,8 +14,8 @@ export declare const isEdgeBrowser: () => boolean;
14
14
  export declare const isWeiboBrowser: () => boolean | null;
15
15
  export declare const isAlipayBrowser: () => boolean | null;
16
16
  export declare const isBaiduBrowser: () => boolean | null;
17
- export declare const isWeComeBrowser: () => boolean;
18
- export declare const isMobile: () => RegExpMatchArray | null;
17
+ export declare const isWeComeBrowser: () => boolean | null;
18
+ export declare const isMobile: () => RegExpMatchArray | null | undefined;
19
19
  export declare const isWebview: () => boolean | null;
20
20
  export declare const isLenovoNetdisk: () => boolean | null;
21
21
  export declare const computeIsSpecialBrowser: (specialBrowserSymbol?: string[]) => boolean;
@@ -1,7 +1,7 @@
1
1
  import { CodeAction } from './responseManagement/interface';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
  export declare const requestClient: {
4
- (input: URL | RequestInfo, init?: RequestInit | undefined): Promise<any>;
4
+ (input: string | URL | Request, init?: RequestInit | undefined): Promise<any>;
5
5
  get<T>(path: string, query?: Record<string, any>, init?: AxiosRequestConfig): Promise<AuthingResponse<T>>;
6
6
  post<T_1>(path: string, data: any, config?: {
7
7
  headers: any;
@@ -6,4 +6,5 @@ export interface InitGuardI18nOptions {
6
6
  }
7
7
  export declare const fallbackLng: (code?: string) => string[];
8
8
  export declare const initGuardI18n: (options: InitGuardI18nOptions, callback: React.Dispatch<React.SetStateAction<boolean>>) => Promise<void>;
9
+ export declare const resolvedLanguage: string;
9
10
  export { i18n };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.40-alpha.0",
3
+ "version": "4.5.40-alpha.10",
4
4
  "description": "Guard shim for react 18, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",