@getpara/react-sdk 1.4.1 → 1.4.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.
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -36,6 +36,7 @@ interface ModalState {
36
36
  biometricLocationHints: BiometricLocationHint[] | undefined;
37
37
  iFrameUrl: string | undefined;
38
38
  isIFrameReady: boolean | undefined;
39
+ authStepRoute: ModalStep | undefined;
39
40
  refs: {
40
41
  popupWindow: MutableRefObject<Window>;
41
42
  poll: MutableRefObject<{
@@ -71,6 +72,7 @@ export interface ModalActions {
71
72
  setBiometricLocationHints: (_?: BiometricLocationHint[]) => void;
72
73
  setIFrameUrl: (_?: string) => void;
73
74
  setIsIFrameReady: (_?: boolean) => void;
75
+ setAuthStepRoute: (_?: ModalStep) => void;
74
76
  }
75
77
  export type ModalStore = ModalState & ModalActions;
76
78
  export declare const DEFAULT_MODAL_STATE: Omit<ModalState, 'step' | 'onRampConfig'>;
@@ -1,4 +1,5 @@
1
+ import ParaWeb from '@getpara/web-sdk';
1
2
  /**
2
3
  * Hook for retrieving the Para client
3
4
  */
4
- export declare const useClient: () => import("@getpara/web-sdk").ParaWeb;
5
+ export declare const useClient: () => ParaWeb | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/react-sdk",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,12 +12,11 @@
12
12
  "*.css"
13
13
  ],
14
14
  "dependencies": {
15
- "@getpara/react-common": "1.4.1",
16
- "@getpara/react-components": "1.4.1",
17
- "@getpara/web-sdk": "1.4.1",
15
+ "@getpara/react-common": "1.4.3",
16
+ "@getpara/react-components": "1.4.3",
17
+ "@getpara/web-sdk": "1.4.3",
18
18
  "@tanstack/react-query": "^5.0.0",
19
19
  "date-fns": "^3.6.0",
20
- "detect-browser": "^5.3.0",
21
20
  "framer-motion": "11.3.28",
22
21
  "libphonenumber-js": "^1.11.1",
23
22
  "styled-components": "^6.1.8",
@@ -50,5 +49,5 @@
50
49
  "resolutions": {
51
50
  "styled-components": "^6"
52
51
  },
53
- "gitHead": "9a5c5bbfac988416397562e5f56d12c063db6862"
52
+ "gitHead": "1af7abd51e994057ff4afc90bd13650a47f6b26e"
54
53
  }
@@ -1 +0,0 @@
1
- export declare const isPasskeySupported: () => boolean;