@sanctum-key/react-native-sdk 1.0.6 → 1.0.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.
Files changed (206) hide show
  1. package/README.md +3 -3
  2. package/android/build/.transforms/{f62cb96b2d1f78ca96ab35932dd530dc → c9d62bb333688ab562f51958998d5a48}/transformed/classes/classes_dex/classes.dex +0 -0
  3. package/android/build/generated/source/buildConfig/debug/kyc/{transfergratis → SanctumKey}/com/BuildConfig.java +2 -2
  4. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +1 -1
  5. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +1 -1
  6. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  7. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  8. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -2
  9. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/kyc/SanctumKey/com/BuildConfig.class +0 -0
  10. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +1 -1
  11. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +1 -1
  12. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  13. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -1
  14. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  15. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  16. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  17. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  18. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  19. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  20. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  21. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  22. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  23. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  24. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  25. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  26. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  27. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  28. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  29. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  30. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  31. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  32. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  33. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  34. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  35. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  36. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  37. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  38. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  39. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  48. package/android/build/outputs/logs/manifest-merger-debug-report.txt +1 -1
  49. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  50. package/android/build/tmp/kotlin-classes/debug/kyc/SanctumKey/com/SanctumKeySdkModule$definition$1$5$1.class +0 -0
  51. package/android/build/tmp/kotlin-classes/debug/kyc/SanctumKey/com/SanctumKeySdkModule$definition$1$5$2.class +0 -0
  52. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class} +0 -0
  53. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class} +0 -0
  54. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class} +0 -0
  55. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class} +0 -0
  56. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class} +0 -0
  57. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class} +0 -0
  58. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class} +0 -0
  59. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class} +0 -0
  60. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class} +0 -0
  61. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class} +0 -0
  62. package/android/build/tmp/kotlin-classes/debug/kyc/SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
  63. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class} +0 -0
  64. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class → SanctumKey/com/SanctumKeySdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class} +0 -0
  65. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkModule.class → SanctumKey/com/SanctumKeySdkModule.class} +0 -0
  66. package/android/build/tmp/kotlin-classes/debug/kyc/{transfergratis/com/TransfergratisSdkView.class → SanctumKey/com/SanctumKeySdkView.class} +0 -0
  67. package/android/build.gradle +2 -2
  68. package/android/src/main/AndroidManifest.xml +1 -1
  69. package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkModule.kt +6 -6
  70. package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkView.kt +2 -2
  71. package/build/package.json +9 -7
  72. package/build/src/App.d.ts +2 -2
  73. package/build/src/App.d.ts.map +1 -1
  74. package/build/src/App.js +2 -2
  75. package/build/src/App.js.map +1 -1
  76. package/build/src/{TransfergratisSdk.types.d.ts → SanctumKeySdk.types.d.ts} +3 -3
  77. package/build/src/SanctumKeySdk.types.d.ts.map +1 -0
  78. package/build/src/SanctumKeySdk.types.js +2 -0
  79. package/build/src/SanctumKeySdk.types.js.map +1 -0
  80. package/build/src/{TransfergratisSdkModule.d.ts → SanctumKeySdkModule.d.ts} +4 -4
  81. package/build/src/SanctumKeySdkModule.d.ts.map +1 -0
  82. package/build/src/{TransfergratisSdkModule.js → SanctumKeySdkModule.js} +2 -2
  83. package/build/src/SanctumKeySdkModule.js.map +1 -0
  84. package/build/src/{TransfergratisSdkModule.web.d.ts → SanctumKeySdkModule.web.d.ts} +4 -4
  85. package/build/src/SanctumKeySdkModule.web.d.ts.map +1 -0
  86. package/build/src/{TransfergratisSdkModule.web.js → SanctumKeySdkModule.web.js} +3 -3
  87. package/build/src/SanctumKeySdkModule.web.js.map +1 -0
  88. package/build/src/SanctumKeySdkView.d.ts +4 -0
  89. package/build/src/SanctumKeySdkView.d.ts.map +1 -0
  90. package/build/src/SanctumKeySdkView.js +7 -0
  91. package/build/src/SanctumKeySdkView.js.map +1 -0
  92. package/build/src/SanctumKeySdkView.web.d.ts +4 -0
  93. package/build/src/SanctumKeySdkView.web.d.ts.map +1 -0
  94. package/build/src/{TransfergratisSdkView.web.js → SanctumKeySdkView.web.js} +2 -2
  95. package/build/src/SanctumKeySdkView.web.js.map +1 -0
  96. package/build/src/api/axios.js +2 -2
  97. package/build/src/api/axios.js.map +1 -1
  98. package/build/src/components/EnhancedCameraView.d.ts.map +1 -1
  99. package/build/src/components/EnhancedCameraView.js +66 -338
  100. package/build/src/components/EnhancedCameraView.js.map +1 -1
  101. package/build/src/components/KYCElements/EmailVerificationTemplate.d.ts.map +1 -1
  102. package/build/src/components/KYCElements/EmailVerificationTemplate.js +93 -15
  103. package/build/src/components/KYCElements/EmailVerificationTemplate.js.map +1 -1
  104. package/build/src/components/KYCElements/IDCardCapture.d.ts.map +1 -1
  105. package/build/src/components/KYCElements/IDCardCapture.js +167 -695
  106. package/build/src/components/KYCElements/IDCardCapture.js.map +1 -1
  107. package/build/src/components/KYCElements/PhoneVerificationTemplate.d.ts.map +1 -1
  108. package/build/src/components/KYCElements/PhoneVerificationTemplate.js +269 -40
  109. package/build/src/components/KYCElements/PhoneVerificationTemplate.js.map +1 -1
  110. package/build/src/components/KYCElements/SelfieCapture.d.ts +1 -1
  111. package/build/src/components/KYCElements/SelfieCapture.d.ts.map +1 -1
  112. package/build/src/components/KYCElements/SelfieCapture.js +130 -192
  113. package/build/src/components/KYCElements/SelfieCapture.js.map +1 -1
  114. package/build/src/components/KYCElements/SelfieCaptureTemplate.d.ts.map +1 -1
  115. package/build/src/components/KYCElements/SelfieCaptureTemplate.js +131 -433
  116. package/build/src/components/KYCElements/SelfieCaptureTemplate.js.map +1 -1
  117. package/build/src/components/NativeCameraView.js +1 -1
  118. package/build/src/components/NativeCameraView.js.map +1 -1
  119. package/build/src/components/OverLay/IdCard.d.ts +3 -2
  120. package/build/src/components/OverLay/IdCard.d.ts.map +1 -1
  121. package/build/src/components/OverLay/IdCard.js +149 -141
  122. package/build/src/components/OverLay/IdCard.js.map +1 -1
  123. package/build/src/components/OverLay/SelfieOverlay.d.ts +2 -1
  124. package/build/src/components/OverLay/SelfieOverlay.d.ts.map +1 -1
  125. package/build/src/components/OverLay/SelfieOverlay.js +37 -95
  126. package/build/src/components/OverLay/SelfieOverlay.js.map +1 -1
  127. package/build/src/components/OverLay/type.d.ts +1 -0
  128. package/build/src/components/OverLay/type.d.ts.map +1 -1
  129. package/build/src/components/OverLay/type.js.map +1 -1
  130. package/build/src/components/Svgs/scanningLine.d.ts +2 -1
  131. package/build/src/components/Svgs/scanningLine.d.ts.map +1 -1
  132. package/build/src/components/Svgs/scanningLine.js +55 -51
  133. package/build/src/components/Svgs/scanningLine.js.map +1 -1
  134. package/build/src/config/KYCConfig.js +1 -1
  135. package/build/src/config/KYCConfig.js.map +1 -1
  136. package/build/src/config/allowedDomains.js +6 -6
  137. package/build/src/config/allowedDomains.js.map +1 -1
  138. package/build/src/hooks/useTemplateKYCFlow.d.ts.map +1 -1
  139. package/build/src/hooks/useTemplateKYCFlow.js +37 -38
  140. package/build/src/hooks/useTemplateKYCFlow.js.map +1 -1
  141. package/build/src/index.d.ts +3 -3
  142. package/build/src/index.d.ts.map +1 -1
  143. package/build/src/index.js +3 -3
  144. package/build/src/index.js.map +1 -1
  145. package/build/src/modules/api/CardAuthentification.d.ts +0 -5
  146. package/build/src/modules/api/CardAuthentification.d.ts.map +1 -1
  147. package/build/src/modules/api/CardAuthentification.js +114 -116
  148. package/build/src/modules/api/CardAuthentification.js.map +1 -1
  149. package/build/src/modules/api/KYCService.d.ts +11 -1
  150. package/build/src/modules/api/KYCService.d.ts.map +1 -1
  151. package/build/src/modules/api/KYCService.js +101 -38
  152. package/build/src/modules/api/KYCService.js.map +1 -1
  153. package/build/src/modules/camera/NativeCameraModule.js +17 -17
  154. package/build/src/modules/camera/NativeCameraModule.js.map +1 -1
  155. package/expo-module.config.json +2 -2
  156. package/ios/TransfergratisSdk.podspec +2 -2
  157. package/ios/TransfergratisSdkModule.swift +12 -12
  158. package/package.json +9 -7
  159. package/src/App.tsx +2 -2
  160. package/src/{TransfergratisSdk.types.ts → SanctumKeySdk.types.ts} +2 -2
  161. package/src/{TransfergratisSdkModule.ts → SanctumKeySdkModule.ts} +3 -3
  162. package/src/{TransfergratisSdkModule.web.ts → SanctumKeySdkModule.web.ts} +3 -3
  163. package/src/SanctumKeySdkView.tsx +11 -0
  164. package/src/{TransfergratisSdkView.web.tsx → SanctumKeySdkView.web.tsx} +2 -2
  165. package/src/api/axios.ts +2 -2
  166. package/src/components/EnhancedCameraView.tsx +81 -400
  167. package/src/components/KYCElements/EmailVerificationTemplate.tsx +115 -26
  168. package/src/components/KYCElements/IDCardCapture.tsx +228 -868
  169. package/src/components/KYCElements/PhoneVerificationTemplate.tsx +328 -60
  170. package/src/components/KYCElements/SelfieCapture.tsx +184 -213
  171. package/src/components/KYCElements/SelfieCaptureTemplate.tsx +330 -662
  172. package/src/components/NativeCameraView.tsx +1 -1
  173. package/src/components/OverLay/IdCard.tsx +218 -217
  174. package/src/components/OverLay/SelfieOverlay.tsx +56 -134
  175. package/src/components/OverLay/type.ts +1 -0
  176. package/src/components/Svgs/scanningLine.tsx +71 -72
  177. package/src/config/KYCConfig.ts +1 -1
  178. package/src/config/allowedDomains.ts +6 -6
  179. package/src/hooks/useTemplateKYCFlow.tsx +45 -39
  180. package/src/i18n/README.md +1 -1
  181. package/src/index.ts +3 -3
  182. package/src/modules/api/CardAuthentification.ts +202 -200
  183. package/src/modules/api/KYCService.ts +168 -53
  184. package/src/modules/camera/NativeCameraModule.ts +17 -17
  185. package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
  186. package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
  187. package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
  188. package/build/src/TransfergratisSdk.types.d.ts.map +0 -1
  189. package/build/src/TransfergratisSdk.types.js +0 -2
  190. package/build/src/TransfergratisSdk.types.js.map +0 -1
  191. package/build/src/TransfergratisSdkModule.d.ts.map +0 -1
  192. package/build/src/TransfergratisSdkModule.js.map +0 -1
  193. package/build/src/TransfergratisSdkModule.web.d.ts.map +0 -1
  194. package/build/src/TransfergratisSdkModule.web.js.map +0 -1
  195. package/build/src/TransfergratisSdkView.d.ts +0 -4
  196. package/build/src/TransfergratisSdkView.d.ts.map +0 -1
  197. package/build/src/TransfergratisSdkView.js +0 -7
  198. package/build/src/TransfergratisSdkView.js.map +0 -1
  199. package/build/src/TransfergratisSdkView.web.d.ts +0 -4
  200. package/build/src/TransfergratisSdkView.web.d.ts.map +0 -1
  201. package/build/src/TransfergratisSdkView.web.js.map +0 -1
  202. package/src/TransfergratisSdkView.tsx +0 -11
  203. /package/android/build/.transforms/{532c0e65d82f446633d0a7dab2772198 → ab90740579f5bd05b27b4343ada2d1c9}/results.bin +0 -0
  204. /package/android/build/.transforms/{532c0e65d82f446633d0a7dab2772198 → ab90740579f5bd05b27b4343ada2d1c9}/transformed/classes/classes_dex/classes.dex +0 -0
  205. /package/android/build/.transforms/{f62cb96b2d1f78ca96ab35932dd530dc → c9d62bb333688ab562f51958998d5a48}/results.bin +0 -0
  206. /package/android/build/{intermediates/javac/debug/compileDebugJavaWithJavac/classes/kyc/transfergratis/com/BuildConfig.class → tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/BuildConfig.class.uniqueId0} +0 -0
