@bifold/core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2136) hide show
  1. package/bin/bifold +5 -0
  2. package/lib/commonjs/App.js +69 -0
  3. package/lib/commonjs/App.js.map +1 -0
  4. package/lib/commonjs/animated-components.js +26 -0
  5. package/lib/commonjs/animated-components.js.map +1 -0
  6. package/lib/commonjs/assets/fonts/MaterialIcons.ttf +0 -0
  7. package/lib/commonjs/assets/icons/large-arrow.svg +5 -0
  8. package/lib/commonjs/assets/icons/pencil.svg +15 -0
  9. package/lib/commonjs/assets/icons/trash.svg +31 -0
  10. package/lib/commonjs/assets/img/Artwork_1024x1024.png +0 -0
  11. package/lib/commonjs/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  12. package/lib/commonjs/assets/img/HistoryCardExpiredIcon.svg +4 -0
  13. package/lib/commonjs/assets/img/HistoryCardRevokedIcon.svg +4 -0
  14. package/lib/commonjs/assets/img/HistoryInformationSentIcon.svg +4 -0
  15. package/lib/commonjs/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  16. package/lib/commonjs/assets/img/IconChevronRight.svg +5 -0
  17. package/lib/commonjs/assets/img/activity-indicator-circle.svg +90 -0
  18. package/lib/commonjs/assets/img/app-lockout.svg +1 -0
  19. package/lib/commonjs/assets/img/biometrics.svg +74 -0
  20. package/lib/commonjs/assets/img/chat-loading.svg +1 -0
  21. package/lib/commonjs/assets/img/check-in-circle.svg +18 -0
  22. package/lib/commonjs/assets/img/connection-pending.svg +112 -0
  23. package/lib/commonjs/assets/img/contact-book.svg +21 -0
  24. package/lib/commonjs/assets/img/credential-card.svg +18 -0
  25. package/lib/commonjs/assets/img/credential-declined.svg +28 -0
  26. package/lib/commonjs/assets/img/credential-in-hand.svg +48 -0
  27. package/lib/commonjs/assets/img/credential-list.svg +60 -0
  28. package/lib/commonjs/assets/img/credential-pending.svg +96 -0
  29. package/lib/commonjs/assets/img/credential-success.svg +48 -0
  30. package/lib/commonjs/assets/img/delete-notification.svg +1 -0
  31. package/lib/commonjs/assets/img/empty-wallet.svg +23 -0
  32. package/lib/commonjs/assets/img/error-filled.svg +12 -0
  33. package/lib/commonjs/assets/img/exclamation-mark.svg +17 -0
  34. package/lib/commonjs/assets/img/home-center-img.svg +71 -0
  35. package/lib/commonjs/assets/img/icon-credential-offer-dark.svg +7 -0
  36. package/lib/commonjs/assets/img/icon-credential-offer-light.svg +7 -0
  37. package/lib/commonjs/assets/img/icon-info-recieved-dark.svg +8 -0
  38. package/lib/commonjs/assets/img/icon-info-recieved-light.svg +8 -0
  39. package/lib/commonjs/assets/img/icon-info-sent-dark.svg +8 -0
  40. package/lib/commonjs/assets/img/icon-info-sent-light.svg +8 -0
  41. package/lib/commonjs/assets/img/icon-proof-request-dark.svg +11 -0
  42. package/lib/commonjs/assets/img/icon-proof-request-light.svg +11 -0
  43. package/lib/commonjs/assets/img/information-received.svg +1 -0
  44. package/lib/commonjs/assets/img/logo-large.png +0 -0
  45. package/lib/commonjs/assets/img/logo-large@2x.png +0 -0
  46. package/lib/commonjs/assets/img/logo-large@3x.png +0 -0
  47. package/lib/commonjs/assets/img/logo.svg +15 -0
  48. package/lib/commonjs/assets/img/message-text-icon-outline.svg +1 -0
  49. package/lib/commonjs/assets/img/message-text-icon.svg +1 -0
  50. package/lib/commonjs/assets/img/no_information_shared.svg +36 -0
  51. package/lib/commonjs/assets/img/preface.svg +15 -0
  52. package/lib/commonjs/assets/img/proof-declined.svg +66 -0
  53. package/lib/commonjs/assets/img/proof-pending.svg +61 -0
  54. package/lib/commonjs/assets/img/proof-success.svg +72 -0
  55. package/lib/commonjs/assets/img/push-notifications.svg +1 -0
  56. package/lib/commonjs/assets/img/qrcode-scan-icon.svg +1 -0
  57. package/lib/commonjs/assets/img/scan-share.svg +102 -0
  58. package/lib/commonjs/assets/img/secure-check.svg +4 -0
  59. package/lib/commonjs/assets/img/secure-image.svg +64 -0
  60. package/lib/commonjs/assets/img/update-available.svg +26 -0
  61. package/lib/commonjs/assets/img/verifier-request-declined.svg +34 -0
  62. package/lib/commonjs/assets/img/wallet-back.svg +20 -0
  63. package/lib/commonjs/assets/img/wallet-front.svg +32 -0
  64. package/lib/commonjs/assets/img/wallet-icon-outline.svg +1 -0
  65. package/lib/commonjs/assets/img/wallet-icon.svg +1 -0
  66. package/lib/commonjs/assets/img/wallet.svg +43 -0
  67. package/lib/commonjs/assets/oca-bundles.json +174 -0
  68. package/lib/commonjs/components/animated/ButtonLoading.js +46 -0
  69. package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -0
  70. package/lib/commonjs/components/animated/ConnectionLoading.js +63 -0
  71. package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -0
  72. package/lib/commonjs/components/animated/CredentialAdded.js +88 -0
  73. package/lib/commonjs/components/animated/CredentialAdded.js.map +1 -0
  74. package/lib/commonjs/components/animated/CredentialPending.js +76 -0
  75. package/lib/commonjs/components/animated/CredentialPending.js.map +1 -0
  76. package/lib/commonjs/components/animated/LoadingIndicator.js +64 -0
  77. package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -0
  78. package/lib/commonjs/components/animated/PresentationLoading.js +62 -0
  79. package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -0
  80. package/lib/commonjs/components/animated/RecordLoading.js +107 -0
  81. package/lib/commonjs/components/animated/RecordLoading.js.map +1 -0
  82. package/lib/commonjs/components/animated/SendingProof.js +63 -0
  83. package/lib/commonjs/components/animated/SendingProof.js.map +1 -0
  84. package/lib/commonjs/components/animated/SentProof.js +83 -0
  85. package/lib/commonjs/components/animated/SentProof.js.map +1 -0
  86. package/lib/commonjs/components/buttons/Button-api.js +40 -0
  87. package/lib/commonjs/components/buttons/Button-api.js.map +1 -0
  88. package/lib/commonjs/components/buttons/Button.js +103 -0
  89. package/lib/commonjs/components/buttons/Button.js.map +1 -0
  90. package/lib/commonjs/components/buttons/HeaderHome.js +35 -0
  91. package/lib/commonjs/components/buttons/HeaderHome.js.map +1 -0
  92. package/lib/commonjs/components/buttons/IconButton.js +75 -0
  93. package/lib/commonjs/components/buttons/IconButton.js.map +1 -0
  94. package/lib/commonjs/components/buttons/InfoIcon.js +37 -0
  95. package/lib/commonjs/components/buttons/InfoIcon.js.map +1 -0
  96. package/lib/commonjs/components/buttons/SettingsMenu.js +32 -0
  97. package/lib/commonjs/components/buttons/SettingsMenu.js.map +1 -0
  98. package/lib/commonjs/components/buttons/ToggleButton.js +86 -0
  99. package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -0
  100. package/lib/commonjs/components/buttons/index.js +13 -0
  101. package/lib/commonjs/components/buttons/index.js.map +1 -0
  102. package/lib/commonjs/components/chat/ActionSlider.js +109 -0
  103. package/lib/commonjs/components/chat/ActionSlider.js.map +1 -0
  104. package/lib/commonjs/components/chat/ChatActions.js +29 -0
  105. package/lib/commonjs/components/chat/ChatActions.js.map +1 -0
  106. package/lib/commonjs/components/chat/ChatBubble.js +32 -0
  107. package/lib/commonjs/components/chat/ChatBubble.js.map +1 -0
  108. package/lib/commonjs/components/chat/ChatEvent.js +35 -0
  109. package/lib/commonjs/components/chat/ChatEvent.js.map +1 -0
  110. package/lib/commonjs/components/chat/ChatMessage.js +159 -0
  111. package/lib/commonjs/components/chat/ChatMessage.js.map +1 -0
  112. package/lib/commonjs/components/chat/MessageInput.js +52 -0
  113. package/lib/commonjs/components/chat/MessageInput.js.map +1 -0
  114. package/lib/commonjs/components/chat/index.js +32 -0
  115. package/lib/commonjs/components/chat/index.js.map +1 -0
  116. package/lib/commonjs/components/index.js +13 -0
  117. package/lib/commonjs/components/index.js.map +1 -0
  118. package/lib/commonjs/components/inputs/BulletPoint.js +47 -0
  119. package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -0
  120. package/lib/commonjs/components/inputs/CheckBoxRow.js +66 -0
  121. package/lib/commonjs/components/inputs/CheckBoxRow.js.map +1 -0
  122. package/lib/commonjs/components/inputs/InlineErrorText.js +60 -0
  123. package/lib/commonjs/components/inputs/InlineErrorText.js.map +1 -0
  124. package/lib/commonjs/components/inputs/LimitedTextInput.js +70 -0
  125. package/lib/commonjs/components/inputs/LimitedTextInput.js.map +1 -0
  126. package/lib/commonjs/components/inputs/PINInput.js +137 -0
  127. package/lib/commonjs/components/inputs/PINInput.js.map +1 -0
  128. package/lib/commonjs/components/inputs/SingleSelectBlock.js +58 -0
  129. package/lib/commonjs/components/inputs/SingleSelectBlock.js.map +1 -0
  130. package/lib/commonjs/components/listItems/ContactCredentialListItem.js +79 -0
  131. package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -0
  132. package/lib/commonjs/components/listItems/ContactListItem.js +125 -0
  133. package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -0
  134. package/lib/commonjs/components/listItems/NotificationListItem.js +471 -0
  135. package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -0
  136. package/lib/commonjs/components/misc/ActivityLogLink.js +44 -0
  137. package/lib/commonjs/components/misc/ActivityLogLink.js.map +1 -0
  138. package/lib/commonjs/components/misc/AvatarView.js +39 -0
  139. package/lib/commonjs/components/misc/AvatarView.js.map +1 -0
  140. package/lib/commonjs/components/misc/CardWatermark.js +56 -0
  141. package/lib/commonjs/components/misc/CardWatermark.js.map +1 -0
  142. package/lib/commonjs/components/misc/ConnectionAlert.js +117 -0
  143. package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -0
  144. package/lib/commonjs/components/misc/ConnectionImage.js +49 -0
  145. package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -0
  146. package/lib/commonjs/components/misc/ContentGradient.js +56 -0
  147. package/lib/commonjs/components/misc/ContentGradient.js.map +1 -0
  148. package/lib/commonjs/components/misc/CredentialCard.js +133 -0
  149. package/lib/commonjs/components/misc/CredentialCard.js.map +1 -0
  150. package/lib/commonjs/components/misc/CredentialCard10.js +271 -0
  151. package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -0
  152. package/lib/commonjs/components/misc/CredentialCard11.js +569 -0
  153. package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -0
  154. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +59 -0
  155. package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -0
  156. package/lib/commonjs/components/misc/CredentialCard11Issuer.js +62 -0
  157. package/lib/commonjs/components/misc/CredentialCard11Issuer.js.map +1 -0
  158. package/lib/commonjs/components/misc/CredentialCard11Logo.js +56 -0
  159. package/lib/commonjs/components/misc/CredentialCard11Logo.js.map +1 -0
  160. package/lib/commonjs/components/misc/EmptyList.js +42 -0
  161. package/lib/commonjs/components/misc/EmptyList.js.map +1 -0
  162. package/lib/commonjs/components/misc/EmptyListContacts.js +72 -0
  163. package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -0
  164. package/lib/commonjs/components/misc/InfoBox.js +265 -0
  165. package/lib/commonjs/components/misc/InfoBox.js.map +1 -0
  166. package/lib/commonjs/components/misc/NoNewUpdates.js +44 -0
  167. package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -0
  168. package/lib/commonjs/components/misc/PINCreateHeader.js +31 -0
  169. package/lib/commonjs/components/misc/PINCreateHeader.js.map +1 -0
  170. package/lib/commonjs/components/misc/Pagination.js +86 -0
  171. package/lib/commonjs/components/misc/Pagination.js.map +1 -0
  172. package/lib/commonjs/components/misc/QRRenderer.js +63 -0
  173. package/lib/commonjs/components/misc/QRRenderer.js.map +1 -0
  174. package/lib/commonjs/components/misc/QRScanner.js +405 -0
  175. package/lib/commonjs/components/misc/QRScanner.js.map +1 -0
  176. package/lib/commonjs/components/misc/QRScannerTorch.js +80 -0
  177. package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -0
  178. package/lib/commonjs/components/misc/ScanCamera.js +86 -0
  179. package/lib/commonjs/components/misc/ScanCamera.js.map +1 -0
  180. package/lib/commonjs/components/misc/ScanTab.js +53 -0
  181. package/lib/commonjs/components/misc/ScanTab.js.map +1 -0
  182. package/lib/commonjs/components/misc/SharedProofData.js +94 -0
  183. package/lib/commonjs/components/misc/SharedProofData.js.map +1 -0
  184. package/lib/commonjs/components/misc/UnorderedList.js +41 -0
  185. package/lib/commonjs/components/misc/UnorderedList.js.map +1 -0
  186. package/lib/commonjs/components/misc/VerifierCredentialCard.js +341 -0
  187. package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -0
  188. package/lib/commonjs/components/misc/index.js +14 -0
  189. package/lib/commonjs/components/misc/index.js.map +1 -0
  190. package/lib/commonjs/components/modals/AlertModal.js +44 -0
  191. package/lib/commonjs/components/modals/AlertModal.js.map +1 -0
  192. package/lib/commonjs/components/modals/AppGuideModal.js +137 -0
  193. package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -0
  194. package/lib/commonjs/components/modals/CameraDisclosureModal.js +130 -0
  195. package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -0
  196. package/lib/commonjs/components/modals/CommonRemoveModal.js +372 -0
  197. package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -0
  198. package/lib/commonjs/components/modals/DismissiblePopupModal.js +171 -0
  199. package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -0
  200. package/lib/commonjs/components/modals/ErrorModal.js +106 -0
  201. package/lib/commonjs/components/modals/ErrorModal.js.map +1 -0
  202. package/lib/commonjs/components/modals/ImageModal.js +91 -0
  203. package/lib/commonjs/components/modals/ImageModal.js.map +1 -0
  204. package/lib/commonjs/components/modals/NetInfoModal.js +31 -0
  205. package/lib/commonjs/components/modals/NetInfoModal.js.map +1 -0
  206. package/lib/commonjs/components/modals/NotificationModal.js +121 -0
  207. package/lib/commonjs/components/modals/NotificationModal.js.map +1 -0
  208. package/lib/commonjs/components/modals/PopupModal.js +49 -0
  209. package/lib/commonjs/components/modals/PopupModal.js.map +1 -0
  210. package/lib/commonjs/components/modals/ProofCancelModal.js +91 -0
  211. package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -0
  212. package/lib/commonjs/components/modals/SafeAreaModal.js +18 -0
  213. package/lib/commonjs/components/modals/SafeAreaModal.js.map +1 -0
  214. package/lib/commonjs/components/network/NetInfo.js +43 -0
  215. package/lib/commonjs/components/network/NetInfo.js.map +1 -0
  216. package/lib/commonjs/components/record/Record.js +93 -0
  217. package/lib/commonjs/components/record/Record.js.map +1 -0
  218. package/lib/commonjs/components/record/RecordBinaryField.js +60 -0
  219. package/lib/commonjs/components/record/RecordBinaryField.js.map +1 -0
  220. package/lib/commonjs/components/record/RecordDateIntField.js +67 -0
  221. package/lib/commonjs/components/record/RecordDateIntField.js.map +1 -0
  222. package/lib/commonjs/components/record/RecordField.js +142 -0
  223. package/lib/commonjs/components/record/RecordField.js.map +1 -0
  224. package/lib/commonjs/components/record/RecordFooter.js +28 -0
  225. package/lib/commonjs/components/record/RecordFooter.js.map +1 -0
  226. package/lib/commonjs/components/record/RecordHeader.js +27 -0
  227. package/lib/commonjs/components/record/RecordHeader.js.map +1 -0
  228. package/lib/commonjs/components/record/RecordRemove.js +71 -0
  229. package/lib/commonjs/components/record/RecordRemove.js.map +1 -0
  230. package/lib/commonjs/components/texts/HeaderTitle.js +27 -0
  231. package/lib/commonjs/components/texts/HeaderTitle.js.map +1 -0
  232. package/lib/commonjs/components/texts/HighlightTextBox.js +50 -0
  233. package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -0
  234. package/lib/commonjs/components/texts/InfoTextBox.js +117 -0
  235. package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -0
  236. package/lib/commonjs/components/texts/Label.js +57 -0
  237. package/lib/commonjs/components/texts/Label.js.map +1 -0
  238. package/lib/commonjs/components/texts/Link.js +41 -0
  239. package/lib/commonjs/components/texts/Link.js.map +1 -0
  240. package/lib/commonjs/components/texts/Text.js +28 -0
  241. package/lib/commonjs/components/texts/Text.js.map +1 -0
  242. package/lib/commonjs/components/texts/ThemedText.js +35 -0
  243. package/lib/commonjs/components/texts/ThemedText.js.map +1 -0
  244. package/lib/commonjs/components/texts/Title.js +29 -0
  245. package/lib/commonjs/components/texts/Title.js.map +1 -0
  246. package/lib/commonjs/components/toast/BaseToast.js +143 -0
  247. package/lib/commonjs/components/toast/BaseToast.js.map +1 -0
  248. package/lib/commonjs/components/toast/ToastConfig.js +38 -0
  249. package/lib/commonjs/components/toast/ToastConfig.js.map +1 -0
  250. package/lib/commonjs/components/tour/AttachTourStep.js +66 -0
  251. package/lib/commonjs/components/tour/AttachTourStep.js.map +1 -0
  252. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +49 -0
  253. package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -0
  254. package/lib/commonjs/components/tour/CredentialsTourSteps.js +49 -0
  255. package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -0
  256. package/lib/commonjs/components/tour/HomeTourSteps.js +120 -0
  257. package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -0
  258. package/lib/commonjs/components/tour/ProofRequestTourSteps.js +49 -0
  259. package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -0
  260. package/lib/commonjs/components/tour/SpotCutout.js +73 -0
  261. package/lib/commonjs/components/tour/SpotCutout.js.map +1 -0
  262. package/lib/commonjs/components/tour/TourBox.js +208 -0
  263. package/lib/commonjs/components/tour/TourBox.js.map +1 -0
  264. package/lib/commonjs/components/tour/TourOverlay.js +147 -0
  265. package/lib/commonjs/components/tour/TourOverlay.js.map +1 -0
  266. package/lib/commonjs/components/views/CredentialCardLogo.js +72 -0
  267. package/lib/commonjs/components/views/CredentialCardLogo.js.map +1 -0
  268. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +86 -0
  269. package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -0
  270. package/lib/commonjs/components/views/CredentialDetailSecondaryHeader.js +46 -0
  271. package/lib/commonjs/components/views/CredentialDetailSecondaryHeader.js.map +1 -0
  272. package/lib/commonjs/components/views/HomeFooterView.js +102 -0
  273. package/lib/commonjs/components/views/HomeFooterView.js.map +1 -0
  274. package/lib/commonjs/components/views/HomeHeaderView.js +16 -0
  275. package/lib/commonjs/components/views/HomeHeaderView.js.map +1 -0
  276. package/lib/commonjs/components/views/KeyboardView.js +40 -0
  277. package/lib/commonjs/components/views/KeyboardView.js.map +1 -0
  278. package/lib/commonjs/components/views/LoadingPlaceholder.js +162 -0
  279. package/lib/commonjs/components/views/LoadingPlaceholder.js.map +1 -0
  280. package/lib/commonjs/components/views/LoadingView.js +37 -0
  281. package/lib/commonjs/components/views/LoadingView.js.map +1 -0
  282. package/lib/commonjs/components/views/ModularView.js +41 -0
  283. package/lib/commonjs/components/views/ModularView.js.map +1 -0
  284. package/lib/commonjs/components/views/ProgressBar.js +63 -0
  285. package/lib/commonjs/components/views/ProgressBar.js.map +1 -0
  286. package/lib/commonjs/configs/ledgers/indy/index.js +12 -0
  287. package/lib/commonjs/configs/ledgers/indy/index.js.map +1 -0
  288. package/lib/commonjs/configs/ledgers/indy/ledgers.json +51 -0
  289. package/lib/commonjs/constants.js +101 -0
  290. package/lib/commonjs/constants.js.map +1 -0
  291. package/lib/commonjs/container-api.js +114 -0
  292. package/lib/commonjs/container-api.js.map +1 -0
  293. package/lib/commonjs/container-impl.js +232 -0
  294. package/lib/commonjs/container-impl.js.map +1 -0
  295. package/lib/commonjs/contexts/activity.js +157 -0
  296. package/lib/commonjs/contexts/activity.js.map +1 -0
  297. package/lib/commonjs/contexts/animated-components.js +13 -0
  298. package/lib/commonjs/contexts/animated-components.js.map +1 -0
  299. package/lib/commonjs/contexts/auth.js +149 -0
  300. package/lib/commonjs/contexts/auth.js.map +1 -0
  301. package/lib/commonjs/contexts/index.js +13 -0
  302. package/lib/commonjs/contexts/index.js.map +1 -0
  303. package/lib/commonjs/contexts/network.js +77 -0
  304. package/lib/commonjs/contexts/network.js.map +1 -0
  305. package/lib/commonjs/contexts/reducers/index.js +11 -0
  306. package/lib/commonjs/contexts/reducers/index.js.map +1 -0
  307. package/lib/commonjs/contexts/reducers/store.js +664 -0
  308. package/lib/commonjs/contexts/reducers/store.js.map +1 -0
  309. package/lib/commonjs/contexts/store.js +102 -0
  310. package/lib/commonjs/contexts/store.js.map +1 -0
  311. package/lib/commonjs/contexts/theme.js +13 -0
  312. package/lib/commonjs/contexts/theme.js.map +1 -0
  313. package/lib/commonjs/contexts/tour/tour-context.js +53 -0
  314. package/lib/commonjs/contexts/tour/tour-context.js.map +1 -0
  315. package/lib/commonjs/contexts/tour/tour-provider.js +94 -0
  316. package/lib/commonjs/contexts/tour/tour-provider.js.map +1 -0
  317. package/lib/commonjs/hooks/bundle-resolver.js +63 -0
  318. package/lib/commonjs/hooks/bundle-resolver.js.map +1 -0
  319. package/lib/commonjs/hooks/chat-messages.js +253 -0
  320. package/lib/commonjs/hooks/chat-messages.js.map +1 -0
  321. package/lib/commonjs/hooks/connections.js +40 -0
  322. package/lib/commonjs/hooks/connections.js.map +1 -0
  323. package/lib/commonjs/hooks/credential-card-styles.js +149 -0
  324. package/lib/commonjs/hooks/credential-card-styles.js.map +1 -0
  325. package/lib/commonjs/hooks/credentials.js +16 -0
  326. package/lib/commonjs/hooks/credentials.js.map +1 -0
  327. package/lib/commonjs/hooks/deep-links.js +57 -0
  328. package/lib/commonjs/hooks/deep-links.js.map +1 -0
  329. package/lib/commonjs/hooks/initialize-agent.js +135 -0
  330. package/lib/commonjs/hooks/initialize-agent.js.map +1 -0
  331. package/lib/commonjs/hooks/notifications.js +70 -0
  332. package/lib/commonjs/hooks/notifications.js.map +1 -0
  333. package/lib/commonjs/hooks/oob.js +24 -0
  334. package/lib/commonjs/hooks/oob.js.map +1 -0
  335. package/lib/commonjs/hooks/proof-request-templates.js +45 -0
  336. package/lib/commonjs/hooks/proof-request-templates.js.map +1 -0
  337. package/lib/commonjs/hooks/proofs.js +37 -0
  338. package/lib/commonjs/hooks/proofs.js.map +1 -0
  339. package/lib/commonjs/hooks/screen-capture.js +57 -0
  340. package/lib/commonjs/hooks/screen-capture.js.map +1 -0
  341. package/lib/commonjs/hooks/useOnboardingState.js +36 -0
  342. package/lib/commonjs/hooks/useOnboardingState.js.map +1 -0
  343. package/lib/commonjs/index.js +961 -0
  344. package/lib/commonjs/index.js.map +1 -0
  345. package/lib/commonjs/layout/ScreenLayout.js +48 -0
  346. package/lib/commonjs/layout/ScreenLayout.js.map +1 -0
  347. package/lib/commonjs/localization/en/index.js +929 -0
  348. package/lib/commonjs/localization/en/index.js.map +1 -0
  349. package/lib/commonjs/localization/fr/index.js +903 -0
  350. package/lib/commonjs/localization/fr/index.js.map +1 -0
  351. package/lib/commonjs/localization/index.js +70 -0
  352. package/lib/commonjs/localization/index.js.map +1 -0
  353. package/lib/commonjs/localization/pt-br/index.js +886 -0
  354. package/lib/commonjs/localization/pt-br/index.js.map +1 -0
  355. package/lib/commonjs/modules/history/context/historyManager.js +256 -0
  356. package/lib/commonjs/modules/history/context/historyManager.js.map +1 -0
  357. package/lib/commonjs/modules/history/index.js +6 -0
  358. package/lib/commonjs/modules/history/index.js.map +1 -0
  359. package/lib/commonjs/modules/history/navigation/HistoryStack.js +39 -0
  360. package/lib/commonjs/modules/history/navigation/HistoryStack.js.map +1 -0
  361. package/lib/commonjs/modules/history/services/queue.service.js +30 -0
  362. package/lib/commonjs/modules/history/services/queue.service.js.map +1 -0
  363. package/lib/commonjs/modules/history/types/index.js +38 -0
  364. package/lib/commonjs/modules/history/types/index.js.map +1 -0
  365. package/lib/commonjs/modules/history/ui/HistoryPage.js +128 -0
  366. package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -0
  367. package/lib/commonjs/modules/history/ui/HistorySettings.js +176 -0
  368. package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -0
  369. package/lib/commonjs/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  370. package/lib/commonjs/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
  371. package/lib/commonjs/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
  372. package/lib/commonjs/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
  373. package/lib/commonjs/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  374. package/lib/commonjs/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
  375. package/lib/commonjs/modules/history/ui/components/BulletPoint.js +53 -0
  376. package/lib/commonjs/modules/history/ui/components/BulletPoint.js.map +1 -0
  377. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +276 -0
  378. package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -0
  379. package/lib/commonjs/modules/history/ui/components/HistoryMenu.js +32 -0
  380. package/lib/commonjs/modules/history/ui/components/HistoryMenu.js.map +1 -0
  381. package/lib/commonjs/modules/history/ui/components/SingleSelectBlock.js +66 -0
  382. package/lib/commonjs/modules/history/ui/components/SingleSelectBlock.js.map +1 -0
  383. package/lib/commonjs/modules/openid/components/CredentialRowCard.js +84 -0
  384. package/lib/commonjs/modules/openid/components/CredentialRowCard.js.map +1 -0
  385. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +234 -0
  386. package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -0
  387. package/lib/commonjs/modules/openid/context/OpenIDCredentialRecordProvider.js +229 -0
  388. package/lib/commonjs/modules/openid/context/OpenIDCredentialRecordProvider.js.map +1 -0
  389. package/lib/commonjs/modules/openid/display.js +364 -0
  390. package/lib/commonjs/modules/openid/display.js.map +1 -0
  391. package/lib/commonjs/modules/openid/displayProof.js +54 -0
  392. package/lib/commonjs/modules/openid/displayProof.js.map +1 -0
  393. package/lib/commonjs/modules/openid/hooks/openid.js +88 -0
  394. package/lib/commonjs/modules/openid/hooks/openid.js.map +1 -0
  395. package/lib/commonjs/modules/openid/metadata.js +38 -0
  396. package/lib/commonjs/modules/openid/metadata.js.map +1 -0
  397. package/lib/commonjs/modules/openid/offerResolve.js +189 -0
  398. package/lib/commonjs/modules/openid/offerResolve.js.map +1 -0
  399. package/lib/commonjs/modules/openid/resolverProof.js +246 -0
  400. package/lib/commonjs/modules/openid/resolverProof.js.map +1 -0
  401. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +215 -0
  402. package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -0
  403. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +178 -0
  404. package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -0
  405. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +274 -0
  406. package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -0
  407. package/lib/commonjs/modules/openid/types.js +13 -0
  408. package/lib/commonjs/modules/openid/types.js.map +1 -0
  409. package/lib/commonjs/modules/openid/utils/utils.js +134 -0
  410. package/lib/commonjs/modules/openid/utils/utils.js.map +1 -0
  411. package/lib/commonjs/navigators/ConnectStack.js +65 -0
  412. package/lib/commonjs/navigators/ConnectStack.js.map +1 -0
  413. package/lib/commonjs/navigators/ContactStack.js +103 -0
  414. package/lib/commonjs/navigators/ContactStack.js.map +1 -0
  415. package/lib/commonjs/navigators/CredentialStack.js +41 -0
  416. package/lib/commonjs/navigators/CredentialStack.js.map +1 -0
  417. package/lib/commonjs/navigators/DeliveryStack.js +77 -0
  418. package/lib/commonjs/navigators/DeliveryStack.js.map +1 -0
  419. package/lib/commonjs/navigators/HomeStack.js +42 -0
  420. package/lib/commonjs/navigators/HomeStack.js.map +1 -0
  421. package/lib/commonjs/navigators/MainStack.js +144 -0
  422. package/lib/commonjs/navigators/MainStack.js.map +1 -0
  423. package/lib/commonjs/navigators/NotificationStack.js +69 -0
  424. package/lib/commonjs/navigators/NotificationStack.js.map +1 -0
  425. package/lib/commonjs/navigators/OnboardingScreens.js +116 -0
  426. package/lib/commonjs/navigators/OnboardingScreens.js.map +1 -0
  427. package/lib/commonjs/navigators/OnboardingStack.js +144 -0
  428. package/lib/commonjs/navigators/OnboardingStack.js.map +1 -0
  429. package/lib/commonjs/navigators/ProofRequestStack.js +117 -0
  430. package/lib/commonjs/navigators/ProofRequestStack.js.map +1 -0
  431. package/lib/commonjs/navigators/RootStack.js +68 -0
  432. package/lib/commonjs/navigators/RootStack.js.map +1 -0
  433. package/lib/commonjs/navigators/SettingStack.js +155 -0
  434. package/lib/commonjs/navigators/SettingStack.js.map +1 -0
  435. package/lib/commonjs/navigators/TabStack.js +303 -0
  436. package/lib/commonjs/navigators/TabStack.js.map +1 -0
  437. package/lib/commonjs/navigators/defaultLayoutOptions.js +23 -0
  438. package/lib/commonjs/navigators/defaultLayoutOptions.js.map +1 -0
  439. package/lib/commonjs/navigators/defaultStackOptions.js +95 -0
  440. package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -0
  441. package/lib/commonjs/navigators/index.js +91 -0
  442. package/lib/commonjs/navigators/index.js.map +1 -0
  443. package/lib/commonjs/onboarding.js +104 -0
  444. package/lib/commonjs/onboarding.js.map +1 -0
  445. package/lib/commonjs/screens/AttemptLockout.js +161 -0
  446. package/lib/commonjs/screens/AttemptLockout.js.map +1 -0
  447. package/lib/commonjs/screens/AutoLock.js +141 -0
  448. package/lib/commonjs/screens/AutoLock.js.map +1 -0
  449. package/lib/commonjs/screens/Chat.js +150 -0
  450. package/lib/commonjs/screens/Chat.js.map +1 -0
  451. package/lib/commonjs/screens/Connection.js +366 -0
  452. package/lib/commonjs/screens/Connection.js.map +1 -0
  453. package/lib/commonjs/screens/ContactDetails.js +309 -0
  454. package/lib/commonjs/screens/ContactDetails.js.map +1 -0
  455. package/lib/commonjs/screens/CredentialDetails.js +409 -0
  456. package/lib/commonjs/screens/CredentialDetails.js.map +1 -0
  457. package/lib/commonjs/screens/CredentialOffer.js +311 -0
  458. package/lib/commonjs/screens/CredentialOffer.js.map +1 -0
  459. package/lib/commonjs/screens/CredentialOfferAccept.js +173 -0
  460. package/lib/commonjs/screens/CredentialOfferAccept.js.map +1 -0
  461. package/lib/commonjs/screens/DataRetention.js +116 -0
  462. package/lib/commonjs/screens/DataRetention.js.map +1 -0
  463. package/lib/commonjs/screens/Developer.js +303 -0
  464. package/lib/commonjs/screens/Developer.js.map +1 -0
  465. package/lib/commonjs/screens/Home.js +156 -0
  466. package/lib/commonjs/screens/Home.js.map +1 -0
  467. package/lib/commonjs/screens/Language.js +117 -0
  468. package/lib/commonjs/screens/Language.js.map +1 -0
  469. package/lib/commonjs/screens/ListContacts.js +121 -0
  470. package/lib/commonjs/screens/ListContacts.js.map +1 -0
  471. package/lib/commonjs/screens/ListCredentials.js +130 -0
  472. package/lib/commonjs/screens/ListCredentials.js.map +1 -0
  473. package/lib/commonjs/screens/ListProofRequests.js +167 -0
  474. package/lib/commonjs/screens/ListProofRequests.js.map +1 -0
  475. package/lib/commonjs/screens/MobileVerifierLoading.js +116 -0
  476. package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -0
  477. package/lib/commonjs/screens/NameWallet.js +160 -0
  478. package/lib/commonjs/screens/NameWallet.js.map +1 -0
  479. package/lib/commonjs/screens/Onboarding.js +143 -0
  480. package/lib/commonjs/screens/Onboarding.js.map +1 -0
  481. package/lib/commonjs/screens/OnboardingPages.js +201 -0
  482. package/lib/commonjs/screens/OnboardingPages.js.map +1 -0
  483. package/lib/commonjs/screens/PINCreate.js +339 -0
  484. package/lib/commonjs/screens/PINCreate.js.map +1 -0
  485. package/lib/commonjs/screens/PINEnter.js +531 -0
  486. package/lib/commonjs/screens/PINEnter.js.map +1 -0
  487. package/lib/commonjs/screens/PINExplainer.js +99 -0
  488. package/lib/commonjs/screens/PINExplainer.js.map +1 -0
  489. package/lib/commonjs/screens/PasteUrl.js +142 -0
  490. package/lib/commonjs/screens/PasteUrl.js.map +1 -0
  491. package/lib/commonjs/screens/Preface.js +104 -0
  492. package/lib/commonjs/screens/Preface.js.map +1 -0
  493. package/lib/commonjs/screens/ProofChangeCredential.js +152 -0
  494. package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -0
  495. package/lib/commonjs/screens/ProofDetails.js +333 -0
  496. package/lib/commonjs/screens/ProofDetails.js.map +1 -0
  497. package/lib/commonjs/screens/ProofRequest.js +686 -0
  498. package/lib/commonjs/screens/ProofRequest.js.map +1 -0
  499. package/lib/commonjs/screens/ProofRequestAccept.js +128 -0
  500. package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -0
  501. package/lib/commonjs/screens/ProofRequestDetails.js +276 -0
  502. package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -0
  503. package/lib/commonjs/screens/ProofRequestUsageHistory.js +164 -0
  504. package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -0
  505. package/lib/commonjs/screens/ProofRequesting.js +241 -0
  506. package/lib/commonjs/screens/ProofRequesting.js.map +1 -0
  507. package/lib/commonjs/screens/PushNotification.js +178 -0
  508. package/lib/commonjs/screens/PushNotification.js.map +1 -0
  509. package/lib/commonjs/screens/RenameContact.js +154 -0
  510. package/lib/commonjs/screens/RenameContact.js.map +1 -0
  511. package/lib/commonjs/screens/Scan.js +123 -0
  512. package/lib/commonjs/screens/Scan.js.map +1 -0
  513. package/lib/commonjs/screens/ScanHelp.js +58 -0
  514. package/lib/commonjs/screens/ScanHelp.js.map +1 -0
  515. package/lib/commonjs/screens/Settings.js +451 -0
  516. package/lib/commonjs/screens/Settings.js.map +1 -0
  517. package/lib/commonjs/screens/Splash.js +92 -0
  518. package/lib/commonjs/screens/Splash.js.map +1 -0
  519. package/lib/commonjs/screens/Terms.js +145 -0
  520. package/lib/commonjs/screens/Terms.js.map +1 -0
  521. package/lib/commonjs/screens/Tours.js +107 -0
  522. package/lib/commonjs/screens/Tours.js.map +1 -0
  523. package/lib/commonjs/screens/UpdateAvailable.js +128 -0
  524. package/lib/commonjs/screens/UpdateAvailable.js.map +1 -0
  525. package/lib/commonjs/screens/UseBiometry.js +315 -0
  526. package/lib/commonjs/screens/UseBiometry.js.map +1 -0
  527. package/lib/commonjs/screens/WhatAreContacts.js +78 -0
  528. package/lib/commonjs/screens/WhatAreContacts.js.map +1 -0
  529. package/lib/commonjs/services/keychain.js +171 -0
  530. package/lib/commonjs/services/keychain.js.map +1 -0
  531. package/lib/commonjs/services/logger.js +70 -0
  532. package/lib/commonjs/services/logger.js.map +1 -0
  533. package/lib/commonjs/services/storage.js +130 -0
  534. package/lib/commonjs/services/storage.js.map +1 -0
  535. package/lib/commonjs/theme.js +886 -0
  536. package/lib/commonjs/theme.js.map +1 -0
  537. package/lib/commonjs/types/attempt-lockout-config.js +2 -0
  538. package/lib/commonjs/types/attempt-lockout-config.js.map +1 -0
  539. package/lib/commonjs/types/attestation.js +14 -0
  540. package/lib/commonjs/types/attestation.js.map +1 -0
  541. package/lib/commonjs/types/chat.js +12 -0
  542. package/lib/commonjs/types/chat.js.map +1 -0
  543. package/lib/commonjs/types/config.js +6 -0
  544. package/lib/commonjs/types/config.js.map +1 -0
  545. package/lib/commonjs/types/contact-details.js +2 -0
  546. package/lib/commonjs/types/contact-details.js.map +1 -0
  547. package/lib/commonjs/types/credential-list-footer.js +2 -0
  548. package/lib/commonjs/types/credential-list-footer.js.map +1 -0
  549. package/lib/commonjs/types/credential-status.js +11 -0
  550. package/lib/commonjs/types/credential-status.js.map +1 -0
  551. package/lib/commonjs/types/credentials.js +6 -0
  552. package/lib/commonjs/types/credentials.js.map +1 -0
  553. package/lib/commonjs/types/decline.js +13 -0
  554. package/lib/commonjs/types/decline.js.map +1 -0
  555. package/lib/commonjs/types/error.js +32 -0
  556. package/lib/commonjs/types/error.js.map +1 -0
  557. package/lib/commonjs/types/fn.js +2 -0
  558. package/lib/commonjs/types/fn.js.map +1 -0
  559. package/lib/commonjs/types/genesis.js +2 -0
  560. package/lib/commonjs/types/genesis.js.map +1 -0
  561. package/lib/commonjs/types/index.js +11 -0
  562. package/lib/commonjs/types/index.js.map +1 -0
  563. package/lib/commonjs/types/metadata.js +15 -0
  564. package/lib/commonjs/types/metadata.js.map +1 -0
  565. package/lib/commonjs/types/navigators.js +77 -0
  566. package/lib/commonjs/types/navigators.js.map +1 -0
  567. package/lib/commonjs/types/notification.js +6 -0
  568. package/lib/commonjs/types/notification.js.map +1 -0
  569. package/lib/commonjs/types/permissions.js +6 -0
  570. package/lib/commonjs/types/permissions.js.map +1 -0
  571. package/lib/commonjs/types/proof-items.js +6 -0
  572. package/lib/commonjs/types/proof-items.js.map +1 -0
  573. package/lib/commonjs/types/react-i18next.d.js +4 -0
  574. package/lib/commonjs/types/react-i18next.d.js.map +1 -0
  575. package/lib/commonjs/types/remove.js +16 -0
  576. package/lib/commonjs/types/remove.js.map +1 -0
  577. package/lib/commonjs/types/security.js +18 -0
  578. package/lib/commonjs/types/security.js.map +1 -0
  579. package/lib/commonjs/types/settings.js +6 -0
  580. package/lib/commonjs/types/settings.js.map +1 -0
  581. package/lib/commonjs/types/state.js +2 -0
  582. package/lib/commonjs/types/state.js.map +1 -0
  583. package/lib/commonjs/types/tour.js +20 -0
  584. package/lib/commonjs/types/tour.js.map +1 -0
  585. package/lib/commonjs/types/version-check.js +6 -0
  586. package/lib/commonjs/types/version-check.js.map +1 -0
  587. package/lib/commonjs/utils/PINCreationValidation.js +86 -0
  588. package/lib/commonjs/utils/PINCreationValidation.js.map +1 -0
  589. package/lib/commonjs/utils/agent.js +93 -0
  590. package/lib/commonjs/utils/agent.js.map +1 -0
  591. package/lib/commonjs/utils/anonCredsProofRequestMapper.js +157 -0
  592. package/lib/commonjs/utils/anonCredsProofRequestMapper.js.map +1 -0
  593. package/lib/commonjs/utils/contacts.js +40 -0
  594. package/lib/commonjs/utils/contacts.js.map +1 -0
  595. package/lib/commonjs/utils/cred-def.js +37 -0
  596. package/lib/commonjs/utils/cred-def.js.map +1 -0
  597. package/lib/commonjs/utils/credential.js +41 -0
  598. package/lib/commonjs/utils/credential.js.map +1 -0
  599. package/lib/commonjs/utils/crypto.js +21 -0
  600. package/lib/commonjs/utils/crypto.js.map +1 -0
  601. package/lib/commonjs/utils/fileCache.js +126 -0
  602. package/lib/commonjs/utils/fileCache.js.map +1 -0
  603. package/lib/commonjs/utils/helpers.js +1165 -0
  604. package/lib/commonjs/utils/helpers.js.map +1 -0
  605. package/lib/commonjs/utils/luminance.js +43 -0
  606. package/lib/commonjs/utils/luminance.js.map +1 -0
  607. package/lib/commonjs/utils/migration.js +45 -0
  608. package/lib/commonjs/utils/migration.js.map +1 -0
  609. package/lib/commonjs/utils/network.js +56 -0
  610. package/lib/commonjs/utils/network.js.map +1 -0
  611. package/lib/commonjs/utils/oca.js +115 -0
  612. package/lib/commonjs/utils/oca.js.map +1 -0
  613. package/lib/commonjs/utils/parsers.js +84 -0
  614. package/lib/commonjs/utils/parsers.js.map +1 -0
  615. package/lib/commonjs/utils/proofBundle.js +182 -0
  616. package/lib/commonjs/utils/proofBundle.js.map +1 -0
  617. package/lib/commonjs/utils/schema.js +33 -0
  618. package/lib/commonjs/utils/schema.js.map +1 -0
  619. package/lib/commonjs/utils/testable.js +19 -0
  620. package/lib/commonjs/utils/testable.js.map +1 -0
  621. package/lib/module/App.js +60 -0
  622. package/lib/module/App.js.map +1 -0
  623. package/lib/module/animated-components.js +19 -0
  624. package/lib/module/animated-components.js.map +1 -0
  625. package/lib/module/assets/fonts/MaterialIcons.ttf +0 -0
  626. package/lib/module/assets/icons/large-arrow.svg +5 -0
  627. package/lib/module/assets/icons/pencil.svg +15 -0
  628. package/lib/module/assets/icons/trash.svg +31 -0
  629. package/lib/module/assets/img/Artwork_1024x1024.png +0 -0
  630. package/lib/module/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  631. package/lib/module/assets/img/HistoryCardExpiredIcon.svg +4 -0
  632. package/lib/module/assets/img/HistoryCardRevokedIcon.svg +4 -0
  633. package/lib/module/assets/img/HistoryInformationSentIcon.svg +4 -0
  634. package/lib/module/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  635. package/lib/module/assets/img/IconChevronRight.svg +5 -0
  636. package/lib/module/assets/img/activity-indicator-circle.svg +90 -0
  637. package/lib/module/assets/img/app-lockout.svg +1 -0
  638. package/lib/module/assets/img/biometrics.svg +74 -0
  639. package/lib/module/assets/img/chat-loading.svg +1 -0
  640. package/lib/module/assets/img/check-in-circle.svg +18 -0
  641. package/lib/module/assets/img/connection-pending.svg +112 -0
  642. package/lib/module/assets/img/contact-book.svg +21 -0
  643. package/lib/module/assets/img/credential-card.svg +18 -0
  644. package/lib/module/assets/img/credential-declined.svg +28 -0
  645. package/lib/module/assets/img/credential-in-hand.svg +48 -0
  646. package/lib/module/assets/img/credential-list.svg +60 -0
  647. package/lib/module/assets/img/credential-pending.svg +96 -0
  648. package/lib/module/assets/img/credential-success.svg +48 -0
  649. package/lib/module/assets/img/delete-notification.svg +1 -0
  650. package/lib/module/assets/img/empty-wallet.svg +23 -0
  651. package/lib/module/assets/img/error-filled.svg +12 -0
  652. package/lib/module/assets/img/exclamation-mark.svg +17 -0
  653. package/lib/module/assets/img/home-center-img.svg +71 -0
  654. package/lib/module/assets/img/icon-credential-offer-dark.svg +7 -0
  655. package/lib/module/assets/img/icon-credential-offer-light.svg +7 -0
  656. package/lib/module/assets/img/icon-info-recieved-dark.svg +8 -0
  657. package/lib/module/assets/img/icon-info-recieved-light.svg +8 -0
  658. package/lib/module/assets/img/icon-info-sent-dark.svg +8 -0
  659. package/lib/module/assets/img/icon-info-sent-light.svg +8 -0
  660. package/lib/module/assets/img/icon-proof-request-dark.svg +11 -0
  661. package/lib/module/assets/img/icon-proof-request-light.svg +11 -0
  662. package/lib/module/assets/img/information-received.svg +1 -0
  663. package/lib/module/assets/img/logo-large.png +0 -0
  664. package/lib/module/assets/img/logo-large@2x.png +0 -0
  665. package/lib/module/assets/img/logo-large@3x.png +0 -0
  666. package/lib/module/assets/img/logo.svg +15 -0
  667. package/lib/module/assets/img/message-text-icon-outline.svg +1 -0
  668. package/lib/module/assets/img/message-text-icon.svg +1 -0
  669. package/lib/module/assets/img/no_information_shared.svg +36 -0
  670. package/lib/module/assets/img/preface.svg +15 -0
  671. package/lib/module/assets/img/proof-declined.svg +66 -0
  672. package/lib/module/assets/img/proof-pending.svg +61 -0
  673. package/lib/module/assets/img/proof-success.svg +72 -0
  674. package/lib/module/assets/img/push-notifications.svg +1 -0
  675. package/lib/module/assets/img/qrcode-scan-icon.svg +1 -0
  676. package/lib/module/assets/img/scan-share.svg +102 -0
  677. package/lib/module/assets/img/secure-check.svg +4 -0
  678. package/lib/module/assets/img/secure-image.svg +64 -0
  679. package/lib/module/assets/img/update-available.svg +26 -0
  680. package/lib/module/assets/img/verifier-request-declined.svg +34 -0
  681. package/lib/module/assets/img/wallet-back.svg +20 -0
  682. package/lib/module/assets/img/wallet-front.svg +32 -0
  683. package/lib/module/assets/img/wallet-icon-outline.svg +1 -0
  684. package/lib/module/assets/img/wallet-icon.svg +1 -0
  685. package/lib/module/assets/img/wallet.svg +43 -0
  686. package/lib/module/assets/oca-bundles.json +174 -0
  687. package/lib/module/components/animated/ButtonLoading.js +37 -0
  688. package/lib/module/components/animated/ButtonLoading.js.map +1 -0
  689. package/lib/module/components/animated/ConnectionLoading.js +55 -0
  690. package/lib/module/components/animated/ConnectionLoading.js.map +1 -0
  691. package/lib/module/components/animated/CredentialAdded.js +80 -0
  692. package/lib/module/components/animated/CredentialAdded.js.map +1 -0
  693. package/lib/module/components/animated/CredentialPending.js +68 -0
  694. package/lib/module/components/animated/CredentialPending.js.map +1 -0
  695. package/lib/module/components/animated/LoadingIndicator.js +56 -0
  696. package/lib/module/components/animated/LoadingIndicator.js.map +1 -0
  697. package/lib/module/components/animated/PresentationLoading.js +54 -0
  698. package/lib/module/components/animated/PresentationLoading.js.map +1 -0
  699. package/lib/module/components/animated/RecordLoading.js +99 -0
  700. package/lib/module/components/animated/RecordLoading.js.map +1 -0
  701. package/lib/module/components/animated/SendingProof.js +55 -0
  702. package/lib/module/components/animated/SendingProof.js.map +1 -0
  703. package/lib/module/components/animated/SentProof.js +75 -0
  704. package/lib/module/components/animated/SentProof.js.map +1 -0
  705. package/lib/module/components/buttons/Button-api.js +34 -0
  706. package/lib/module/components/buttons/Button-api.js.map +1 -0
  707. package/lib/module/components/buttons/Button.js +89 -0
  708. package/lib/module/components/buttons/Button.js.map +1 -0
  709. package/lib/module/components/buttons/HeaderHome.js +26 -0
  710. package/lib/module/components/buttons/HeaderHome.js.map +1 -0
  711. package/lib/module/components/buttons/IconButton.js +68 -0
  712. package/lib/module/components/buttons/IconButton.js.map +1 -0
  713. package/lib/module/components/buttons/InfoIcon.js +28 -0
  714. package/lib/module/components/buttons/InfoIcon.js.map +1 -0
  715. package/lib/module/components/buttons/SettingsMenu.js +23 -0
  716. package/lib/module/components/buttons/SettingsMenu.js.map +1 -0
  717. package/lib/module/components/buttons/ToggleButton.js +77 -0
  718. package/lib/module/components/buttons/ToggleButton.js.map +1 -0
  719. package/lib/module/components/buttons/index.js +4 -0
  720. package/lib/module/components/buttons/index.js.map +1 -0
  721. package/lib/module/components/chat/ActionSlider.js +102 -0
  722. package/lib/module/components/chat/ActionSlider.js.map +1 -0
  723. package/lib/module/components/chat/ChatActions.js +21 -0
  724. package/lib/module/components/chat/ChatActions.js.map +1 -0
  725. package/lib/module/components/chat/ChatBubble.js +24 -0
  726. package/lib/module/components/chat/ChatBubble.js.map +1 -0
  727. package/lib/module/components/chat/ChatEvent.js +27 -0
  728. package/lib/module/components/chat/ChatEvent.js.map +1 -0
  729. package/lib/module/components/chat/ChatMessage.js +150 -0
  730. package/lib/module/components/chat/ChatMessage.js.map +1 -0
  731. package/lib/module/components/chat/MessageInput.js +42 -0
  732. package/lib/module/components/chat/MessageInput.js.map +1 -0
  733. package/lib/module/components/chat/index.js +4 -0
  734. package/lib/module/components/chat/index.js.map +1 -0
  735. package/lib/module/components/index.js +4 -0
  736. package/lib/module/components/index.js.map +1 -0
  737. package/lib/module/components/inputs/BulletPoint.js +38 -0
  738. package/lib/module/components/inputs/BulletPoint.js.map +1 -0
  739. package/lib/module/components/inputs/CheckBoxRow.js +59 -0
  740. package/lib/module/components/inputs/CheckBoxRow.js.map +1 -0
  741. package/lib/module/components/inputs/InlineErrorText.js +53 -0
  742. package/lib/module/components/inputs/InlineErrorText.js.map +1 -0
  743. package/lib/module/components/inputs/LimitedTextInput.js +62 -0
  744. package/lib/module/components/inputs/LimitedTextInput.js.map +1 -0
  745. package/lib/module/components/inputs/PINInput.js +128 -0
  746. package/lib/module/components/inputs/PINInput.js.map +1 -0
  747. package/lib/module/components/inputs/SingleSelectBlock.js +49 -0
  748. package/lib/module/components/inputs/SingleSelectBlock.js.map +1 -0
  749. package/lib/module/components/listItems/ContactCredentialListItem.js +73 -0
  750. package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -0
  751. package/lib/module/components/listItems/ContactListItem.js +117 -0
  752. package/lib/module/components/listItems/ContactListItem.js.map +1 -0
  753. package/lib/module/components/listItems/NotificationListItem.js +462 -0
  754. package/lib/module/components/listItems/NotificationListItem.js.map +1 -0
  755. package/lib/module/components/misc/ActivityLogLink.js +37 -0
  756. package/lib/module/components/misc/ActivityLogLink.js.map +1 -0
  757. package/lib/module/components/misc/AvatarView.js +32 -0
  758. package/lib/module/components/misc/AvatarView.js.map +1 -0
  759. package/lib/module/components/misc/CardWatermark.js +49 -0
  760. package/lib/module/components/misc/CardWatermark.js.map +1 -0
  761. package/lib/module/components/misc/ConnectionAlert.js +108 -0
  762. package/lib/module/components/misc/ConnectionAlert.js.map +1 -0
  763. package/lib/module/components/misc/ConnectionImage.js +42 -0
  764. package/lib/module/components/misc/ConnectionImage.js.map +1 -0
  765. package/lib/module/components/misc/ContentGradient.js +47 -0
  766. package/lib/module/components/misc/ContentGradient.js.map +1 -0
  767. package/lib/module/components/misc/CredentialCard.js +124 -0
  768. package/lib/module/components/misc/CredentialCard.js.map +1 -0
  769. package/lib/module/components/misc/CredentialCard10.js +262 -0
  770. package/lib/module/components/misc/CredentialCard10.js.map +1 -0
  771. package/lib/module/components/misc/CredentialCard11.js +560 -0
  772. package/lib/module/components/misc/CredentialCard11.js.map +1 -0
  773. package/lib/module/components/misc/CredentialCard11ActionFooter.js +52 -0
  774. package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -0
  775. package/lib/module/components/misc/CredentialCard11Issuer.js +55 -0
  776. package/lib/module/components/misc/CredentialCard11Issuer.js.map +1 -0
  777. package/lib/module/components/misc/CredentialCard11Logo.js +49 -0
  778. package/lib/module/components/misc/CredentialCard11Logo.js.map +1 -0
  779. package/lib/module/components/misc/EmptyList.js +35 -0
  780. package/lib/module/components/misc/EmptyList.js.map +1 -0
  781. package/lib/module/components/misc/EmptyListContacts.js +65 -0
  782. package/lib/module/components/misc/EmptyListContacts.js.map +1 -0
  783. package/lib/module/components/misc/InfoBox.js +255 -0
  784. package/lib/module/components/misc/InfoBox.js.map +1 -0
  785. package/lib/module/components/misc/NoNewUpdates.js +37 -0
  786. package/lib/module/components/misc/NoNewUpdates.js.map +1 -0
  787. package/lib/module/components/misc/PINCreateHeader.js +25 -0
  788. package/lib/module/components/misc/PINCreateHeader.js.map +1 -0
  789. package/lib/module/components/misc/Pagination.js +78 -0
  790. package/lib/module/components/misc/Pagination.js.map +1 -0
  791. package/lib/module/components/misc/QRRenderer.js +54 -0
  792. package/lib/module/components/misc/QRRenderer.js.map +1 -0
  793. package/lib/module/components/misc/QRScanner.js +396 -0
  794. package/lib/module/components/misc/QRScanner.js.map +1 -0
  795. package/lib/module/components/misc/QRScannerTorch.js +73 -0
  796. package/lib/module/components/misc/QRScannerTorch.js.map +1 -0
  797. package/lib/module/components/misc/ScanCamera.js +78 -0
  798. package/lib/module/components/misc/ScanCamera.js.map +1 -0
  799. package/lib/module/components/misc/ScanTab.js +46 -0
  800. package/lib/module/components/misc/ScanTab.js.map +1 -0
  801. package/lib/module/components/misc/SharedProofData.js +85 -0
  802. package/lib/module/components/misc/SharedProofData.js.map +1 -0
  803. package/lib/module/components/misc/UnorderedList.js +34 -0
  804. package/lib/module/components/misc/UnorderedList.js.map +1 -0
  805. package/lib/module/components/misc/VerifierCredentialCard.js +332 -0
  806. package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -0
  807. package/lib/module/components/misc/index.js +3 -0
  808. package/lib/module/components/misc/index.js.map +1 -0
  809. package/lib/module/components/modals/AlertModal.js +37 -0
  810. package/lib/module/components/modals/AlertModal.js.map +1 -0
  811. package/lib/module/components/modals/AppGuideModal.js +128 -0
  812. package/lib/module/components/modals/AppGuideModal.js.map +1 -0
  813. package/lib/module/components/modals/CameraDisclosureModal.js +121 -0
  814. package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -0
  815. package/lib/module/components/modals/CommonRemoveModal.js +363 -0
  816. package/lib/module/components/modals/CommonRemoveModal.js.map +1 -0
  817. package/lib/module/components/modals/DismissiblePopupModal.js +162 -0
  818. package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -0
  819. package/lib/module/components/modals/ErrorModal.js +97 -0
  820. package/lib/module/components/modals/ErrorModal.js.map +1 -0
  821. package/lib/module/components/modals/ImageModal.js +84 -0
  822. package/lib/module/components/modals/ImageModal.js.map +1 -0
  823. package/lib/module/components/modals/NetInfoModal.js +22 -0
  824. package/lib/module/components/modals/NetInfoModal.js.map +1 -0
  825. package/lib/module/components/modals/NotificationModal.js +112 -0
  826. package/lib/module/components/modals/NotificationModal.js.map +1 -0
  827. package/lib/module/components/modals/PopupModal.js +42 -0
  828. package/lib/module/components/modals/PopupModal.js.map +1 -0
  829. package/lib/module/components/modals/ProofCancelModal.js +82 -0
  830. package/lib/module/components/modals/ProofCancelModal.js.map +1 -0
  831. package/lib/module/components/modals/SafeAreaModal.js +11 -0
  832. package/lib/module/components/modals/SafeAreaModal.js.map +1 -0
  833. package/lib/module/components/network/NetInfo.js +36 -0
  834. package/lib/module/components/network/NetInfo.js.map +1 -0
  835. package/lib/module/components/record/Record.js +84 -0
  836. package/lib/module/components/record/Record.js.map +1 -0
  837. package/lib/module/components/record/RecordBinaryField.js +51 -0
  838. package/lib/module/components/record/RecordBinaryField.js.map +1 -0
  839. package/lib/module/components/record/RecordDateIntField.js +59 -0
  840. package/lib/module/components/record/RecordDateIntField.js.map +1 -0
  841. package/lib/module/components/record/RecordField.js +134 -0
  842. package/lib/module/components/record/RecordField.js.map +1 -0
  843. package/lib/module/components/record/RecordFooter.js +21 -0
  844. package/lib/module/components/record/RecordFooter.js.map +1 -0
  845. package/lib/module/components/record/RecordHeader.js +20 -0
  846. package/lib/module/components/record/RecordHeader.js.map +1 -0
  847. package/lib/module/components/record/RecordRemove.js +64 -0
  848. package/lib/module/components/record/RecordRemove.js.map +1 -0
  849. package/lib/module/components/texts/HeaderTitle.js +20 -0
  850. package/lib/module/components/texts/HeaderTitle.js.map +1 -0
  851. package/lib/module/components/texts/HighlightTextBox.js +43 -0
  852. package/lib/module/components/texts/HighlightTextBox.js.map +1 -0
  853. package/lib/module/components/texts/InfoTextBox.js +110 -0
  854. package/lib/module/components/texts/InfoTextBox.js.map +1 -0
  855. package/lib/module/components/texts/Label.js +50 -0
  856. package/lib/module/components/texts/Label.js.map +1 -0
  857. package/lib/module/components/texts/Link.js +34 -0
  858. package/lib/module/components/texts/Link.js.map +1 -0
  859. package/lib/module/components/texts/Text.js +21 -0
  860. package/lib/module/components/texts/Text.js.map +1 -0
  861. package/lib/module/components/texts/ThemedText.js +28 -0
  862. package/lib/module/components/texts/ThemedText.js.map +1 -0
  863. package/lib/module/components/texts/Title.js +22 -0
  864. package/lib/module/components/texts/Title.js.map +1 -0
  865. package/lib/module/components/toast/BaseToast.js +136 -0
  866. package/lib/module/components/toast/BaseToast.js.map +1 -0
  867. package/lib/module/components/toast/ToastConfig.js +29 -0
  868. package/lib/module/components/toast/ToastConfig.js.map +1 -0
  869. package/lib/module/components/tour/AttachTourStep.js +58 -0
  870. package/lib/module/components/tour/AttachTourStep.js.map +1 -0
  871. package/lib/module/components/tour/CredentialOfferTourSteps.js +41 -0
  872. package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -0
  873. package/lib/module/components/tour/CredentialsTourSteps.js +41 -0
  874. package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -0
  875. package/lib/module/components/tour/HomeTourSteps.js +112 -0
  876. package/lib/module/components/tour/HomeTourSteps.js.map +1 -0
  877. package/lib/module/components/tour/ProofRequestTourSteps.js +41 -0
  878. package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -0
  879. package/lib/module/components/tour/SpotCutout.js +64 -0
  880. package/lib/module/components/tour/SpotCutout.js.map +1 -0
  881. package/lib/module/components/tour/TourBox.js +199 -0
  882. package/lib/module/components/tour/TourBox.js.map +1 -0
  883. package/lib/module/components/tour/TourOverlay.js +138 -0
  884. package/lib/module/components/tour/TourOverlay.js.map +1 -0
  885. package/lib/module/components/views/CredentialCardLogo.js +66 -0
  886. package/lib/module/components/views/CredentialCardLogo.js.map +1 -0
  887. package/lib/module/components/views/CredentialDetailPrimaryHeader.js +79 -0
  888. package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -0
  889. package/lib/module/components/views/CredentialDetailSecondaryHeader.js +39 -0
  890. package/lib/module/components/views/CredentialDetailSecondaryHeader.js.map +1 -0
  891. package/lib/module/components/views/HomeFooterView.js +95 -0
  892. package/lib/module/components/views/HomeFooterView.js.map +1 -0
  893. package/lib/module/components/views/HomeHeaderView.js +9 -0
  894. package/lib/module/components/views/HomeHeaderView.js.map +1 -0
  895. package/lib/module/components/views/KeyboardView.js +33 -0
  896. package/lib/module/components/views/KeyboardView.js.map +1 -0
  897. package/lib/module/components/views/LoadingPlaceholder.js +153 -0
  898. package/lib/module/components/views/LoadingPlaceholder.js.map +1 -0
  899. package/lib/module/components/views/LoadingView.js +30 -0
  900. package/lib/module/components/views/LoadingView.js.map +1 -0
  901. package/lib/module/components/views/ModularView.js +34 -0
  902. package/lib/module/components/views/ModularView.js.map +1 -0
  903. package/lib/module/components/views/ProgressBar.js +55 -0
  904. package/lib/module/components/views/ProgressBar.js.map +1 -0
  905. package/lib/module/configs/ledgers/indy/index.js +6 -0
  906. package/lib/module/configs/ledgers/indy/index.js.map +1 -0
  907. package/lib/module/configs/ledgers/indy/ledgers.json +51 -0
  908. package/lib/module/constants.js +95 -0
  909. package/lib/module/constants.js.map +1 -0
  910. package/lib/module/container-api.js +106 -0
  911. package/lib/module/container-api.js.map +1 -0
  912. package/lib/module/container-impl.js +221 -0
  913. package/lib/module/container-impl.js.map +1 -0
  914. package/lib/module/contexts/activity.js +148 -0
  915. package/lib/module/contexts/activity.js.map +1 -0
  916. package/lib/module/contexts/animated-components.js +6 -0
  917. package/lib/module/contexts/animated-components.js.map +1 -0
  918. package/lib/module/contexts/auth.js +138 -0
  919. package/lib/module/contexts/auth.js.map +1 -0
  920. package/lib/module/contexts/index.js +4 -0
  921. package/lib/module/contexts/index.js.map +1 -0
  922. package/lib/module/contexts/network.js +68 -0
  923. package/lib/module/contexts/network.js.map +1 -0
  924. package/lib/module/contexts/reducers/index.js +3 -0
  925. package/lib/module/contexts/reducers/index.js.map +1 -0
  926. package/lib/module/contexts/reducers/store.js +657 -0
  927. package/lib/module/contexts/reducers/store.js.map +1 -0
  928. package/lib/module/contexts/store.js +90 -0
  929. package/lib/module/contexts/store.js.map +1 -0
  930. package/lib/module/contexts/theme.js +6 -0
  931. package/lib/module/contexts/theme.js.map +1 -0
  932. package/lib/module/contexts/tour/tour-context.js +46 -0
  933. package/lib/module/contexts/tour/tour-context.js.map +1 -0
  934. package/lib/module/contexts/tour/tour-provider.js +86 -0
  935. package/lib/module/contexts/tour/tour-provider.js.map +1 -0
  936. package/lib/module/hooks/bundle-resolver.js +57 -0
  937. package/lib/module/hooks/bundle-resolver.js.map +1 -0
  938. package/lib/module/hooks/chat-messages.js +245 -0
  939. package/lib/module/hooks/chat-messages.js.map +1 -0
  940. package/lib/module/hooks/connections.js +31 -0
  941. package/lib/module/hooks/connections.js.map +1 -0
  942. package/lib/module/hooks/credential-card-styles.js +143 -0
  943. package/lib/module/hooks/credential-card-styles.js.map +1 -0
  944. package/lib/module/hooks/credentials.js +9 -0
  945. package/lib/module/hooks/credentials.js.map +1 -0
  946. package/lib/module/hooks/deep-links.js +50 -0
  947. package/lib/module/hooks/deep-links.js.map +1 -0
  948. package/lib/module/hooks/initialize-agent.js +129 -0
  949. package/lib/module/hooks/initialize-agent.js.map +1 -0
  950. package/lib/module/hooks/notifications.js +63 -0
  951. package/lib/module/hooks/notifications.js.map +1 -0
  952. package/lib/module/hooks/oob.js +17 -0
  953. package/lib/module/hooks/oob.js.map +1 -0
  954. package/lib/module/hooks/proof-request-templates.js +37 -0
  955. package/lib/module/hooks/proof-request-templates.js.map +1 -0
  956. package/lib/module/hooks/proofs.js +29 -0
  957. package/lib/module/hooks/proofs.js.map +1 -0
  958. package/lib/module/hooks/screen-capture.js +50 -0
  959. package/lib/module/hooks/screen-capture.js.map +1 -0
  960. package/lib/module/hooks/useOnboardingState.js +29 -0
  961. package/lib/module/hooks/useOnboardingState.js.map +1 -0
  962. package/lib/module/index.js +96 -0
  963. package/lib/module/index.js.map +1 -0
  964. package/lib/module/layout/ScreenLayout.js +41 -0
  965. package/lib/module/layout/ScreenLayout.js.map +1 -0
  966. package/lib/module/localization/en/index.js +923 -0
  967. package/lib/module/localization/en/index.js.map +1 -0
  968. package/lib/module/localization/fr/index.js +897 -0
  969. package/lib/module/localization/fr/index.js.map +1 -0
  970. package/lib/module/localization/index.js +52 -0
  971. package/lib/module/localization/index.js.map +1 -0
  972. package/lib/module/localization/pt-br/index.js +880 -0
  973. package/lib/module/localization/pt-br/index.js.map +1 -0
  974. package/lib/module/modules/history/context/historyManager.js +248 -0
  975. package/lib/module/modules/history/context/historyManager.js.map +1 -0
  976. package/lib/module/modules/history/index.js +2 -0
  977. package/lib/module/modules/history/index.js.map +1 -0
  978. package/lib/module/modules/history/navigation/HistoryStack.js +31 -0
  979. package/lib/module/modules/history/navigation/HistoryStack.js.map +1 -0
  980. package/lib/module/modules/history/services/queue.service.js +23 -0
  981. package/lib/module/modules/history/services/queue.service.js.map +1 -0
  982. package/lib/module/modules/history/types/index.js +32 -0
  983. package/lib/module/modules/history/types/index.js.map +1 -0
  984. package/lib/module/modules/history/ui/HistoryPage.js +119 -0
  985. package/lib/module/modules/history/ui/HistoryPage.js.map +1 -0
  986. package/lib/module/modules/history/ui/HistorySettings.js +167 -0
  987. package/lib/module/modules/history/ui/HistorySettings.js.map +1 -0
  988. package/lib/module/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  989. package/lib/module/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
  990. package/lib/module/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
  991. package/lib/module/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
  992. package/lib/module/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  993. package/lib/module/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
  994. package/lib/module/modules/history/ui/components/BulletPoint.js +46 -0
  995. package/lib/module/modules/history/ui/components/BulletPoint.js.map +1 -0
  996. package/lib/module/modules/history/ui/components/HistoryListItem.js +269 -0
  997. package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -0
  998. package/lib/module/modules/history/ui/components/HistoryMenu.js +23 -0
  999. package/lib/module/modules/history/ui/components/HistoryMenu.js.map +1 -0
  1000. package/lib/module/modules/history/ui/components/SingleSelectBlock.js +57 -0
  1001. package/lib/module/modules/history/ui/components/SingleSelectBlock.js.map +1 -0
  1002. package/lib/module/modules/openid/components/CredentialRowCard.js +78 -0
  1003. package/lib/module/modules/openid/components/CredentialRowCard.js.map +1 -0
  1004. package/lib/module/modules/openid/components/OpenIDCredentialCard.js +225 -0
  1005. package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -0
  1006. package/lib/module/modules/openid/context/OpenIDCredentialRecordProvider.js +221 -0
  1007. package/lib/module/modules/openid/context/OpenIDCredentialRecordProvider.js.map +1 -0
  1008. package/lib/module/modules/openid/display.js +357 -0
  1009. package/lib/module/modules/openid/display.js.map +1 -0
  1010. package/lib/module/modules/openid/displayProof.js +48 -0
  1011. package/lib/module/modules/openid/displayProof.js.map +1 -0
  1012. package/lib/module/modules/openid/hooks/openid.js +81 -0
  1013. package/lib/module/modules/openid/hooks/openid.js.map +1 -0
  1014. package/lib/module/modules/openid/metadata.js +30 -0
  1015. package/lib/module/modules/openid/metadata.js.map +1 -0
  1016. package/lib/module/modules/openid/offerResolve.js +179 -0
  1017. package/lib/module/modules/openid/offerResolve.js.map +1 -0
  1018. package/lib/module/modules/openid/resolverProof.js +233 -0
  1019. package/lib/module/modules/openid/resolverProof.js.map +1 -0
  1020. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +206 -0
  1021. package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -0
  1022. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +170 -0
  1023. package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -0
  1024. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +266 -0
  1025. package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -0
  1026. package/lib/module/modules/openid/types.js +7 -0
  1027. package/lib/module/modules/openid/types.js.map +1 -0
  1028. package/lib/module/modules/openid/utils/utils.js +118 -0
  1029. package/lib/module/modules/openid/utils/utils.js.map +1 -0
  1030. package/lib/module/navigators/ConnectStack.js +58 -0
  1031. package/lib/module/navigators/ConnectStack.js.map +1 -0
  1032. package/lib/module/navigators/ContactStack.js +96 -0
  1033. package/lib/module/navigators/ContactStack.js.map +1 -0
  1034. package/lib/module/navigators/CredentialStack.js +34 -0
  1035. package/lib/module/navigators/CredentialStack.js.map +1 -0
  1036. package/lib/module/navigators/DeliveryStack.js +70 -0
  1037. package/lib/module/navigators/DeliveryStack.js.map +1 -0
  1038. package/lib/module/navigators/HomeStack.js +35 -0
  1039. package/lib/module/navigators/HomeStack.js.map +1 -0
  1040. package/lib/module/navigators/MainStack.js +135 -0
  1041. package/lib/module/navigators/MainStack.js.map +1 -0
  1042. package/lib/module/navigators/NotificationStack.js +62 -0
  1043. package/lib/module/navigators/NotificationStack.js.map +1 -0
  1044. package/lib/module/navigators/OnboardingScreens.js +109 -0
  1045. package/lib/module/navigators/OnboardingScreens.js.map +1 -0
  1046. package/lib/module/navigators/OnboardingStack.js +136 -0
  1047. package/lib/module/navigators/OnboardingStack.js.map +1 -0
  1048. package/lib/module/navigators/ProofRequestStack.js +108 -0
  1049. package/lib/module/navigators/ProofRequestStack.js.map +1 -0
  1050. package/lib/module/navigators/RootStack.js +59 -0
  1051. package/lib/module/navigators/RootStack.js.map +1 -0
  1052. package/lib/module/navigators/SettingStack.js +148 -0
  1053. package/lib/module/navigators/SettingStack.js.map +1 -0
  1054. package/lib/module/navigators/TabStack.js +294 -0
  1055. package/lib/module/navigators/TabStack.js.map +1 -0
  1056. package/lib/module/navigators/defaultLayoutOptions.js +17 -0
  1057. package/lib/module/navigators/defaultLayoutOptions.js.map +1 -0
  1058. package/lib/module/navigators/defaultStackOptions.js +87 -0
  1059. package/lib/module/navigators/defaultStackOptions.js.map +1 -0
  1060. package/lib/module/navigators/index.js +14 -0
  1061. package/lib/module/navigators/index.js.map +1 -0
  1062. package/lib/module/onboarding.js +87 -0
  1063. package/lib/module/onboarding.js.map +1 -0
  1064. package/lib/module/screens/AttemptLockout.js +152 -0
  1065. package/lib/module/screens/AttemptLockout.js.map +1 -0
  1066. package/lib/module/screens/AutoLock.js +134 -0
  1067. package/lib/module/screens/AutoLock.js.map +1 -0
  1068. package/lib/module/screens/Chat.js +141 -0
  1069. package/lib/module/screens/Chat.js.map +1 -0
  1070. package/lib/module/screens/Connection.js +357 -0
  1071. package/lib/module/screens/Connection.js.map +1 -0
  1072. package/lib/module/screens/ContactDetails.js +300 -0
  1073. package/lib/module/screens/ContactDetails.js.map +1 -0
  1074. package/lib/module/screens/CredentialDetails.js +400 -0
  1075. package/lib/module/screens/CredentialDetails.js.map +1 -0
  1076. package/lib/module/screens/CredentialOffer.js +302 -0
  1077. package/lib/module/screens/CredentialOffer.js.map +1 -0
  1078. package/lib/module/screens/CredentialOfferAccept.js +164 -0
  1079. package/lib/module/screens/CredentialOfferAccept.js.map +1 -0
  1080. package/lib/module/screens/DataRetention.js +107 -0
  1081. package/lib/module/screens/DataRetention.js.map +1 -0
  1082. package/lib/module/screens/Developer.js +295 -0
  1083. package/lib/module/screens/Developer.js.map +1 -0
  1084. package/lib/module/screens/Home.js +147 -0
  1085. package/lib/module/screens/Home.js.map +1 -0
  1086. package/lib/module/screens/Language.js +110 -0
  1087. package/lib/module/screens/Language.js.map +1 -0
  1088. package/lib/module/screens/ListContacts.js +112 -0
  1089. package/lib/module/screens/ListContacts.js.map +1 -0
  1090. package/lib/module/screens/ListCredentials.js +121 -0
  1091. package/lib/module/screens/ListCredentials.js.map +1 -0
  1092. package/lib/module/screens/ListProofRequests.js +158 -0
  1093. package/lib/module/screens/ListProofRequests.js.map +1 -0
  1094. package/lib/module/screens/MobileVerifierLoading.js +107 -0
  1095. package/lib/module/screens/MobileVerifierLoading.js.map +1 -0
  1096. package/lib/module/screens/NameWallet.js +151 -0
  1097. package/lib/module/screens/NameWallet.js.map +1 -0
  1098. package/lib/module/screens/Onboarding.js +135 -0
  1099. package/lib/module/screens/Onboarding.js.map +1 -0
  1100. package/lib/module/screens/OnboardingPages.js +189 -0
  1101. package/lib/module/screens/OnboardingPages.js.map +1 -0
  1102. package/lib/module/screens/PINCreate.js +330 -0
  1103. package/lib/module/screens/PINCreate.js.map +1 -0
  1104. package/lib/module/screens/PINEnter.js +522 -0
  1105. package/lib/module/screens/PINEnter.js.map +1 -0
  1106. package/lib/module/screens/PINExplainer.js +90 -0
  1107. package/lib/module/screens/PINExplainer.js.map +1 -0
  1108. package/lib/module/screens/PasteUrl.js +133 -0
  1109. package/lib/module/screens/PasteUrl.js.map +1 -0
  1110. package/lib/module/screens/Preface.js +95 -0
  1111. package/lib/module/screens/Preface.js.map +1 -0
  1112. package/lib/module/screens/ProofChangeCredential.js +143 -0
  1113. package/lib/module/screens/ProofChangeCredential.js.map +1 -0
  1114. package/lib/module/screens/ProofDetails.js +324 -0
  1115. package/lib/module/screens/ProofDetails.js.map +1 -0
  1116. package/lib/module/screens/ProofRequest.js +677 -0
  1117. package/lib/module/screens/ProofRequest.js.map +1 -0
  1118. package/lib/module/screens/ProofRequestAccept.js +119 -0
  1119. package/lib/module/screens/ProofRequestAccept.js.map +1 -0
  1120. package/lib/module/screens/ProofRequestDetails.js +267 -0
  1121. package/lib/module/screens/ProofRequestDetails.js.map +1 -0
  1122. package/lib/module/screens/ProofRequestUsageHistory.js +155 -0
  1123. package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -0
  1124. package/lib/module/screens/ProofRequesting.js +232 -0
  1125. package/lib/module/screens/ProofRequesting.js.map +1 -0
  1126. package/lib/module/screens/PushNotification.js +170 -0
  1127. package/lib/module/screens/PushNotification.js.map +1 -0
  1128. package/lib/module/screens/RenameContact.js +145 -0
  1129. package/lib/module/screens/RenameContact.js.map +1 -0
  1130. package/lib/module/screens/Scan.js +114 -0
  1131. package/lib/module/screens/Scan.js.map +1 -0
  1132. package/lib/module/screens/ScanHelp.js +51 -0
  1133. package/lib/module/screens/ScanHelp.js.map +1 -0
  1134. package/lib/module/screens/Settings.js +442 -0
  1135. package/lib/module/screens/Settings.js.map +1 -0
  1136. package/lib/module/screens/Splash.js +84 -0
  1137. package/lib/module/screens/Splash.js.map +1 -0
  1138. package/lib/module/screens/Terms.js +136 -0
  1139. package/lib/module/screens/Terms.js.map +1 -0
  1140. package/lib/module/screens/Tours.js +100 -0
  1141. package/lib/module/screens/Tours.js.map +1 -0
  1142. package/lib/module/screens/UpdateAvailable.js +119 -0
  1143. package/lib/module/screens/UpdateAvailable.js.map +1 -0
  1144. package/lib/module/screens/UseBiometry.js +306 -0
  1145. package/lib/module/screens/UseBiometry.js.map +1 -0
  1146. package/lib/module/screens/WhatAreContacts.js +71 -0
  1147. package/lib/module/screens/WhatAreContacts.js.map +1 -0
  1148. package/lib/module/services/keychain.js +150 -0
  1149. package/lib/module/services/keychain.js.map +1 -0
  1150. package/lib/module/services/logger.js +63 -0
  1151. package/lib/module/services/logger.js.map +1 -0
  1152. package/lib/module/services/storage.js +122 -0
  1153. package/lib/module/services/storage.js.map +1 -0
  1154. package/lib/module/theme.js +879 -0
  1155. package/lib/module/theme.js.map +1 -0
  1156. package/lib/module/types/attempt-lockout-config.js +2 -0
  1157. package/lib/module/types/attempt-lockout-config.js.map +1 -0
  1158. package/lib/module/types/attestation.js +8 -0
  1159. package/lib/module/types/attestation.js.map +1 -0
  1160. package/lib/module/types/chat.js +6 -0
  1161. package/lib/module/types/chat.js.map +1 -0
  1162. package/lib/module/types/config.js +2 -0
  1163. package/lib/module/types/config.js.map +1 -0
  1164. package/lib/module/types/contact-details.js +2 -0
  1165. package/lib/module/types/contact-details.js.map +1 -0
  1166. package/lib/module/types/credential-list-footer.js +2 -0
  1167. package/lib/module/types/credential-list-footer.js.map +1 -0
  1168. package/lib/module/types/credential-status.js +5 -0
  1169. package/lib/module/types/credential-status.js.map +1 -0
  1170. package/lib/module/types/credentials.js +2 -0
  1171. package/lib/module/types/credentials.js.map +1 -0
  1172. package/lib/module/types/decline.js +7 -0
  1173. package/lib/module/types/decline.js.map +1 -0
  1174. package/lib/module/types/error.js +24 -0
  1175. package/lib/module/types/error.js.map +1 -0
  1176. package/lib/module/types/fn.js +2 -0
  1177. package/lib/module/types/fn.js.map +1 -0
  1178. package/lib/module/types/genesis.js +2 -0
  1179. package/lib/module/types/genesis.js.map +1 -0
  1180. package/lib/module/types/index.js +3 -0
  1181. package/lib/module/types/index.js.map +1 -0
  1182. package/lib/module/types/metadata.js +9 -0
  1183. package/lib/module/types/metadata.js.map +1 -0
  1184. package/lib/module/types/navigators.js +71 -0
  1185. package/lib/module/types/navigators.js.map +1 -0
  1186. package/lib/module/types/notification.js +2 -0
  1187. package/lib/module/types/notification.js.map +1 -0
  1188. package/lib/module/types/permissions.js +2 -0
  1189. package/lib/module/types/permissions.js.map +1 -0
  1190. package/lib/module/types/proof-items.js +2 -0
  1191. package/lib/module/types/proof-items.js.map +1 -0
  1192. package/lib/module/types/react-i18next.d.js +2 -0
  1193. package/lib/module/types/react-i18next.d.js.map +1 -0
  1194. package/lib/module/types/remove.js +10 -0
  1195. package/lib/module/types/remove.js.map +1 -0
  1196. package/lib/module/types/security.js +13 -0
  1197. package/lib/module/types/security.js.map +1 -0
  1198. package/lib/module/types/settings.js +2 -0
  1199. package/lib/module/types/settings.js.map +1 -0
  1200. package/lib/module/types/state.js +2 -0
  1201. package/lib/module/types/state.js.map +1 -0
  1202. package/lib/module/types/tour.js +16 -0
  1203. package/lib/module/types/tour.js.map +1 -0
  1204. package/lib/module/types/version-check.js +2 -0
  1205. package/lib/module/types/version-check.js.map +1 -0
  1206. package/lib/module/utils/PINCreationValidation.js +79 -0
  1207. package/lib/module/utils/PINCreationValidation.js.map +1 -0
  1208. package/lib/module/utils/agent.js +84 -0
  1209. package/lib/module/utils/agent.js.map +1 -0
  1210. package/lib/module/utils/anonCredsProofRequestMapper.js +148 -0
  1211. package/lib/module/utils/anonCredsProofRequestMapper.js.map +1 -0
  1212. package/lib/module/utils/contacts.js +33 -0
  1213. package/lib/module/utils/contacts.js.map +1 -0
  1214. package/lib/module/utils/cred-def.js +29 -0
  1215. package/lib/module/utils/cred-def.js.map +1 -0
  1216. package/lib/module/utils/credential.js +31 -0
  1217. package/lib/module/utils/credential.js.map +1 -0
  1218. package/lib/module/utils/crypto.js +13 -0
  1219. package/lib/module/utils/crypto.js.map +1 -0
  1220. package/lib/module/utils/fileCache.js +118 -0
  1221. package/lib/module/utils/fileCache.js.map +1 -0
  1222. package/lib/module/utils/helpers.js +1101 -0
  1223. package/lib/module/utils/helpers.js.map +1 -0
  1224. package/lib/module/utils/luminance.js +34 -0
  1225. package/lib/module/utils/luminance.js.map +1 -0
  1226. package/lib/module/utils/migration.js +36 -0
  1227. package/lib/module/utils/migration.js.map +1 -0
  1228. package/lib/module/utils/network.js +47 -0
  1229. package/lib/module/utils/network.js.map +1 -0
  1230. package/lib/module/utils/oca.js +104 -0
  1231. package/lib/module/utils/oca.js.map +1 -0
  1232. package/lib/module/utils/parsers.js +74 -0
  1233. package/lib/module/utils/parsers.js.map +1 -0
  1234. package/lib/module/utils/proofBundle.js +171 -0
  1235. package/lib/module/utils/proofBundle.js.map +1 -0
  1236. package/lib/module/utils/schema.js +25 -0
  1237. package/lib/module/utils/schema.js.map +1 -0
  1238. package/lib/module/utils/testable.js +11 -0
  1239. package/lib/module/utils/testable.js.map +1 -0
  1240. package/lib/typescript/cli.d.ts +2 -0
  1241. package/lib/typescript/cli.d.ts.map +1 -0
  1242. package/lib/typescript/react-native.config.d.ts +2 -0
  1243. package/lib/typescript/react-native.config.d.ts.map +1 -0
  1244. package/lib/typescript/src/App.d.ts +5 -0
  1245. package/lib/typescript/src/App.d.ts.map +1 -0
  1246. package/lib/typescript/src/animated-components.d.ts +12 -0
  1247. package/lib/typescript/src/animated-components.d.ts.map +1 -0
  1248. package/lib/typescript/src/components/animated/ButtonLoading.d.ts +4 -0
  1249. package/lib/typescript/src/components/animated/ButtonLoading.d.ts.map +1 -0
  1250. package/lib/typescript/src/components/animated/ConnectionLoading.d.ts +4 -0
  1251. package/lib/typescript/src/components/animated/ConnectionLoading.d.ts.map +1 -0
  1252. package/lib/typescript/src/components/animated/CredentialAdded.d.ts +4 -0
  1253. package/lib/typescript/src/components/animated/CredentialAdded.d.ts.map +1 -0
  1254. package/lib/typescript/src/components/animated/CredentialPending.d.ts +4 -0
  1255. package/lib/typescript/src/components/animated/CredentialPending.d.ts.map +1 -0
  1256. package/lib/typescript/src/components/animated/LoadingIndicator.d.ts +4 -0
  1257. package/lib/typescript/src/components/animated/LoadingIndicator.d.ts.map +1 -0
  1258. package/lib/typescript/src/components/animated/PresentationLoading.d.ts +4 -0
  1259. package/lib/typescript/src/components/animated/PresentationLoading.d.ts.map +1 -0
  1260. package/lib/typescript/src/components/animated/RecordLoading.d.ts +8 -0
  1261. package/lib/typescript/src/components/animated/RecordLoading.d.ts.map +1 -0
  1262. package/lib/typescript/src/components/animated/SendingProof.d.ts +4 -0
  1263. package/lib/typescript/src/components/animated/SendingProof.d.ts.map +1 -0
  1264. package/lib/typescript/src/components/animated/SentProof.d.ts +4 -0
  1265. package/lib/typescript/src/components/animated/SentProof.d.ts.map +1 -0
  1266. package/lib/typescript/src/components/buttons/Button-api.d.ts +33 -0
  1267. package/lib/typescript/src/components/buttons/Button-api.d.ts.map +1 -0
  1268. package/lib/typescript/src/components/buttons/Button.d.ts +8 -0
  1269. package/lib/typescript/src/components/buttons/Button.d.ts.map +1 -0
  1270. package/lib/typescript/src/components/buttons/HeaderHome.d.ts +4 -0
  1271. package/lib/typescript/src/components/buttons/HeaderHome.d.ts.map +1 -0
  1272. package/lib/typescript/src/components/buttons/IconButton.d.ts +17 -0
  1273. package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -0
  1274. package/lib/typescript/src/components/buttons/InfoIcon.d.ts +7 -0
  1275. package/lib/typescript/src/components/buttons/InfoIcon.d.ts.map +1 -0
  1276. package/lib/typescript/src/components/buttons/SettingsMenu.d.ts +4 -0
  1277. package/lib/typescript/src/components/buttons/SettingsMenu.d.ts.map +1 -0
  1278. package/lib/typescript/src/components/buttons/ToggleButton.d.ts +13 -0
  1279. package/lib/typescript/src/components/buttons/ToggleButton.d.ts.map +1 -0
  1280. package/lib/typescript/src/components/buttons/index.d.ts +4 -0
  1281. package/lib/typescript/src/components/buttons/index.d.ts.map +1 -0
  1282. package/lib/typescript/src/components/chat/ActionSlider.d.ts +13 -0
  1283. package/lib/typescript/src/components/chat/ActionSlider.d.ts.map +1 -0
  1284. package/lib/typescript/src/components/chat/ChatActions.d.ts +7 -0
  1285. package/lib/typescript/src/components/chat/ChatActions.d.ts.map +1 -0
  1286. package/lib/typescript/src/components/chat/ChatBubble.d.ts +3 -0
  1287. package/lib/typescript/src/components/chat/ChatBubble.d.ts.map +1 -0
  1288. package/lib/typescript/src/components/chat/ChatEvent.d.ts +10 -0
  1289. package/lib/typescript/src/components/chat/ChatEvent.d.ts.map +1 -0
  1290. package/lib/typescript/src/components/chat/ChatMessage.d.ts +18 -0
  1291. package/lib/typescript/src/components/chat/ChatMessage.d.ts.map +1 -0
  1292. package/lib/typescript/src/components/chat/MessageInput.d.ts +5 -0
  1293. package/lib/typescript/src/components/chat/MessageInput.d.ts.map +1 -0
  1294. package/lib/typescript/src/components/chat/index.d.ts +4 -0
  1295. package/lib/typescript/src/components/chat/index.d.ts.map +1 -0
  1296. package/lib/typescript/src/components/index.d.ts +4 -0
  1297. package/lib/typescript/src/components/index.d.ts.map +1 -0
  1298. package/lib/typescript/src/components/inputs/BulletPoint.d.ts +9 -0
  1299. package/lib/typescript/src/components/inputs/BulletPoint.d.ts.map +1 -0
  1300. package/lib/typescript/src/components/inputs/CheckBoxRow.d.ts +14 -0
  1301. package/lib/typescript/src/components/inputs/CheckBoxRow.d.ts.map +1 -0
  1302. package/lib/typescript/src/components/inputs/InlineErrorText.d.ts +14 -0
  1303. package/lib/typescript/src/components/inputs/InlineErrorText.d.ts.map +1 -0
  1304. package/lib/typescript/src/components/inputs/LimitedTextInput.d.ts +10 -0
  1305. package/lib/typescript/src/components/inputs/LimitedTextInput.d.ts.map +1 -0
  1306. package/lib/typescript/src/components/inputs/PINInput.d.ts +14 -0
  1307. package/lib/typescript/src/components/inputs/PINInput.d.ts.map +1 -0
  1308. package/lib/typescript/src/components/inputs/SingleSelectBlock.d.ts +13 -0
  1309. package/lib/typescript/src/components/inputs/SingleSelectBlock.d.ts.map +1 -0
  1310. package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts +8 -0
  1311. package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts.map +1 -0
  1312. package/lib/typescript/src/components/listItems/ContactListItem.d.ts +11 -0
  1313. package/lib/typescript/src/components/listItems/ContactListItem.d.ts.map +1 -0
  1314. package/lib/typescript/src/components/listItems/NotificationListItem.d.ts +19 -0
  1315. package/lib/typescript/src/components/listItems/NotificationListItem.d.ts.map +1 -0
  1316. package/lib/typescript/src/components/misc/ActivityLogLink.d.ts +4 -0
  1317. package/lib/typescript/src/components/misc/ActivityLogLink.d.ts.map +1 -0
  1318. package/lib/typescript/src/components/misc/AvatarView.d.ts +9 -0
  1319. package/lib/typescript/src/components/misc/AvatarView.d.ts.map +1 -0
  1320. package/lib/typescript/src/components/misc/CardWatermark.d.ts +27 -0
  1321. package/lib/typescript/src/components/misc/CardWatermark.d.ts.map +1 -0
  1322. package/lib/typescript/src/components/misc/ConnectionAlert.d.ts +7 -0
  1323. package/lib/typescript/src/components/misc/ConnectionAlert.d.ts.map +1 -0
  1324. package/lib/typescript/src/components/misc/ConnectionImage.d.ts +9 -0
  1325. package/lib/typescript/src/components/misc/ConnectionImage.d.ts.map +1 -0
  1326. package/lib/typescript/src/components/misc/ContentGradient.d.ts +11 -0
  1327. package/lib/typescript/src/components/misc/ContentGradient.d.ts.map +1 -0
  1328. package/lib/typescript/src/components/misc/CredentialCard.d.ts +24 -0
  1329. package/lib/typescript/src/components/misc/CredentialCard.d.ts.map +1 -0
  1330. package/lib/typescript/src/components/misc/CredentialCard10.d.ts +44 -0
  1331. package/lib/typescript/src/components/misc/CredentialCard10.d.ts.map +1 -0
  1332. package/lib/typescript/src/components/misc/CredentialCard11.d.ts +32 -0
  1333. package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -0
  1334. package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts +11 -0
  1335. package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts.map +1 -0
  1336. package/lib/typescript/src/components/misc/CredentialCard11Issuer.d.ts +12 -0
  1337. package/lib/typescript/src/components/misc/CredentialCard11Issuer.d.ts.map +1 -0
  1338. package/lib/typescript/src/components/misc/CredentialCard11Logo.d.ts +10 -0
  1339. package/lib/typescript/src/components/misc/CredentialCard11Logo.d.ts.map +1 -0
  1340. package/lib/typescript/src/components/misc/EmptyList.d.ts +7 -0
  1341. package/lib/typescript/src/components/misc/EmptyList.d.ts.map +1 -0
  1342. package/lib/typescript/src/components/misc/EmptyListContacts.d.ts +9 -0
  1343. package/lib/typescript/src/components/misc/EmptyListContacts.d.ts.map +1 -0
  1344. package/lib/typescript/src/components/misc/InfoBox.d.ts +28 -0
  1345. package/lib/typescript/src/components/misc/InfoBox.d.ts.map +1 -0
  1346. package/lib/typescript/src/components/misc/NoNewUpdates.d.ts +4 -0
  1347. package/lib/typescript/src/components/misc/NoNewUpdates.d.ts.map +1 -0
  1348. package/lib/typescript/src/components/misc/PINCreateHeader.d.ts +6 -0
  1349. package/lib/typescript/src/components/misc/PINCreateHeader.d.ts.map +1 -0
  1350. package/lib/typescript/src/components/misc/Pagination.d.ts +23 -0
  1351. package/lib/typescript/src/components/misc/Pagination.d.ts.map +1 -0
  1352. package/lib/typescript/src/components/misc/QRRenderer.d.ts +11 -0
  1353. package/lib/typescript/src/components/misc/QRRenderer.d.ts.map +1 -0
  1354. package/lib/typescript/src/components/misc/QRScanner.d.ts +15 -0
  1355. package/lib/typescript/src/components/misc/QRScanner.d.ts.map +1 -0
  1356. package/lib/typescript/src/components/misc/QRScannerTorch.d.ts +8 -0
  1357. package/lib/typescript/src/components/misc/QRScannerTorch.d.ts.map +1 -0
  1358. package/lib/typescript/src/components/misc/ScanCamera.d.ts +11 -0
  1359. package/lib/typescript/src/components/misc/ScanCamera.d.ts.map +1 -0
  1360. package/lib/typescript/src/components/misc/ScanTab.d.ts +10 -0
  1361. package/lib/typescript/src/components/misc/ScanTab.d.ts.map +1 -0
  1362. package/lib/typescript/src/components/misc/SharedProofData.d.ts +9 -0
  1363. package/lib/typescript/src/components/misc/SharedProofData.d.ts.map +1 -0
  1364. package/lib/typescript/src/components/misc/UnorderedList.d.ts +7 -0
  1365. package/lib/typescript/src/components/misc/UnorderedList.d.ts.map +1 -0
  1366. package/lib/typescript/src/components/misc/VerifierCredentialCard.d.ts +21 -0
  1367. package/lib/typescript/src/components/misc/VerifierCredentialCard.d.ts.map +1 -0
  1368. package/lib/typescript/src/components/misc/index.d.ts +3 -0
  1369. package/lib/typescript/src/components/misc/index.d.ts.map +1 -0
  1370. package/lib/typescript/src/components/modals/AlertModal.d.ts +9 -0
  1371. package/lib/typescript/src/components/modals/AlertModal.d.ts.map +1 -0
  1372. package/lib/typescript/src/components/modals/AppGuideModal.d.ts +14 -0
  1373. package/lib/typescript/src/components/modals/AppGuideModal.d.ts.map +1 -0
  1374. package/lib/typescript/src/components/modals/CameraDisclosureModal.d.ts +7 -0
  1375. package/lib/typescript/src/components/modals/CameraDisclosureModal.d.ts.map +1 -0
  1376. package/lib/typescript/src/components/modals/CommonRemoveModal.d.ts +12 -0
  1377. package/lib/typescript/src/components/modals/CommonRemoveModal.d.ts.map +1 -0
  1378. package/lib/typescript/src/components/modals/DismissiblePopupModal.d.ts +12 -0
  1379. package/lib/typescript/src/components/modals/DismissiblePopupModal.d.ts.map +1 -0
  1380. package/lib/typescript/src/components/modals/ErrorModal.d.ts +7 -0
  1381. package/lib/typescript/src/components/modals/ErrorModal.d.ts.map +1 -0
  1382. package/lib/typescript/src/components/modals/ImageModal.d.ts +9 -0
  1383. package/lib/typescript/src/components/modals/ImageModal.d.ts.map +1 -0
  1384. package/lib/typescript/src/components/modals/NetInfoModal.d.ts +9 -0
  1385. package/lib/typescript/src/components/modals/NetInfoModal.d.ts.map +1 -0
  1386. package/lib/typescript/src/components/modals/NotificationModal.d.ts +17 -0
  1387. package/lib/typescript/src/components/modals/NotificationModal.d.ts.map +1 -0
  1388. package/lib/typescript/src/components/modals/PopupModal.d.ts +15 -0
  1389. package/lib/typescript/src/components/modals/PopupModal.d.ts.map +1 -0
  1390. package/lib/typescript/src/components/modals/ProofCancelModal.d.ts +9 -0
  1391. package/lib/typescript/src/components/modals/ProofCancelModal.d.ts.map +1 -0
  1392. package/lib/typescript/src/components/modals/SafeAreaModal.d.ts +8 -0
  1393. package/lib/typescript/src/components/modals/SafeAreaModal.d.ts.map +1 -0
  1394. package/lib/typescript/src/components/network/NetInfo.d.ts +3 -0
  1395. package/lib/typescript/src/components/network/NetInfo.d.ts.map +1 -0
  1396. package/lib/typescript/src/components/record/Record.d.ts +12 -0
  1397. package/lib/typescript/src/components/record/Record.d.ts.map +1 -0
  1398. package/lib/typescript/src/components/record/RecordBinaryField.d.ts +9 -0
  1399. package/lib/typescript/src/components/record/RecordBinaryField.d.ts.map +1 -0
  1400. package/lib/typescript/src/components/record/RecordDateIntField.d.ts +10 -0
  1401. package/lib/typescript/src/components/record/RecordDateIntField.d.ts.map +1 -0
  1402. package/lib/typescript/src/components/record/RecordField.d.ts +22 -0
  1403. package/lib/typescript/src/components/record/RecordField.d.ts.map +1 -0
  1404. package/lib/typescript/src/components/record/RecordFooter.d.ts +4 -0
  1405. package/lib/typescript/src/components/record/RecordFooter.d.ts.map +1 -0
  1406. package/lib/typescript/src/components/record/RecordHeader.d.ts +4 -0
  1407. package/lib/typescript/src/components/record/RecordHeader.d.ts.map +1 -0
  1408. package/lib/typescript/src/components/record/RecordRemove.d.ts +8 -0
  1409. package/lib/typescript/src/components/record/RecordRemove.d.ts.map +1 -0
  1410. package/lib/typescript/src/components/texts/HeaderTitle.d.ts +7 -0
  1411. package/lib/typescript/src/components/texts/HeaderTitle.d.ts.map +1 -0
  1412. package/lib/typescript/src/components/texts/HighlightTextBox.d.ts +7 -0
  1413. package/lib/typescript/src/components/texts/HighlightTextBox.d.ts.map +1 -0
  1414. package/lib/typescript/src/components/texts/InfoTextBox.d.ts +14 -0
  1415. package/lib/typescript/src/components/texts/InfoTextBox.d.ts.map +1 -0
  1416. package/lib/typescript/src/components/texts/Label.d.ts +9 -0
  1417. package/lib/typescript/src/components/texts/Label.d.ts.map +1 -0
  1418. package/lib/typescript/src/components/texts/Link.d.ts +12 -0
  1419. package/lib/typescript/src/components/texts/Link.d.ts.map +1 -0
  1420. package/lib/typescript/src/components/texts/Text.d.ts +9 -0
  1421. package/lib/typescript/src/components/texts/Text.d.ts.map +1 -0
  1422. package/lib/typescript/src/components/texts/ThemedText.d.ts +16 -0
  1423. package/lib/typescript/src/components/texts/ThemedText.d.ts.map +1 -0
  1424. package/lib/typescript/src/components/texts/Title.d.ts +8 -0
  1425. package/lib/typescript/src/components/texts/Title.d.ts.map +1 -0
  1426. package/lib/typescript/src/components/toast/BaseToast.d.ts +19 -0
  1427. package/lib/typescript/src/components/toast/BaseToast.d.ts.map +1 -0
  1428. package/lib/typescript/src/components/toast/ToastConfig.d.ts +10 -0
  1429. package/lib/typescript/src/components/toast/ToastConfig.d.ts.map +1 -0
  1430. package/lib/typescript/src/components/tour/AttachTourStep.d.ts +42 -0
  1431. package/lib/typescript/src/components/tour/AttachTourStep.d.ts.map +1 -0
  1432. package/lib/typescript/src/components/tour/CredentialOfferTourSteps.d.ts +3 -0
  1433. package/lib/typescript/src/components/tour/CredentialOfferTourSteps.d.ts.map +1 -0
  1434. package/lib/typescript/src/components/tour/CredentialsTourSteps.d.ts +3 -0
  1435. package/lib/typescript/src/components/tour/CredentialsTourSteps.d.ts.map +1 -0
  1436. package/lib/typescript/src/components/tour/HomeTourSteps.d.ts +3 -0
  1437. package/lib/typescript/src/components/tour/HomeTourSteps.d.ts.map +1 -0
  1438. package/lib/typescript/src/components/tour/ProofRequestTourSteps.d.ts +3 -0
  1439. package/lib/typescript/src/components/tour/ProofRequestTourSteps.d.ts.map +1 -0
  1440. package/lib/typescript/src/components/tour/SpotCutout.d.ts +3 -0
  1441. package/lib/typescript/src/components/tour/SpotCutout.d.ts.map +1 -0
  1442. package/lib/typescript/src/components/tour/TourBox.d.ts +48 -0
  1443. package/lib/typescript/src/components/tour/TourBox.d.ts.map +1 -0
  1444. package/lib/typescript/src/components/tour/TourOverlay.d.ts +18 -0
  1445. package/lib/typescript/src/components/tour/TourOverlay.d.ts.map +1 -0
  1446. package/lib/typescript/src/components/views/CredentialCardLogo.d.ts +9 -0
  1447. package/lib/typescript/src/components/views/CredentialCardLogo.d.ts.map +1 -0
  1448. package/lib/typescript/src/components/views/CredentialDetailPrimaryHeader.d.ts +11 -0
  1449. package/lib/typescript/src/components/views/CredentialDetailPrimaryHeader.d.ts.map +1 -0
  1450. package/lib/typescript/src/components/views/CredentialDetailSecondaryHeader.d.ts +10 -0
  1451. package/lib/typescript/src/components/views/CredentialDetailSecondaryHeader.d.ts.map +1 -0
  1452. package/lib/typescript/src/components/views/HomeFooterView.d.ts +7 -0
  1453. package/lib/typescript/src/components/views/HomeFooterView.d.ts.map +1 -0
  1454. package/lib/typescript/src/components/views/HomeHeaderView.d.ts +7 -0
  1455. package/lib/typescript/src/components/views/HomeHeaderView.d.ts.map +1 -0
  1456. package/lib/typescript/src/components/views/KeyboardView.d.ts +6 -0
  1457. package/lib/typescript/src/components/views/KeyboardView.d.ts.map +1 -0
  1458. package/lib/typescript/src/components/views/LoadingPlaceholder.d.ts +17 -0
  1459. package/lib/typescript/src/components/views/LoadingPlaceholder.d.ts.map +1 -0
  1460. package/lib/typescript/src/components/views/LoadingView.d.ts +4 -0
  1461. package/lib/typescript/src/components/views/LoadingView.d.ts.map +1 -0
  1462. package/lib/typescript/src/components/views/ModularView.d.ts +9 -0
  1463. package/lib/typescript/src/components/views/ModularView.d.ts.map +1 -0
  1464. package/lib/typescript/src/components/views/ProgressBar.d.ts +9 -0
  1465. package/lib/typescript/src/components/views/ProgressBar.d.ts.map +1 -0
  1466. package/lib/typescript/src/configs/ledgers/indy/index.d.ts +4 -0
  1467. package/lib/typescript/src/configs/ledgers/indy/index.d.ts.map +1 -0
  1468. package/lib/typescript/src/constants.d.ts +50 -0
  1469. package/lib/typescript/src/constants.d.ts.map +1 -0
  1470. package/lib/typescript/src/container-api.d.ts +244 -0
  1471. package/lib/typescript/src/container-api.d.ts.map +1 -0
  1472. package/lib/typescript/src/container-impl.d.ts +73 -0
  1473. package/lib/typescript/src/container-impl.d.ts.map +1 -0
  1474. package/lib/typescript/src/contexts/activity.d.ts +15 -0
  1475. package/lib/typescript/src/contexts/activity.d.ts.map +1 -0
  1476. package/lib/typescript/src/contexts/animated-components.d.ts +5 -0
  1477. package/lib/typescript/src/contexts/animated-components.d.ts.map +1 -0
  1478. package/lib/typescript/src/contexts/auth.d.ts +19 -0
  1479. package/lib/typescript/src/contexts/auth.d.ts.map +1 -0
  1480. package/lib/typescript/src/contexts/index.d.ts +4 -0
  1481. package/lib/typescript/src/contexts/index.d.ts.map +1 -0
  1482. package/lib/typescript/src/contexts/network.d.ts +12 -0
  1483. package/lib/typescript/src/contexts/network.d.ts.map +1 -0
  1484. package/lib/typescript/src/contexts/reducers/index.d.ts +3 -0
  1485. package/lib/typescript/src/contexts/reducers/index.d.ts.map +1 -0
  1486. package/lib/typescript/src/contexts/reducers/store.d.ts +109 -0
  1487. package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -0
  1488. package/lib/typescript/src/contexts/store.d.ts +16 -0
  1489. package/lib/typescript/src/contexts/store.d.ts.map +1 -0
  1490. package/lib/typescript/src/contexts/theme.d.ts +5 -0
  1491. package/lib/typescript/src/contexts/theme.d.ts.map +1 -0
  1492. package/lib/typescript/src/contexts/tour/tour-context.d.ts +123 -0
  1493. package/lib/typescript/src/contexts/tour/tour-context.d.ts.map +1 -0
  1494. package/lib/typescript/src/contexts/tour/tour-provider.d.ts +46 -0
  1495. package/lib/typescript/src/contexts/tour/tour-provider.d.ts.map +1 -0
  1496. package/lib/typescript/src/hooks/bundle-resolver.d.ts +8 -0
  1497. package/lib/typescript/src/hooks/bundle-resolver.d.ts.map +1 -0
  1498. package/lib/typescript/src/hooks/chat-messages.d.ts +11 -0
  1499. package/lib/typescript/src/hooks/chat-messages.d.ts.map +1 -0
  1500. package/lib/typescript/src/hooks/connections.d.ts +5 -0
  1501. package/lib/typescript/src/hooks/connections.d.ts.map +1 -0
  1502. package/lib/typescript/src/hooks/credential-card-styles.d.ts +309 -0
  1503. package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -0
  1504. package/lib/typescript/src/hooks/credentials.d.ts +3 -0
  1505. package/lib/typescript/src/hooks/credentials.d.ts.map +1 -0
  1506. package/lib/typescript/src/hooks/deep-links.d.ts +2 -0
  1507. package/lib/typescript/src/hooks/deep-links.d.ts.map +1 -0
  1508. package/lib/typescript/src/hooks/initialize-agent.d.ts +7 -0
  1509. package/lib/typescript/src/hooks/initialize-agent.d.ts.map +1 -0
  1510. package/lib/typescript/src/hooks/notifications.d.ts +10 -0
  1511. package/lib/typescript/src/hooks/notifications.d.ts.map +1 -0
  1512. package/lib/typescript/src/hooks/oob.d.ts +3 -0
  1513. package/lib/typescript/src/hooks/oob.d.ts.map +1 -0
  1514. package/lib/typescript/src/hooks/proof-request-templates.d.ts +4 -0
  1515. package/lib/typescript/src/hooks/proof-request-templates.d.ts.map +1 -0
  1516. package/lib/typescript/src/hooks/proofs.d.ts +4 -0
  1517. package/lib/typescript/src/hooks/proofs.d.ts.map +1 -0
  1518. package/lib/typescript/src/hooks/screen-capture.d.ts +30 -0
  1519. package/lib/typescript/src/hooks/screen-capture.d.ts.map +1 -0
  1520. package/lib/typescript/src/hooks/useOnboardingState.d.ts +15 -0
  1521. package/lib/typescript/src/hooks/useOnboardingState.d.ts.map +1 -0
  1522. package/lib/typescript/src/index.d.ts +113 -0
  1523. package/lib/typescript/src/index.d.ts.map +1 -0
  1524. package/lib/typescript/src/layout/ScreenLayout.d.ts +16 -0
  1525. package/lib/typescript/src/layout/ScreenLayout.d.ts.map +1 -0
  1526. package/lib/typescript/src/localization/en/index.d.ts +920 -0
  1527. package/lib/typescript/src/localization/en/index.d.ts.map +1 -0
  1528. package/lib/typescript/src/localization/fr/index.d.ts +896 -0
  1529. package/lib/typescript/src/localization/fr/index.d.ts.map +1 -0
  1530. package/lib/typescript/src/localization/index.d.ts +18 -0
  1531. package/lib/typescript/src/localization/index.d.ts.map +1 -0
  1532. package/lib/typescript/src/localization/pt-br/index.d.ts +879 -0
  1533. package/lib/typescript/src/localization/pt-br/index.d.ts.map +1 -0
  1534. package/lib/typescript/src/modules/history/context/historyManager.d.ts +40 -0
  1535. package/lib/typescript/src/modules/history/context/historyManager.d.ts.map +1 -0
  1536. package/lib/typescript/src/modules/history/index.d.ts +3 -0
  1537. package/lib/typescript/src/modules/history/index.d.ts.map +1 -0
  1538. package/lib/typescript/src/modules/history/navigation/HistoryStack.d.ts +4 -0
  1539. package/lib/typescript/src/modules/history/navigation/HistoryStack.d.ts.map +1 -0
  1540. package/lib/typescript/src/modules/history/services/queue.service.d.ts +15 -0
  1541. package/lib/typescript/src/modules/history/services/queue.service.d.ts.map +1 -0
  1542. package/lib/typescript/src/modules/history/types/index.d.ts +85 -0
  1543. package/lib/typescript/src/modules/history/types/index.d.ts.map +1 -0
  1544. package/lib/typescript/src/modules/history/ui/HistoryPage.d.ts +7 -0
  1545. package/lib/typescript/src/modules/history/ui/HistoryPage.d.ts.map +1 -0
  1546. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts +9 -0
  1547. package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts.map +1 -0
  1548. package/lib/typescript/src/modules/history/ui/components/BulletPoint.d.ts +9 -0
  1549. package/lib/typescript/src/modules/history/ui/components/BulletPoint.d.ts.map +1 -0
  1550. package/lib/typescript/src/modules/history/ui/components/HistoryListItem.d.ts +8 -0
  1551. package/lib/typescript/src/modules/history/ui/components/HistoryListItem.d.ts.map +1 -0
  1552. package/lib/typescript/src/modules/history/ui/components/HistoryMenu.d.ts +4 -0
  1553. package/lib/typescript/src/modules/history/ui/components/HistoryMenu.d.ts.map +1 -0
  1554. package/lib/typescript/src/modules/history/ui/components/SingleSelectBlock.d.ts +11 -0
  1555. package/lib/typescript/src/modules/history/ui/components/SingleSelectBlock.d.ts.map +1 -0
  1556. package/lib/typescript/src/modules/openid/components/CredentialRowCard.d.ts +13 -0
  1557. package/lib/typescript/src/modules/openid/components/CredentialRowCard.d.ts.map +1 -0
  1558. package/lib/typescript/src/modules/openid/components/OpenIDCredentialCard.d.ts +14 -0
  1559. package/lib/typescript/src/modules/openid/components/OpenIDCredentialCard.d.ts.map +1 -0
  1560. package/lib/typescript/src/modules/openid/context/OpenIDCredentialRecordProvider.d.ts +29 -0
  1561. package/lib/typescript/src/modules/openid/context/OpenIDCredentialRecordProvider.d.ts.map +1 -0
  1562. package/lib/typescript/src/modules/openid/display.d.ts +33 -0
  1563. package/lib/typescript/src/modules/openid/display.d.ts.map +1 -0
  1564. package/lib/typescript/src/modules/openid/displayProof.d.ts +31 -0
  1565. package/lib/typescript/src/modules/openid/displayProof.d.ts.map +1 -0
  1566. package/lib/typescript/src/modules/openid/hooks/openid.d.ts +9 -0
  1567. package/lib/typescript/src/modules/openid/hooks/openid.d.ts.map +1 -0
  1568. package/lib/typescript/src/modules/openid/metadata.d.ts +28 -0
  1569. package/lib/typescript/src/modules/openid/metadata.d.ts.map +1 -0
  1570. package/lib/typescript/src/modules/openid/offerResolve.d.ts +37 -0
  1571. package/lib/typescript/src/modules/openid/offerResolve.d.ts.map +1 -0
  1572. package/lib/typescript/src/modules/openid/resolverProof.d.ts +39 -0
  1573. package/lib/typescript/src/modules/openid/resolverProof.d.ts.map +1 -0
  1574. package/lib/typescript/src/modules/openid/screens/OpenIDCredentialDetails.d.ts +11 -0
  1575. package/lib/typescript/src/modules/openid/screens/OpenIDCredentialDetails.d.ts.map +1 -0
  1576. package/lib/typescript/src/modules/openid/screens/OpenIDCredentialOffer.d.ts +7 -0
  1577. package/lib/typescript/src/modules/openid/screens/OpenIDCredentialOffer.d.ts.map +1 -0
  1578. package/lib/typescript/src/modules/openid/screens/OpenIDProofPresentation.d.ts +6 -0
  1579. package/lib/typescript/src/modules/openid/screens/OpenIDProofPresentation.d.ts.map +1 -0
  1580. package/lib/typescript/src/modules/openid/types.d.ts +89 -0
  1581. package/lib/typescript/src/modules/openid/types.d.ts.map +1 -0
  1582. package/lib/typescript/src/modules/openid/utils/utils.d.ts +24 -0
  1583. package/lib/typescript/src/modules/openid/utils/utils.d.ts.map +1 -0
  1584. package/lib/typescript/src/navigators/ConnectStack.d.ts +4 -0
  1585. package/lib/typescript/src/navigators/ConnectStack.d.ts.map +1 -0
  1586. package/lib/typescript/src/navigators/ContactStack.d.ts +4 -0
  1587. package/lib/typescript/src/navigators/ContactStack.d.ts.map +1 -0
  1588. package/lib/typescript/src/navigators/CredentialStack.d.ts +4 -0
  1589. package/lib/typescript/src/navigators/CredentialStack.d.ts.map +1 -0
  1590. package/lib/typescript/src/navigators/DeliveryStack.d.ts +4 -0
  1591. package/lib/typescript/src/navigators/DeliveryStack.d.ts.map +1 -0
  1592. package/lib/typescript/src/navigators/HomeStack.d.ts +4 -0
  1593. package/lib/typescript/src/navigators/HomeStack.d.ts.map +1 -0
  1594. package/lib/typescript/src/navigators/MainStack.d.ts +4 -0
  1595. package/lib/typescript/src/navigators/MainStack.d.ts.map +1 -0
  1596. package/lib/typescript/src/navigators/NotificationStack.d.ts +4 -0
  1597. package/lib/typescript/src/navigators/NotificationStack.d.ts.map +1 -0
  1598. package/lib/typescript/src/navigators/OnboardingScreens.d.ts +23 -0
  1599. package/lib/typescript/src/navigators/OnboardingScreens.d.ts.map +1 -0
  1600. package/lib/typescript/src/navigators/OnboardingStack.d.ts +4 -0
  1601. package/lib/typescript/src/navigators/OnboardingStack.d.ts.map +1 -0
  1602. package/lib/typescript/src/navigators/ProofRequestStack.d.ts +4 -0
  1603. package/lib/typescript/src/navigators/ProofRequestStack.d.ts.map +1 -0
  1604. package/lib/typescript/src/navigators/RootStack.d.ts +4 -0
  1605. package/lib/typescript/src/navigators/RootStack.d.ts.map +1 -0
  1606. package/lib/typescript/src/navigators/SettingStack.d.ts +4 -0
  1607. package/lib/typescript/src/navigators/SettingStack.d.ts.map +1 -0
  1608. package/lib/typescript/src/navigators/TabStack.d.ts +4 -0
  1609. package/lib/typescript/src/navigators/TabStack.d.ts.map +1 -0
  1610. package/lib/typescript/src/navigators/defaultLayoutOptions.d.ts +3 -0
  1611. package/lib/typescript/src/navigators/defaultLayoutOptions.d.ts.map +1 -0
  1612. package/lib/typescript/src/navigators/defaultStackOptions.d.ts +6 -0
  1613. package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -0
  1614. package/lib/typescript/src/navigators/index.d.ts +14 -0
  1615. package/lib/typescript/src/navigators/index.d.ts.map +1 -0
  1616. package/lib/typescript/src/onboarding.d.ts +15 -0
  1617. package/lib/typescript/src/onboarding.d.ts.map +1 -0
  1618. package/lib/typescript/src/screens/AttemptLockout.d.ts +4 -0
  1619. package/lib/typescript/src/screens/AttemptLockout.d.ts.map +1 -0
  1620. package/lib/typescript/src/screens/AutoLock.d.ts +4 -0
  1621. package/lib/typescript/src/screens/AutoLock.d.ts.map +1 -0
  1622. package/lib/typescript/src/screens/Chat.d.ts +7 -0
  1623. package/lib/typescript/src/screens/Chat.d.ts.map +1 -0
  1624. package/lib/typescript/src/screens/Connection.d.ts +7 -0
  1625. package/lib/typescript/src/screens/Connection.d.ts.map +1 -0
  1626. package/lib/typescript/src/screens/ContactDetails.d.ts +7 -0
  1627. package/lib/typescript/src/screens/ContactDetails.d.ts.map +1 -0
  1628. package/lib/typescript/src/screens/CredentialDetails.d.ts +7 -0
  1629. package/lib/typescript/src/screens/CredentialDetails.d.ts.map +1 -0
  1630. package/lib/typescript/src/screens/CredentialOffer.d.ts +8 -0
  1631. package/lib/typescript/src/screens/CredentialOffer.d.ts.map +1 -0
  1632. package/lib/typescript/src/screens/CredentialOfferAccept.d.ts +9 -0
  1633. package/lib/typescript/src/screens/CredentialOfferAccept.d.ts.map +1 -0
  1634. package/lib/typescript/src/screens/DataRetention.d.ts +4 -0
  1635. package/lib/typescript/src/screens/DataRetention.d.ts.map +1 -0
  1636. package/lib/typescript/src/screens/Developer.d.ts +4 -0
  1637. package/lib/typescript/src/screens/Developer.d.ts.map +1 -0
  1638. package/lib/typescript/src/screens/Home.d.ts +7 -0
  1639. package/lib/typescript/src/screens/Home.d.ts.map +1 -0
  1640. package/lib/typescript/src/screens/Language.d.ts +9 -0
  1641. package/lib/typescript/src/screens/Language.d.ts.map +1 -0
  1642. package/lib/typescript/src/screens/ListContacts.d.ts +9 -0
  1643. package/lib/typescript/src/screens/ListContacts.d.ts.map +1 -0
  1644. package/lib/typescript/src/screens/ListCredentials.d.ts +4 -0
  1645. package/lib/typescript/src/screens/ListCredentials.d.ts.map +1 -0
  1646. package/lib/typescript/src/screens/ListProofRequests.d.ts +7 -0
  1647. package/lib/typescript/src/screens/ListProofRequests.d.ts.map +1 -0
  1648. package/lib/typescript/src/screens/MobileVerifierLoading.d.ts +7 -0
  1649. package/lib/typescript/src/screens/MobileVerifierLoading.d.ts.map +1 -0
  1650. package/lib/typescript/src/screens/NameWallet.d.ts +4 -0
  1651. package/lib/typescript/src/screens/NameWallet.d.ts.map +1 -0
  1652. package/lib/typescript/src/screens/Onboarding.d.ts +22 -0
  1653. package/lib/typescript/src/screens/Onboarding.d.ts.map +1 -0
  1654. package/lib/typescript/src/screens/OnboardingPages.d.ts +24 -0
  1655. package/lib/typescript/src/screens/OnboardingPages.d.ts.map +1 -0
  1656. package/lib/typescript/src/screens/PINCreate.d.ts +11 -0
  1657. package/lib/typescript/src/screens/PINCreate.d.ts.map +1 -0
  1658. package/lib/typescript/src/screens/PINEnter.d.ts +14 -0
  1659. package/lib/typescript/src/screens/PINEnter.d.ts.map +1 -0
  1660. package/lib/typescript/src/screens/PINExplainer.d.ts +7 -0
  1661. package/lib/typescript/src/screens/PINExplainer.d.ts.map +1 -0
  1662. package/lib/typescript/src/screens/PasteUrl.d.ts +7 -0
  1663. package/lib/typescript/src/screens/PasteUrl.d.ts.map +1 -0
  1664. package/lib/typescript/src/screens/Preface.d.ts +4 -0
  1665. package/lib/typescript/src/screens/Preface.d.ts.map +1 -0
  1666. package/lib/typescript/src/screens/ProofChangeCredential.d.ts +7 -0
  1667. package/lib/typescript/src/screens/ProofChangeCredential.d.ts.map +1 -0
  1668. package/lib/typescript/src/screens/ProofDetails.d.ts +7 -0
  1669. package/lib/typescript/src/screens/ProofDetails.d.ts.map +1 -0
  1670. package/lib/typescript/src/screens/ProofRequest.d.ts +8 -0
  1671. package/lib/typescript/src/screens/ProofRequest.d.ts.map +1 -0
  1672. package/lib/typescript/src/screens/ProofRequestAccept.d.ts +9 -0
  1673. package/lib/typescript/src/screens/ProofRequestAccept.d.ts.map +1 -0
  1674. package/lib/typescript/src/screens/ProofRequestDetails.d.ts +7 -0
  1675. package/lib/typescript/src/screens/ProofRequestDetails.d.ts.map +1 -0
  1676. package/lib/typescript/src/screens/ProofRequestUsageHistory.d.ts +7 -0
  1677. package/lib/typescript/src/screens/ProofRequestUsageHistory.d.ts.map +1 -0
  1678. package/lib/typescript/src/screens/ProofRequesting.d.ts +7 -0
  1679. package/lib/typescript/src/screens/ProofRequesting.d.ts.map +1 -0
  1680. package/lib/typescript/src/screens/PushNotification.d.ts +7 -0
  1681. package/lib/typescript/src/screens/PushNotification.d.ts.map +1 -0
  1682. package/lib/typescript/src/screens/RenameContact.d.ts +7 -0
  1683. package/lib/typescript/src/screens/RenameContact.d.ts.map +1 -0
  1684. package/lib/typescript/src/screens/Scan.d.ts +7 -0
  1685. package/lib/typescript/src/screens/Scan.d.ts.map +1 -0
  1686. package/lib/typescript/src/screens/ScanHelp.d.ts +4 -0
  1687. package/lib/typescript/src/screens/ScanHelp.d.ts.map +1 -0
  1688. package/lib/typescript/src/screens/Settings.d.ts +7 -0
  1689. package/lib/typescript/src/screens/Settings.d.ts.map +1 -0
  1690. package/lib/typescript/src/screens/Splash.d.ts +9 -0
  1691. package/lib/typescript/src/screens/Splash.d.ts.map +1 -0
  1692. package/lib/typescript/src/screens/Terms.d.ts +5 -0
  1693. package/lib/typescript/src/screens/Terms.d.ts.map +1 -0
  1694. package/lib/typescript/src/screens/Tours.d.ts +4 -0
  1695. package/lib/typescript/src/screens/Tours.d.ts.map +1 -0
  1696. package/lib/typescript/src/screens/UpdateAvailable.d.ts +8 -0
  1697. package/lib/typescript/src/screens/UpdateAvailable.d.ts.map +1 -0
  1698. package/lib/typescript/src/screens/UseBiometry.d.ts +4 -0
  1699. package/lib/typescript/src/screens/UseBiometry.d.ts.map +1 -0
  1700. package/lib/typescript/src/screens/WhatAreContacts.d.ts +8 -0
  1701. package/lib/typescript/src/screens/WhatAreContacts.d.ts.map +1 -0
  1702. package/lib/typescript/src/services/keychain.d.ts +24 -0
  1703. package/lib/typescript/src/services/keychain.d.ts.map +1 -0
  1704. package/lib/typescript/src/services/logger.d.ts +30 -0
  1705. package/lib/typescript/src/services/logger.d.ts.map +1 -0
  1706. package/lib/typescript/src/services/storage.d.ts +15 -0
  1707. package/lib/typescript/src/services/storage.d.ts.map +1 -0
  1708. package/lib/typescript/src/theme.d.ts +889 -0
  1709. package/lib/typescript/src/theme.d.ts.map +1 -0
  1710. package/lib/typescript/src/types/attempt-lockout-config.d.ts +9 -0
  1711. package/lib/typescript/src/types/attempt-lockout-config.d.ts.map +1 -0
  1712. package/lib/typescript/src/types/attestation.d.ts +16 -0
  1713. package/lib/typescript/src/types/attestation.d.ts.map +1 -0
  1714. package/lib/typescript/src/types/chat.d.ts +5 -0
  1715. package/lib/typescript/src/types/chat.d.ts.map +1 -0
  1716. package/lib/typescript/src/types/config.d.ts +61 -0
  1717. package/lib/typescript/src/types/config.d.ts.map +1 -0
  1718. package/lib/typescript/src/types/contact-details.d.ts +6 -0
  1719. package/lib/typescript/src/types/contact-details.d.ts.map +1 -0
  1720. package/lib/typescript/src/types/credential-list-footer.d.ts +4 -0
  1721. package/lib/typescript/src/types/credential-list-footer.d.ts.map +1 -0
  1722. package/lib/typescript/src/types/credential-status.d.ts +4 -0
  1723. package/lib/typescript/src/types/credential-status.d.ts.map +1 -0
  1724. package/lib/typescript/src/types/credentials.d.ts +3 -0
  1725. package/lib/typescript/src/types/credentials.d.ts.map +1 -0
  1726. package/lib/typescript/src/types/decline.d.ts +6 -0
  1727. package/lib/typescript/src/types/decline.d.ts.map +1 -0
  1728. package/lib/typescript/src/types/error.d.ts +23 -0
  1729. package/lib/typescript/src/types/error.d.ts.map +1 -0
  1730. package/lib/typescript/src/types/fn.d.ts +3 -0
  1731. package/lib/typescript/src/types/fn.d.ts.map +1 -0
  1732. package/lib/typescript/src/types/genesis.d.ts +32 -0
  1733. package/lib/typescript/src/types/genesis.d.ts.map +1 -0
  1734. package/lib/typescript/src/types/index.d.ts +3 -0
  1735. package/lib/typescript/src/types/index.d.ts.map +1 -0
  1736. package/lib/typescript/src/types/metadata.d.ts +14 -0
  1737. package/lib/typescript/src/types/metadata.d.ts.map +1 -0
  1738. package/lib/typescript/src/types/navigators.d.ts +268 -0
  1739. package/lib/typescript/src/types/navigators.d.ts.map +1 -0
  1740. package/lib/typescript/src/types/notification.d.ts +23 -0
  1741. package/lib/typescript/src/types/notification.d.ts.map +1 -0
  1742. package/lib/typescript/src/types/permissions.d.ts +3 -0
  1743. package/lib/typescript/src/types/permissions.d.ts.map +1 -0
  1744. package/lib/typescript/src/types/proof-items.d.ts +31 -0
  1745. package/lib/typescript/src/types/proof-items.d.ts.map +1 -0
  1746. package/lib/typescript/src/types/remove.d.ts +9 -0
  1747. package/lib/typescript/src/types/remove.d.ts.map +1 -0
  1748. package/lib/typescript/src/types/security.d.ts +25 -0
  1749. package/lib/typescript/src/types/security.d.ts.map +1 -0
  1750. package/lib/typescript/src/types/settings.d.ts +26 -0
  1751. package/lib/typescript/src/types/settings.d.ts.map +1 -0
  1752. package/lib/typescript/src/types/state.d.ts +84 -0
  1753. package/lib/typescript/src/types/state.d.ts.map +1 -0
  1754. package/lib/typescript/src/types/tour.d.ts +17 -0
  1755. package/lib/typescript/src/types/tour.d.ts.map +1 -0
  1756. package/lib/typescript/src/types/version-check.d.ts +17 -0
  1757. package/lib/typescript/src/types/version-check.d.ts.map +1 -0
  1758. package/lib/typescript/src/utils/PINCreationValidation.d.ts +20 -0
  1759. package/lib/typescript/src/utils/PINCreationValidation.d.ts.map +1 -0
  1760. package/lib/typescript/src/utils/agent.d.ts +44 -0
  1761. package/lib/typescript/src/utils/agent.d.ts.map +1 -0
  1762. package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts +32 -0
  1763. package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts.map +1 -0
  1764. package/lib/typescript/src/utils/contacts.d.ts +9 -0
  1765. package/lib/typescript/src/utils/contacts.d.ts.map +1 -0
  1766. package/lib/typescript/src/utils/cred-def.d.ts +5 -0
  1767. package/lib/typescript/src/utils/cred-def.d.ts.map +1 -0
  1768. package/lib/typescript/src/utils/credential.d.ts +10 -0
  1769. package/lib/typescript/src/utils/credential.d.ts.map +1 -0
  1770. package/lib/typescript/src/utils/crypto.d.ts +2 -0
  1771. package/lib/typescript/src/utils/crypto.d.ts.map +1 -0
  1772. package/lib/typescript/src/utils/fileCache.d.ts +26 -0
  1773. package/lib/typescript/src/utils/fileCache.d.ts.map +1 -0
  1774. package/lib/typescript/src/utils/helpers.d.ts +189 -0
  1775. package/lib/typescript/src/utils/helpers.d.ts.map +1 -0
  1776. package/lib/typescript/src/utils/luminance.d.ts +12 -0
  1777. package/lib/typescript/src/utils/luminance.d.ts.map +1 -0
  1778. package/lib/typescript/src/utils/migration.d.ts +3 -0
  1779. package/lib/typescript/src/utils/migration.d.ts.map +1 -0
  1780. package/lib/typescript/src/utils/network.d.ts +9 -0
  1781. package/lib/typescript/src/utils/network.d.ts.map +1 -0
  1782. package/lib/typescript/src/utils/oca.d.ts +15 -0
  1783. package/lib/typescript/src/utils/oca.d.ts.map +1 -0
  1784. package/lib/typescript/src/utils/parsers.d.ts +26 -0
  1785. package/lib/typescript/src/utils/parsers.d.ts.map +1 -0
  1786. package/lib/typescript/src/utils/proofBundle.d.ts +28 -0
  1787. package/lib/typescript/src/utils/proofBundle.d.ts.map +1 -0
  1788. package/lib/typescript/src/utils/schema.d.ts +11 -0
  1789. package/lib/typescript/src/utils/schema.d.ts.map +1 -0
  1790. package/lib/typescript/src/utils/testable.d.ts +3 -0
  1791. package/lib/typescript/src/utils/testable.d.ts.map +1 -0
  1792. package/package.json +227 -0
  1793. package/src/App.tsx +76 -0
  1794. package/src/animated-components.ts +30 -0
  1795. package/src/assets/fonts/MaterialIcons.ttf +0 -0
  1796. package/src/assets/icons/large-arrow.svg +5 -0
  1797. package/src/assets/icons/pencil.svg +15 -0
  1798. package/src/assets/icons/trash.svg +31 -0
  1799. package/src/assets/img/Artwork_1024x1024.png +0 -0
  1800. package/src/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  1801. package/src/assets/img/HistoryCardExpiredIcon.svg +4 -0
  1802. package/src/assets/img/HistoryCardRevokedIcon.svg +4 -0
  1803. package/src/assets/img/HistoryInformationSentIcon.svg +4 -0
  1804. package/src/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  1805. package/src/assets/img/IconChevronRight.svg +5 -0
  1806. package/src/assets/img/activity-indicator-circle.svg +90 -0
  1807. package/src/assets/img/app-lockout.svg +1 -0
  1808. package/src/assets/img/biometrics.svg +74 -0
  1809. package/src/assets/img/chat-loading.svg +1 -0
  1810. package/src/assets/img/check-in-circle.svg +18 -0
  1811. package/src/assets/img/connection-pending.svg +112 -0
  1812. package/src/assets/img/contact-book.svg +21 -0
  1813. package/src/assets/img/credential-card.svg +18 -0
  1814. package/src/assets/img/credential-declined.svg +28 -0
  1815. package/src/assets/img/credential-in-hand.svg +48 -0
  1816. package/src/assets/img/credential-list.svg +60 -0
  1817. package/src/assets/img/credential-pending.svg +96 -0
  1818. package/src/assets/img/credential-success.svg +48 -0
  1819. package/src/assets/img/delete-notification.svg +1 -0
  1820. package/src/assets/img/empty-wallet.svg +23 -0
  1821. package/src/assets/img/error-filled.svg +12 -0
  1822. package/src/assets/img/exclamation-mark.svg +17 -0
  1823. package/src/assets/img/home-center-img.svg +71 -0
  1824. package/src/assets/img/icon-credential-offer-dark.svg +7 -0
  1825. package/src/assets/img/icon-credential-offer-light.svg +7 -0
  1826. package/src/assets/img/icon-info-recieved-dark.svg +8 -0
  1827. package/src/assets/img/icon-info-recieved-light.svg +8 -0
  1828. package/src/assets/img/icon-info-sent-dark.svg +8 -0
  1829. package/src/assets/img/icon-info-sent-light.svg +8 -0
  1830. package/src/assets/img/icon-proof-request-dark.svg +11 -0
  1831. package/src/assets/img/icon-proof-request-light.svg +11 -0
  1832. package/src/assets/img/information-received.svg +1 -0
  1833. package/src/assets/img/logo-large.png +0 -0
  1834. package/src/assets/img/logo-large@2x.png +0 -0
  1835. package/src/assets/img/logo-large@3x.png +0 -0
  1836. package/src/assets/img/logo.svg +15 -0
  1837. package/src/assets/img/message-text-icon-outline.svg +1 -0
  1838. package/src/assets/img/message-text-icon.svg +1 -0
  1839. package/src/assets/img/no_information_shared.svg +36 -0
  1840. package/src/assets/img/preface.svg +15 -0
  1841. package/src/assets/img/proof-declined.svg +66 -0
  1842. package/src/assets/img/proof-pending.svg +61 -0
  1843. package/src/assets/img/proof-success.svg +72 -0
  1844. package/src/assets/img/push-notifications.svg +1 -0
  1845. package/src/assets/img/qrcode-scan-icon.svg +1 -0
  1846. package/src/assets/img/scan-share.svg +102 -0
  1847. package/src/assets/img/secure-check.svg +4 -0
  1848. package/src/assets/img/secure-image.svg +64 -0
  1849. package/src/assets/img/update-available.svg +26 -0
  1850. package/src/assets/img/verifier-request-declined.svg +34 -0
  1851. package/src/assets/img/wallet-back.svg +20 -0
  1852. package/src/assets/img/wallet-front.svg +32 -0
  1853. package/src/assets/img/wallet-icon-outline.svg +1 -0
  1854. package/src/assets/img/wallet-icon.svg +1 -0
  1855. package/src/assets/img/wallet.svg +43 -0
  1856. package/src/assets/oca-bundles.json +174 -0
  1857. package/src/components/animated/ButtonLoading.tsx +32 -0
  1858. package/src/components/animated/ConnectionLoading.tsx +53 -0
  1859. package/src/components/animated/CredentialAdded.tsx +72 -0
  1860. package/src/components/animated/CredentialPending.tsx +63 -0
  1861. package/src/components/animated/LoadingIndicator.tsx +49 -0
  1862. package/src/components/animated/PresentationLoading.tsx +52 -0
  1863. package/src/components/animated/RecordLoading.tsx +75 -0
  1864. package/src/components/animated/SendingProof.tsx +53 -0
  1865. package/src/components/animated/SentProof.tsx +72 -0
  1866. package/src/components/buttons/Button-api.tsx +46 -0
  1867. package/src/components/buttons/Button.tsx +95 -0
  1868. package/src/components/buttons/HeaderHome.tsx +25 -0
  1869. package/src/components/buttons/IconButton.tsx +91 -0
  1870. package/src/components/buttons/InfoIcon.tsx +35 -0
  1871. package/src/components/buttons/SettingsMenu.tsx +26 -0
  1872. package/src/components/buttons/ToggleButton.tsx +93 -0
  1873. package/src/components/buttons/index.ts +4 -0
  1874. package/src/components/chat/ActionSlider.tsx +104 -0
  1875. package/src/components/chat/ChatActions.tsx +23 -0
  1876. package/src/components/chat/ChatBubble.tsx +20 -0
  1877. package/src/components/chat/ChatEvent.tsx +31 -0
  1878. package/src/components/chat/ChatMessage.tsx +142 -0
  1879. package/src/components/chat/MessageInput.tsx +46 -0
  1880. package/src/components/chat/index.ts +4 -0
  1881. package/src/components/index.ts +4 -0
  1882. package/src/components/inputs/BulletPoint.tsx +32 -0
  1883. package/src/components/inputs/CheckBoxRow.tsx +67 -0
  1884. package/src/components/inputs/InlineErrorText.tsx +60 -0
  1885. package/src/components/inputs/LimitedTextInput.tsx +61 -0
  1886. package/src/components/inputs/PINInput.tsx +138 -0
  1887. package/src/components/inputs/SingleSelectBlock.tsx +53 -0
  1888. package/src/components/listItems/ContactCredentialListItem.tsx +79 -0
  1889. package/src/components/listItems/ContactListItem.tsx +123 -0
  1890. package/src/components/listItems/NotificationListItem.tsx +514 -0
  1891. package/src/components/misc/ActivityLogLink.tsx +34 -0
  1892. package/src/components/misc/AvatarView.tsx +33 -0
  1893. package/src/components/misc/CardWatermark.tsx +52 -0
  1894. package/src/components/misc/ConnectionAlert.tsx +123 -0
  1895. package/src/components/misc/ConnectionImage.tsx +45 -0
  1896. package/src/components/misc/ContentGradient.tsx +40 -0
  1897. package/src/components/misc/CredentialCard.tsx +158 -0
  1898. package/src/components/misc/CredentialCard10.tsx +329 -0
  1899. package/src/components/misc/CredentialCard11.tsx +678 -0
  1900. package/src/components/misc/CredentialCard11ActionFooter.tsx +55 -0
  1901. package/src/components/misc/CredentialCard11Issuer.tsx +74 -0
  1902. package/src/components/misc/CredentialCard11Logo.tsx +61 -0
  1903. package/src/components/misc/EmptyList.tsx +27 -0
  1904. package/src/components/misc/EmptyListContacts.tsx +55 -0
  1905. package/src/components/misc/InfoBox.tsx +281 -0
  1906. package/src/components/misc/NoNewUpdates.tsx +38 -0
  1907. package/src/components/misc/PINCreateHeader.tsx +25 -0
  1908. package/src/components/misc/Pagination.tsx +114 -0
  1909. package/src/components/misc/QRRenderer.tsx +53 -0
  1910. package/src/components/misc/QRScanner.tsx +395 -0
  1911. package/src/components/misc/QRScannerTorch.tsx +74 -0
  1912. package/src/components/misc/ScanCamera.tsx +86 -0
  1913. package/src/components/misc/ScanTab.tsx +45 -0
  1914. package/src/components/misc/SharedProofData.tsx +98 -0
  1915. package/src/components/misc/UnorderedList.tsx +28 -0
  1916. package/src/components/misc/VerifierCredentialCard.tsx +378 -0
  1917. package/src/components/misc/index.ts +2 -0
  1918. package/src/components/modals/AlertModal.tsx +42 -0
  1919. package/src/components/modals/AppGuideModal.tsx +142 -0
  1920. package/src/components/modals/CameraDisclosureModal.tsx +126 -0
  1921. package/src/components/modals/CommonRemoveModal.tsx +332 -0
  1922. package/src/components/modals/DismissiblePopupModal.tsx +169 -0
  1923. package/src/components/modals/ErrorModal.tsx +107 -0
  1924. package/src/components/modals/ImageModal.tsx +80 -0
  1925. package/src/components/modals/NetInfoModal.tsx +35 -0
  1926. package/src/components/modals/NotificationModal.tsx +127 -0
  1927. package/src/components/modals/PopupModal.tsx +56 -0
  1928. package/src/components/modals/ProofCancelModal.tsx +79 -0
  1929. package/src/components/modals/SafeAreaModal.tsx +17 -0
  1930. package/src/components/network/NetInfo.tsx +36 -0
  1931. package/src/components/record/Record.tsx +100 -0
  1932. package/src/components/record/RecordBinaryField.tsx +55 -0
  1933. package/src/components/record/RecordDateIntField.tsx +63 -0
  1934. package/src/components/record/RecordField.tsx +154 -0
  1935. package/src/components/record/RecordFooter.tsx +17 -0
  1936. package/src/components/record/RecordHeader.tsx +17 -0
  1937. package/src/components/record/RecordRemove.tsx +66 -0
  1938. package/src/components/texts/HeaderTitle.tsx +25 -0
  1939. package/src/components/texts/HighlightTextBox.tsx +41 -0
  1940. package/src/components/texts/InfoTextBox.tsx +129 -0
  1941. package/src/components/texts/Label.tsx +51 -0
  1942. package/src/components/texts/Link.tsx +41 -0
  1943. package/src/components/texts/Text.tsx +21 -0
  1944. package/src/components/texts/ThemedText.tsx +24 -0
  1945. package/src/components/texts/Title.tsx +25 -0
  1946. package/src/components/toast/BaseToast.tsx +128 -0
  1947. package/src/components/toast/ToastConfig.tsx +21 -0
  1948. package/src/components/tour/AttachTourStep.tsx +73 -0
  1949. package/src/components/tour/CredentialOfferTourSteps.tsx +41 -0
  1950. package/src/components/tour/CredentialsTourSteps.tsx +41 -0
  1951. package/src/components/tour/HomeTourSteps.tsx +104 -0
  1952. package/src/components/tour/ProofRequestTourSteps.tsx +41 -0
  1953. package/src/components/tour/SpotCutout.tsx +65 -0
  1954. package/src/components/tour/TourBox.tsx +255 -0
  1955. package/src/components/tour/TourOverlay.tsx +134 -0
  1956. package/src/components/views/CredentialCardLogo.tsx +77 -0
  1957. package/src/components/views/CredentialDetailPrimaryHeader.tsx +107 -0
  1958. package/src/components/views/CredentialDetailSecondaryHeader.tsx +60 -0
  1959. package/src/components/views/HomeFooterView.tsx +110 -0
  1960. package/src/components/views/HomeHeaderView.tsx +12 -0
  1961. package/src/components/views/KeyboardView.tsx +27 -0
  1962. package/src/components/views/LoadingPlaceholder.tsx +168 -0
  1963. package/src/components/views/LoadingView.tsx +29 -0
  1964. package/src/components/views/ModularView.tsx +35 -0
  1965. package/src/components/views/ProgressBar.tsx +53 -0
  1966. package/src/configs/ledgers/indy/index.ts +8 -0
  1967. package/src/configs/ledgers/indy/ledgers.json +51 -0
  1968. package/src/constants.ts +108 -0
  1969. package/src/container-api.ts +229 -0
  1970. package/src/container-impl.ts +235 -0
  1971. package/src/contexts/activity.tsx +170 -0
  1972. package/src/contexts/animated-components.ts +9 -0
  1973. package/src/contexts/auth.tsx +190 -0
  1974. package/src/contexts/index.ts +3 -0
  1975. package/src/contexts/network.tsx +81 -0
  1976. package/src/contexts/reducers/index.ts +3 -0
  1977. package/src/contexts/reducers/store.ts +676 -0
  1978. package/src/contexts/store.tsx +100 -0
  1979. package/src/contexts/theme.ts +9 -0
  1980. package/src/contexts/tour/tour-context.tsx +160 -0
  1981. package/src/contexts/tour/tour-provider.tsx +160 -0
  1982. package/src/hooks/bundle-resolver.ts +95 -0
  1983. package/src/hooks/chat-messages.tsx +263 -0
  1984. package/src/hooks/connections.ts +37 -0
  1985. package/src/hooks/credential-card-styles.ts +144 -0
  1986. package/src/hooks/credentials.ts +11 -0
  1987. package/src/hooks/deep-links.ts +51 -0
  1988. package/src/hooks/initialize-agent.ts +158 -0
  1989. package/src/hooks/notifications.ts +108 -0
  1990. package/src/hooks/oob.ts +17 -0
  1991. package/src/hooks/proof-request-templates.ts +40 -0
  1992. package/src/hooks/proofs.ts +32 -0
  1993. package/src/hooks/screen-capture.ts +52 -0
  1994. package/src/hooks/useOnboardingState.ts +46 -0
  1995. package/src/index.ts +225 -0
  1996. package/src/layout/ScreenLayout.tsx +53 -0
  1997. package/src/localization/en/index.ts +921 -0
  1998. package/src/localization/fr/index.ts +897 -0
  1999. package/src/localization/index.ts +66 -0
  2000. package/src/localization/pt-br/index.ts +880 -0
  2001. package/src/modules/history/context/historyManager.tsx +247 -0
  2002. package/src/modules/history/index.ts +2 -0
  2003. package/src/modules/history/navigation/HistoryStack.tsx +29 -0
  2004. package/src/modules/history/services/queue.service.tsx +31 -0
  2005. package/src/modules/history/types/index.ts +92 -0
  2006. package/src/modules/history/ui/HistoryPage.tsx +133 -0
  2007. package/src/modules/history/ui/HistorySettings.tsx +184 -0
  2008. package/src/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
  2009. package/src/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
  2010. package/src/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
  2011. package/src/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
  2012. package/src/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
  2013. package/src/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
  2014. package/src/modules/history/ui/components/BulletPoint.tsx +49 -0
  2015. package/src/modules/history/ui/components/HistoryListItem.tsx +251 -0
  2016. package/src/modules/history/ui/components/HistoryMenu.tsx +25 -0
  2017. package/src/modules/history/ui/components/SingleSelectBlock.tsx +72 -0
  2018. package/src/modules/openid/components/CredentialRowCard.tsx +64 -0
  2019. package/src/modules/openid/components/OpenIDCredentialCard.tsx +277 -0
  2020. package/src/modules/openid/context/OpenIDCredentialRecordProvider.tsx +296 -0
  2021. package/src/modules/openid/display.tsx +464 -0
  2022. package/src/modules/openid/displayProof.tsx +86 -0
  2023. package/src/modules/openid/hooks/openid.tsx +111 -0
  2024. package/src/modules/openid/metadata.tsx +53 -0
  2025. package/src/modules/openid/offerResolve.tsx +281 -0
  2026. package/src/modules/openid/resolverProof.tsx +286 -0
  2027. package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +214 -0
  2028. package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +191 -0
  2029. package/src/modules/openid/screens/OpenIDProofPresentation.tsx +351 -0
  2030. package/src/modules/openid/types.tsx +103 -0
  2031. package/src/modules/openid/utils/utils.tsx +133 -0
  2032. package/src/navigators/ConnectStack.tsx +68 -0
  2033. package/src/navigators/ContactStack.tsx +97 -0
  2034. package/src/navigators/CredentialStack.tsx +39 -0
  2035. package/src/navigators/DeliveryStack.tsx +74 -0
  2036. package/src/navigators/HomeStack.tsx +37 -0
  2037. package/src/navigators/MainStack.tsx +122 -0
  2038. package/src/navigators/NotificationStack.tsx +74 -0
  2039. package/src/navigators/OnboardingScreens.ts +152 -0
  2040. package/src/navigators/OnboardingStack.tsx +197 -0
  2041. package/src/navigators/ProofRequestStack.tsx +113 -0
  2042. package/src/navigators/RootStack.tsx +65 -0
  2043. package/src/navigators/SettingStack.tsx +165 -0
  2044. package/src/navigators/TabStack.tsx +303 -0
  2045. package/src/navigators/defaultLayoutOptions.tsx +17 -0
  2046. package/src/navigators/defaultStackOptions.tsx +84 -0
  2047. package/src/navigators/index.ts +27 -0
  2048. package/src/onboarding.ts +83 -0
  2049. package/src/screens/AttemptLockout.tsx +153 -0
  2050. package/src/screens/AutoLock.tsx +140 -0
  2051. package/src/screens/Chat.tsx +131 -0
  2052. package/src/screens/Connection.tsx +394 -0
  2053. package/src/screens/ContactDetails.tsx +333 -0
  2054. package/src/screens/CredentialDetails.tsx +429 -0
  2055. package/src/screens/CredentialOffer.tsx +334 -0
  2056. package/src/screens/CredentialOfferAccept.tsx +189 -0
  2057. package/src/screens/DataRetention.tsx +91 -0
  2058. package/src/screens/Developer.tsx +287 -0
  2059. package/src/screens/Home.tsx +173 -0
  2060. package/src/screens/Language.tsx +97 -0
  2061. package/src/screens/ListContacts.tsx +112 -0
  2062. package/src/screens/ListCredentials.tsx +135 -0
  2063. package/src/screens/ListProofRequests.tsx +148 -0
  2064. package/src/screens/MobileVerifierLoading.tsx +106 -0
  2065. package/src/screens/NameWallet.tsx +160 -0
  2066. package/src/screens/Onboarding.tsx +162 -0
  2067. package/src/screens/OnboardingPages.tsx +212 -0
  2068. package/src/screens/PINCreate.tsx +412 -0
  2069. package/src/screens/PINEnter.tsx +628 -0
  2070. package/src/screens/PINExplainer.tsx +85 -0
  2071. package/src/screens/PasteUrl.tsx +140 -0
  2072. package/src/screens/Preface.tsx +78 -0
  2073. package/src/screens/ProofChangeCredential.tsx +179 -0
  2074. package/src/screens/ProofDetails.tsx +348 -0
  2075. package/src/screens/ProofRequest.tsx +881 -0
  2076. package/src/screens/ProofRequestAccept.tsx +133 -0
  2077. package/src/screens/ProofRequestDetails.tsx +270 -0
  2078. package/src/screens/ProofRequestUsageHistory.tsx +152 -0
  2079. package/src/screens/ProofRequesting.tsx +245 -0
  2080. package/src/screens/PushNotification.tsx +186 -0
  2081. package/src/screens/RenameContact.tsx +155 -0
  2082. package/src/screens/Scan.tsx +145 -0
  2083. package/src/screens/ScanHelp.tsx +48 -0
  2084. package/src/screens/Settings.tsx +416 -0
  2085. package/src/screens/Splash.tsx +91 -0
  2086. package/src/screens/Terms.tsx +137 -0
  2087. package/src/screens/Tours.tsx +93 -0
  2088. package/src/screens/UpdateAvailable.tsx +119 -0
  2089. package/src/screens/UseBiometry.tsx +357 -0
  2090. package/src/screens/WhatAreContacts.tsx +71 -0
  2091. package/src/services/keychain.ts +181 -0
  2092. package/src/services/logger.ts +68 -0
  2093. package/src/services/storage.ts +136 -0
  2094. package/src/theme.ts +1144 -0
  2095. package/src/types/attempt-lockout-config.ts +8 -0
  2096. package/src/types/attestation.ts +17 -0
  2097. package/src/types/chat.ts +4 -0
  2098. package/src/types/config.ts +64 -0
  2099. package/src/types/contact-details.ts +5 -0
  2100. package/src/types/credential-list-footer.ts +3 -0
  2101. package/src/types/credential-status.ts +3 -0
  2102. package/src/types/credentials.ts +7 -0
  2103. package/src/types/decline.ts +5 -0
  2104. package/src/types/error.ts +40 -0
  2105. package/src/types/fn.ts +2 -0
  2106. package/src/types/genesis.ts +35 -0
  2107. package/src/types/index.ts +2 -0
  2108. package/src/types/metadata.ts +16 -0
  2109. package/src/types/navigators.ts +216 -0
  2110. package/src/types/notification.ts +24 -0
  2111. package/src/types/permissions.ts +2 -0
  2112. package/src/types/proof-items.ts +32 -0
  2113. package/src/types/react-i18next.d.ts +10 -0
  2114. package/src/types/remove.ts +8 -0
  2115. package/src/types/security.ts +32 -0
  2116. package/src/types/settings.ts +28 -0
  2117. package/src/types/state.ts +92 -0
  2118. package/src/types/tour.ts +20 -0
  2119. package/src/types/version-check.ts +18 -0
  2120. package/src/utils/PINCreationValidation.ts +98 -0
  2121. package/src/utils/agent.ts +129 -0
  2122. package/src/utils/anonCredsProofRequestMapper.ts +205 -0
  2123. package/src/utils/contacts.ts +59 -0
  2124. package/src/utils/cred-def.ts +33 -0
  2125. package/src/utils/credential.ts +37 -0
  2126. package/src/utils/crypto.ts +12 -0
  2127. package/src/utils/fileCache.ts +152 -0
  2128. package/src/utils/helpers.ts +1281 -0
  2129. package/src/utils/luminance.ts +40 -0
  2130. package/src/utils/migration.ts +40 -0
  2131. package/src/utils/network.tsx +55 -0
  2132. package/src/utils/oca.ts +132 -0
  2133. package/src/utils/parsers.tsx +111 -0
  2134. package/src/utils/proofBundle.ts +220 -0
  2135. package/src/utils/schema.ts +28 -0
  2136. package/src/utils/testable.ts +17 -0
