@frankieone/one-sdk 1.7.2-rc → 1.7.3-rc

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 (339) hide show
  1. package/dist/commit.txt +1 -1
  2. package/dist/esm/modules/biometrics/definition.d.ts +3 -3
  3. package/dist/esm/modules/biometrics/events.d.ts +2 -2
  4. package/dist/esm/modules/biometrics/index.d.ts +1 -1
  5. package/dist/esm/modules/biometrics/index.d.ts.map +1 -1
  6. package/dist/esm/modules/biometrics/index.js +12 -6
  7. package/dist/esm/modules/biometrics/index.js.map +1 -1
  8. package/dist/esm/modules/biometrics/parseConfiguration.d.ts +1 -1
  9. package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts +3 -3
  10. package/dist/esm/modules/biometrics/vendors/OcrLabs/index.d.ts +2 -2
  11. package/dist/esm/modules/biometrics/vendors/Onfido/index.d.ts +5 -5
  12. package/dist/esm/modules/biometrics/vendors/common/createSession.d.ts +4 -4
  13. package/dist/esm/modules/biometrics/vendors/common/errors.d.ts +3 -3
  14. package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts +4 -4
  15. package/dist/esm/modules/biometrics/vendors/dummy-biometrics/index.d.ts +2 -2
  16. package/dist/esm/modules/business/actions/emitEvents.d.ts +2 -2
  17. package/dist/esm/modules/business/actions/search.d.ts +3 -3
  18. package/dist/esm/modules/business/actions/upload.d.ts +4 -4
  19. package/dist/esm/modules/business/definition.d.ts +4 -4
  20. package/dist/esm/modules/business/events.d.ts +1 -1
  21. package/dist/esm/modules/common/modules/HOF.d.ts +1 -1
  22. package/dist/esm/modules/common/modules/ReactiveStore.d.ts +1 -1
  23. package/dist/esm/modules/common/modules/defineModule.d.ts +1 -1
  24. package/dist/esm/modules/common/modules/error.d.ts +1 -1
  25. package/dist/esm/modules/common/modules/eventHub/index.d.ts.map +1 -1
  26. package/dist/esm/modules/common/modules/eventHub/index.js +14 -6
  27. package/dist/esm/modules/common/modules/eventHub/index.js.map +1 -1
  28. package/dist/esm/modules/common/modules/eventHub/types.d.ts +2 -2
  29. package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts +1 -1
  30. package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts.map +1 -1
  31. package/dist/esm/modules/common/modules/eventHub/windowEventHub.js +4 -2
  32. package/dist/esm/modules/common/modules/eventHub/windowEventHub.js.map +1 -1
  33. package/dist/esm/modules/common/modules/objectUtils.d.ts +1 -1
  34. package/dist/esm/modules/common/modules/vendorLoading.d.ts +4 -4
  35. package/dist/esm/modules/common/shared/models/DeviceCheck.d.ts +1 -1
  36. package/dist/esm/modules/common/shared/models/UBOData.d.ts +3 -3
  37. package/dist/esm/modules/common/types/Accessors.d.ts +1 -1
  38. package/dist/esm/modules/common/types/oneSDKModules/baseParameters.types.d.ts +6 -6
  39. package/dist/esm/modules/common/types/oneSDKModules/contextObject.d.ts +1 -1
  40. package/dist/esm/modules/common/types/oneSDKModules/definition.types.d.ts +2 -2
  41. package/dist/esm/modules/common/types/oneSDKModules/initialiseFunction.d.ts +2 -2
  42. package/dist/esm/modules/common/types/oneSDKModules/typeSystem.types.d.ts +1 -1
  43. package/dist/esm/modules/common/types/oneSDKVendorWrappers/initialiseFunction.d.ts +1 -1
  44. package/dist/esm/modules/common/types/recipeConfiguration.types.d.ts +5 -5
  45. package/dist/esm/modules/common/vendors/form/promisifyForm.d.ts +2 -2
  46. package/dist/esm/modules/common/vendors/form/useForm.d.ts +4 -4
  47. package/dist/esm/modules/common/vendors/incode/createEventHandlers.d.ts +4 -4
  48. package/dist/esm/modules/common/vendors/incode/index.d.ts +1 -1
  49. package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +3 -3
  50. package/dist/esm/modules/common/vendors/onfido/index.d.ts +3 -3
  51. package/dist/esm/modules/common/vendors/onfido/onfido.types.d.ts +1 -1
  52. package/dist/esm/modules/config/modules.d.ts +18 -18
  53. package/dist/esm/modules/device/definition.d.ts +2 -2
  54. package/dist/esm/modules/device/events.d.ts +1 -1
  55. package/dist/esm/modules/device/index.d.ts +4 -4
  56. package/dist/esm/modules/device/index.d.ts.map +1 -1
  57. package/dist/esm/modules/device/index.js +19 -16
  58. package/dist/esm/modules/device/index.js.map +1 -1
  59. package/dist/esm/modules/device/parseConfiguration.d.ts +1 -1
  60. package/dist/esm/modules/device/vendors/Sardine.d.ts +6 -6
  61. package/dist/esm/modules/device/vendors/Threatmetrix/index.d.ts +4 -4
  62. package/dist/esm/modules/exports.d.ts +1 -1
  63. package/dist/esm/modules/features.config.d.ts +1 -1
  64. package/dist/esm/modules/federation/definition.d.ts +2 -2
  65. package/dist/esm/modules/federation/index.d.ts +2 -2
  66. package/dist/esm/modules/federation/index.d.ts.map +1 -1
  67. package/dist/esm/modules/federation/index.js +15 -14
  68. package/dist/esm/modules/federation/index.js.map +1 -1
  69. package/dist/esm/modules/federation/parseConfiguration.d.ts +1 -1
  70. package/dist/esm/modules/federation/vendors/Singpass.d.ts +5 -5
  71. package/dist/esm/modules/form/definition.d.ts +7 -7
  72. package/dist/esm/modules/form/events.d.ts +3 -3
  73. package/dist/esm/modules/form/index.d.ts.map +1 -1
  74. package/dist/esm/modules/form/index.js +5 -3
  75. package/dist/esm/modules/form/index.js.map +1 -1
  76. package/dist/esm/modules/form/validateConfiguration.d.ts +1 -1
  77. package/dist/esm/modules/form/vendors/formio/formioSdk.d.ts +1 -1
  78. package/dist/esm/modules/form/vendors/formio/index.d.ts +3 -3
  79. package/dist/esm/modules/form/vendors/formio/transformers/assignFormioDataToIndividualModule.d.ts +1 -1
  80. package/dist/esm/modules/form/vendors/formio/transformers/assignIndividualDataToFormioSdk.d.ts +1 -1
  81. package/dist/esm/modules/form/vendors/legacy/index.d.ts +5 -5
  82. package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts +5 -5
  83. package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.d.ts +3 -3
  84. package/dist/esm/modules/form/vendors/react/App.d.ts +2 -2
  85. package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +2 -2
  86. package/dist/esm/modules/form/vendors/react/components/base/SharedInput/Input.d.ts +1 -1
  87. package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js +2 -2
  88. package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js.map +1 -1
  89. package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js +2 -2
  90. package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js.map +1 -1
  91. package/dist/esm/modules/form/vendors/react/components/view/FrankieFormMapper/FrankieFormMapper.d.ts +1 -1
  92. package/dist/esm/modules/form/vendors/react/constants/icons.d.ts +62 -62
  93. package/dist/esm/modules/form/vendors/react/constants/icons.d.ts.map +1 -1
  94. package/dist/esm/modules/form/vendors/react/constants/icons.js +74 -62
  95. package/dist/esm/modules/form/vendors/react/constants/icons.js.map +1 -1
  96. package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts +7 -7
  97. package/dist/esm/modules/form/vendors/react/constants/staticScreenMapper.const.d.ts +3 -3
  98. package/dist/esm/modules/form/vendors/react/features/Consent/hostedBusinessConsent.config.d.ts +1 -1
  99. package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Main.d.ts +1 -1
  100. package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Progress.d.ts +1 -1
  101. package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Review.d.ts +1 -1
  102. package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/index.d.ts +1 -1
  103. package/dist/esm/modules/form/vendors/react/features/IdPreps/driversLicense.config.d.ts +1 -1
  104. package/dist/esm/modules/form/vendors/react/features/IdPreps/mediCare.config.d.ts +1 -1
  105. package/dist/esm/modules/form/vendors/react/features/IdPreps/passport.config.d.ts +1 -1
  106. package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.config.d.ts +6 -6
  107. package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.const.d.ts +4 -4
  108. package/dist/esm/modules/form/vendors/react/features/IdSelection/manualIdSelection.config.d.ts +47 -47
  109. package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js +1 -1
  110. package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js.map +1 -1
  111. package/dist/esm/modules/form/vendors/react/features/PersonalDetails/personalDetails.config.d.ts +392 -392
  112. package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js +1 -1
  113. package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js.map +1 -1
  114. package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts +1 -1
  115. package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts +4 -4
  116. package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts +1 -1
  117. package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js +1 -1
  118. package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js.map +1 -1
  119. package/dist/esm/modules/form/vendors/react/hooks/useEventContext.d.ts +3 -3
  120. package/dist/esm/modules/form/vendors/react/hooks/useFormMapper.hook.d.ts +526 -526
  121. package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js +1 -1
  122. package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js.map +1 -1
  123. package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.d.ts +1 -1
  124. package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js +1 -1
  125. package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js.map +1 -1
  126. package/dist/esm/modules/form/vendors/react/hooks/useReviewUpdateFactory.hook.d.ts +6 -6
  127. package/dist/esm/modules/form/vendors/react/index.d.ts +4 -4
  128. package/dist/esm/modules/form/vendors/react/model/address.model.d.ts +2 -2
  129. package/dist/esm/modules/form/vendors/react/model/googleAddress.model.d.ts +1 -1
  130. package/dist/esm/modules/form/vendors/react/model/idDetails.model.d.ts +1 -1
  131. package/dist/esm/modules/form/vendors/react/model/personalDetails.model.d.ts +1 -1
  132. package/dist/esm/modules/form/vendors/react/model/review.model.d.ts +2 -2
  133. package/dist/esm/modules/form/vendors/react/types/pages.type.d.ts +1 -1
  134. package/dist/esm/modules/form/vendors/react/utils/layout.util.d.ts +1 -1
  135. package/dist/esm/modules/form/vendors/react/utils/object.util.d.ts +2 -2
  136. package/dist/esm/modules/frankie-client/ClientsDictionary.d.ts +1 -1
  137. package/dist/esm/modules/frankie-client/DummyFrankieApiClient.d.ts +1 -1
  138. package/dist/esm/modules/frankie-client/FrankieApiClient.d.ts +2 -2
  139. package/dist/esm/modules/frankie-client/clients/ApplicantClient.d.ts +4 -4
  140. package/dist/esm/modules/frankie-client/clients/BusinessClient.d.ts +1 -1
  141. package/dist/esm/modules/frankie-client/clients/FederationClient.d.ts +1 -1
  142. package/dist/esm/modules/frankie-client/clients/IDVClient.d.ts +2 -2
  143. package/dist/esm/modules/frankie-client/clients/OCRClient.d.ts +1 -1
  144. package/dist/esm/modules/frankie-client/clients/SupportingDocumentsClient.d.ts +3 -3
  145. package/dist/esm/modules/frankie-client/clients/TelemetryEventsClient.d.ts +1 -1
  146. package/dist/esm/modules/frankie-client/index.d.ts +1 -1
  147. package/dist/esm/modules/frankie-client/mocks/federation/index.d.ts +1 -1
  148. package/dist/esm/modules/frankie-client/mocks/idvAndBiometrics/idvSubmission.d.ts +4 -4
  149. package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +1 -1
  150. package/dist/esm/modules/frankie-client/mocks/individual/resolveDocumentData.d.ts +2 -2
  151. package/dist/esm/modules/frankie-client/mocks/individual/resolveIndividualData.d.ts +3 -3
  152. package/dist/esm/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +1 -1
  153. package/dist/esm/modules/frankie-client/mocks/options/simplified/idvFlow.d.ts +4 -4
  154. package/dist/esm/modules/frankie-client/mocks/options/simplified/ocrFlow.d.ts +4 -4
  155. package/dist/esm/modules/frankie-client/mocks/options/simplified/preloadedIndividual.d.ts +5 -5
  156. package/dist/esm/modules/frankie-client/mocks/storage/mockStorage.d.ts +1 -1
  157. package/dist/esm/modules/idv/actions/mount.d.ts +3 -3
  158. package/dist/esm/modules/idv/definition.types.d.ts +8 -8
  159. package/dist/esm/modules/idv/events.types.d.ts +5 -5
  160. package/dist/esm/modules/idv/index.d.ts.map +1 -1
  161. package/dist/esm/modules/idv/index.js +9 -5
  162. package/dist/esm/modules/idv/index.js.map +1 -1
  163. package/dist/esm/modules/idv/parseConfiguration.d.ts +1 -1
  164. package/dist/esm/modules/idv/vendors/Incode/index.d.ts +5 -5
  165. package/dist/esm/modules/idv/vendors/Mastercard/index.d.ts +2 -2
  166. package/dist/esm/modules/idv/vendors/OcrLabs/endFlow.d.ts +4 -4
  167. package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts +3 -3
  168. package/dist/esm/modules/idv/vendors/OcrLabs/startDummyFlow.d.ts +2 -2
  169. package/dist/esm/modules/idv/vendors/OcrLabs/startFlow.d.ts +2 -2
  170. package/dist/esm/modules/idv/vendors/Onfido/index.d.ts +4 -4
  171. package/dist/esm/modules/idv/vendors/common/checkStatusEventMapping.d.ts +3 -3
  172. package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.d.ts +2 -2
  173. package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframeEventListener.d.ts +1 -1
  174. package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +7 -7
  175. package/dist/esm/modules/idv/vendors/common/iframeUtils/updateIndividualModuleState.d.ts +3 -3
  176. package/dist/esm/modules/idv/vendors/common/initialiseSession.d.ts +4 -4
  177. package/dist/esm/modules/idv/vendors/common/windowUtils/createWindow.d.ts +1 -1
  178. package/dist/esm/modules/index.d.ts +4 -4
  179. package/dist/esm/modules/individual/actions/addReference.d.ts +3 -3
  180. package/dist/esm/modules/individual/actions/addresses.d.ts +2 -2
  181. package/dist/esm/modules/individual/actions/consents.d.ts +1 -1
  182. package/dist/esm/modules/individual/actions/documents.d.ts +2 -2
  183. package/dist/esm/modules/individual/actions/email.d.ts +2 -2
  184. package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
  185. package/dist/esm/modules/individual/actions/phoneNumber.d.ts +2 -2
  186. package/dist/esm/modules/individual/actions/profileType.d.ts +2 -2
  187. package/dist/esm/modules/individual/actions/search.d.ts +3 -3
  188. package/dist/esm/modules/individual/actions/submit.d.ts +5 -5
  189. package/dist/esm/modules/individual/definition.d.ts +8 -8
  190. package/dist/esm/modules/individual/events.d.ts +1 -1
  191. package/dist/esm/modules/meta.json +1 -1
  192. package/dist/esm/modules/ocr/actions/mount.d.ts +4 -4
  193. package/dist/esm/modules/ocr/actions/start.d.ts +7 -7
  194. package/dist/esm/modules/ocr/definition.d.ts +5 -5
  195. package/dist/esm/modules/ocr/events.d.ts +2 -2
  196. package/dist/esm/modules/ocr/index.d.ts +11 -11
  197. package/dist/esm/modules/ocr/index.d.ts.map +1 -1
  198. package/dist/esm/modules/ocr/index.js +6 -3
  199. package/dist/esm/modules/ocr/index.js.map +1 -1
  200. package/dist/esm/modules/ocr/vendors/Incode/index.d.ts +3 -3
  201. package/dist/esm/modules/ocr/vendors/Onfido/index.d.ts +2 -2
  202. package/dist/esm/modules/ocr/vendors/common/createSession.d.ts +4 -4
  203. package/dist/esm/modules/ocr/vendors/common/initProcess.d.ts +2 -2
  204. package/dist/esm/modules/ocr/vendors/common/mutationObserver.d.ts +2 -2
  205. package/dist/esm/modules/ocr/vendors/common/statusEvaluators.d.ts +5 -5
  206. package/dist/esm/modules/ocr/vendors/dummy-ocr/index.d.ts +3 -3
  207. package/dist/esm/modules/sdk/initialisation/componentLoader.d.ts +2 -2
  208. package/dist/esm/modules/sdk/initialisation/configurationParser.d.ts +1 -1
  209. package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts +4 -4
  210. package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts.map +1 -1
  211. package/dist/esm/modules/sdk/initialisation/sharedDependencies.js +20 -8
  212. package/dist/esm/modules/sdk/initialisation/sharedDependencies.js.map +1 -1
  213. package/dist/esm/modules/sdk/types/globalEvents.d.ts +2 -2
  214. package/dist/esm/modules/sdk/types/oneSDK.d.ts +5 -5
  215. package/dist/esm/modules/sdk/types/oneSDKParameters.d.ts +2 -2
  216. package/dist/esm/modules/session/SessionContext.d.ts +1 -1
  217. package/dist/esm/modules/session/definition.d.ts +3 -3
  218. package/dist/esm/modules/session/index.d.ts +5 -5
  219. package/dist/esm/modules/session/index.d.ts.map +1 -1
  220. package/dist/esm/modules/session/index.js +24 -16
  221. package/dist/esm/modules/session/index.js.map +1 -1
  222. package/dist/esm/modules/session/types/module.d.ts +1 -1
  223. package/dist/esm/modules/types.d.ts +13 -13
  224. package/dist/esm/modules/workflow/definition.types.d.ts +1 -1
  225. package/dist/esm/modules/workflow/index.d.ts +1 -1
  226. package/dist/version.txt +0 -1
  227. package/package.json +8 -5
  228. package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -6
  229. package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts.map +0 -1
  230. package/dist/umd/080b774e0f4f9c679e85.svg +0 -45
  231. package/dist/umd/0c9574c81d7d87e9ccd3.svg +0 -34
  232. package/dist/umd/0cd8e74f8a68e0b1ae14.svg +0 -3
  233. package/dist/umd/10183d99573bcd186235.svg +0 -5
  234. package/dist/umd/124.js +0 -2
  235. package/dist/umd/124.js.map +0 -1
  236. package/dist/umd/1c9c1ef03c6dd661b89b.woff +0 -0
  237. package/dist/umd/1df3f35eac93c61986b1.svg +0 -60
  238. package/dist/umd/1f76ff5e84787152adc5.svg +0 -50
  239. package/dist/umd/2451ce2859277292a2a3.svg +0 -4
  240. package/dist/umd/24c67c1821feba22f3f7.svg +0 -5
  241. package/dist/umd/2546128ef2e2d56276b7.svg +0 -5
  242. package/dist/umd/26a8e1ce5e5578874420.woff2 +0 -0
  243. package/dist/umd/2f32844e02839dd608a4.svg +0 -4
  244. package/dist/umd/329d07fd3f40d3967c81.svg +0 -4
  245. package/dist/umd/32cb4eea6ca1acb9f788.svg +0 -45
  246. package/dist/umd/3443b53b9b1a00c340f7.svg +0 -27
  247. package/dist/umd/34fe2370aa5e73787795.svg +0 -30
  248. package/dist/umd/36ddfb506829cb8cde72.svg +0 -113
  249. package/dist/umd/396cc7cc5e61acfa8fc8.svg +0 -15
  250. package/dist/umd/3a660ff8435efa515e98.svg +0 -4
  251. package/dist/umd/3b687e48c6bb765ed976.svg +0 -5
  252. package/dist/umd/3d245ccf2dde73ceca07.svg +0 -114
  253. package/dist/umd/42caa2dd6b4f0de68157.svg +0 -51
  254. package/dist/umd/463e54e898297e314139.svg +0 -81
  255. package/dist/umd/4ac349963383ebda508b.svg +0 -50
  256. package/dist/umd/4db0db393dfe2f9f90c1.svg +0 -60
  257. package/dist/umd/4ee01199f6f6b7e6fb24.svg +0 -195
  258. package/dist/umd/4ff338b86cdba19934cf.svg +0 -86
  259. package/dist/umd/58b74e594849c43b2248.woff2 +0 -0
  260. package/dist/umd/5c23763467ce9cfda119.svg +0 -41
  261. package/dist/umd/5ddf80d7ddb1d1c5a0bc.woff +0 -0
  262. package/dist/umd/6375eb14534238c06a4b.svg +0 -27
  263. package/dist/umd/6558f8e71743e073c18b.svg +0 -3
  264. package/dist/umd/67cbc8178ea76ef0d8b4.svg +0 -4
  265. package/dist/umd/6c874e1a72a4fa9eeed8.woff2 +0 -0
  266. package/dist/umd/71b71503b4f733079331.svg +0 -3
  267. package/dist/umd/7f6d57b96337c21c053d.woff +0 -0
  268. package/dist/umd/8053f51266aa9d864691.svg +0 -4
  269. package/dist/umd/80929602ea97f94dc18c.svg +0 -65
  270. package/dist/umd/8a06059b84b1aa2bf661.svg +0 -29
  271. package/dist/umd/8f10666ff21ef0238370.svg +0 -13
  272. package/dist/umd/949.js +0 -3
  273. package/dist/umd/949.js.LICENSE.txt +0 -60
  274. package/dist/umd/949.js.map +0 -1
  275. package/dist/umd/9d49ce231cb895b6ef29.svg +0 -50
  276. package/dist/umd/9dee3446081d7d47623b.svg +0 -4
  277. package/dist/umd/a96ec21d243a49916487.svg +0 -47
  278. package/dist/umd/ac457c4800183645b1ad.svg +0 -45
  279. package/dist/umd/af823d3a76ce1e2e36af.woff +0 -0
  280. package/dist/umd/aff615d38d2fce3f82b2.svg +0 -83
  281. package/dist/umd/bc42b55176ae1021b9e4.svg +0 -80
  282. package/dist/umd/biometrics-dummy.js +0 -2
  283. package/dist/umd/biometrics-dummy.js.map +0 -1
  284. package/dist/umd/biometrics-incode.js +0 -2
  285. package/dist/umd/biometrics-incode.js.map +0 -1
  286. package/dist/umd/biometrics-ocrlabs.js +0 -2
  287. package/dist/umd/biometrics-ocrlabs.js.map +0 -1
  288. package/dist/umd/biometrics-onfido.js +0 -2
  289. package/dist/umd/biometrics-onfido.js.map +0 -1
  290. package/dist/umd/c0dede047f9a2b7c1309.svg +0 -51
  291. package/dist/umd/c16900512bb2f899c7eb.svg +0 -5
  292. package/dist/umd/c7a05c7d7d1f9347ae1b.svg +0 -53
  293. package/dist/umd/ce5b46abe62641bddb20.svg +0 -5
  294. package/dist/umd/d15d58eb544d245877e2.svg +0 -16
  295. package/dist/umd/d216030199c873b0bf41.woff2 +0 -0
  296. package/dist/umd/d563d85c23bcbd268d5e.svg +0 -30
  297. package/dist/umd/d70a547a409868c43a95.svg +0 -43
  298. package/dist/umd/d9ed930ae3bb52f2abe1.svg +0 -4
  299. package/dist/umd/dc45d5d9fb4b8959e156.svg +0 -24
  300. package/dist/umd/dd199fa4125e4ebef289.svg +0 -67
  301. package/dist/umd/dddc2581e578cfb3b997.svg +0 -195
  302. package/dist/umd/device-sardine.js +0 -2
  303. package/dist/umd/device-sardine.js.map +0 -1
  304. package/dist/umd/device-threatmetrix.js +0 -2
  305. package/dist/umd/device-threatmetrix.js.map +0 -1
  306. package/dist/umd/df83da88c151bcf97231.svg +0 -45
  307. package/dist/umd/e7ac03e5736bea4d6346.svg +0 -53
  308. package/dist/umd/e84075ff43e508e4fbd5.svg +0 -5
  309. package/dist/umd/e85b9f93aac09995bad2.svg +0 -80
  310. package/dist/umd/ef3c33f0d919896ee0bf.svg +0 -25
  311. package/dist/umd/f22fe25046b4ca4a969a.svg +0 -65
  312. package/dist/umd/f4a5163b8f91c2c66892.svg +0 -4
  313. package/dist/umd/f670207e1feb7ec4f6d4.svg +0 -5
  314. package/dist/umd/f75020be237d9de68d86.svg +0 -192
  315. package/dist/umd/fc7c8869af28cb1b9c21.svg +0 -5
  316. package/dist/umd/fdb0a109281e6c12eff6.svg +0 -75
  317. package/dist/umd/form-formio.js +0 -2
  318. package/dist/umd/form-formio.js.map +0 -1
  319. package/dist/umd/form-legacy.js +0 -2
  320. package/dist/umd/form-legacy.js.map +0 -1
  321. package/dist/umd/form-react.js +0 -2
  322. package/dist/umd/form-react.js.map +0 -1
  323. package/dist/umd/idv-incode.js +0 -2
  324. package/dist/umd/idv-incode.js.map +0 -1
  325. package/dist/umd/idv-mastercard.js +0 -2
  326. package/dist/umd/idv-mastercard.js.map +0 -1
  327. package/dist/umd/idv-ocrlabs.js +0 -2
  328. package/dist/umd/idv-ocrlabs.js.map +0 -1
  329. package/dist/umd/idv-onfido.js +0 -2
  330. package/dist/umd/idv-onfido.js.map +0 -1
  331. package/dist/umd/ocr-dummy.js +0 -2
  332. package/dist/umd/ocr-dummy.js.map +0 -1
  333. package/dist/umd/ocr-incode.js +0 -2
  334. package/dist/umd/ocr-incode.js.map +0 -1
  335. package/dist/umd/ocr-onfido.js +0 -2
  336. package/dist/umd/ocr-onfido.js.map +0 -1
  337. package/dist/umd/oneSdk.umd.js +0 -3
  338. package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -8
  339. package/dist/umd/oneSdk.umd.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { IncodeConfig, IncodeInstance } from '@module/common/vendors/incode/onBoarding.types';
