datakeen-session-react 1.1.6 → 1.1.7
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/components/id-check/CameraError.d.ts +1 -1
- package/dist/components/id-check/CameraMask.d.ts +1 -1
- package/dist/components/id-check/OrientationToggle.d.ts +1 -1
- package/dist/components/id-check/PhotoConfirmation.d.ts +1 -1
- package/dist/components/id-check/PhotoProcessingLoader.d.ts +1 -1
- package/dist/components/session/EndFlow.d.ts +1 -1
- package/dist/components/session/SessionExpired.d.ts +1 -1
- package/dist/components/ui/OTPInput.d.ts +1 -1
- package/dist/components/ui/Paper.d.ts +1 -1
- package/dist/components/ui/SelectComponent.d.ts +1 -1
- package/dist/components/ui/SelectDrawer.d.ts +1 -1
- package/dist/context/DocumentContext.d.ts +2 -2
- package/dist/types/session.d.ts +1 -1
- package/package.json +1 -1
- package/vite.config.ts +7 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode } from '../../node_modules/react';
|
|
2
2
|
import { DrawerItem } from '../utils/jdiCountry';
|
|
3
3
|
type DocumentContextType = {
|
|
4
4
|
selectedDocumentType: DrawerItem | null;
|
|
5
5
|
setSelectedDocumentType: (documentType: DrawerItem | null) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const DocumentContext: import('react').Context<DocumentContextType>;
|
|
7
|
+
export declare const DocumentContext: import('../../node_modules/react').Context<DocumentContextType>;
|
|
8
8
|
interface DocumentProviderProps {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}
|
package/dist/types/session.d.ts
CHANGED
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -13,6 +13,13 @@ export default defineConfig({
|
|
|
13
13
|
insertTypesEntry: true,
|
|
14
14
|
}),
|
|
15
15
|
],
|
|
16
|
+
resolve: {
|
|
17
|
+
alias: {
|
|
18
|
+
// Force React and ReactDOM to resolve to the application's own versions
|
|
19
|
+
react: resolve(__dirname, 'node_modules/react'),
|
|
20
|
+
'react-dom': resolve(__dirname, 'node_modules/react-dom'),
|
|
21
|
+
},
|
|
22
|
+
},
|
|
16
23
|
build: {
|
|
17
24
|
lib: {
|
|
18
25
|
entry: resolve(__dirname, 'src/index.ts'),
|