@@ -0,0 +1,1165 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.b64decode = b64decode;
7
+ exports.b64encode = b64encode;
8
+ exports.evaluatePredicates = exports.credentialSortFn = exports.credDefIdFromRestrictions = exports.createTempConnectionInvitation = exports.createConnectionInvitation = exports.connectFromScanOrDeepLink = exports.connectFromInvitation = void 0;
9
+ exports.firstValidCredential = firstValidCredential;
10
+ exports.formatIfDate = formatIfDate;
11
+ exports.formatTime = formatTime;
12
+ exports.generateRandomWalletName = generateRandomWalletName;
13
+ exports.getConnectionName = getConnectionName;
14
+ exports.getCredentialDefinitionIdForRecord = void 0;
15
+ exports.getCredentialEventLabel = getCredentialEventLabel;
16
+ exports.getCredentialEventRole = getCredentialEventRole;
17
+ exports.getCredentialSchemaIdForRecord = exports.getCredentialInfo = void 0;
18
+ exports.getMessageEventRole = getMessageEventRole;
19
+ exports.getProofEventLabel = getProofEventLabel;
20
+ exports.getProofEventRole = getProofEventRole;
21
+ exports.getSecondaryBackgroundColor = getSecondaryBackgroundColor;
22
+ exports.hashToRGBA = exports.hashCode = void 0;
23
+ exports.isChildFunction = isChildFunction;
24
+ exports.pTypeToText = exports.mergeAttributesAndPredicates = exports.isDataUrl = void 0;
25
+ Object.defineProperty(exports, "parsedCredDefName", {
26
+ enumerable: true,
27
+ get: function () {
28
+ return _credDef.parsedCredDefName;
29
+ }
30
+ });
31
+ Object.defineProperty(exports, "parsedCredDefNameFromCredential", {
32
+ enumerable: true,
33
+ get: function () {
34
+ return _credDef.parsedCredDefNameFromCredential;
35
+ }
36
+ });
37
+ Object.defineProperty(exports, "parsedSchema", {
38
+ enumerable: true,
39
+ get: function () {
40
+ return _schema.parsedSchema;
41
+ }
42
+ });
43
+ exports.sortCredentialsForAutoSelect = exports.schemaIdFromRestrictions = exports.retrieveCredentialsForProof = exports.removeExistingInvitationsById = exports.processProofPredicates = exports.processProofAttributes = void 0;
44
+ exports.useConnectionImageUrl = useConnectionImageUrl;
45
+ exports.useCredentialConnectionLabel = useCredentialConnectionLabel;
46
+ var _anoncreds = require("@credo-ts/anoncreds");
47
+ var _core = require("@credo-ts/core");
48
+ var _BasicMessageRole = require("@credo-ts/core/build/modules/basic-messages/BasicMessageRole");
49
+ var _reactHooks = require("@credo-ts/react-hooks");
50
+ var _oca = require("@bifold/oca");
51
+ var _legacy = require("@bifold/oca/build/legacy");
52
+ var _buffer = require("buffer");
53
+ var _moment = _interopRequireDefault(require("moment"));
54
+ var _queryString = require("query-string");
55
+ var _reactNative = require("react-native");
56
+ var _constants = require("../constants");
57
+ var _index = require("../localization/index");
58
+ var _chat = require("../types/chat");
59
+ var _error = require("../types/error");
60
+ var _navigators = require("../types/navigators");
61
+ var _anonCredsProofRequestMapper = require("./anonCredsProofRequestMapper");
62
+ var _credDef = require("./cred-def");
63
+ var _parsers = require("./parsers");
64
+ var _schema = require("./schema");
65
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
66
+ /**
67
+ * Generates a numerical hash based on a given string
68
+ * @see https://stackoverflow.com/questions/3426404/create-a-hexadecimal-colour-based-on-a-string-with-javascript
69
+ * @param { string } s given string
70
+ * @returns { number } numerical hash value
71
+ */
72
+ const hashCode = s => {
73
+ return s.split('').reduce((hash, char) => char.charCodeAt(0) + ((hash << 5) - hash), 0);
74
+ };
75
+
76
+ /**
77
+ * Generates a pseudorandom number between 0 and 1 based on a seed
78
+ * @see https://gist.github.com/tommyettinger/46a874533244883189143505d203312c
79
+ * @see https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript
80
+ * @param { number } seed any number
81
+ * @returns { number } pseudorandom number between 0 and 1
82
+ */
83
+ exports.hashCode = hashCode;
84
+ const mulberry32 = seed => {
85
+ let t = seed += 0x6d2b79f5;
86
+ t = Math.imul(t ^ t >>> 15, t | 1);
87
+ t ^= t + Math.imul(t ^ t >>> 7, t | 61);
88
+ return ((t ^ t >>> 14) >>> 0) / 4294967296;
89
+ };
90
+
91
+ /**
92
+ * Converts a numerical hash into a hexidecimal color string
93
+ * @see https://helderesteves.com/generating-random-colors-js/#Generating_random_dark_colors
94
+ * @param { number } hash numerical hash value (generated by hashCode function above)
95
+ * @returns { string } hexidecimal string eg. #32d3cc
96
+ */
97
+ const hashToRGBA = hash => {
98
+ let color = '#';
99
+ const colorRangeUpperBound = 256;
100
+
101
+ // once for r, g, b
102
+ for (let i = 0; i < 3; i++) {
103
+ // append a pseudorandom two-char hexidecimal value from the lower half of the color spectrum (to limit to darker colors)
104
+ color += ('0' + Math.floor(mulberry32(hash + i) * colorRangeUpperBound / 2).toString(16)).slice(-2);
105
+ }
106
+ return color;
107
+ };
108
+ /**
109
+ *
110
+ * @param time
111
+ * @param params see below
112
+ * shortMonth: whether to use Jun in place of June, Mar in place of March for example (overridden by `format`)
113
+ * format: an optional custom moment format string to create the formatted date from
114
+ * includeHour: whether to add the hour and minute and am/pm. eg 9:32 pm (overridden by `chatFormat` and `trim`)
115
+ * chatFormat: whether to style the date to appear like a chat message timestamp eg. '7 minutes ago' or 'Just now'
116
+ * trim: if true, if it's the same day the date will be trimmed to just the hour, if it's the same year then the year will be trimmed from the date
117
+ * eg. if the current year is 2023, February 12, 2023 will be trimmed to February 12
118
+ * @returns formatted time string
119
+ */
120
+ exports.hashToRGBA = hashToRGBA;
121
+ function formatTime(time, params) {
122
+ var _formatString;
123
+ const getMonthKey = 'MMMM';
124
+ const momentTime = (0, _moment.default)(time);
125
+ const monthKey = momentTime.format(getMonthKey);
126
+ const customMonthFormatRe = /M+/;
127
+ const shortMonth = params === null || params === void 0 ? void 0 : params.shortMonth;
128
+ const format = params === null || params === void 0 ? void 0 : params.format;
129
+ const includeHour = params === null || params === void 0 ? void 0 : params.includeHour;
130
+ const chatFormat = params === null || params === void 0 ? void 0 : params.chatFormat;
131
+ const trim = params === null || params === void 0 ? void 0 : params.trim;
132
+ const shortDateFormatMaskLength = 3;
133
+ const millisecondsAgo = (0, _moment.default)().diff(momentTime);
134
+ const lessThanAMinuteAgo = millisecondsAgo / 1000 / 60 < 1;
135
+ const lessThanAnHourAgo = millisecondsAgo / 1000 / 60 / 60 < 1;
136
+ const now = new Date();
137
+ const sameYear = time.getFullYear() === now.getFullYear();
138
+ const sameDay = time.getDate() === now.getDate() && time.getMonth() === now.getMonth() && sameYear;
139
+ const isPortuguese = _index.i18n.resolvedLanguage === 'pt-BR';
140
+ const isNonEnglish = _index.i18n.resolvedLanguage === 'fr' || isPortuguese;
141
+ const hoursFormat = isNonEnglish ? 'HH:mm' : 'h:mm a';
142
+ // for the shortened approach eg. in chat bubbles
143
+ if (chatFormat) {
144
+ if (lessThanAMinuteAgo) {
145
+ return _index.i18n.t('Date.JustNow');
146
+ }
147
+ if (lessThanAnHourAgo) {
148
+ const minutesAgo = Math.floor(millisecondsAgo / 1000 / 60);
149
+ return minutesAgo === 1 ? `${_index.i18n.t('Date.MinuteAgo')}` : `${_index.i18n.t('Date.MinutesAgo', {
150
+ count: minutesAgo
151
+ })}`;
152
+ }
153
+ if (sameDay) {
154
+ return momentTime.format(hoursFormat);
155
+ }
156
+ }
157
+ let formatString = _index.i18n.t('Date.ShortFormat');
158
+ let formattedTime = '';
159
+ // if sameDay and abbreviated
160
+ if (sameDay && trim) {
161
+ return momentTime.format(hoursFormat);
162
+ }
163
+ if (format) {
164
+ formatString = format;
165
+ formattedTime = momentTime.format(format);
166
+ } else {
167
+ if (!shortMonth) {
168
+ formatString = _index.i18n.t('Date.LongFormat');
169
+ }
170
+
171
+ // if translation fails
172
+ if (formatString === 'Date.ShortFormat' || formatString === 'Date.LongFormat' || formatString === undefined) {
173
+ formatString = 'MMM D';
174
+ }
175
+
176
+ // if trim is true, don't include the year for same year times
177
+ formattedTime = trim && sameYear ? momentTime.format(formatString) :
178
+ // if non-english, don't include comma between year and month
179
+ isNonEnglish ? `${momentTime.format(formatString)} ${momentTime.format('YYYY')}` : `${momentTime.format(formatString)}, ${momentTime.format('YYYY')}`;
180
+ if (includeHour) {
181
+ formattedTime = `${formattedTime}, ${momentTime.format(hoursFormat)}`;
182
+ }
183
+ }
184
+ const customMonthFormat = (_formatString = formatString) === null || _formatString === void 0 || (_formatString = _formatString.match(customMonthFormatRe)) === null || _formatString === void 0 ? void 0 : _formatString[0];
185
+ if (customMonthFormat) {
186
+ let monthReplacement = '';
187
+ const monthReplacementKey = momentTime.format(customMonthFormat);
188
+ if (customMonthFormat.length === shortDateFormatMaskLength) {
189
+ // then we know we're dealing with a short date format: 'MMM'
190
+ monthReplacement = _index.i18n.t(`Date.MonthShort.${monthKey}`);
191
+ } else if (customMonthFormat.length > shortDateFormatMaskLength) {
192
+ // then we know we're working with a long date format: 'MMMM'
193
+ monthReplacement = _index.i18n.t(`Date.MonthLong.${monthKey}`);
194
+ }
195
+ // if translation doesn't work
196
+ if (monthReplacement === `Date.MonthLong.${monthKey}` || monthReplacement === `Date.MonthShort.${monthKey}`) {
197
+ monthReplacement = monthReplacementKey;
198
+ }
199
+ if (monthReplacement) {
200
+ formattedTime = formattedTime.replace(monthReplacementKey, monthReplacement);
201
+ }
202
+ }
203
+ return formattedTime;
204
+ }
205
+
206
+ // need to use rolling b64 encode/decode to prevent hermes from 2048 byte truncation
207
+ function b64encode(inp) {
208
+ var _inp$match;
209
+ return ((_inp$match = inp.match(/.{1,3}/g)) === null || _inp$match === void 0 ? void 0 : _inp$match.map(chunk => {
210
+ return _buffer.Buffer.from(chunk).toString('base64');
211
+ }).join('')) ?? '';
212
+ }
213
+ function b64decode(b64) {
214
+ var _b64$match;
215
+ return ((_b64$match = b64.match(/.{1,4}/g)) === null || _b64$match === void 0 ? void 0 : _b64$match.map(chunk => {
216
+ if (chunk.length < 4) {
217
+ chunk += '='.repeat(4 - chunk.length);
218
+ }
219
+ return _buffer.Buffer.from(chunk, 'base64').toString();
220
+ }).join('')) ?? '';
221
+ }
222
+ function formatIfDate(format, value) {
223
+ const potentialDate = value ? value.toString() : null;
224
+ if (format === 'YYYYMMDD' && potentialDate && potentialDate.length === format.length) {
225
+ const year = potentialDate.substring(0, 4);
226
+ const month = potentialDate.substring(4, 6);
227
+ const day = potentialDate.substring(6, 8);
228
+ // NOTE: JavaScript counts months from 0 to 11: January = 0, December = 11.
229
+ const date = new Date(Number(year), Number(month) - 1, Number(day));
230
+ if (!isNaN(date.getDate())) {
231
+ return formatTime(date, {
232
+ shortMonth: true
233
+ });
234
+ }
235
+ }
236
+ return value;
237
+ }
238
+ function getConnectionName(connection, alternateContactNames) {
239
+ return (connection === null || connection === void 0 ? void 0 : connection.id) && alternateContactNames[connection === null || connection === void 0 ? void 0 : connection.id] || (connection === null || connection === void 0 ? void 0 : connection.theirLabel) || (connection === null || connection === void 0 ? void 0 : connection.alias) || (connection === null || connection === void 0 ? void 0 : connection.id) || '';
240
+ }
241
+ function useCredentialConnectionLabel(credential) {
242
+ const connection = (0, _reactHooks.useConnectionById)((credential === null || credential === void 0 ? void 0 : credential.connectionId) ?? '');
243
+ if (!credential) {
244
+ return '';
245
+ }
246
+ if (credential.connectionId) {
247
+ return (connection === null || connection === void 0 ? void 0 : connection.alias) || (connection === null || connection === void 0 ? void 0 : connection.theirLabel) || credential.connectionId;
248
+ }
249
+ return 'Unknown Contact';
250
+ }
251
+ function useConnectionImageUrl(connectionId) {
252
+ const connection = (0, _reactHooks.useConnectionById)(connectionId);
253
+ if (!connection) {
254
+ return undefined;
255
+ }
256
+ return connection.imageUrl ?? undefined;
257
+ }
258
+ function firstValidCredential(fields, revoked = true) {
259
+ var _first;
260
+ if (!fields.length) {
261
+ return null;
262
+ }
263
+ let first = null;
264
+ const firstNonRevoked = fields.filter(field => !field.revoked)[0];
265
+ if (firstNonRevoked) {
266
+ first = firstNonRevoked;
267
+ } else if (fields.length && revoked) {
268
+ first = fields[0];
269
+ }
270
+ if (!((_first = first) !== null && _first !== void 0 && _first.credentialInfo)) {
271
+ return null;
272
+ }
273
+ return first;
274
+ }
275
+
276
+ /**
277
+ * A sorting function for the Array `sort()` function
278
+ * @param a First retrieved credential
279
+ * @param b Second retrieved credential
280
+ */
281
+ const credentialSortFn = (a, b) => {
282
+ if (a.revoked && !b.revoked) {
283
+ return 1;
284
+ } else if (!a.revoked && b.revoked) {
285
+ return -1;
286
+ } else {
287
+ return b.timestamp - a.timestamp;
288
+ }
289
+ };
290
+ exports.credentialSortFn = credentialSortFn;
291
+ const credNameFromRestriction = queries => {
292
+ let schema_name = '';
293
+ let cred_def_id = '';
294
+ let schema_id = '';
295
+ queries === null || queries === void 0 || queries.forEach(query => {
296
+ schema_name = (query === null || query === void 0 ? void 0 : query.schema_name) ?? schema_name;
297
+ cred_def_id = (query === null || query === void 0 ? void 0 : query.cred_def_id) ?? cred_def_id;
298
+ schema_id = (query === null || query === void 0 ? void 0 : query.schema_id) ?? schema_id;
299
+ });
300
+ if (schema_name && (schema_name.toLowerCase() !== 'default' || schema_name.toLowerCase() !== 'credential')) {
301
+ return schema_name;
302
+ } else {
303
+ return (0, _credDef.parseCredDefFromId)(cred_def_id, schema_id);
304
+ }
305
+ };
306
+ const credDefIdFromRestrictions = queries => {
307
+ var _queries$filter$;
308
+ return (queries === null || queries === void 0 || (_queries$filter$ = queries.filter(rstr => rstr.cred_def_id)[0]) === null || _queries$filter$ === void 0 ? void 0 : _queries$filter$.cred_def_id) ?? '';
309
+ };
310
+ exports.credDefIdFromRestrictions = credDefIdFromRestrictions;
311
+ const schemaIdFromRestrictions = queries => {
312
+ const rstrWithSchemaId = queries === null || queries === void 0 ? void 0 : queries.filter(rstr => rstr.schema_id || rstr.issuer_did && rstr.schema_name && rstr.schema_version)[0];
313
+
314
+ // the '2' here is the enum of the transaction type which, for schemas, is always 2
315
+ const schemaId = rstrWithSchemaId ? rstrWithSchemaId.schema_id || `${rstrWithSchemaId.issuer_did}:2:${rstrWithSchemaId.schema_name}:${rstrWithSchemaId.schema_version}` : '';
316
+ return schemaId;
317
+ };
318
+ exports.schemaIdFromRestrictions = schemaIdFromRestrictions;
319
+ const isDataUrl = value => {
320
+ return typeof value === 'string' && value.startsWith('data:image/');
321
+ };
322
+ exports.isDataUrl = isDataUrl;
323
+ /**
324
+ * Retrieve current credentials info filtered by `credentialDefinitionId` if given.
325
+ * @param credDefId Credential Definition Id
326
+ * @returns Array of `AnonCredsCredentialInfo`
327
+ */
328
+ const getCredentialInfo = (credId, fields) => {
329
+ const credentialInfo = [];
330
+ Object.keys(fields).forEach(proofKey => {
331
+ credentialInfo.push(...fields[proofKey].map(attr => attr.credentialInfo));
332
+ });
333
+ return !credId ? credentialInfo : credentialInfo.filter(cred => cred.credentialId === credId);
334
+ };
335
+
336
+ /**
337
+ * Evaluate if given attribute value satisfies the predicate.
338
+ * @param attribute Credential attribute value
339
+ * @param pValue Predicate value
340
+ * @param pType Predicate type ({@link AnonCredsPredicateType})
341
+ * @returns `true`if predicate is satisfied, otherwise `false`
342
+ */
343
+ exports.getCredentialInfo = getCredentialInfo;
344
+ const evaluateOperation = (attribute, pValue, pType) => {
345
+ if (pType === '>=') {
346
+ return attribute >= pValue;
347
+ }
348
+ if (pType === '>') {
349
+ return attribute > pValue;
350
+ }
351
+ if (pType === '<=') {
352
+ return attribute <= pValue;
353
+ }
354
+ if (pType === '<') {
355
+ return attribute < pValue;
356
+ }
357
+ return false;
358
+ };
359
+
360
+ /**
361
+ * Given proof credential items, evaluate and return its predicates, setting `satisfied` property.
362
+ * @param proofCredentialsItems
363
+ * @returns Array of evaluated predicates
364
+ */
365
+ const evaluatePredicates = (fields, credId) => proofCredentialItems => {
366
+ const predicates = proofCredentialItems.predicates;
367
+ if (!predicates || predicates.length == 0) {
368
+ return [];
369
+ }
370
+ if (credId && credId != proofCredentialItems.credId || !proofCredentialItems.credId) {
371
+ return [];
372
+ }
373
+ const credentialAttributes = getCredentialInfo(proofCredentialItems.credId, fields).map(ci => ci.attributes);
374
+ return predicates.map(predicate => {
375
+ const {
376
+ pType: pType,
377
+ pValue: pValue,
378
+ name: field
379
+ } = predicate;
380
+ let satisfied = false;
381
+ if (field) {
382
+ const attribute = (credentialAttributes.find(attr => attr[field] != undefined) ?? {})[field];
383
+ if (attribute && pValue) {
384
+ satisfied = evaluateOperation(Number(attribute), Number(pValue), pType);
385
+ }
386
+ }
387
+ return {
388
+ ...predicate,
389
+ satisfied
390
+ };
391
+ });
392
+ };
393
+
394
+ // scans through requested attributes and records
395
+ // Builds and returns label: value attributes
396
+ // Flagging any attribute not found in wallet credentials
397
+ exports.evaluatePredicates = evaluatePredicates;
398
+ const addMissingDisplayAttributes = (attrReq, records) => {
399
+ const {
400
+ name,
401
+ names,
402
+ restrictions
403
+ } = attrReq;
404
+ const credName = credNameFromRestriction(restrictions);
405
+ const credDefId = credDefIdFromRestrictions(restrictions);
406
+ const schemaId = schemaIdFromRestrictions(restrictions);
407
+
408
+ //there is no credId in this context so use credName as a placeholder
409
+ const processedAttributes = {
410
+ credExchangeRecord: undefined,
411
+ altCredentials: [credName],
412
+ credId: credName,
413
+ schemaId,
414
+ credDefId,
415
+ credName: credName,
416
+ attributes: []
417
+ };
418
+
419
+ // Filter records for requested schema id of credential definition id
420
+ const filteredCredentialRecords = records.filter(record => getCredentialSchemaIdForRecord(record) === schemaId || getCredentialDefinitionIdForRecord(record) === credDefId);
421
+
422
+ // for reach requested attribute
423
+ // scan through filtered credential attributes
424
+ // display any that are found
425
+ // flag any not found attributes with an error
426
+ for (const attributeName of [...(names ?? (name && [name]) ?? [])]) {
427
+ // filter through credential record attributes for a given name
428
+ const [attribute] = filteredCredentialRecords.map(item => {
429
+ var _item$credentialAttri;
430
+ return (_item$credentialAttri = item.credentialAttributes) === null || _item$credentialAttri === void 0 ? void 0 : _item$credentialAttri.filter(attribute => attribute.name === attributeName);
431
+ });
432
+ if (attribute && attribute.length > 0) {
433
+ var _processedAttributes$;
434
+ // attribute found, display as expected
435
+ (_processedAttributes$ = processedAttributes.attributes) === null || _processedAttributes$ === void 0 || _processedAttributes$.push(new _legacy.Attribute({
436
+ revoked: false,
437
+ credentialId: credName,
438
+ name: attributeName,
439
+ value: attribute[0].value,
440
+ hasError: false
441
+ }));
442
+ } else {
443
+ var _processedAttributes$2;
444
+ // no attribute found, flag this with an error
445
+ (_processedAttributes$2 = processedAttributes.attributes) === null || _processedAttributes$2 === void 0 || _processedAttributes$2.push(new _legacy.Attribute({
446
+ revoked: false,
447
+ credentialId: credName,
448
+ name: attributeName,
449
+ value: '',
450
+ hasError: true
451
+ }));
452
+ }
453
+ }
454
+ return processedAttributes;
455
+ };
456
+ const processProofAttributes = (t, request, credentials, credentialRecords, groupByReferent) => {
457
+ const processedAttributes = {};
458
+ const requestedProofAttributes = request === null || request === void 0 ? void 0 : request.requested_attributes;
459
+ const retrievedCredentialAttributes = credentials === null || credentials === void 0 ? void 0 : credentials.attributes;
460
+ const requestNonRevoked = request === null || request === void 0 ? void 0 : request.non_revoked; // non_revoked interval can sometimes be top level
461
+
462
+ // no proof or credential attributes, nothing to process, leave early
463
+ if (!requestedProofAttributes || !retrievedCredentialAttributes) {
464
+ return {};
465
+ }
466
+ for (const key of Object.keys(retrievedCredentialAttributes)) {
467
+ const altCredentials = [...(retrievedCredentialAttributes[key] ?? [])].sort(credentialSortFn).map(cred => cred.credentialId);
468
+ const credentialList = [...(retrievedCredentialAttributes[key] ?? [])].sort(credentialSortFn);
469
+ const {
470
+ name,
471
+ names,
472
+ non_revoked,
473
+ restrictions
474
+ } = requestedProofAttributes[key];
475
+
476
+ // system assumes one of these values is present in a proof request
477
+ const proofCredDefId = credDefIdFromRestrictions(restrictions);
478
+ const proofSchemaId = schemaIdFromRestrictions(restrictions);
479
+
480
+ // No credentials satisfy proof request, process attribute errors
481
+ if (credentialList.length <= 0) {
482
+ const missingAttributes = addMissingDisplayAttributes(requestedProofAttributes[key], credentialRecords ?? []);
483
+ const missingCredGroupKey = groupByReferent ? key : missingAttributes.credName;
484
+ if (!processedAttributes[missingCredGroupKey]) {
485
+ processedAttributes[missingCredGroupKey] = missingAttributes;
486
+ } else {
487
+ var _processedAttributes$3;
488
+ (_processedAttributes$3 = processedAttributes[missingCredGroupKey].attributes) === null || _processedAttributes$3 === void 0 || _processedAttributes$3.push(...(missingAttributes.attributes ?? []));
489
+ }
490
+ }
491
+ //iterate over all credentials that satisfy the proof
492
+ for (const credential of credentialList) {
493
+ var _credential$credentia, _credential$credentia2;
494
+ let credName = key;
495
+ if (credential !== null && credential !== void 0 && (_credential$credentia = credential.credentialInfo) !== null && _credential$credentia !== void 0 && _credential$credentia.credentialDefinitionId || credential !== null && credential !== void 0 && (_credential$credentia2 = credential.credentialInfo) !== null && _credential$credentia2 !== void 0 && _credential$credentia2.schemaId) {
496
+ var _credential$credentia3, _credential$credentia4;
497
+ credName = (0, _credDef.parseCredDefFromId)(credential === null || credential === void 0 || (_credential$credentia3 = credential.credentialInfo) === null || _credential$credentia3 === void 0 ? void 0 : _credential$credentia3.credentialDefinitionId, credential === null || credential === void 0 || (_credential$credentia4 = credential.credentialInfo) === null || _credential$credentia4 === void 0 ? void 0 : _credential$credentia4.schemaId);
498
+ }
499
+ let revoked = false;
500
+ let credExchangeRecord = undefined;
501
+ if (credential) {
502
+ var _credExchangeRecord;
503
+ credExchangeRecord = credentialRecords === null || credentialRecords === void 0 ? void 0 : credentialRecords.find(record => record.credentials.map(cred => cred.credentialRecordId).includes(credential.credentialId) || record.id === credential.credentialId);
504
+ revoked = ((_credExchangeRecord = credExchangeRecord) === null || _credExchangeRecord === void 0 ? void 0 : _credExchangeRecord.revocationNotification) !== undefined;
505
+ } else {
506
+ continue;
507
+ }
508
+ for (const attributeName of [...(names ?? (name && [name]) ?? [])]) {
509
+ var _processedAttributes$4;
510
+ if (!processedAttributes[credential.credentialId]) {
511
+ var _credential$credentia5, _credential$credentia6;
512
+ // init processedAttributes object
513
+ processedAttributes[credential.credentialId] = {
514
+ credExchangeRecord,
515
+ altCredentials,
516
+ credId: credential === null || credential === void 0 ? void 0 : credential.credentialId,
517
+ schemaId: (credential === null || credential === void 0 || (_credential$credentia5 = credential.credentialInfo) === null || _credential$credentia5 === void 0 ? void 0 : _credential$credentia5.schemaId) ?? proofSchemaId,
518
+ credDefId: (credential === null || credential === void 0 || (_credential$credentia6 = credential.credentialInfo) === null || _credential$credentia6 === void 0 ? void 0 : _credential$credentia6.credentialDefinitionId) ?? proofCredDefId,
519
+ credName,
520
+ attributes: []
521
+ };
522
+ }
523
+ const attributeValue = credential ? credential.credentialInfo.attributes[attributeName] : null;
524
+ (_processedAttributes$4 = processedAttributes[credential.credentialId].attributes) === null || _processedAttributes$4 === void 0 || _processedAttributes$4.push(new _legacy.Attribute({
525
+ ...requestedProofAttributes[key],
526
+ revoked,
527
+ credentialId: credential.credentialId,
528
+ name: attributeName,
529
+ value: attributeValue,
530
+ nonRevoked: requestNonRevoked ?? non_revoked
531
+ }));
532
+ }
533
+ }
534
+ }
535
+ return processedAttributes;
536
+ };
537
+ exports.processProofAttributes = processProofAttributes;
538
+ const mergeAttributesAndPredicates = (attributes, predicates) => {
539
+ const merged = {
540
+ ...attributes
541
+ };
542
+ for (const [key, predicate] of Object.entries(predicates)) {
543
+ const existingEntry = merged[key];
544
+ if (existingEntry) {
545
+ var _existingEntry$altCre;
546
+ const mergedAltCreds = (_existingEntry$altCre = existingEntry.altCredentials) === null || _existingEntry$altCre === void 0 ? void 0 : _existingEntry$altCre.filter(credId => {
547
+ var _predicate$altCredent;
548
+ return (_predicate$altCredent = predicate.altCredentials) === null || _predicate$altCredent === void 0 ? void 0 : _predicate$altCredent.includes(credId);
549
+ });
550
+ merged[key] = {
551
+ ...existingEntry,
552
+ ...predicate
553
+ };
554
+ merged[key].altCredentials = mergedAltCreds;
555
+ } else {
556
+ merged[key] = predicate;
557
+ }
558
+ }
559
+ return merged;
560
+ };
561
+ exports.mergeAttributesAndPredicates = mergeAttributesAndPredicates;
562
+ const addMissingDisplayPredicates = predReq => {
563
+ var _processedPredicates$;
564
+ const {
565
+ name,
566
+ p_type: pType,
567
+ p_value: pValue,
568
+ restrictions
569
+ } = predReq;
570
+ const credName = credNameFromRestriction(restrictions);
571
+ const credDefId = credDefIdFromRestrictions(restrictions);
572
+ const schemaId = schemaIdFromRestrictions(restrictions);
573
+
574
+ //there is no credId in this context so use credName as a placeholder
575
+ const processedPredicates = {
576
+ credExchangeRecord: undefined,
577
+ altCredentials: [credName],
578
+ credId: credName,
579
+ schemaId,
580
+ credDefId,
581
+ credName: credName,
582
+ predicates: []
583
+ };
584
+ (_processedPredicates$ = processedPredicates.predicates) === null || _processedPredicates$ === void 0 || _processedPredicates$.push(new _legacy.Predicate({
585
+ revoked: false,
586
+ credentialId: credName,
587
+ name: name,
588
+ pValue,
589
+ pType
590
+ }));
591
+ return processedPredicates;
592
+ };
593
+ const processProofPredicates = (request, credentials, credentialRecords, groupByReferent) => {
594
+ const processedPredicates = {};
595
+ const requestedProofPredicates = request === null || request === void 0 ? void 0 : request.requested_predicates;
596
+ const retrievedCredentialPredicates = credentials === null || credentials === void 0 ? void 0 : credentials.predicates;
597
+ const requestNonRevoked = request === null || request === void 0 ? void 0 : request.non_revoked; // // non_revoked interval can sometimes be top level
598
+
599
+ if (!requestedProofPredicates || !retrievedCredentialPredicates) {
600
+ return {};
601
+ }
602
+ for (const key of Object.keys(retrievedCredentialPredicates)) {
603
+ const altCredentials = [...(retrievedCredentialPredicates[key] ?? [])].sort(credentialSortFn).map(cred => cred.credentialId);
604
+ const credentialList = [...(retrievedCredentialPredicates[key] ?? [])].sort(credentialSortFn);
605
+ const {
606
+ name,
607
+ p_type: pType,
608
+ p_value: pValue,
609
+ non_revoked,
610
+ restrictions
611
+ } = requestedProofPredicates[key];
612
+ const proofCredDefId = credDefIdFromRestrictions(restrictions);
613
+ const proofSchemaId = schemaIdFromRestrictions(restrictions);
614
+ if (credentialList.length <= 0) {
615
+ const missingPredicates = addMissingDisplayPredicates(requestedProofPredicates[key]);
616
+ const missingCredGroupKey = groupByReferent ? key : missingPredicates.credName;
617
+ if (!processedPredicates[missingCredGroupKey]) {
618
+ processedPredicates[missingCredGroupKey] = missingPredicates;
619
+ } else {
620
+ var _processedPredicates$2;
621
+ (_processedPredicates$2 = processedPredicates[missingCredGroupKey].predicates) === null || _processedPredicates$2 === void 0 || _processedPredicates$2.push(...(missingPredicates.predicates ?? []));
622
+ }
623
+ }
624
+ for (const credential of credentialList) {
625
+ var _requestedProofPredic, _credential$credentia7, _credential$credentia8, _processedPredicates$3;
626
+ let revoked = false;
627
+ let credExchangeRecord = undefined;
628
+ if (credential) {
629
+ var _credExchangeRecord2;
630
+ credExchangeRecord = credentialRecords === null || credentialRecords === void 0 ? void 0 : credentialRecords.find(record => record.credentials.map(cred => cred.credentialRecordId).includes(credential.credentialId) || record.id === credential.credentialId);
631
+ revoked = ((_credExchangeRecord2 = credExchangeRecord) === null || _credExchangeRecord2 === void 0 ? void 0 : _credExchangeRecord2.revocationNotification) !== undefined;
632
+ } else {
633
+ continue;
634
+ }
635
+ const {
636
+ credentialDefinitionId,
637
+ schemaId
638
+ } = {
639
+ ...credential,
640
+ ...(credential === null || credential === void 0 ? void 0 : credential.credentialInfo)
641
+ };
642
+ const credNameRestriction = credNameFromRestriction((_requestedProofPredic = requestedProofPredicates[key]) === null || _requestedProofPredic === void 0 ? void 0 : _requestedProofPredic.restrictions);
643
+ let credName = credNameRestriction ?? key;
644
+ if (credential !== null && credential !== void 0 && (_credential$credentia7 = credential.credentialInfo) !== null && _credential$credentia7 !== void 0 && _credential$credentia7.credentialDefinitionId || credential !== null && credential !== void 0 && (_credential$credentia8 = credential.credentialInfo) !== null && _credential$credentia8 !== void 0 && _credential$credentia8.schemaId) {
645
+ var _credential$credentia9, _credential$credentia10;
646
+ credName = (0, _credDef.parseCredDefFromId)(credential === null || credential === void 0 || (_credential$credentia9 = credential.credentialInfo) === null || _credential$credentia9 === void 0 ? void 0 : _credential$credentia9.credentialDefinitionId, credential === null || credential === void 0 || (_credential$credentia10 = credential.credentialInfo) === null || _credential$credentia10 === void 0 ? void 0 : _credential$credentia10.schemaId);
647
+ }
648
+ if (!processedPredicates[credential.credentialId]) {
649
+ processedPredicates[credential.credentialId] = {
650
+ altCredentials,
651
+ credExchangeRecord,
652
+ credId: credential.credentialId,
653
+ schemaId: schemaId ?? proofSchemaId,
654
+ credDefId: credentialDefinitionId ?? proofCredDefId,
655
+ credName: credName,
656
+ predicates: []
657
+ };
658
+ }
659
+ (_processedPredicates$3 = processedPredicates[credential.credentialId].predicates) === null || _processedPredicates$3 === void 0 || _processedPredicates$3.push(new _legacy.Predicate({
660
+ ...requestedProofPredicates[key],
661
+ credentialId: credential === null || credential === void 0 ? void 0 : credential.credentialId,
662
+ name,
663
+ revoked,
664
+ pValue,
665
+ pType,
666
+ nonRevoked: requestNonRevoked ?? non_revoked
667
+ }));
668
+ }
669
+ }
670
+ return processedPredicates;
671
+ };
672
+ exports.processProofPredicates = processProofPredicates;
673
+ const retrieveCredentialsForProof = async (agent, proof, fullCredentials, t, groupByReferent) => {
674
+ // This is the only valid state to retrieve credentials for a proof
675
+ // `getCredentialsForRequest` will fail otherwise.
676
+ if (proof.state !== _core.ProofState.RequestReceived) {
677
+ return;
678
+ }
679
+ try {
680
+ var _format$request, _format$request2, _format$request3, _format$request5, _format$request6;
681
+ const format = await agent.proofs.getFormatData(proof.id);
682
+ const hasPresentationExchange = ((_format$request = format.request) === null || _format$request === void 0 ? void 0 : _format$request.presentationExchange) !== undefined;
683
+ const hasAnonCreds = ((_format$request2 = format.request) === null || _format$request2 === void 0 ? void 0 : _format$request2.anoncreds) !== undefined;
684
+ const hasIndy = ((_format$request3 = format.request) === null || _format$request3 === void 0 ? void 0 : _format$request3.indy) !== undefined;
685
+
686
+ // Will fail if credential not in state 'request-received'
687
+ const credentialsAsPromise = agent.proofs.getCredentialsForRequest({
688
+ proofRecordId: proof.id,
689
+ proofFormats: {
690
+ // FIXME: Credo will try to use the format, even if the value is undefined (but the key is present)
691
+ // We should ignore the key, if the value is undefined. For now this is a workaround.
692
+ ...(hasIndy ? {
693
+ indy: {
694
+ // Setting `filterByNonRevocationRequirements` to `false` returns all
695
+ // credentials even if they are revokable (and revoked). We need this to
696
+ // be able to show why a proof cannot be satisfied. Otherwise we can only
697
+ // show failure.
698
+ filterByNonRevocationRequirements: true
699
+ }
700
+ } : {}),
701
+ ...(hasAnonCreds ? {
702
+ anoncreds: {
703
+ // Setting `filterByNonRevocationRequirements` to `false` returns all
704
+ // credentials even if they are revokable (and revoked). We need this to
705
+ // be able to show why a proof cannot be satisfied. Otherwise we can only
706
+ // show failure.
707
+ filterByNonRevocationRequirements: true
708
+ }
709
+ } : {}),
710
+ ...(hasPresentationExchange ? {
711
+ presentationExchange: {}
712
+ } : {})
713
+ }
714
+ });
715
+
716
+ // Will fail if credential not in state 'request-received'
717
+ const credentialsWithRevokedAsPromise = agent.proofs.getCredentialsForRequest({
718
+ proofRecordId: proof.id,
719
+ proofFormats: {
720
+ // FIXME: Credo will try to use the format, even if the value is undefined (but the key is present)
721
+ // We should ignore the key, if the value is undefined. For now this is a workaround.
722
+ ...(hasIndy ? {
723
+ indy: {
724
+ // Setting `filterByNonRevocationRequirements` to `false` returns all
725
+ // credentials even if they are revokable (and revoked). We need this to
726
+ // be able to show why a proof cannot be satisfied. Otherwise we can only
727
+ // show failure.
728
+ filterByNonRevocationRequirements: false
729
+ }
730
+ } : {}),
731
+ ...(hasAnonCreds ? {
732
+ anoncreds: {
733
+ // Setting `filterByNonRevocationRequirements` to `false` returns all
734
+ // credentials even if they are revokable (and revoked). We need this to
735
+ // be able to show why a proof cannot be satisfied. Otherwise we can only
736
+ // show failure.
737
+ filterByNonRevocationRequirements: false
738
+ }
739
+ } : {}),
740
+ ...(hasPresentationExchange ? {
741
+ presentationExchange: {}
742
+ } : {})
743
+ }
744
+ });
745
+ const [credentials, credentialsWithRevoked] = await Promise.all([credentialsAsPromise, credentialsWithRevokedAsPromise]);
746
+
747
+ // In the case where there are only revoked credentials to satisfy a proof,
748
+ // include them for errors on the proof screen, otherwise leave them out
749
+ const addRevokedCredsIfNeeded = (proofFormat, proofItem) => {
750
+ if (credentials.proofFormats[proofFormat] && credentialsWithRevoked.proofFormats[proofFormat]) {
751
+ var _credentials$proofFor;
752
+ Object.keys(((_credentials$proofFor = credentials.proofFormats[proofFormat]) === null || _credentials$proofFor === void 0 ? void 0 : _credentials$proofFor[proofItem]) ?? {}).forEach(key => {
753
+ var _credentials$proofFor2;
754
+ if (credentials.proofFormats[proofFormat] && !((_credentials$proofFor2 = credentials.proofFormats[proofFormat]) !== null && _credentials$proofFor2 !== void 0 && (_credentials$proofFor2 = _credentials$proofFor2[proofItem][key]) !== null && _credentials$proofFor2 !== void 0 && _credentials$proofFor2.length)) {
755
+ var _credentials$proofFor3, _credentialsWithRevok;
756
+ (_credentials$proofFor3 = credentials.proofFormats[proofFormat]) === null || _credentials$proofFor3 === void 0 || _credentials$proofFor3[proofItem][key].push(...(((_credentialsWithRevok = credentialsWithRevoked.proofFormats[proofFormat]) === null || _credentialsWithRevok === void 0 ? void 0 : _credentialsWithRevok[proofItem][key]) ?? []));
757
+ }
758
+ });
759
+ }
760
+ };
761
+ for (const proofFormat of ['indy', 'anoncreds']) {
762
+ for (const proofItem of ['attributes', 'predicates']) {
763
+ addRevokedCredsIfNeeded(proofFormat, proofItem);
764
+ }
765
+ }
766
+ if (!credentials) {
767
+ throw new Error(t('ProofRequest.RequestedCredentialsCouldNotBeFound'));
768
+ }
769
+ if (!format) {
770
+ throw new Error(t('ProofRequest.RequestedCredentialsCouldNotBeFound'));
771
+ }
772
+ if (!(format && credentials && fullCredentials)) {
773
+ return;
774
+ }
775
+ if (hasPresentationExchange) {
776
+ var _format$request4;
777
+ // FIXME: non revocation requirements
778
+ const presentationExchange = (_format$request4 = format.request) === null || _format$request4 === void 0 ? void 0 : _format$request4.presentationExchange;
779
+ const difPexCredentialsForRequest = credentials.proofFormats.presentationExchange;
780
+ if (!difPexCredentialsForRequest || !presentationExchange) throw new Error('Invalid presentation request');
781
+ const presentationDefinition = presentationExchange.presentation_definition;
782
+ const descriptorMetadata = (0, _anonCredsProofRequestMapper.getDescriptorMetadata)(difPexCredentialsForRequest);
783
+ const anonCredsProofRequest = (0, _anonCredsProofRequestMapper.createAnonCredsProofRequest)(presentationDefinition, descriptorMetadata);
784
+ const anonCredsCredentialsForRequest = await (0, _anoncreds.getCredentialsForAnonCredsProofRequest)(agent.context, anonCredsProofRequest, {
785
+ filterByNonRevocationRequirements: false
786
+ });
787
+ const filtered = (0, _anonCredsProofRequestMapper.filterInvalidProofRequestMatches)(anonCredsCredentialsForRequest, descriptorMetadata);
788
+ const processedAttributes = processProofAttributes(t, anonCredsProofRequest, filtered, fullCredentials, groupByReferent);
789
+ const processedPredicates = processProofPredicates(anonCredsProofRequest, filtered, fullCredentials, groupByReferent);
790
+ const groupedProof = Object.values(mergeAttributesAndPredicates(processedAttributes, processedPredicates));
791
+ return {
792
+ groupedProof,
793
+ retrievedCredentials: filtered,
794
+ fullCredentials,
795
+ descriptorMetadata
796
+ };
797
+ }
798
+ const proofRequest = ((_format$request5 = format.request) === null || _format$request5 === void 0 ? void 0 : _format$request5.anoncreds) ?? ((_format$request6 = format.request) === null || _format$request6 === void 0 ? void 0 : _format$request6.indy);
799
+ const proofFormat = credentials.proofFormats.anoncreds ?? credentials.proofFormats.indy;
800
+ const attributes = processProofAttributes(t, proofRequest, proofFormat, fullCredentials, groupByReferent);
801
+ const predicates = processProofPredicates(proofRequest, proofFormat, fullCredentials, groupByReferent);
802
+ const groupedProof = Object.values(mergeAttributesAndPredicates(attributes, predicates));
803
+ return {
804
+ groupedProof,
805
+ retrievedCredentials: proofFormat,
806
+ fullCredentials
807
+ };
808
+ } catch (err) {
809
+ const error = new _error.BifoldError(t('Error.Title1043'), t('Error.Message1043'), (err === null || err === void 0 ? void 0 : err.message) ?? err, 1043);
810
+ _reactNative.DeviceEventEmitter.emit(_constants.EventTypes.ERROR_ADDED, error);
811
+ }
812
+ };
813
+ exports.retrieveCredentialsForProof = retrieveCredentialsForProof;
814
+ const pTypeToText = (item, t, attributeTypes) => {
815
+ const itemCopy = {
816
+ ...item
817
+ };
818
+ const pTypeMap = {
819
+ '>=': t('ProofRequest.PredicateGe'),
820
+ '>': t('ProofRequest.PredicateGr'),
821
+ '<=': t('ProofRequest.PredicateLe'),
822
+ '<': t('ProofRequest.PredicateLs')
823
+ };
824
+ const pTypeDateMap = {
825
+ '>=': t('ProofRequest.PredicateGeDate'),
826
+ '>': t('ProofRequest.PredicateGeDate'),
827
+ '<=': t('ProofRequest.PredicateLeDate'),
828
+ '<': t('ProofRequest.PredicateLeDate')
829
+ };
830
+ const pTypeDateOffset = {
831
+ '>=': -1,
832
+ '<=': 1
833
+ };
834
+ if (attributeTypes && attributeTypes[item.name ?? ''] == _oca.CaptureBaseAttributeType.DateTime) {
835
+ itemCopy.pType = pTypeDateMap[item.pType] ?? item.pType;
836
+ itemCopy.pValue = parseInt(`${itemCopy.pValue}`) + (pTypeDateOffset[item.pType] ?? 0);
837
+ } else {
838
+ itemCopy.pType = pTypeMap[item.pType] ?? item.pType;
839
+ }
840
+ return itemCopy;
841
+ };
842
+
843
+ /**
844
+ * @deprecated The function should not be used
845
+ */
846
+ exports.pTypeToText = pTypeToText;
847
+ const sortCredentialsForAutoSelect = credentials => {
848
+ const requestedAttributes = Object.values(credentials === null || credentials === void 0 ? void 0 : credentials.attributes).pop();
849
+ const requestedPredicates = Object.values(credentials === null || credentials === void 0 ? void 0 : credentials.predicates).pop();
850
+ const sortFn = (a, b) => {
851
+ if (a.revoked && !b.revoked) {
852
+ return 1;
853
+ } else if (!a.revoked && b.revoked) {
854
+ return -1;
855
+ } else {
856
+ return b.timestamp - a.timestamp;
857
+ }
858
+ };
859
+ requestedAttributes && requestedAttributes.sort(sortFn);
860
+ requestedPredicates && requestedPredicates.sort(sortFn);
861
+ return credentials;
862
+ };
863
+
864
+ /**
865
+ * This cleanup function prevents any errors associated with
866
+ * receiving the same invitation twice if a previous
867
+ * invitation was not completed. Does nothing if no previously
868
+ * received invitations exist
869
+ * @param agent an Agent instance
870
+ * @param invitationId specifically a *received* invitation id
871
+ */
872
+ exports.sortCredentialsForAutoSelect = sortCredentialsForAutoSelect;
873
+ const removeExistingInvitationsById = async (agent, invitationId) => {
874
+ // This is implemented just as findByReceivedInvitationId is
875
+ // in Credo only this is able to return multiple if they exist
876
+ const oobRecords = (await (agent === null || agent === void 0 ? void 0 : agent.oob.findAllByQuery({
877
+ invitationId,
878
+ role: _core.OutOfBandRole.Receiver
879
+ }))) || [];
880
+ for (const r of oobRecords) {
881
+ await (agent === null || agent === void 0 ? void 0 : agent.oob.deleteById(r.id));
882
+ agent === null || agent === void 0 || agent.config.logger.info('Successfully removed an existing oob invitation');
883
+ }
884
+ };
885
+
886
+ /**
887
+ * Get a oob record and connection record from a URI using built-in Credo methods
888
+ * @param uri a URI that is either a redirect URL or contains a base64 encoded connection invite in query params
889
+ * @param agent an Agent instance
890
+ * @param implicitInvitations a boolean to determine if implicit invitation behavior should be used
891
+ * @param reuseConnection a boolean to determine if connection reuse should be allowed
892
+ * @returns an object containing an OOB record and, if not connectionless, a connection record
893
+ */
894
+ exports.removeExistingInvitationsById = removeExistingInvitationsById;
895
+ const connectFromInvitation = async (uri, agent, implicitInvitations = false, reuseConnection = false) => {
896
+ const invitation = await (agent === null || agent === void 0 ? void 0 : agent.oob.parseInvitation(uri));
897
+ if (!invitation) {
898
+ throw new Error('Could not parse invitation from URL');
899
+ }
900
+ if (implicitInvitations) {
901
+ try {
902
+ if (invitation.getDidServices().length > 0) {
903
+ const did = (0, _core.parseDid)(invitation.getDidServices()[0]);
904
+ const record = await (agent === null || agent === void 0 ? void 0 : agent.oob.receiveImplicitInvitation({
905
+ did: did.did,
906
+ label: invitation.label,
907
+ handshakeProtocols: invitation.handshakeProtocols
908
+ }));
909
+ return record === null || record === void 0 ? void 0 : record.outOfBandRecord;
910
+ }
911
+ } catch (e) {
912
+ // don't throw an error, will try to connect again below
913
+ }
914
+ }
915
+ const record = await (agent === null || agent === void 0 ? void 0 : agent.oob.receiveInvitation(invitation, {
916
+ reuseConnection
917
+ }));
918
+ return record === null || record === void 0 ? void 0 : record.outOfBandRecord;
919
+ };
920
+ exports.connectFromInvitation = connectFromInvitation;
921
+ const processBetaUrlIfRequired = uri => {
922
+ let aUrl = uri;
923
+
924
+ // _oob is a beta query param, not supported by Credo.
925
+ aUrl = uri.replace('_oob', 'oob');
926
+
927
+ // _url is a beta query param, not supported by Credo.
928
+ if (uri.includes('_url')) {
929
+ var _parseUrl;
930
+ const queryParams = (_parseUrl = (0, _queryString.parseUrl)(uri)) === null || _parseUrl === void 0 ? void 0 : _parseUrl.query;
931
+ const b64UrlRedirect = queryParams['_url'];
932
+ aUrl = b64decode(b64UrlRedirect);
933
+ }
934
+ return aUrl;
935
+ };
936
+
937
+ /**
938
+ * Receive a message from a scan or deeplink and navigate accordingly
939
+ * @param uri a URI either containing a base64 encoded connection invite in the query parameters or a redirect URL itself
940
+ * @param agent an Agent instance
941
+ * @param logger injected logger from DI container
942
+ * @param navigation a navigation object from either the Scan screen, Home screen, or PasteUrl screen
943
+ * @param isDeepLink a boolean to communicate where the uri is coming from
944
+ * @param implicitInvitations a boolean to determine if implicit invitation behavior should be used
945
+ * @param reuseConnection a boolean to determine if connection reuse should be allowed
946
+ * @throws Error with message containing the primary and beta error messages if both fail
947
+ */
948
+ const connectFromScanOrDeepLink = async (uri, agent, logger, navigation, isDeepLink, implicitInvitations = false, reuseConnection = false) => {
949
+ if (!agent) {
950
+ return;
951
+ }
952
+
953
+ // TODO:(jl) Do we care if the connection is a deep link?
954
+ logger.info(`Attempting to connect from ${isDeepLink ? 'deeplink' : 'qr scan'}`);
955
+ try {
956
+ if ((0, _parsers.isOpenIdCredentialOffer)(uri)) {
957
+ navigation.navigate(_navigators.Stacks.ConnectionStack, {
958
+ screen: _navigators.Screens.Connection,
959
+ params: {
960
+ oobRecordId: '',
961
+ openIDUri: uri
962
+ }
963
+ });
964
+ return;
965
+ }
966
+ if ((0, _parsers.isOpenIdPresentationRequest)(uri)) {
967
+ navigation.navigate(_navigators.Stacks.ConnectionStack, {
968
+ screen: _navigators.Screens.Connection,
969
+ params: {
970
+ oobRecordId: '',
971
+ openIDPresentationUri: uri
972
+ }
973
+ });
974
+ return;
975
+ }
976
+ const aUrl = processBetaUrlIfRequired(uri);
977
+ const receivedInvitation = await connectFromInvitation(aUrl, agent, implicitInvitations, reuseConnection);
978
+ if (receivedInvitation !== null && receivedInvitation !== void 0 && receivedInvitation.id) {
979
+ navigation.navigate(_navigators.Stacks.ConnectionStack, {
980
+ screen: _navigators.Screens.Connection,
981
+ params: {
982
+ oobRecordId: receivedInvitation.id
983
+ }
984
+ });
985
+ }
986
+ } catch (error) {
987
+ logger.error('Problem during connect strategy, error:', error);
988
+ throw error;
989
+ }
990
+ };
991
+
992
+ /**
993
+ * Create a new connection invitation
994
+ *
995
+ * @param agent an Agent instance
996
+ * @param goalCode add goalCode to connection invitation
997
+ * @returns a connection record
998
+ */
999
+ exports.connectFromScanOrDeepLink = connectFromScanOrDeepLink;
1000
+ const createConnectionInvitation = async (agent, goalCode) => {
1001
+ const record = await (agent === null || agent === void 0 ? void 0 : agent.oob.createInvitation({
1002
+ goalCode
1003
+ }));
1004
+ if (!record) {
1005
+ throw new Error('Could not create new invitation');
1006
+ }
1007
+ const invitationUrl = record.outOfBandInvitation.toUrl({
1008
+ domain: _constants.domain
1009
+ });
1010
+ return {
1011
+ record,
1012
+ invitation: record.outOfBandInvitation,
1013
+ invitationUrl
1014
+ };
1015
+ };
1016
+
1017
+ /**
1018
+ * Create a new connection invitation with a goal code specifying that it will be deleted after issuing or verifying once depending on type
1019
+ *
1020
+ * @param agent an Agent instance
1021
+ * @param type add goalCode to connection invitation
1022
+ * @returns a connection record
1023
+ */
1024
+ exports.createConnectionInvitation = createConnectionInvitation;
1025
+ const createTempConnectionInvitation = async (agent, type) => {
1026
+ return createConnectionInvitation(agent, `aries.vc.${type}.once`);
1027
+ };
1028
+
1029
+ /**
1030
+ * Typeguard to check if any React children is represented as a function
1031
+ * instead of a Node. I,e., when it's a {@link ChildFn}.
1032
+ *
1033
+ * @param children any React children
1034
+ * @returns true if the children is a function, false otherwise
1035
+ */
1036
+ exports.createTempConnectionInvitation = createTempConnectionInvitation;
1037
+ function isChildFunction(children) {
1038
+ return typeof children === 'function';
1039
+ }
1040
+
1041
+ // Fetches the credential definition id for a given credential exchange record, returns null if ID is not found
1042
+ const getCredentialDefinitionIdForRecord = record => {
1043
+ var _record$metadata$get;
1044
+ // assumes record is anonCred
1045
+ return ((_record$metadata$get = record.metadata.get('_anoncreds/credential')) === null || _record$metadata$get === void 0 ? void 0 : _record$metadata$get.credentialDefinitionId) ?? null;
1046
+ };
1047
+
1048
+ // Fetches the schema id for a given credential exchange record, returns null if ID is not found
1049
+ exports.getCredentialDefinitionIdForRecord = getCredentialDefinitionIdForRecord;
1050
+ const getCredentialSchemaIdForRecord = record => {
1051
+ var _record$metadata$get2;
1052
+ // assumes record is anonCred
1053
+ return ((_record$metadata$get2 = record.metadata.get('_anoncreds/credential')) === null || _record$metadata$get2 === void 0 ? void 0 : _record$metadata$get2.schemaId) ?? null;
1054
+ };
1055
+ exports.getCredentialSchemaIdForRecord = getCredentialSchemaIdForRecord;
1056
+ function getCredentialEventRole(record) {
1057
+ switch (record.state) {
1058
+ // assuming only Holder states are supported here
1059
+ case _core.CredentialState.ProposalSent:
1060
+ return _chat.Role.me;
1061
+ case _core.CredentialState.OfferReceived:
1062
+ return _chat.Role.them;
1063
+ case _core.CredentialState.RequestSent:
1064
+ return _chat.Role.me;
1065
+ case _core.CredentialState.Declined:
1066
+ return _chat.Role.me;
1067
+ case _core.CredentialState.CredentialReceived:
1068
+ return _chat.Role.me;
1069
+ case _core.CredentialState.Done:
1070
+ return _chat.Role.me;
1071
+ default:
1072
+ return _chat.Role.me;
1073
+ }
1074
+ }
1075
+ function getCredentialEventLabel(record) {
1076
+ switch (record.state) {
1077
+ // assuming only Holder states are supported here
1078
+ case _core.CredentialState.ProposalSent:
1079
+ return 'Chat.CredentialProposalSent';
1080
+ case _core.CredentialState.OfferReceived:
1081
+ return 'Chat.CredentialOfferReceived';
1082
+ case _core.CredentialState.RequestSent:
1083
+ return 'Chat.CredentialRequestSent';
1084
+ case _core.CredentialState.Declined:
1085
+ return 'Chat.CredentialDeclined';
1086
+ case _core.CredentialState.CredentialReceived:
1087
+ case _core.CredentialState.Done:
1088
+ return 'Chat.CredentialReceived';
1089
+ default:
1090
+ return '';
1091
+ }
1092
+ }
1093
+ function getProofEventRole(record) {
1094
+ switch (record.state) {
1095
+ case _core.ProofState.RequestSent:
1096
+ return _chat.Role.me;
1097
+ case _core.ProofState.ProposalReceived:
1098
+ return _chat.Role.me;
1099
+ case _core.ProofState.PresentationReceived:
1100
+ return _chat.Role.them;
1101
+ case _core.ProofState.RequestReceived:
1102
+ return _chat.Role.them;
1103
+ case _core.ProofState.ProposalSent:
1104
+ case _core.ProofState.PresentationSent:
1105
+ return _chat.Role.me;
1106
+ case _core.ProofState.Declined:
1107
+ return _chat.Role.me;
1108
+ case _core.ProofState.Abandoned:
1109
+ return _chat.Role.them;
1110
+ case _core.ProofState.Done:
1111
+ return record.isVerified !== undefined ? _chat.Role.them : _chat.Role.me;
1112
+ default:
1113
+ return _chat.Role.me;
1114
+ }
1115
+ }
1116
+ function getProofEventLabel(record) {
1117
+ switch (record.state) {
1118
+ case _core.ProofState.RequestSent:
1119
+ case _core.ProofState.ProposalReceived:
1120
+ return 'Chat.ProofRequestSent';
1121
+ case _core.ProofState.PresentationReceived:
1122
+ return 'Chat.ProofPresentationReceived';
1123
+ case _core.ProofState.RequestReceived:
1124
+ return 'Chat.ProofRequestReceived';
1125
+ case _core.ProofState.ProposalSent:
1126
+ case _core.ProofState.PresentationSent:
1127
+ return 'Chat.ProofRequestSatisfied';
1128
+ case _core.ProofState.Declined:
1129
+ return 'Chat.ProofRequestRejected';
1130
+ case _core.ProofState.Abandoned:
1131
+ return 'Chat.ProofRequestRejectReceived';
1132
+ case _core.ProofState.Done:
1133
+ return record.isVerified !== undefined ? 'Chat.ProofPresentationReceived' : 'Chat.ProofRequestSatisfied';
1134
+ default:
1135
+ return '';
1136
+ }
1137
+ }
1138
+ function getMessageEventRole(record) {
1139
+ return record.role === _BasicMessageRole.BasicMessageRole.Sender ? _chat.Role.me : _chat.Role.them;
1140
+ }
1141
+ function generateRandomWalletName() {
1142
+ let name = 'My Wallet - ';
1143
+ for (let i = 0; i < 4; i++) {
1144
+ name = name.concat(Math.floor(Math.random() * 10).toString());
1145
+ }
1146
+ return name;
1147
+ }
1148
+
1149
+ /**
1150
+ * Returns the secondary background color for a credential card.
1151
+ *
1152
+ * @param {CredentialOverlay<BrandingOverlay>} overlay - The credential card containing branding information.
1153
+ * @param {boolean} [proof] - Optional flag indicating if the context of the credential card is a proof.
1154
+ * @returns {string | undefined} - The secondary background color of the branding or undefined if not applicable.
1155
+ */
1156
+ function getSecondaryBackgroundColor(overlay, proof) {
1157
+ if (proof) {
1158
+ var _overlay$brandingOver;
1159
+ return (_overlay$brandingOver = overlay.brandingOverlay) === null || _overlay$brandingOver === void 0 ? void 0 : _overlay$brandingOver.primaryBackgroundColor;
1160
+ } else {
1161
+ var _overlay$brandingOver2, _overlay$brandingOver3;
1162
+ return (_overlay$brandingOver2 = overlay.brandingOverlay) !== null && _overlay$brandingOver2 !== void 0 && _overlay$brandingOver2.backgroundImageSlice ? 'rgba(0, 0, 0, 0)' : (_overlay$brandingOver3 = overlay.brandingOverlay) === null || _overlay$brandingOver3 === void 0 ? void 0 : _overlay$brandingOver3.secondaryBackgroundColor;
1163
+ }
1164
+ }
1165
+ //# sourceMappingURL=helpers.js.map