1
+ import type { IncodeConfig, IncodeInstance } from './onBoarding.types';
2
2
  export { createEventHandlers } from './createEventHandlers';
3
3
  export { startCamera } from './startCamera';
4
4
  export * from './onBoarding.types';
@@ -1,6 +1,6 @@
1
- import type { EventHub } from '@module/common';
2
- import type { IncodeInstance, IncodeSuccessResponse } from '@module/common/vendors/incode/onBoarding.types';
3
- import type { Events } from '@module/ocr';
1
+ import type { EventHub } from '../..';
2
+ import type { IncodeInstance, IncodeSuccessResponse } from './onBoarding.types';
3
+ import type { Events } from '../../../ocr';
4
4
  type CameraProps = {
5
5
  incode: IncodeInstance;
6
6
  token: {
@@ -1,6 +1,6 @@
1
- import type { Events as BiometricsEvents } from '@module/biometrics';
2
- import { type EventHub } from '@module/common';
3
- import type { Events as OcrEvents } from '@module/ocr';
1
+ import type { Events as BiometricsEvents } from '../../../biometrics';
2
+ import { type EventHub } from '../..';
3
+ import type { Events as OcrEvents } from '../../../ocr';
4
4
  export declare const install: ({ sdkVersion }: {
5
5
  sdkVersion?: string;
6
6
  }) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import type { AnyObject } from '@types';
1
+ import type { AnyObject } from '../../../../types/index.js';
2
2
  declare global {
3
3
  interface Window {
4
4
  Onfido: {
@@ -1,4 +1,4 @@
1
- import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '@module/common/types';
1
+ import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '../common/types';
2
2
  /**
3
3
  * ADDING NEW MODULES
4
4
  * 0) Choose an appropriate simple kebab-case name for your module. Ideally just a single word.
@@ -32,14 +32,14 @@ import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem }
32
32
  * - The type "Modules" works as a global namespace for all types inferred from all the modules included in the dictionary.
33
33
  */
34
34
  declare const Modules: {
35
- business: BrandedInitialiseFunction<import("@module/business").BusinessModule>;
36
- biometrics: BrandedInitialiseFunction<import("@module/biometrics").BiometricsModule>;
37
- device: BrandedInitialiseFunction<import("@module/device").DeviceModule>;
38
- ocr: BrandedInitialiseFunction<import("@module/ocr").OCRModule>;
39
- individual: BrandedInitialiseFunction<import("@module/individual").IndividualModule>;
40
- session: BrandedInitialiseFunction<import("@module/session").SessionModule>;
41
- federation: BrandedInitialiseFunction<import("@module/federation").FederationModule>;
42
- idv: BrandedInitialiseFunction<import("@module/idv").IDVModule>;
35
+ business: BrandedInitialiseFunction<import("../business").BusinessModule>;
36
+ biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
37
+ device: BrandedInitialiseFunction<import("../device").DeviceModule>;
38
+ ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
39
+ individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
40
+ session: BrandedInitialiseFunction<import("../session").SessionModule>;
41
+ federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
42
+ idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
43
43
  form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
44
44
  workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
45
45
  };
@@ -48,15 +48,15 @@ export type Modules = ModuleTypeSystem<ConfiguredModules>;
48
48
  /**
49
49
  * Helper function to retrieve the initialise function for a module
50
50
  */
51
- export declare const getInitialiser: <Name extends "business" | "ocr" | "individual" | "device" | "form" | "idv" | "biometrics" | "session" | "federation" | "workflow">(name: Name) => BrandedInitialiseFunction<ExtractDefinitions<{
52
- business: BrandedInitialiseFunction<import("@module/business").BusinessModule>;
53
- biometrics: BrandedInitialiseFunction<import("@module/biometrics").BiometricsModule>;
54
- device: BrandedInitialiseFunction<import("@module/device").DeviceModule>;
55
- ocr: BrandedInitialiseFunction<import("@module/ocr").OCRModule>;
56
- individual: BrandedInitialiseFunction<import("@module/individual").IndividualModule>;
57
- session: BrandedInitialiseFunction<import("@module/session").SessionModule>;
58
- federation: BrandedInitialiseFunction<import("@module/federation").FederationModule>;
59
- idv: BrandedInitialiseFunction<import("@module/idv").IDVModule>;
51
+ export declare const getInitialiser: <Name extends "ocr" | "idv" | "form" | "biometrics" | "session" | "federation" | "workflow" | "business" | "device" | "individual">(name: Name) => BrandedInitialiseFunction<ExtractDefinitions<{
52
+ business: BrandedInitialiseFunction<import("../business").BusinessModule>;
53
+ biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
54
+ device: BrandedInitialiseFunction<import("../device").DeviceModule>;
55
+ ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
56
+ individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
57
+ session: BrandedInitialiseFunction<import("../session").SessionModule>;
58
+ federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
59
+ idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
60
60
  form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
61
61
  workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
62
62
  }>[Name]>;
@@ -1,5 +1,5 @@
1
- import type { EventHub } from '@module/common';
2
- import type { ModuleDefinition } from '@module/common/types';
1
+ import type { EventHub } from '../common';
2
+ import type { ModuleDefinition } from '../common/types';
3
3
  import type { ActivityType } from './constants';
4
4
  import type { Events } from './events';
5
5
  export type DeviceModule = ModuleDefinition<{
@@ -1,4 +1,4 @@
1
- import { RecipeConfiguration } from "@module/common";
1
+ import { RecipeConfiguration } from "../common";
2
2
  import { ActivityType, Vendor } from "./constants";
3
3
  export type Events = {
4
4
  configuration_loaded: [RecipeConfiguration];
@@ -1,7 +1,7 @@
1
- import { DeviceModule } from "./definition";
1
+ import type { DeviceModule } from './definition';
2
2
  declare const _default: import("../common/types").BrandedInitialiseFunction<DeviceModule>;
3
3
  export default _default;
4
- export * from "./constants";
5
- export * from "./definition";
6
- export * from "./events";
4
+ export * from './constants';
5
+ export * from './definition';
6
+ export * from './events';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;;AAG5C,wBAkEG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;;AAEjD,wBAyEG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
@@ -1,7 +1,7 @@
1
- import { mkVendorLoader } from "../common/index.js";
2
- import { defineModule } from "../common/modules/defineModule.js";
3
- import { validateConfiguration } from "./parseConfiguration.js";
4
- export default defineModule("device", (globalState, options) => {
1
+ import { mkVendorLoader } from '../common/index.js';
2
+ import { defineModule } from '../common/modules/defineModule.js';
3
+ import { validateConfiguration } from './parseConfiguration.js';
4
+ export default defineModule('device', (globalState, options) => {
5
5
  /**
6
6
  * All the oneSdk components expose a synchronous "ModuleContext" object whose properties
7
7
  * need to be declared outside the asynchronous "main" function. They are then "passed down" to be used by the main function.
@@ -20,8 +20,9 @@ export default defineModule("device", (globalState, options) => {
20
20
  vendorName: globalState.recipe.deviceCharacteristics.provider.name,
21
21
  sharedConfiguration: globalState,
22
22
  vendorLoader: {
23
- sardine: () => import(/* webpackChunkName: 'device-sardine' */ "./vendors/Sardine"),
24
- threatmetrix: () => import(/* webpackChunkName: 'device-threatmetrix' */ "./vendors/Threatmetrix"),
23
+ sardine: () => import(/* webpackChunkName: 'device-sardine' */ './vendors/Sardine.js'),
24
+ threatmetrix: () => import(
25
+ /* webpackChunkName: 'device-threatmetrix' */ './vendors/Threatmetrix/index.js'),
25
26
  },
26
27
  });
27
28
  /** Define context methods */
@@ -36,14 +37,14 @@ export default defineModule("device", (globalState, options) => {
36
37
  loadVendor({
37
38
  vendorWrapperOptions: Object.assign(Object.assign({}, options), { eventHub: localEventHub }),
38
39
  onSuccess: (_, { vendorName }) => {
39
- globalEventHub.emit("telemetry", {
40
- eventName: "DEVICE:MOUNT",
40
+ globalEventHub.emit('telemetry', {
41
+ eventName: 'DEVICE:MOUNT',
41
42
  data: { vendor: vendorName },
42
43
  });
43
44
  },
44
45
  onError: (error, { vendorName }) => {
45
- globalEventHub.emit("telemetry", {
46
- eventName: "DEVICE:MOUNT:ERROR",
46
+ globalEventHub.emit('telemetry', {
47
+ eventName: 'DEVICE:MOUNT:ERROR',
47
48
  data: { vendor: vendorName },
48
49
  error,
49
50
  });
@@ -55,16 +56,18 @@ export default defineModule("device", (globalState, options) => {
55
56
  // };
56
57
  /** reemit/map/transform events below */
57
58
  // value_set: when the value for a field is confirmed by the vendor wrapper to be set
58
- localEventHub.on("value_set", ({ key, value }) => {
59
+ localEventHub.on('value_set', ({ key, value }) => {
59
60
  // When activityType is set, emit another more specific event "activity_started"
60
- if (key === "activityType")
61
- localEventHub.emit("activity_started", { activityType: value });
61
+ if (key === 'activityType')
62
+ localEventHub.emit('activity_started', {
63
+ activityType: value,
64
+ });
62
65
  });
63
66
  return {
64
67
  start,
65
68
  };
66
69
  });
67
- export * from "./constants.js";
68
- export * from "./definition.js";
69
- export * from "./events.js";
70
+ export * from './constants.js';
71
+ export * from './definition.js';
72
+ export * from './events.js';
70
73
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,eAAe,YAAY,CAAe,QAAQ,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,EAAE;IAC3E;;;;;;;;;;OAUG;IACH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AkC;IAClC,oEAAoE;IACpE,sHAAsH;IACtH,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,UAAU,CAAC;YACT,oBAAoB,kCAAO,OAAO,KAAE,QAAQ,EAAE,aAAa,GAAE;YAC7D,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBAC/B,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,cAAc;oBACzB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC7B,CAAC,CAAC;YACL,CAAC;YACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBACjC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,oBAAoB;oBAC/B,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;oBAC5B,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;IACL,CAAC,CAAC;IACF,gEAAgE;IAChE,qDAAqD;IACrD,KAAK;IAEL,wCAAwC;IAExC,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE;QAC/C,iFAAiF;QACjF,IAAI,GAAG,KAAK,cAAc;YACxB,aAAa,CAAC,IAAI,CAAC,kBAAkB,EAAE;gBACrC,YAAY,EAAE,KAAqB;aACpC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,KAAK;KACN,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
@@ -1,3 +1,3 @@
1
- import { InjectedState } from "@module/common/types";
1
+ import { InjectedState } from "../common/types";
2
2
  export declare function validateConfiguration(shared: InjectedState): void;
3
3
  //# sourceMappingURL=parseConfiguration.d.ts.map
@@ -1,16 +1,16 @@
1
- export declare const initialise: import("@module/common/types").WrapperInitialiseFunction<{
2
- eventHub: import("@module/common").EventHub<import("@module/device").Events>;
3
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
1
+ export declare const initialise: import("../../common/types").WrapperInitialiseFunction<{
2
+ eventHub: import("../../common").EventHub<import("./..").Events>;
3
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
4
4
  }, {
5
5
  set<Key extends keyof {
6
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
6
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
7
7
  entityId: string;
8
8
  }>(key: Key, value: {
9
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
9
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
10
10
  entityId: string;
11
11
  }[Key]): void;
12
12
  }, "async", {
13
- localEventHub: import("@module/common").EventHub<import("@module/device").Events>;
13
+ localEventHub: import("../../common").EventHub<import("./..").Events>;
14
14
  recipe: unknown;
15
15
  }> & {
16
16
  vendorName: "sardine" | "threatmetrix";
@@ -1,12 +1,12 @@
1
- export declare const initialise: import("@module/common/types").WrapperInitialiseFunction<{
1
+ export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
2
2
  eventHub: import("../../../common/index.js").EventHub<import("../../events.js").Events>;
3
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
3
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
4
4
  }, {
5
5
  set<Key extends keyof {
6
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
6
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
7
7
  entityId: string;
8
8
  }>(key: Key, value: {
9
- activityType: "REGISTRATION" | "LOGIN" | "CRYPTO_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "FIAT_DEPOSIT" | "FIAT_WITHDRAWAL";
9
+ activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
10
10
  entityId: string;
11
11
  }[Key]): void;
12
12
  }, "async", {
@@ -1,2 +1,2 @@
1
- export { IDVStatus } from "@module/frankie-client/clients/IDVClient";
1
+ export { IDVStatus } from "./frankie-client/clients/IDVClient";
2
2
  //# sourceMappingURL=exports.d.ts.map
@@ -34,7 +34,7 @@ declare const features: {
34
34
  };
35
35
  };
36
36
  readonly form: {
37
- readonly wrappingMode: "div" | "iframe" | "shadow";
37
+ readonly wrappingMode: "div" | "shadow" | "iframe";
38
38
  readonly font: {
39
39
  readonly cdnUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap";
40
40
  readonly fontFamilyCSSRule: "Inter, sans-serif, Serif";
@@ -1,5 +1,5 @@
1
- import type { EventHub } from "@module/common";
2
- import type { ModuleDefinition } from "@module/common/types";
1
+ import type { EventHub } from "../common";
2
+ import type { ModuleDefinition } from "../common/types";
3
3
  import type { Events } from "./events";
4
4
  export type FederationModule = ModuleDefinition<{
5
5
  module: {
@@ -1,5 +1,5 @@
1
- import { FederationModule } from "./definition";
1
+ import type { FederationModule } from './definition';
2
2
  declare const _default: import("../common/types").BrandedInitialiseFunction<FederationModule>;
3
3
  export default _default;
4
- export * from "./definition";
4
+ export * from './definition';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAGhD,wBA8DG;AAEH,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAErD,wBAiEG;AAEH,cAAc,cAAc,CAAC"}
@@ -1,10 +1,10 @@
1
- import { mkVendorLoader } from "../common/index.js";
2
- import { defineModule } from "../common/modules/defineModule.js";
3
- import { getInitialiser } from "../config/index.js";
4
- import { mkFrankieClient } from "../frankie-client/index.js";
5
- import { SdkModes } from "../sdk/types/index.js";
6
- import { parseConfiguration } from "./parseConfiguration.js";
7
- export default defineModule("federation", (globalState) => {
1
+ import { mkVendorLoader } from '../common/index.js';
2
+ import { defineModule } from '../common/modules/defineModule.js';
3
+ import { getInitialiser } from '../config/index.js';
4
+ import { mkFrankieClient } from '../frankie-client/index.js';
5
+ import { SdkModes } from '../sdk/types/index.js';
6
+ import { parseConfiguration } from './parseConfiguration.js';
7
+ export default defineModule('federation', (globalState) => {
8
8
  var _a;
9
9
  parseConfiguration(globalState);
10
10
  // The two lines below will replace the session provided on OneSDK initialisation with
@@ -15,7 +15,7 @@ export default defineModule("federation", (globalState) => {
15
15
  // That would mean that the OneSDK could use two different sessions at the same time, including two different sessionId
16
16
  // NOTE: When in Dummy mode the optional provided session is kept as is
17
17
  if (globalState.mode.modeName !== SdkModes.DUMMY) {
18
- globalState.session = getInitialiser("session")({
18
+ globalState.session = getInitialiser('session')({
19
19
  mode: globalState.mode,
20
20
  recipe: globalState.recipe,
21
21
  telemetry: globalState.telemetry,
@@ -36,10 +36,10 @@ export default defineModule("federation", (globalState) => {
36
36
  session: globalState.session,
37
37
  validateToken: false,
38
38
  });
39
- globalState.globalEventHub.emit("info", {
39
+ globalState.globalEventHub.emit('info', {
40
40
  message: globalState.session.isTakenFromStorage()
41
- ? "Found existing token in storage. Using it as new session."
42
- : "No token found in storage. Using provided token for this session.",
41
+ ? 'Found existing token in storage. Using it as new session.'
42
+ : 'No token found in storage. Using provided token for this session.',
43
43
  payload: {
44
44
  sessionId: globalState.session.sessionId,
45
45
  },
@@ -47,10 +47,11 @@ export default defineModule("federation", (globalState) => {
47
47
  }
48
48
  const { localEventHub } = globalState;
49
49
  const loadVendorWrapper = mkVendorLoader({
50
- vendorName: "singpass",
50
+ vendorName: 'singpass',
51
51
  sharedConfiguration: globalState,
52
52
  vendorLoader: {
53
- singpass: () => import(/* webpackChunkName: 'federation-singpass' */ "./vendors/Singpass"),
53
+ singpass: () => import(
54
+ /* webpackChunkName: 'federation-singpass' */ './vendors/Singpass.js'),
54
55
  },
55
56
  });
56
57
  const start = () => {
@@ -62,5 +63,5 @@ export default defineModule("federation", (globalState) => {
62
63
  start,
63
64
  };
64
65
  });
65
- export * from "./definition.js";
66
+ export * from './definition.js';
66
67
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC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AE;SAClD,CAAC,CAAC;IACL,CAAC,CAAC;IACF,OAAO;QACL,KAAK;KACN,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,cAAc,CAAC"}
@@ -1,3 +1,3 @@
1
- import { InjectedState } from "@module/common/types";
1
+ import { InjectedState } from "../common/types";
2
2
  export declare function parseConfiguration(shared: InjectedState): InjectedState;
3
3
  //# sourceMappingURL=parseConfiguration.d.ts.map
@@ -1,9 +1,9 @@
1
- import { RecipeConfiguration } from "@module/common";
2
- import { InjectedState } from "@module/common/types";
3
- export declare const initialise: import("@module/common/types").WrapperInitialiseFunction<{
4
- eventHub: import("@module/common").EventHub<import("../events").Events>;
1
+ import { RecipeConfiguration } from "../../common";
2
+ import { InjectedState } from "../../common/types";
3
+ export declare const initialise: import("../../common/types").WrapperInitialiseFunction<{
4
+ eventHub: import("../../common").EventHub<import("../events").Events>;
5
5
  }, void, "async", {
6
- localEventHub: import("@module/common").EventHub<import("../events").Events>;
6
+ localEventHub: import("../../common").EventHub<import("../events").Events>;
7
7
  recipe: unknown;
8
8
  }> & {
9
9
  vendorName: "singpass";
@@ -1,10 +1,10 @@
1
- import type { EventHub } from '@module/common';
2
- import type { DeepPartial } from '@module/common/shared/models/general';
3
- import type { ModuleDefinition } from '@module/common/types';
4
- import type { FormEvents } from '@module/form/events';
5
- import type { LegacyUIConfiguration } from '@module/form/vendors/legacy/legacyUIOptions.types';
6
- import type { TPageConfig } from '@module/form/vendors/react/appConfig.type';
7
- import type { ReactFormIdsKeys } from '@module/form/vendors/react/types/pages.type';
1
+ import type { EventHub } from '../common';
2
+ import type { DeepPartial } from '../common/shared/models/general';
3
+ import type { ModuleDefinition } from '../common/types';
4
+ import type { FormEvents } from './events';
5
+ import type { LegacyUIConfiguration } from './vendors/legacy/legacyUIOptions.types';
6
+ import type { TPageConfig } from './vendors/react/appConfig.type';
7
+ import type { ReactFormIdsKeys } from './vendors/react/types/pages.type';
8
8
  import type { PartialDeep } from 'type-fest';
9
9
  export type FormModule = ModuleDefinition<{
10
10
  module: {
@@ -1,6 +1,6 @@
1
- import type { Modules } from '@config';
2
- import type { Applicant } from '@module/common/shared/models/Applicant';
3
- import type { Document } from '@module/common/shared/models/Document';
1
+ import type { Modules } from '../config/index.js';
2
+ import type { Applicant } from '../common/shared/models/Applicant';
3
+ import type { Document } from '../common/shared/models/Document';
4
4
  import { type DocumentTypes } from './vendors/react/appConfig.type';
5
5
  import { React_Form_IDS } from './vendors/react/types/pages.type';
6
6
  import type { ConfigCategory, FormModule, FormRecipeOptions } from './definition';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;AAE/C,wBA8EG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;AAE/C,wBAkFG"}
@@ -15,9 +15,11 @@ export default defineModule('form', (globalState, options = {}) => {
15
15
  sharedConfiguration: globalState,
16
16
  vendorName,
17
17
  vendorLoader: {
18
- legacy: () => import(/* webpackChunkName: 'form-legacy' */ './vendors/legacy'),
19
- formio: () => import(/* webpackChunkName: 'form-formio' */ './vendors/formio'),
20
- react: () => import(/* webpackChunkName: 'form-react' */ './vendors/react'),
18
+ legacy: () => import(
19
+ /* webpackChunkName: 'form-legacy' */ './vendors/legacy/index.js'),
20
+ formio: () => import(
21
+ /* webpackChunkName: 'form-formio' */ './vendors/formio/index.js'),
22
+ react: () => import(/* webpackChunkName: 'form-react' */ './vendors/react/index.js'),
21
23
  },
22
24
  });
23
25
  const privateEventHub = mkEventHub();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAA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AE,UAAU;KACrB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { InjectedState } from '@module/common/types';
1
+ import type { InjectedState } from '../common/types';
2
2
  import type { FormModule } from './definition';
3
3
  export declare function validateConfiguration(globalState: InjectedState): asserts globalState is InjectedState & {
4
4
  recipe: FormModule['recipeConfiguration'];
@@ -1,4 +1,4 @@
1
- import type { Document } from '@module/common/shared/models/Document';
1
+ import type { Document } from '../../../common/shared/models/Document';
2
2
  import type { Paths } from 'type-fest';
3
3
  declare global {
4
4
  interface Window {
@@ -1,12 +1,12 @@
1
1
  export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
2
- eventHub: import("@module/common").EventHub<import("../../events").FormEvents>;
2
+ eventHub: import("../../../common").EventHub<import("../../events").FormEvents>;
3
3
  mountElement: HTMLElement;
4
4
  }, {
5
5
  cleanup: () => void;
6
6
  }, "async", {
7
- localEventHub: import("@module/common").EventHub<import("../../events").FormEvents>;
7
+ localEventHub: import("../../../common").EventHub<import("../../events").FormEvents>;
8
8
  recipe: {
9
- form: import("@module/form/definition").FormRecipeOptions;
9
+ form: import("../../definition").FormRecipeOptions;
10
10
  };
11
11
  }> & {
12
12
  vendorName: "legacy" | "formio" | "react";
@@ -1,4 +1,4 @@
1
- import type { IndividualModuleContext } from '@module/types';
1
+ import type { IndividualModuleContext } from '../../../../types';
2
2
  import type { FormIOOnboardingDataScheme } from '../formioSdk';
3
3
  export declare const assignFormioDataToIndividualModule: (formioData: FormIOOnboardingDataScheme, individualModule: IndividualModuleContext) => void;
4
4
  //# sourceMappingURL=assignFormioDataToIndividualModule.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { IndividualModuleContext } from '@module/individual';
1
+ import type { IndividualModuleContext } from '../../../../individual';
2
2
  import type { FormIOInstance, FormIOOnboardingDataScheme } from '../formioSdk';
3
3
  export declare function assignIndividualDataToFormioSdk(individual: IndividualModuleContext, formio: FormIOInstance<FormIOOnboardingDataScheme>): void;
4
4
  //# sourceMappingURL=assignIndividualDataToFormioSdk.d.ts.map
@@ -1,15 +1,15 @@
1
- import type { DeepPartial } from '@module/common/shared/models/general';
2
- import type { FormEvents } from '@module/form/events';
1
+ import type { DeepPartial } from '../../../common/shared/models/general';
2
+ import type { FormEvents } from '../../events';
3
3
  import type { LegacyUIConfiguration } from './legacyUIOptions.types';
4
4
  export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
5
- eventHub: import("@module/common").EventHub<FormEvents>;
5
+ eventHub: import("../../../common").EventHub<FormEvents>;
6
6
  mountElement: HTMLElement;
7
7
  }, {
8
8
  cleanup: () => void;
9
9
  }, "async", {
10
- localEventHub: import("@module/common").EventHub<FormEvents>;
10
+ localEventHub: import("../../../common").EventHub<FormEvents>;
11
11
  recipe: {
12
- form: import("@module/form/definition").FormRecipeOptions;
12
+ form: import("../../definition").FormRecipeOptions;
13
13
  };
14
14
  }> & {
15
15
  vendorName: "legacy" | "formio" | "react";
@@ -1,8 +1,8 @@
1
- import type { OneSDKError } from '@module/common';
2
- import type { Applicant } from '@module/common/shared/models/Applicant';
3
- import type { Document } from '@module/common/shared/models/Document';
4
- import type { FormEvents } from '@module/form/events';
5
- import type { CheckSummary } from '@module/types';
1
+ import type { OneSDKError } from '../../../common';
2
+ import type { Applicant } from '../../../common/shared/models/Applicant';
3
+ import type { Document } from '../../../common/shared/models/Document';
4
+ import type { FormEvents } from '../../events';
5
+ import type { CheckSummary } from '../../../types';
6
6
  import type { LegacyUIConfiguration } from './legacyUIOptions.types';
7
7
  export type LegacyUIScreenEvents = {
8
8
  'SCREEN:WELCOME': [LegacyUIScreenPayload];
@@ -1,8 +1,8 @@
1
- import type { WrapperParameters } from '@module/common/modules/defineModule';
2
- import type { FormModule } from '@module/form/definition';
1
+ import type { WrapperParameters } from '../../../common/modules/defineModule';
2
+ import type { FormModule } from '../../definition';
3
3
  import type { LegacyUIEvents } from './legacyUIEvents.types';
4
4
  export declare function loadLegacyUI([globalState, { mountElement }]: WrapperParameters<FormModule>): Promise<{
5
- eventListener: import("@module/common").ListenerFromEmitter<import("@module/common").EventHub<LegacyUIEvents>>;
5
+ eventListener: import("../../../common").ListenerFromEmitter<import("../../../common").EventHub<LegacyUIEvents>>;
6
6
  domElement: HTMLElement;
7
7
  cleanup: () => void;
8
8
  }>;
@@ -1,5 +1,5 @@
1
- import type { EventHub } from '@module/common';
2
- import type { OneSdkContext } from '@module/types';
1
+ import type { EventHub } from '../../../common';
2
+ import type { OneSdkContext } from '../../../types';
3
3
  import type { ReactFormIdsKeys } from './types/pages.type';
4
4
  import type { PartialObjectDeep } from 'type-fest/source/partial-deep';
5
5
  export type ScreenInfo = {
@@ -1,5 +1,5 @@
1
- import type { DocumentType } from '@module/common/shared/models/SupportingDocument';
2
- import type { ConfigCategory, ConfigMode } from '@module/form/definition';
1
+ import type { DocumentType } from '../../../common/shared/models/SupportingDocument';
2
+ import type { ConfigCategory, ConfigMode } from '../../definition';
3
3
  /**
4
4
  * Defines the structure for styles used throughout the application.
5
5
  * @typedef {Object} Styles - Tailwind+CustomStyle object.
@@ -6,7 +6,7 @@ export type InputProps<TFieldValues extends FieldValues> = Omit<IFrankieTextFiel
6
6
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
7
7
  onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
8
8
  } & Pick<IFrankieTextFieldProps, 'value'>;
9
- declare const Input: import("react").ForwardRefExoticComponent<Omit<IFrankieTextFieldProps<string>, keyof ControllerRenderProps | "error"> & Omit<ControllerProps<FieldValues>, "readOnly" | "render"> & {
9
+ declare const Input: import("react").ForwardRefExoticComponent<Omit<IFrankieTextFieldProps<string>, "error" | keyof ControllerRenderProps> & Omit<ControllerProps<FieldValues>, "readOnly" | "render"> & {
10
10
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
11
11
  onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
12
12
  } & Pick<IFrankieTextFieldProps<string>, "value"> & import("react").RefAttributes<HTMLInputElement>>;