react-native-kalapa-ekyc 1.1.2 → 1.2.0

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/src/index.tsx CHANGED
@@ -1,4 +1,5 @@
1
1
  import { NativeModules } from 'react-native';
2
+ import KalapaResult from './KalapaResult';
2
3
 
3
4
  const { KalapaEkyc } = NativeModules;
4
5
 
@@ -23,7 +24,7 @@ interface KalapaResult {
23
24
  // Parse the result
24
25
  const parsedResult = JSON.parse(result.kalapa_result);
25
26
 
26
- // Return enhanced result with WebView capability
27
+ // Return enhanced result with parsed kalapa_result
27
28
  return {
28
29
  ...result,
29
30
  kalapa_result: parsedResult,
@@ -34,4 +35,6 @@ interface KalapaResult {
34
35
  }
35
36
  };
36
37
 
38
+ // Export both the main module and KalapaResult class
39
+ export { KalapaResult };
37
40
  export default ExtendedKalapaEkyc;
@@ -1 +0,0 @@
1
- export const presets: string[];
@@ -1,3 +0,0 @@
1
- export const __esModule: boolean;
2
- export default ExtendedKalapaEkyc;
3
- declare const ExtendedKalapaEkyc: any;
@@ -1,2 +0,0 @@
1
- export default ExtendedKalapaEkyc;
2
- declare const ExtendedKalapaEkyc: any;
@@ -1 +0,0 @@
1
- export {};
File without changes