assentify-sdk-react-native 1.0.0-Beta.21 → 1.0.0-Beta.23

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.
Files changed (60) hide show
  1. package/Package.swift +172 -0
  2. package/README.md +11 -32
  3. package/android/build.gradle +1 -6
  4. package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +8 -5
  5. package/android/src/main/java/com/assentifysdk/FlowActivity.kt +5 -5
  6. package/ios/AssentifySdkBaseModule.swift +1 -0
  7. package/ios/NativeAssentifySdk.mm +2 -1
  8. package/ios/NativeAssentifySdk.swift +18 -13
  9. package/ios/UIComponents/RNPassportScanner.swift +4 -3
  10. package/ios/View/AssentifySdkEventEmitting.swift +10 -0
  11. package/ios/View/DataDecoder.swift +16 -16
  12. package/ios/View/FaceMatchController.swift +51 -51
  13. package/ios/View/IDCardController.swift +37 -37
  14. package/ios/View/OtherController.swift +33 -33
  15. package/ios/View/PassportController.swift +36 -36
  16. package/ios/View/QrController.swift +10 -10
  17. package/ios/View/UI.swift +77 -26
  18. package/lib/commonjs/AssentifyProvider.js +3 -0
  19. package/lib/commonjs/AssentifyProvider.js.map +1 -1
  20. package/lib/commonjs/AssentifyWrapper.js +4 -4
  21. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  22. package/lib/commonjs/Language.js +5 -1
  23. package/lib/commonjs/Language.js.map +1 -1
  24. package/lib/module/AssentifyProvider.js +4 -0
  25. package/lib/module/AssentifyProvider.js.map +1 -1
  26. package/lib/module/AssentifyWrapper.js +4 -4
  27. package/lib/module/AssentifyWrapper.js.map +1 -1
  28. package/lib/module/Language.js +4 -0
  29. package/lib/module/Language.js.map +1 -1
  30. package/lib/typescript/babel.config.d.ts +0 -1
  31. package/lib/typescript/example/babel.config.d.ts +7 -4
  32. package/lib/typescript/example/babel.config.d.ts.map +1 -1
  33. package/lib/typescript/example/metro.config.d.ts +9 -1
  34. package/lib/typescript/example/metro.config.d.ts.map +1 -1
  35. package/lib/typescript/example/react-native.config.d.ts +5 -2
  36. package/lib/typescript/example/react-native.config.d.ts.map +1 -1
  37. package/lib/typescript/example/src/App.d.ts.map +1 -1
  38. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  39. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts.map +1 -1
  40. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +2 -2
  41. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  42. package/lib/typescript/lib/commonjs/Language.d.ts +6 -0
  43. package/lib/typescript/lib/module/AssentifyProvider.d.ts.map +1 -1
  44. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +2 -2
  45. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  46. package/lib/typescript/lib/module/Language.d.ts +6 -0
  47. package/lib/typescript/lib/module/index.d.ts +2 -2
  48. package/lib/typescript/src/AssentifyProvider.d.ts.map +1 -1
  49. package/lib/typescript/src/AssentifyWrapper.d.ts +3 -2
  50. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  51. package/lib/typescript/src/Language.d.ts +5 -0
  52. package/lib/typescript/src/Language.d.ts.map +1 -1
  53. package/lib/typescript/src/index.d.ts +2 -2
  54. package/package.json +9 -8
  55. package/src/AssentifyProvider.tsx +341 -305
  56. package/src/AssentifyWrapper.ts +7 -4
  57. package/src/Language.ts +7 -0
  58. package/assentify-sdk.podspec +0 -44
  59. package/lib/typescript/example/src/navigator.d.ts +0 -4
  60. package/lib/typescript/example/src/navigator.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "1.0.0-Beta.21",
3
+ "version": "1.0.0-Beta.23",
4
4
  "description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -13,7 +13,7 @@
13
13
  "android",
14
14
  "ios",
15
15
  "cpp",
16
- "*.podspec",
16
+ "Package.swift",
17
17
  "!ios/build",
18
18
  "!android/build",
19
19
  "!android/gradle",
@@ -72,7 +72,7 @@
72
72
  "jest": "^29.7.0",
73
73
  "prettier": "^3.0.3",
74
74
  "react": "19.2.3",
75
- "react-native": "0.84.1",
75
+ "react-native": "^0.86.2",
76
76
  "react-native-builder-bob": "^0.20.0",
77
77
  "react-native-gesture-handler": "^2.16.2",
78
78
  "react-native-safe-area-context": "^4.10.4",
@@ -86,9 +86,9 @@
86
86
  },
87
87
  "peerDependencies": {
88
88
  "@gorhom/bottom-sheet": "^4",
89
- "@react-native/babel-preset": "0.84.1",
90
- "@react-native/metro-config": "0.84.1",
91
- "@react-native/typescript-config": "0.84.1",
89
+ "@react-native/babel-preset": "^0.86.0",
90
+ "@react-native/metro-config": "^0.86.0",
91
+ "@react-native/typescript-config": "^0.86.0",
92
92
  "@react-navigation/native": ">=6.0.0 <8.0.0",
93
93
  "@react-navigation/native-stack": ">=6.0.0 <8.0.0",
94
94
  "react": "*",
@@ -97,7 +97,7 @@
97
97
  "react-native-reanimated": "^4.2.2",
98
98
  "react-native-safe-area-context": ">= 3.0.0",
99
99
  "react-native-screens": "^4.18.0",
100
- "react-native-worklets": "^0.7.0"
100
+ "react-native-worklets": "0.10.x - 0.11.x"
101
101
  },
102
102
  "workspaces": [
103
103
  "example"
@@ -176,7 +176,8 @@
176
176
  [
177
177
  "typescript",
178
178
  {
179
- "esm": true
179
+ "esm": true,
180
+ "tsc": "./node_modules/.bin/tsc"
180
181
  }
181
182
  ]
182
183
  ]