package/README.md CHANGED
@@ -130,7 +130,7 @@ The recommended approach is to use the JSON template system to configure your KY
130
130
  ```tsx
131
131
  import React, { useState } from 'react';
132
132
  import { Alert, View, StyleSheet } from 'react-native';
133
- import { LaunchTransferGratisKYC, VerificationState } from '@sanctum-key/react-native-sdk';
133
+ import { LaunchSanctumKeyKYC, VerificationState } from '@sanctum-key/react-native-sdk';
134
134
 
135
135
  export default function App() {
136
136
  const [showKYC, setShowKYC] = useState(true);
@@ -139,7 +139,7 @@ export default function App() {
139
139
 
140
140
  return (
141
141
  <View style={styles.container}>
142
- <LaunchTransferGratisKYC
142
+ <LaunchSanctumKeyKYC
143
143
  onComplete={(data: VerificationState) => {
144
144
  Alert.alert('Success', 'KYC Verification Completed');
145
145
  setShowKYC(false);
@@ -263,7 +263,7 @@ This project is licensed under the **MIT License** — see the [LICENSE](./LICEN
263
263
 
264
264
  ## Support
265
265
 
266
- For support, email [support@transfergratis.com](mailto:support@sanctumkey.com) or open an issue on GitHub.
266
+ For support, email [support@SanctumKey.com](mailto:support@sanctumkey.com) or open an issue on GitHub.
267
267
 
268
268
 
269
269
  Built with ❤️ by the [Sanctum Key](https://service.sanctumkey.com) Team
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Automatically generated file. DO NOT MODIFY
3
3
  */
4
- package kyc.transfergratis.com;
4
+ package kyc.SanctumKey.com;
5
5
 
6
6
  public final class BuildConfig {
7
7
  public static final boolean DEBUG = Boolean.parseBoolean("true");
8
- public static final String LIBRARY_PACKAGE_NAME = "kyc.transfergratis.com";
8
+ public static final String LIBRARY_PACKAGE_NAME = "kyc.SanctumKey.com";
9
9
  public static final String BUILD_TYPE = "debug";
10
10
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  xmlns:tools="http://schemas.android.com/tools"
4
- package="kyc.transfergratis.com" >
4
+ package="kyc.SanctumKey.com" >
5
5
 
6
6
  <uses-sdk android:minSdkVersion="24" />
7
7
 
@@ -4,7 +4,7 @@
4
4
  "type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
5
5
  "kind": "Directory"
6
6
  },
7
- "applicationId": "kyc.transfergratis.com",
7
+ "applicationId": "kyc.SanctumKey.com",
8
8
  "variantName": "debug",
9
9
  "elements": [
10
10
  {
@@ -1,2 +1,2 @@
1
- #Tue Apr 14 11:07:33 EAT 2026
2
- kyc.transfergratis.com.sanctum-key-react-native-sdk-main-6\:/xml/file_paths.xml=/Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml
1
+ #Fri May 15 10:23:40 EAT 2026
2
+ kyc.SanctumKey.com.sanctum-key-react-native-sdk-main-6\:/xml/file_paths.xml=/Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml
@@ -1,7 +1,7 @@
1
1
  1<?xml version="1.0" encoding="utf-8"?>
2
2
  2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  3 xmlns:tools="http://schemas.android.com/tools"
4
- 4 package="kyc.transfergratis.com" >
4
+ 4 package="kyc.SanctumKey.com" >
5
5
  5
6
6
  6 <uses-sdk android:minSdkVersion="24" />
7
7
  7
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  xmlns:tools="http://schemas.android.com/tools"
4
- package="kyc.transfergratis.com" >
4
+ package="kyc.SanctumKey.com" >
5
5
 
6
6
  <uses-sdk android:minSdkVersion="24" />
7
7
 
@@ -1,2 +1,2 @@
1
- kyc.transfergratis.com
1
+ kyc.SanctumKey.com
2
2
  xml file_paths
@@ -3,7 +3,7 @@ manifest
3
3
  ADDED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml:2:1-49:12
4
4
  INJECTED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml:2:1-49:12
5
5
  package
6
- ADDED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml:4:5-37
6
+ ADDED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml:4:5-33
7
7
  INJECTED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml
8
8
  xmlns:tools
9
9
  ADDED from /Users/chengo/Desktop/Projects/KYC-User-Frontend/transfergratis-sdk/android/src/main/AndroidManifest.xml:3:5-51
@@ -1,6 +1,6 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
- group = 'kyc.transfergratis.com'
3
+ group = 'kyc.SanctumKey.com'
4
4
  version = '0.1.18'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -32,7 +32,7 @@ if (useManagedAndroidSdkVersions) {
32
32
  }
33
33
 
34
34
  android {
35
- namespace "kyc.transfergratis.com"
35
+ namespace "kyc.SanctumKey.com"
36
36
  defaultConfig {
37
37
  versionCode 1
38
38
  versionName "0.1.0"
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  xmlns:tools="http://schemas.android.com/tools"
4
- package="kyc.transfergratis.com">
4
+ package="kyc.SanctumKey.com">
5
5
 
6
6
  <!--
7
7
  Permissions nécessaires pour KYC:
@@ -1,4 +1,4 @@
1
- package kyc.transfergratis.com
1
+ package kyc.SanctumKey.com
2
2
 
3
3
  import android.Manifest
4
4
  import android.content.pm.PackageManager
@@ -8,12 +8,12 @@ import expo.modules.kotlin.modules.Module
8
8
  import expo.modules.kotlin.modules.ModuleDefinition
9
9
  import expo.modules.kotlin.Promise
10
10
 
11
- class TransfergratisSdkModule : Module() {
11
+ class SanctumKeySdkModule : Module() {
12
12
  private val CAMERA_PERMISSION_REQUEST = 100
13
13
  private var currentPhotoPath: String? = null
14
14
 
15
15
  override fun definition() = ModuleDefinition {
16
- Name("TransfergratisSdk")
16
+ Name("SanctumKeySdk")
17
17
 
18
18
  Constants(
19
19
  "PI" to Math.PI
@@ -114,12 +114,12 @@ class TransfergratisSdkModule : Module() {
114
114
 
115
115
 
116
116
  // Vue native pour la caméra avec instructions
117
- View(TransfergratisSdkView::class) {
118
- Prop("instructions") { view: TransfergratisSdkView, instructions: String ->
117
+ View(SanctumKeySdkView::class) {
118
+ Prop("instructions") { view: SanctumKeySdkView, instructions: String ->
119
119
  view.setInstructions(instructions)
120
120
  }
121
121
 
122
- Prop("showCamera") { view: TransfergratisSdkView, show: Boolean ->
122
+ Prop("showCamera") { view: SanctumKeySdkView, show: Boolean ->
123
123
  view.showCamera(show)
124
124
  }
125
125
 
@@ -1,4 +1,4 @@
1
- package kyc.transfergratis.com
1
+ package kyc.SanctumKey.com
2
2
 
3
3
  import android.content.Context
4
4
  import android.graphics.Color
@@ -13,7 +13,7 @@ import expo.modules.kotlin.AppContext
13
13
  import expo.modules.kotlin.viewevent.EventDispatcher
14
14
  import expo.modules.kotlin.views.ExpoView
15
15
 
16
- class TransfergratisSdkView(context: Context, appContext: AppContext) : ExpoView(context, appContext) {
16
+ class SanctumKeySdkView(context: Context, appContext: AppContext) : ExpoView(context, appContext) {
17
17
  private val onCapture by EventDispatcher()
18
18
  private val onError by EventDispatcher()
19
19
 
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@sanctum-key/react-native-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Sanctum Key React Native SDK",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "scripts": {
8
- "build": "expo-module build",
8
+ "build": "expo-module build && copyfiles -u 1 \"src/**/*.gif\" build/",
9
9
  "clean": "expo-module clean",
10
10
  "lint": "expo-module lint",
11
11
  "test": "expo-module test",
@@ -25,13 +25,13 @@
25
25
  "kyc",
26
26
  "identity-verification"
27
27
  ],
28
- "repository": "https://github.com/TransfergratisOrg/KYC-User-Frontend",
28
+ "repository": "https://github.com/SanctumKeyOrg/KYC-User-Frontend",
29
29
  "bugs": {
30
- "url": "https://github.com/TransfergratisOrg/KYC-User-Frontend/issues"
30
+ "url": "https://github.com/SanctumKeyOrg/KYC-User-Frontend/issues"
31
31
  },
32
- "author": "mesha-transfergratis <loic.lontchi@transfergratis.com> (https://github.com/mesha-transfergratis)",
32
+ "author": "mesha-SanctumKey <loic.lontchi@SanctumKey.com> (https://github.com/mesha-SanctumKey)",
33
33
  "license": "MIT",
34
- "homepage": "https://github.com/TransfergratisOrg/KYC-User-Frontend#readme",
34
+ "homepage": "https://github.com/SanctumKeyOrg/KYC-User-Frontend#readme",
35
35
  "files": [
36
36
  "build",
37
37
  "src",
@@ -48,20 +48,22 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "axios": "^1.11.0",
51
+ "expo-blur": "~15.0.8",
51
52
  "i18n-js": "4.5.1",
52
53
  "iconsax-react-nativejs": "^0.0.8",
53
54
  "zustand": "^5.0.8"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@types/react": "~19.1.0",
58
+ "copyfiles": "^2.4.1",
57
59
  "expo": "~54.0.0",
58
60
  "expo-module-scripts": "^4.1.10",
59
61
  "react-native": "0.81.5"
60
62
  },
61
63
  "peerDependencies": {
62
64
  "expo": "*",
63
- "expo-location": "*",
64
65
  "expo-image-manipulator": "*",
66
+ "expo-location": "*",
65
67
  "react": "*",
66
68
  "react-native": "*",
67
69
  "react-native-svg": "*",
@@ -1,3 +1,3 @@
1
- declare const LaunchTransferGratisKYC: () => import("react").JSX.Element;
2
- export default LaunchTransferGratisKYC;
1
+ declare const LaunchSanctumKeyKYC: () => import("react").JSX.Element;
2
+ export default LaunchSanctumKeyKYC;
3
3
  //# sourceMappingURL=App.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,uBAAuB,mCAE5B,CAAA;AAED,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,mBAAmB,mCAExB,CAAA;AAED,eAAe,mBAAmB,CAAC"}
package/build/src/App.js CHANGED
@@ -2,8 +2,8 @@ import CameraCaptureEx from "./components/example/CameraCaptureEx";
2
2
  // import SelfieCaptureEx from "./components/example/SelfieCaptureEx";
3
3
  // import { KYCExample } from "./components/KYCExample";
4
4
  // import { KYCFlow } from "./components/KYCFlow"
5
- const LaunchTransferGratisKYC = () => {
5
+ const LaunchSanctumKeyKYC = () => {
6
6
  return <CameraCaptureEx />;
7
7
  };
8
- export default LaunchTransferGratisKYC;
8
+ export default LaunchSanctumKeyKYC;
9
9
  //# sourceMappingURL=App.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,sCAAsC,CAAC;AACnE,sEAAsE;AACtE,wDAAwD;AACxD,iDAAiD;AACjD,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACjC,OAAO,CAAC,eAAe,CAAA,EAAE,CAAA;AAC7B,CAAC,CAAA;AAED,eAAe,uBAAuB,CAAC","sourcesContent":["import CameraCaptureEx from \"./components/example/CameraCaptureEx\";\n// import SelfieCaptureEx from \"./components/example/SelfieCaptureEx\";\n// import { KYCExample } from \"./components/KYCExample\";\n// import { KYCFlow } from \"./components/KYCFlow\"\nconst LaunchTransferGratisKYC = () =>{\n return <CameraCaptureEx/>\n}\n\nexport default LaunchTransferGratisKYC;"]}
1
+ {"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,sCAAsC,CAAC;AACnE,sEAAsE;AACtE,wDAAwD;AACxD,iDAAiD;AACjD,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAC7B,OAAO,CAAC,eAAe,CAAA,EAAE,CAAA;AAC7B,CAAC,CAAA;AAED,eAAe,mBAAmB,CAAC","sourcesContent":["import CameraCaptureEx from \"./components/example/CameraCaptureEx\";\n// import SelfieCaptureEx from \"./components/example/SelfieCaptureEx\";\n// import { KYCExample } from \"./components/KYCExample\";\n// import { KYCFlow } from \"./components/KYCFlow\"\nconst LaunchSanctumKeyKYC = () =>{\n return <CameraCaptureEx/>\n}\n\nexport default LaunchSanctumKeyKYC;"]}
@@ -11,12 +11,12 @@ export type FileSelectedEventPayload = {
11
11
  export type ErrorEventPayload = {
12
12
  message: string;
13
13
  };
14
- export type TransfergratisSdkModuleEvents = {
14
+ export type SanctumKeySdkModuleEvents = {
15
15
  onCameraCapture: (params: CameraCaptureEventPayload) => void;
16
16
  onFileSelected: (params: FileSelectedEventPayload) => void;
17
17
  onError: (params: ErrorEventPayload) => void;
18
18
  };
19
- export type TransfergratisSdkViewProps = {
19
+ export type SanctumKeySdkViewProps = {
20
20
  instructions: string;
21
21
  showCamera: boolean;
22
22
  onCapture?: (event: {
@@ -29,4 +29,4 @@ export type TransfergratisSdkViewProps = {
29
29
  }) => void;
30
30
  style?: StyleProp<ViewStyle>;
31
31
  };
32
- //# sourceMappingURL=TransfergratisSdk.types.d.ts.map
32
+ //# sourceMappingURL=SanctumKeySdk.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdk.types.d.ts","sourceRoot":"","sources":["../../src/SanctumKeySdk.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,eAAe,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC7D,cAAc,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC3D,OAAO,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE;YAAE,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,iBAAiB,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SanctumKeySdk.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdk.types.js","sourceRoot":"","sources":["../../src/SanctumKeySdk.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { StyleProp, ViewStyle } from 'react-native';\n\nexport type CameraCaptureEventPayload = {\n instructions?: string;\n status: 'opened' | 'captured';\n path?: string;\n};\n\nexport type FileSelectedEventPayload = {\n uri: string;\n path: string;\n};\n\nexport type ErrorEventPayload = {\n message: string;\n};\n\nexport type SanctumKeySdkModuleEvents = {\n onCameraCapture: (params: CameraCaptureEventPayload) => void;\n onFileSelected: (params: FileSelectedEventPayload) => void;\n onError: (params: ErrorEventPayload) => void;\n};\n\nexport type SanctumKeySdkViewProps = {\n instructions: string;\n showCamera: boolean;\n onCapture?: (event: { nativeEvent: { action: 'capture' | 'retake' } }) => void;\n onError?: (event: { nativeEvent: ErrorEventPayload }) => void;\n style?: StyleProp<ViewStyle>;\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { NativeModule } from 'expo';
2
- import { TransfergratisSdkModuleEvents } from './TransfergratisSdk.types';
3
- declare class TransfergratisSdkModule extends NativeModule<TransfergratisSdkModuleEvents> {
2
+ import { SanctumKeySdkModuleEvents } from './SanctumKeySdk.types';
3
+ declare class SanctumKeySdkModule extends NativeModule<SanctumKeySdkModuleEvents> {
4
4
  PI: number;
5
5
  testModule(): Promise<string>;
6
6
  requestCameraPermission(): Promise<boolean>;
@@ -16,6 +16,6 @@ declare class TransfergratisSdkModule extends NativeModule<TransfergratisSdkModu
16
16
  error?: string;
17
17
  }>;
18
18
  }
19
- declare const _default: TransfergratisSdkModule;
19
+ declare const _default: SanctumKeySdkModule;
20
20
  export default _default;
21
- //# sourceMappingURL=TransfergratisSdkModule.d.ts.map
21
+ //# sourceMappingURL=SanctumKeySdkModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkModule.d.ts","sourceRoot":"","sources":["../../src/SanctumKeySdkModule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,OAAO,mBAAoB,SAAQ,YAAY,CAAC,yBAAyB,CAAC;IAC/E,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAC7B,uBAAuB,IAAI,OAAO,CAAC,OAAO,CAAC;IAC3C,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9G,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnH;;AAGD,wBAAyE"}
@@ -1,4 +1,4 @@
1
1
  import { requireNativeModule } from 'expo-modules-core';
2
2
  // This call loads the native module object from the JSI.
3
- export default requireNativeModule('TransfergratisSdk');
4
- //# sourceMappingURL=TransfergratisSdkModule.js.map
3
+ export default requireNativeModule('SanctumKeySdk');
4
+ //# sourceMappingURL=SanctumKeySdkModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkModule.js","sourceRoot":"","sources":["../../src/SanctumKeySdkModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAcxD,yDAAyD;AACzD,eAAe,mBAAmB,CAAsB,eAAe,CAAC,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\nimport { NativeModule } from 'expo';\n\nimport { SanctumKeySdkModuleEvents } from './SanctumKeySdk.types';\n\ndeclare class SanctumKeySdkModule extends NativeModule<SanctumKeySdkModuleEvents> {\n PI: number;\n testModule(): Promise<string>;\n requestCameraPermission(): Promise<boolean>;\n openCameraWithInstructions(instructions: string): Promise<{ success: boolean; path?: string; error?: string }>;\n openFilePicker(allowedTypes: string[]): Promise<{ success: boolean; uri?: string; path?: string; error?: string }>;\n}\n\n// This call loads the native module object from the JSI.\nexport default requireNativeModule<SanctumKeySdkModule>('SanctumKeySdk');\n"]}
@@ -1,6 +1,6 @@
1
1
  import { NativeModule } from 'expo';
2
- import { TransfergratisSdkModuleEvents } from './TransfergratisSdk.types';
3
- declare class TransfergratisSdkModule extends NativeModule<TransfergratisSdkModuleEvents> {
2
+ import { SanctumKeySdkModuleEvents } from './SanctumKeySdk.types';
3
+ declare class SanctumKeySdkModule extends NativeModule<SanctumKeySdkModuleEvents> {
4
4
  PI: number;
5
5
  requestCameraPermission(): Promise<boolean>;
6
6
  openCameraWithInstructions(instructions: string): Promise<{
@@ -15,6 +15,6 @@ declare class TransfergratisSdkModule extends NativeModule<TransfergratisSdkModu
15
15
  error?: string;
16
16
  }>;
17
17
  }
18
- declare const _default: typeof TransfergratisSdkModule;
18
+ declare const _default: typeof SanctumKeySdkModule;
19
19
  export default _default;
20
- //# sourceMappingURL=TransfergratisSdkModule.web.d.ts.map
20
+ //# sourceMappingURL=SanctumKeySdkModule.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkModule.web.d.ts","sourceRoot":"","sources":["../../src/SanctumKeySdkModule.web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAElE,cAAM,mBAAoB,SAAQ,YAAY,CAAC,yBAAyB,CAAC;IACvE,EAAE,SAAW;IAEP,uBAAuB,IAAI,OAAO,CAAC,OAAO,CAAC;IAK3C,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAQ9G,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAOzH;;AAED,wBAA6E"}
@@ -1,6 +1,6 @@
1
1
  import { registerWebModule } from 'expo-modules-core';
2
2
  import { NativeModule } from 'expo';
3
- class TransfergratisSdkModule extends NativeModule {
3
+ class SanctumKeySdkModule extends NativeModule {
4
4
  PI = Math.PI;
5
5
  async requestCameraPermission() {
6
6
  console.warn('Camera permission not available on web');
@@ -21,5 +21,5 @@ class TransfergratisSdkModule extends NativeModule {
21
21
  };
22
22
  }
23
23
  }
24
- export default registerWebModule(TransfergratisSdkModule, 'TransfergratisSdkModule');
25
- //# sourceMappingURL=TransfergratisSdkModule.web.js.map
24
+ export default registerWebModule(SanctumKeySdkModule, 'SanctumKeySdkModule');
25
+ //# sourceMappingURL=SanctumKeySdkModule.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkModule.web.js","sourceRoot":"","sources":["../../src/SanctumKeySdkModule.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAIpC,MAAM,mBAAoB,SAAQ,YAAuC;IACvE,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;IAEb,KAAK,CAAC,uBAAuB;QAC3B,OAAO,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAC;QACvD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK,CAAC,0BAA0B,CAAC,YAAoB;QACnD,OAAO,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;QAC5C,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,sCAAsC;SAC9C,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,YAAsB;QACzC,OAAO,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QACjD,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,2CAA2C;SACnD,CAAC;IACJ,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC","sourcesContent":["import { registerWebModule } from 'expo-modules-core';\nimport { NativeModule } from 'expo';\n\nimport { SanctumKeySdkModuleEvents } from './SanctumKeySdk.types';\n\nclass SanctumKeySdkModule extends NativeModule<SanctumKeySdkModuleEvents> {\n PI = Math.PI;\n \n async requestCameraPermission(): Promise<boolean> {\n console.warn('Camera permission not available on web');\n return false;\n }\n \n async openCameraWithInstructions(instructions: string): Promise<{ success: boolean; path?: string; error?: string }> {\n console.warn('Camera not available on web');\n return {\n success: false,\n error: 'Camera not available on web platform'\n };\n }\n \n async openFilePicker(allowedTypes: string[]): Promise<{ success: boolean; uri?: string; path?: string; error?: string }> {\n console.warn('File picker not available on web');\n return {\n success: false,\n error: 'File picker not available on web platform'\n };\n }\n}\n\nexport default registerWebModule(SanctumKeySdkModule, 'SanctumKeySdkModule');\n"]}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { SanctumKeySdkViewProps } from './SanctumKeySdk.types';
3
+ export default function SanctumKeySdkView(props: SanctumKeySdkViewProps): React.JSX.Element;
4
+ //# sourceMappingURL=SanctumKeySdkView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkView.d.ts","sourceRoot":"","sources":["../../src/SanctumKeySdkView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAK/D,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAEtE"}
@@ -0,0 +1,7 @@
1
+ import { requireNativeView } from 'expo';
2
+ import * as React from 'react';
3
+ const NativeView = requireNativeView('SanctumKeySdk');
4
+ export default function SanctumKeySdkView(props) {
5
+ return <NativeView {...props}/>;
6
+ }
7
+ //# sourceMappingURL=SanctumKeySdkView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkView.js","sourceRoot":"","sources":["../../src/SanctumKeySdkView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,UAAU,GACd,iBAAiB,CAAC,eAAe,CAAC,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAA6B;IACrE,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACnC,CAAC","sourcesContent":["import { requireNativeView } from 'expo';\nimport * as React from 'react';\n\nimport { SanctumKeySdkViewProps } from './SanctumKeySdk.types';\n\nconst NativeView: React.ComponentType<SanctumKeySdkViewProps> =\n requireNativeView('SanctumKeySdk');\n\nexport default function SanctumKeySdkView(props: SanctumKeySdkViewProps) {\n return <NativeView {...props} />;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { SanctumKeySdkViewProps } from './SanctumKeySdk.types';
3
+ export default function SanctumKeySdkView(props: SanctumKeySdkViewProps): React.JSX.Element;
4
+ //# sourceMappingURL=SanctumKeySdkView.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkView.web.d.ts","sourceRoot":"","sources":["../../src/SanctumKeySdkView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAUtE"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export default function TransfergratisSdkView(props) {
2
+ export default function SanctumKeySdkView(props) {
3
3
  return (<div>
4
4
  {/* <iframe
5
5
  style={{ flex: 1 }}
@@ -8,4 +8,4 @@ export default function TransfergratisSdkView(props) {
8
8
  /> */}
9
9
  </div>);
10
10
  }
11
- //# sourceMappingURL=TransfergratisSdkView.web.js.map
11
+ //# sourceMappingURL=SanctumKeySdkView.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SanctumKeySdkView.web.js","sourceRoot":"","sources":["../../src/SanctumKeySdkView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAA6B;IACrE,OAAO,CACL,CAAC,GAAG,CACF;MAAA,CAAC;;;;aAII,CACP;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC","sourcesContent":["import * as React from 'react';\n\nimport { SanctumKeySdkViewProps } from './SanctumKeySdk.types';\n\nexport default function SanctumKeySdkView(props: SanctumKeySdkViewProps) {\n return (\n <div>\n {/* <iframe\n style={{ flex: 1 }}\n src={props.url}\n onLoad={() => props.onLoad({ nativeEvent: { url: props.url } })}\n /> */}\n </div>\n );\n}\n"]}