@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.
- package/bin/bifold +5 -0
- package/lib/commonjs/App.js +69 -0
- package/lib/commonjs/App.js.map +1 -0
- package/lib/commonjs/animated-components.js +26 -0
- package/lib/commonjs/animated-components.js.map +1 -0
- package/lib/commonjs/assets/fonts/MaterialIcons.ttf +0 -0
- package/lib/commonjs/assets/icons/large-arrow.svg +5 -0
- package/lib/commonjs/assets/icons/pencil.svg +15 -0
- package/lib/commonjs/assets/icons/trash.svg +31 -0
- package/lib/commonjs/assets/img/Artwork_1024x1024.png +0 -0
- package/lib/commonjs/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/lib/commonjs/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/lib/commonjs/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/lib/commonjs/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/lib/commonjs/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/lib/commonjs/assets/img/IconChevronRight.svg +5 -0
- package/lib/commonjs/assets/img/activity-indicator-circle.svg +90 -0
- package/lib/commonjs/assets/img/app-lockout.svg +1 -0
- package/lib/commonjs/assets/img/biometrics.svg +74 -0
- package/lib/commonjs/assets/img/chat-loading.svg +1 -0
- package/lib/commonjs/assets/img/check-in-circle.svg +18 -0
- package/lib/commonjs/assets/img/connection-pending.svg +112 -0
- package/lib/commonjs/assets/img/contact-book.svg +21 -0
- package/lib/commonjs/assets/img/credential-card.svg +18 -0
- package/lib/commonjs/assets/img/credential-declined.svg +28 -0
- package/lib/commonjs/assets/img/credential-in-hand.svg +48 -0
- package/lib/commonjs/assets/img/credential-list.svg +60 -0
- package/lib/commonjs/assets/img/credential-pending.svg +96 -0
- package/lib/commonjs/assets/img/credential-success.svg +48 -0
- package/lib/commonjs/assets/img/delete-notification.svg +1 -0
- package/lib/commonjs/assets/img/empty-wallet.svg +23 -0
- package/lib/commonjs/assets/img/error-filled.svg +12 -0
- package/lib/commonjs/assets/img/exclamation-mark.svg +17 -0
- package/lib/commonjs/assets/img/home-center-img.svg +71 -0
- package/lib/commonjs/assets/img/icon-credential-offer-dark.svg +7 -0
- package/lib/commonjs/assets/img/icon-credential-offer-light.svg +7 -0
- package/lib/commonjs/assets/img/icon-info-recieved-dark.svg +8 -0
- package/lib/commonjs/assets/img/icon-info-recieved-light.svg +8 -0
- package/lib/commonjs/assets/img/icon-info-sent-dark.svg +8 -0
- package/lib/commonjs/assets/img/icon-info-sent-light.svg +8 -0
- package/lib/commonjs/assets/img/icon-proof-request-dark.svg +11 -0
- package/lib/commonjs/assets/img/icon-proof-request-light.svg +11 -0
- package/lib/commonjs/assets/img/information-received.svg +1 -0
- package/lib/commonjs/assets/img/logo-large.png +0 -0
- package/lib/commonjs/assets/img/logo-large@2x.png +0 -0
- package/lib/commonjs/assets/img/logo-large@3x.png +0 -0
- package/lib/commonjs/assets/img/logo.svg +15 -0
- package/lib/commonjs/assets/img/message-text-icon-outline.svg +1 -0
- package/lib/commonjs/assets/img/message-text-icon.svg +1 -0
- package/lib/commonjs/assets/img/no_information_shared.svg +36 -0
- package/lib/commonjs/assets/img/preface.svg +15 -0
- package/lib/commonjs/assets/img/proof-declined.svg +66 -0
- package/lib/commonjs/assets/img/proof-pending.svg +61 -0
- package/lib/commonjs/assets/img/proof-success.svg +72 -0
- package/lib/commonjs/assets/img/push-notifications.svg +1 -0
- package/lib/commonjs/assets/img/qrcode-scan-icon.svg +1 -0
- package/lib/commonjs/assets/img/scan-share.svg +102 -0
- package/lib/commonjs/assets/img/secure-check.svg +4 -0
- package/lib/commonjs/assets/img/secure-image.svg +64 -0
- package/lib/commonjs/assets/img/update-available.svg +26 -0
- package/lib/commonjs/assets/img/verifier-request-declined.svg +34 -0
- package/lib/commonjs/assets/img/wallet-back.svg +20 -0
- package/lib/commonjs/assets/img/wallet-front.svg +32 -0
- package/lib/commonjs/assets/img/wallet-icon-outline.svg +1 -0
- package/lib/commonjs/assets/img/wallet-icon.svg +1 -0
- package/lib/commonjs/assets/img/wallet.svg +43 -0
- package/lib/commonjs/assets/oca-bundles.json +174 -0
- package/lib/commonjs/components/animated/ButtonLoading.js +46 -0
- package/lib/commonjs/components/animated/ButtonLoading.js.map +1 -0
- package/lib/commonjs/components/animated/ConnectionLoading.js +63 -0
- package/lib/commonjs/components/animated/ConnectionLoading.js.map +1 -0
- package/lib/commonjs/components/animated/CredentialAdded.js +88 -0
- package/lib/commonjs/components/animated/CredentialAdded.js.map +1 -0
- package/lib/commonjs/components/animated/CredentialPending.js +76 -0
- package/lib/commonjs/components/animated/CredentialPending.js.map +1 -0
- package/lib/commonjs/components/animated/LoadingIndicator.js +64 -0
- package/lib/commonjs/components/animated/LoadingIndicator.js.map +1 -0
- package/lib/commonjs/components/animated/PresentationLoading.js +62 -0
- package/lib/commonjs/components/animated/PresentationLoading.js.map +1 -0
- package/lib/commonjs/components/animated/RecordLoading.js +107 -0
- package/lib/commonjs/components/animated/RecordLoading.js.map +1 -0
- package/lib/commonjs/components/animated/SendingProof.js +63 -0
- package/lib/commonjs/components/animated/SendingProof.js.map +1 -0
- package/lib/commonjs/components/animated/SentProof.js +83 -0
- package/lib/commonjs/components/animated/SentProof.js.map +1 -0
- package/lib/commonjs/components/buttons/Button-api.js +40 -0
- package/lib/commonjs/components/buttons/Button-api.js.map +1 -0
- package/lib/commonjs/components/buttons/Button.js +103 -0
- package/lib/commonjs/components/buttons/Button.js.map +1 -0
- package/lib/commonjs/components/buttons/HeaderHome.js +35 -0
- package/lib/commonjs/components/buttons/HeaderHome.js.map +1 -0
- package/lib/commonjs/components/buttons/IconButton.js +75 -0
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -0
- package/lib/commonjs/components/buttons/InfoIcon.js +37 -0
- package/lib/commonjs/components/buttons/InfoIcon.js.map +1 -0
- package/lib/commonjs/components/buttons/SettingsMenu.js +32 -0
- package/lib/commonjs/components/buttons/SettingsMenu.js.map +1 -0
- package/lib/commonjs/components/buttons/ToggleButton.js +86 -0
- package/lib/commonjs/components/buttons/ToggleButton.js.map +1 -0
- package/lib/commonjs/components/buttons/index.js +13 -0
- package/lib/commonjs/components/buttons/index.js.map +1 -0
- package/lib/commonjs/components/chat/ActionSlider.js +109 -0
- package/lib/commonjs/components/chat/ActionSlider.js.map +1 -0
- package/lib/commonjs/components/chat/ChatActions.js +29 -0
- package/lib/commonjs/components/chat/ChatActions.js.map +1 -0
- package/lib/commonjs/components/chat/ChatBubble.js +32 -0
- package/lib/commonjs/components/chat/ChatBubble.js.map +1 -0
- package/lib/commonjs/components/chat/ChatEvent.js +35 -0
- package/lib/commonjs/components/chat/ChatEvent.js.map +1 -0
- package/lib/commonjs/components/chat/ChatMessage.js +159 -0
- package/lib/commonjs/components/chat/ChatMessage.js.map +1 -0
- package/lib/commonjs/components/chat/MessageInput.js +52 -0
- package/lib/commonjs/components/chat/MessageInput.js.map +1 -0
- package/lib/commonjs/components/chat/index.js +32 -0
- package/lib/commonjs/components/chat/index.js.map +1 -0
- package/lib/commonjs/components/index.js +13 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/inputs/BulletPoint.js +47 -0
- package/lib/commonjs/components/inputs/BulletPoint.js.map +1 -0
- package/lib/commonjs/components/inputs/CheckBoxRow.js +66 -0
- package/lib/commonjs/components/inputs/CheckBoxRow.js.map +1 -0
- package/lib/commonjs/components/inputs/InlineErrorText.js +60 -0
- package/lib/commonjs/components/inputs/InlineErrorText.js.map +1 -0
- package/lib/commonjs/components/inputs/LimitedTextInput.js +70 -0
- package/lib/commonjs/components/inputs/LimitedTextInput.js.map +1 -0
- package/lib/commonjs/components/inputs/PINInput.js +137 -0
- package/lib/commonjs/components/inputs/PINInput.js.map +1 -0
- package/lib/commonjs/components/inputs/SingleSelectBlock.js +58 -0
- package/lib/commonjs/components/inputs/SingleSelectBlock.js.map +1 -0
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js +79 -0
- package/lib/commonjs/components/listItems/ContactCredentialListItem.js.map +1 -0
- package/lib/commonjs/components/listItems/ContactListItem.js +125 -0
- package/lib/commonjs/components/listItems/ContactListItem.js.map +1 -0
- package/lib/commonjs/components/listItems/NotificationListItem.js +471 -0
- package/lib/commonjs/components/listItems/NotificationListItem.js.map +1 -0
- package/lib/commonjs/components/misc/ActivityLogLink.js +44 -0
- package/lib/commonjs/components/misc/ActivityLogLink.js.map +1 -0
- package/lib/commonjs/components/misc/AvatarView.js +39 -0
- package/lib/commonjs/components/misc/AvatarView.js.map +1 -0
- package/lib/commonjs/components/misc/CardWatermark.js +56 -0
- package/lib/commonjs/components/misc/CardWatermark.js.map +1 -0
- package/lib/commonjs/components/misc/ConnectionAlert.js +117 -0
- package/lib/commonjs/components/misc/ConnectionAlert.js.map +1 -0
- package/lib/commonjs/components/misc/ConnectionImage.js +49 -0
- package/lib/commonjs/components/misc/ConnectionImage.js.map +1 -0
- package/lib/commonjs/components/misc/ContentGradient.js +56 -0
- package/lib/commonjs/components/misc/ContentGradient.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard.js +133 -0
- package/lib/commonjs/components/misc/CredentialCard.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard10.js +271 -0
- package/lib/commonjs/components/misc/CredentialCard10.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard11.js +569 -0
- package/lib/commonjs/components/misc/CredentialCard11.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js +59 -0
- package/lib/commonjs/components/misc/CredentialCard11ActionFooter.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard11Issuer.js +62 -0
- package/lib/commonjs/components/misc/CredentialCard11Issuer.js.map +1 -0
- package/lib/commonjs/components/misc/CredentialCard11Logo.js +56 -0
- package/lib/commonjs/components/misc/CredentialCard11Logo.js.map +1 -0
- package/lib/commonjs/components/misc/EmptyList.js +42 -0
- package/lib/commonjs/components/misc/EmptyList.js.map +1 -0
- package/lib/commonjs/components/misc/EmptyListContacts.js +72 -0
- package/lib/commonjs/components/misc/EmptyListContacts.js.map +1 -0
- package/lib/commonjs/components/misc/InfoBox.js +265 -0
- package/lib/commonjs/components/misc/InfoBox.js.map +1 -0
- package/lib/commonjs/components/misc/NoNewUpdates.js +44 -0
- package/lib/commonjs/components/misc/NoNewUpdates.js.map +1 -0
- package/lib/commonjs/components/misc/PINCreateHeader.js +31 -0
- package/lib/commonjs/components/misc/PINCreateHeader.js.map +1 -0
- package/lib/commonjs/components/misc/Pagination.js +86 -0
- package/lib/commonjs/components/misc/Pagination.js.map +1 -0
- package/lib/commonjs/components/misc/QRRenderer.js +63 -0
- package/lib/commonjs/components/misc/QRRenderer.js.map +1 -0
- package/lib/commonjs/components/misc/QRScanner.js +405 -0
- package/lib/commonjs/components/misc/QRScanner.js.map +1 -0
- package/lib/commonjs/components/misc/QRScannerTorch.js +80 -0
- package/lib/commonjs/components/misc/QRScannerTorch.js.map +1 -0
- package/lib/commonjs/components/misc/ScanCamera.js +86 -0
- package/lib/commonjs/components/misc/ScanCamera.js.map +1 -0
- package/lib/commonjs/components/misc/ScanTab.js +53 -0
- package/lib/commonjs/components/misc/ScanTab.js.map +1 -0
- package/lib/commonjs/components/misc/SharedProofData.js +94 -0
- package/lib/commonjs/components/misc/SharedProofData.js.map +1 -0
- package/lib/commonjs/components/misc/UnorderedList.js +41 -0
- package/lib/commonjs/components/misc/UnorderedList.js.map +1 -0
- package/lib/commonjs/components/misc/VerifierCredentialCard.js +341 -0
- package/lib/commonjs/components/misc/VerifierCredentialCard.js.map +1 -0
- package/lib/commonjs/components/misc/index.js +14 -0
- package/lib/commonjs/components/misc/index.js.map +1 -0
- package/lib/commonjs/components/modals/AlertModal.js +44 -0
- package/lib/commonjs/components/modals/AlertModal.js.map +1 -0
- package/lib/commonjs/components/modals/AppGuideModal.js +137 -0
- package/lib/commonjs/components/modals/AppGuideModal.js.map +1 -0
- package/lib/commonjs/components/modals/CameraDisclosureModal.js +130 -0
- package/lib/commonjs/components/modals/CameraDisclosureModal.js.map +1 -0
- package/lib/commonjs/components/modals/CommonRemoveModal.js +372 -0
- package/lib/commonjs/components/modals/CommonRemoveModal.js.map +1 -0
- package/lib/commonjs/components/modals/DismissiblePopupModal.js +171 -0
- package/lib/commonjs/components/modals/DismissiblePopupModal.js.map +1 -0
- package/lib/commonjs/components/modals/ErrorModal.js +106 -0
- package/lib/commonjs/components/modals/ErrorModal.js.map +1 -0
- package/lib/commonjs/components/modals/ImageModal.js +91 -0
- package/lib/commonjs/components/modals/ImageModal.js.map +1 -0
- package/lib/commonjs/components/modals/NetInfoModal.js +31 -0
- package/lib/commonjs/components/modals/NetInfoModal.js.map +1 -0
- package/lib/commonjs/components/modals/NotificationModal.js +121 -0
- package/lib/commonjs/components/modals/NotificationModal.js.map +1 -0
- package/lib/commonjs/components/modals/PopupModal.js +49 -0
- package/lib/commonjs/components/modals/PopupModal.js.map +1 -0
- package/lib/commonjs/components/modals/ProofCancelModal.js +91 -0
- package/lib/commonjs/components/modals/ProofCancelModal.js.map +1 -0
- package/lib/commonjs/components/modals/SafeAreaModal.js +18 -0
- package/lib/commonjs/components/modals/SafeAreaModal.js.map +1 -0
- package/lib/commonjs/components/network/NetInfo.js +43 -0
- package/lib/commonjs/components/network/NetInfo.js.map +1 -0
- package/lib/commonjs/components/record/Record.js +93 -0
- package/lib/commonjs/components/record/Record.js.map +1 -0
- package/lib/commonjs/components/record/RecordBinaryField.js +60 -0
- package/lib/commonjs/components/record/RecordBinaryField.js.map +1 -0
- package/lib/commonjs/components/record/RecordDateIntField.js +67 -0
- package/lib/commonjs/components/record/RecordDateIntField.js.map +1 -0
- package/lib/commonjs/components/record/RecordField.js +142 -0
- package/lib/commonjs/components/record/RecordField.js.map +1 -0
- package/lib/commonjs/components/record/RecordFooter.js +28 -0
- package/lib/commonjs/components/record/RecordFooter.js.map +1 -0
- package/lib/commonjs/components/record/RecordHeader.js +27 -0
- package/lib/commonjs/components/record/RecordHeader.js.map +1 -0
- package/lib/commonjs/components/record/RecordRemove.js +71 -0
- package/lib/commonjs/components/record/RecordRemove.js.map +1 -0
- package/lib/commonjs/components/texts/HeaderTitle.js +27 -0
- package/lib/commonjs/components/texts/HeaderTitle.js.map +1 -0
- package/lib/commonjs/components/texts/HighlightTextBox.js +50 -0
- package/lib/commonjs/components/texts/HighlightTextBox.js.map +1 -0
- package/lib/commonjs/components/texts/InfoTextBox.js +117 -0
- package/lib/commonjs/components/texts/InfoTextBox.js.map +1 -0
- package/lib/commonjs/components/texts/Label.js +57 -0
- package/lib/commonjs/components/texts/Label.js.map +1 -0
- package/lib/commonjs/components/texts/Link.js +41 -0
- package/lib/commonjs/components/texts/Link.js.map +1 -0
- package/lib/commonjs/components/texts/Text.js +28 -0
- package/lib/commonjs/components/texts/Text.js.map +1 -0
- package/lib/commonjs/components/texts/ThemedText.js +35 -0
- package/lib/commonjs/components/texts/ThemedText.js.map +1 -0
- package/lib/commonjs/components/texts/Title.js +29 -0
- package/lib/commonjs/components/texts/Title.js.map +1 -0
- package/lib/commonjs/components/toast/BaseToast.js +143 -0
- package/lib/commonjs/components/toast/BaseToast.js.map +1 -0
- package/lib/commonjs/components/toast/ToastConfig.js +38 -0
- package/lib/commonjs/components/toast/ToastConfig.js.map +1 -0
- package/lib/commonjs/components/tour/AttachTourStep.js +66 -0
- package/lib/commonjs/components/tour/AttachTourStep.js.map +1 -0
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js +49 -0
- package/lib/commonjs/components/tour/CredentialOfferTourSteps.js.map +1 -0
- package/lib/commonjs/components/tour/CredentialsTourSteps.js +49 -0
- package/lib/commonjs/components/tour/CredentialsTourSteps.js.map +1 -0
- package/lib/commonjs/components/tour/HomeTourSteps.js +120 -0
- package/lib/commonjs/components/tour/HomeTourSteps.js.map +1 -0
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js +49 -0
- package/lib/commonjs/components/tour/ProofRequestTourSteps.js.map +1 -0
- package/lib/commonjs/components/tour/SpotCutout.js +73 -0
- package/lib/commonjs/components/tour/SpotCutout.js.map +1 -0
- package/lib/commonjs/components/tour/TourBox.js +208 -0
- package/lib/commonjs/components/tour/TourBox.js.map +1 -0
- package/lib/commonjs/components/tour/TourOverlay.js +147 -0
- package/lib/commonjs/components/tour/TourOverlay.js.map +1 -0
- package/lib/commonjs/components/views/CredentialCardLogo.js +72 -0
- package/lib/commonjs/components/views/CredentialCardLogo.js.map +1 -0
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js +86 -0
- package/lib/commonjs/components/views/CredentialDetailPrimaryHeader.js.map +1 -0
- package/lib/commonjs/components/views/CredentialDetailSecondaryHeader.js +46 -0
- package/lib/commonjs/components/views/CredentialDetailSecondaryHeader.js.map +1 -0
- package/lib/commonjs/components/views/HomeFooterView.js +102 -0
- package/lib/commonjs/components/views/HomeFooterView.js.map +1 -0
- package/lib/commonjs/components/views/HomeHeaderView.js +16 -0
- package/lib/commonjs/components/views/HomeHeaderView.js.map +1 -0
- package/lib/commonjs/components/views/KeyboardView.js +40 -0
- package/lib/commonjs/components/views/KeyboardView.js.map +1 -0
- package/lib/commonjs/components/views/LoadingPlaceholder.js +162 -0
- package/lib/commonjs/components/views/LoadingPlaceholder.js.map +1 -0
- package/lib/commonjs/components/views/LoadingView.js +37 -0
- package/lib/commonjs/components/views/LoadingView.js.map +1 -0
- package/lib/commonjs/components/views/ModularView.js +41 -0
- package/lib/commonjs/components/views/ModularView.js.map +1 -0
- package/lib/commonjs/components/views/ProgressBar.js +63 -0
- package/lib/commonjs/components/views/ProgressBar.js.map +1 -0
- package/lib/commonjs/configs/ledgers/indy/index.js +12 -0
- package/lib/commonjs/configs/ledgers/indy/index.js.map +1 -0
- package/lib/commonjs/configs/ledgers/indy/ledgers.json +51 -0
- package/lib/commonjs/constants.js +101 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/container-api.js +114 -0
- package/lib/commonjs/container-api.js.map +1 -0
- package/lib/commonjs/container-impl.js +232 -0
- package/lib/commonjs/container-impl.js.map +1 -0
- package/lib/commonjs/contexts/activity.js +157 -0
- package/lib/commonjs/contexts/activity.js.map +1 -0
- package/lib/commonjs/contexts/animated-components.js +13 -0
- package/lib/commonjs/contexts/animated-components.js.map +1 -0
- package/lib/commonjs/contexts/auth.js +149 -0
- package/lib/commonjs/contexts/auth.js.map +1 -0
- package/lib/commonjs/contexts/index.js +13 -0
- package/lib/commonjs/contexts/index.js.map +1 -0
- package/lib/commonjs/contexts/network.js +77 -0
- package/lib/commonjs/contexts/network.js.map +1 -0
- package/lib/commonjs/contexts/reducers/index.js +11 -0
- package/lib/commonjs/contexts/reducers/index.js.map +1 -0
- package/lib/commonjs/contexts/reducers/store.js +664 -0
- package/lib/commonjs/contexts/reducers/store.js.map +1 -0
- package/lib/commonjs/contexts/store.js +102 -0
- package/lib/commonjs/contexts/store.js.map +1 -0
- package/lib/commonjs/contexts/theme.js +13 -0
- package/lib/commonjs/contexts/theme.js.map +1 -0
- package/lib/commonjs/contexts/tour/tour-context.js +53 -0
- package/lib/commonjs/contexts/tour/tour-context.js.map +1 -0
- package/lib/commonjs/contexts/tour/tour-provider.js +94 -0
- package/lib/commonjs/contexts/tour/tour-provider.js.map +1 -0
- package/lib/commonjs/hooks/bundle-resolver.js +63 -0
- package/lib/commonjs/hooks/bundle-resolver.js.map +1 -0
- package/lib/commonjs/hooks/chat-messages.js +253 -0
- package/lib/commonjs/hooks/chat-messages.js.map +1 -0
- package/lib/commonjs/hooks/connections.js +40 -0
- package/lib/commonjs/hooks/connections.js.map +1 -0
- package/lib/commonjs/hooks/credential-card-styles.js +149 -0
- package/lib/commonjs/hooks/credential-card-styles.js.map +1 -0
- package/lib/commonjs/hooks/credentials.js +16 -0
- package/lib/commonjs/hooks/credentials.js.map +1 -0
- package/lib/commonjs/hooks/deep-links.js +57 -0
- package/lib/commonjs/hooks/deep-links.js.map +1 -0
- package/lib/commonjs/hooks/initialize-agent.js +135 -0
- package/lib/commonjs/hooks/initialize-agent.js.map +1 -0
- package/lib/commonjs/hooks/notifications.js +70 -0
- package/lib/commonjs/hooks/notifications.js.map +1 -0
- package/lib/commonjs/hooks/oob.js +24 -0
- package/lib/commonjs/hooks/oob.js.map +1 -0
- package/lib/commonjs/hooks/proof-request-templates.js +45 -0
- package/lib/commonjs/hooks/proof-request-templates.js.map +1 -0
- package/lib/commonjs/hooks/proofs.js +37 -0
- package/lib/commonjs/hooks/proofs.js.map +1 -0
- package/lib/commonjs/hooks/screen-capture.js +57 -0
- package/lib/commonjs/hooks/screen-capture.js.map +1 -0
- package/lib/commonjs/hooks/useOnboardingState.js +36 -0
- package/lib/commonjs/hooks/useOnboardingState.js.map +1 -0
- package/lib/commonjs/index.js +961 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/layout/ScreenLayout.js +48 -0
- package/lib/commonjs/layout/ScreenLayout.js.map +1 -0
- package/lib/commonjs/localization/en/index.js +929 -0
- package/lib/commonjs/localization/en/index.js.map +1 -0
- package/lib/commonjs/localization/fr/index.js +903 -0
- package/lib/commonjs/localization/fr/index.js.map +1 -0
- package/lib/commonjs/localization/index.js +70 -0
- package/lib/commonjs/localization/index.js.map +1 -0
- package/lib/commonjs/localization/pt-br/index.js +886 -0
- package/lib/commonjs/localization/pt-br/index.js.map +1 -0
- package/lib/commonjs/modules/history/context/historyManager.js +256 -0
- package/lib/commonjs/modules/history/context/historyManager.js.map +1 -0
- package/lib/commonjs/modules/history/index.js +6 -0
- package/lib/commonjs/modules/history/index.js.map +1 -0
- package/lib/commonjs/modules/history/navigation/HistoryStack.js +39 -0
- package/lib/commonjs/modules/history/navigation/HistoryStack.js.map +1 -0
- package/lib/commonjs/modules/history/services/queue.service.js +30 -0
- package/lib/commonjs/modules/history/services/queue.service.js.map +1 -0
- package/lib/commonjs/modules/history/types/index.js +38 -0
- package/lib/commonjs/modules/history/types/index.js.map +1 -0
- package/lib/commonjs/modules/history/ui/HistoryPage.js +128 -0
- package/lib/commonjs/modules/history/ui/HistoryPage.js.map +1 -0
- package/lib/commonjs/modules/history/ui/HistorySettings.js +176 -0
- package/lib/commonjs/modules/history/ui/HistorySettings.js.map +1 -0
- package/lib/commonjs/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/lib/commonjs/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/lib/commonjs/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/lib/commonjs/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/lib/commonjs/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/lib/commonjs/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
- package/lib/commonjs/modules/history/ui/components/BulletPoint.js +53 -0
- package/lib/commonjs/modules/history/ui/components/BulletPoint.js.map +1 -0
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js +276 -0
- package/lib/commonjs/modules/history/ui/components/HistoryListItem.js.map +1 -0
- package/lib/commonjs/modules/history/ui/components/HistoryMenu.js +32 -0
- package/lib/commonjs/modules/history/ui/components/HistoryMenu.js.map +1 -0
- package/lib/commonjs/modules/history/ui/components/SingleSelectBlock.js +66 -0
- package/lib/commonjs/modules/history/ui/components/SingleSelectBlock.js.map +1 -0
- package/lib/commonjs/modules/openid/components/CredentialRowCard.js +84 -0
- package/lib/commonjs/modules/openid/components/CredentialRowCard.js.map +1 -0
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js +234 -0
- package/lib/commonjs/modules/openid/components/OpenIDCredentialCard.js.map +1 -0
- package/lib/commonjs/modules/openid/context/OpenIDCredentialRecordProvider.js +229 -0
- package/lib/commonjs/modules/openid/context/OpenIDCredentialRecordProvider.js.map +1 -0
- package/lib/commonjs/modules/openid/display.js +364 -0
- package/lib/commonjs/modules/openid/display.js.map +1 -0
- package/lib/commonjs/modules/openid/displayProof.js +54 -0
- package/lib/commonjs/modules/openid/displayProof.js.map +1 -0
- package/lib/commonjs/modules/openid/hooks/openid.js +88 -0
- package/lib/commonjs/modules/openid/hooks/openid.js.map +1 -0
- package/lib/commonjs/modules/openid/metadata.js +38 -0
- package/lib/commonjs/modules/openid/metadata.js.map +1 -0
- package/lib/commonjs/modules/openid/offerResolve.js +189 -0
- package/lib/commonjs/modules/openid/offerResolve.js.map +1 -0
- package/lib/commonjs/modules/openid/resolverProof.js +246 -0
- package/lib/commonjs/modules/openid/resolverProof.js.map +1 -0
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js +215 -0
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -0
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js +178 -0
- package/lib/commonjs/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -0
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js +274 -0
- package/lib/commonjs/modules/openid/screens/OpenIDProofPresentation.js.map +1 -0
- package/lib/commonjs/modules/openid/types.js +13 -0
- package/lib/commonjs/modules/openid/types.js.map +1 -0
- package/lib/commonjs/modules/openid/utils/utils.js +134 -0
- package/lib/commonjs/modules/openid/utils/utils.js.map +1 -0
- package/lib/commonjs/navigators/ConnectStack.js +65 -0
- package/lib/commonjs/navigators/ConnectStack.js.map +1 -0
- package/lib/commonjs/navigators/ContactStack.js +103 -0
- package/lib/commonjs/navigators/ContactStack.js.map +1 -0
- package/lib/commonjs/navigators/CredentialStack.js +41 -0
- package/lib/commonjs/navigators/CredentialStack.js.map +1 -0
- package/lib/commonjs/navigators/DeliveryStack.js +77 -0
- package/lib/commonjs/navigators/DeliveryStack.js.map +1 -0
- package/lib/commonjs/navigators/HomeStack.js +42 -0
- package/lib/commonjs/navigators/HomeStack.js.map +1 -0
- package/lib/commonjs/navigators/MainStack.js +144 -0
- package/lib/commonjs/navigators/MainStack.js.map +1 -0
- package/lib/commonjs/navigators/NotificationStack.js +69 -0
- package/lib/commonjs/navigators/NotificationStack.js.map +1 -0
- package/lib/commonjs/navigators/OnboardingScreens.js +116 -0
- package/lib/commonjs/navigators/OnboardingScreens.js.map +1 -0
- package/lib/commonjs/navigators/OnboardingStack.js +144 -0
- package/lib/commonjs/navigators/OnboardingStack.js.map +1 -0
- package/lib/commonjs/navigators/ProofRequestStack.js +117 -0
- package/lib/commonjs/navigators/ProofRequestStack.js.map +1 -0
- package/lib/commonjs/navigators/RootStack.js +68 -0
- package/lib/commonjs/navigators/RootStack.js.map +1 -0
- package/lib/commonjs/navigators/SettingStack.js +155 -0
- package/lib/commonjs/navigators/SettingStack.js.map +1 -0
- package/lib/commonjs/navigators/TabStack.js +303 -0
- package/lib/commonjs/navigators/TabStack.js.map +1 -0
- package/lib/commonjs/navigators/defaultLayoutOptions.js +23 -0
- package/lib/commonjs/navigators/defaultLayoutOptions.js.map +1 -0
- package/lib/commonjs/navigators/defaultStackOptions.js +95 -0
- package/lib/commonjs/navigators/defaultStackOptions.js.map +1 -0
- package/lib/commonjs/navigators/index.js +91 -0
- package/lib/commonjs/navigators/index.js.map +1 -0
- package/lib/commonjs/onboarding.js +104 -0
- package/lib/commonjs/onboarding.js.map +1 -0
- package/lib/commonjs/screens/AttemptLockout.js +161 -0
- package/lib/commonjs/screens/AttemptLockout.js.map +1 -0
- package/lib/commonjs/screens/AutoLock.js +141 -0
- package/lib/commonjs/screens/AutoLock.js.map +1 -0
- package/lib/commonjs/screens/Chat.js +150 -0
- package/lib/commonjs/screens/Chat.js.map +1 -0
- package/lib/commonjs/screens/Connection.js +366 -0
- package/lib/commonjs/screens/Connection.js.map +1 -0
- package/lib/commonjs/screens/ContactDetails.js +309 -0
- package/lib/commonjs/screens/ContactDetails.js.map +1 -0
- package/lib/commonjs/screens/CredentialDetails.js +409 -0
- package/lib/commonjs/screens/CredentialDetails.js.map +1 -0
- package/lib/commonjs/screens/CredentialOffer.js +311 -0
- package/lib/commonjs/screens/CredentialOffer.js.map +1 -0
- package/lib/commonjs/screens/CredentialOfferAccept.js +173 -0
- package/lib/commonjs/screens/CredentialOfferAccept.js.map +1 -0
- package/lib/commonjs/screens/DataRetention.js +116 -0
- package/lib/commonjs/screens/DataRetention.js.map +1 -0
- package/lib/commonjs/screens/Developer.js +303 -0
- package/lib/commonjs/screens/Developer.js.map +1 -0
- package/lib/commonjs/screens/Home.js +156 -0
- package/lib/commonjs/screens/Home.js.map +1 -0
- package/lib/commonjs/screens/Language.js +117 -0
- package/lib/commonjs/screens/Language.js.map +1 -0
- package/lib/commonjs/screens/ListContacts.js +121 -0
- package/lib/commonjs/screens/ListContacts.js.map +1 -0
- package/lib/commonjs/screens/ListCredentials.js +130 -0
- package/lib/commonjs/screens/ListCredentials.js.map +1 -0
- package/lib/commonjs/screens/ListProofRequests.js +167 -0
- package/lib/commonjs/screens/ListProofRequests.js.map +1 -0
- package/lib/commonjs/screens/MobileVerifierLoading.js +116 -0
- package/lib/commonjs/screens/MobileVerifierLoading.js.map +1 -0
- package/lib/commonjs/screens/NameWallet.js +160 -0
- package/lib/commonjs/screens/NameWallet.js.map +1 -0
- package/lib/commonjs/screens/Onboarding.js +143 -0
- package/lib/commonjs/screens/Onboarding.js.map +1 -0
- package/lib/commonjs/screens/OnboardingPages.js +201 -0
- package/lib/commonjs/screens/OnboardingPages.js.map +1 -0
- package/lib/commonjs/screens/PINCreate.js +339 -0
- package/lib/commonjs/screens/PINCreate.js.map +1 -0
- package/lib/commonjs/screens/PINEnter.js +531 -0
- package/lib/commonjs/screens/PINEnter.js.map +1 -0
- package/lib/commonjs/screens/PINExplainer.js +99 -0
- package/lib/commonjs/screens/PINExplainer.js.map +1 -0
- package/lib/commonjs/screens/PasteUrl.js +142 -0
- package/lib/commonjs/screens/PasteUrl.js.map +1 -0
- package/lib/commonjs/screens/Preface.js +104 -0
- package/lib/commonjs/screens/Preface.js.map +1 -0
- package/lib/commonjs/screens/ProofChangeCredential.js +152 -0
- package/lib/commonjs/screens/ProofChangeCredential.js.map +1 -0
- package/lib/commonjs/screens/ProofDetails.js +333 -0
- package/lib/commonjs/screens/ProofDetails.js.map +1 -0
- package/lib/commonjs/screens/ProofRequest.js +686 -0
- package/lib/commonjs/screens/ProofRequest.js.map +1 -0
- package/lib/commonjs/screens/ProofRequestAccept.js +128 -0
- package/lib/commonjs/screens/ProofRequestAccept.js.map +1 -0
- package/lib/commonjs/screens/ProofRequestDetails.js +276 -0
- package/lib/commonjs/screens/ProofRequestDetails.js.map +1 -0
- package/lib/commonjs/screens/ProofRequestUsageHistory.js +164 -0
- package/lib/commonjs/screens/ProofRequestUsageHistory.js.map +1 -0
- package/lib/commonjs/screens/ProofRequesting.js +241 -0
- package/lib/commonjs/screens/ProofRequesting.js.map +1 -0
- package/lib/commonjs/screens/PushNotification.js +178 -0
- package/lib/commonjs/screens/PushNotification.js.map +1 -0
- package/lib/commonjs/screens/RenameContact.js +154 -0
- package/lib/commonjs/screens/RenameContact.js.map +1 -0
- package/lib/commonjs/screens/Scan.js +123 -0
- package/lib/commonjs/screens/Scan.js.map +1 -0
- package/lib/commonjs/screens/ScanHelp.js +58 -0
- package/lib/commonjs/screens/ScanHelp.js.map +1 -0
- package/lib/commonjs/screens/Settings.js +451 -0
- package/lib/commonjs/screens/Settings.js.map +1 -0
- package/lib/commonjs/screens/Splash.js +92 -0
- package/lib/commonjs/screens/Splash.js.map +1 -0
- package/lib/commonjs/screens/Terms.js +145 -0
- package/lib/commonjs/screens/Terms.js.map +1 -0
- package/lib/commonjs/screens/Tours.js +107 -0
- package/lib/commonjs/screens/Tours.js.map +1 -0
- package/lib/commonjs/screens/UpdateAvailable.js +128 -0
- package/lib/commonjs/screens/UpdateAvailable.js.map +1 -0
- package/lib/commonjs/screens/UseBiometry.js +315 -0
- package/lib/commonjs/screens/UseBiometry.js.map +1 -0
- package/lib/commonjs/screens/WhatAreContacts.js +78 -0
- package/lib/commonjs/screens/WhatAreContacts.js.map +1 -0
- package/lib/commonjs/services/keychain.js +171 -0
- package/lib/commonjs/services/keychain.js.map +1 -0
- package/lib/commonjs/services/logger.js +70 -0
- package/lib/commonjs/services/logger.js.map +1 -0
- package/lib/commonjs/services/storage.js +130 -0
- package/lib/commonjs/services/storage.js.map +1 -0
- package/lib/commonjs/theme.js +886 -0
- package/lib/commonjs/theme.js.map +1 -0
- package/lib/commonjs/types/attempt-lockout-config.js +2 -0
- package/lib/commonjs/types/attempt-lockout-config.js.map +1 -0
- package/lib/commonjs/types/attestation.js +14 -0
- package/lib/commonjs/types/attestation.js.map +1 -0
- package/lib/commonjs/types/chat.js +12 -0
- package/lib/commonjs/types/chat.js.map +1 -0
- package/lib/commonjs/types/config.js +6 -0
- package/lib/commonjs/types/config.js.map +1 -0
- package/lib/commonjs/types/contact-details.js +2 -0
- package/lib/commonjs/types/contact-details.js.map +1 -0
- package/lib/commonjs/types/credential-list-footer.js +2 -0
- package/lib/commonjs/types/credential-list-footer.js.map +1 -0
- package/lib/commonjs/types/credential-status.js +11 -0
- package/lib/commonjs/types/credential-status.js.map +1 -0
- package/lib/commonjs/types/credentials.js +6 -0
- package/lib/commonjs/types/credentials.js.map +1 -0
- package/lib/commonjs/types/decline.js +13 -0
- package/lib/commonjs/types/decline.js.map +1 -0
- package/lib/commonjs/types/error.js +32 -0
- package/lib/commonjs/types/error.js.map +1 -0
- package/lib/commonjs/types/fn.js +2 -0
- package/lib/commonjs/types/fn.js.map +1 -0
- package/lib/commonjs/types/genesis.js +2 -0
- package/lib/commonjs/types/genesis.js.map +1 -0
- package/lib/commonjs/types/index.js +11 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/commonjs/types/metadata.js +15 -0
- package/lib/commonjs/types/metadata.js.map +1 -0
- package/lib/commonjs/types/navigators.js +77 -0
- package/lib/commonjs/types/navigators.js.map +1 -0
- package/lib/commonjs/types/notification.js +6 -0
- package/lib/commonjs/types/notification.js.map +1 -0
- package/lib/commonjs/types/permissions.js +6 -0
- package/lib/commonjs/types/permissions.js.map +1 -0
- package/lib/commonjs/types/proof-items.js +6 -0
- package/lib/commonjs/types/proof-items.js.map +1 -0
- package/lib/commonjs/types/react-i18next.d.js +4 -0
- package/lib/commonjs/types/react-i18next.d.js.map +1 -0
- package/lib/commonjs/types/remove.js +16 -0
- package/lib/commonjs/types/remove.js.map +1 -0
- package/lib/commonjs/types/security.js +18 -0
- package/lib/commonjs/types/security.js.map +1 -0
- package/lib/commonjs/types/settings.js +6 -0
- package/lib/commonjs/types/settings.js.map +1 -0
- package/lib/commonjs/types/state.js +2 -0
- package/lib/commonjs/types/state.js.map +1 -0
- package/lib/commonjs/types/tour.js +20 -0
- package/lib/commonjs/types/tour.js.map +1 -0
- package/lib/commonjs/types/version-check.js +6 -0
- package/lib/commonjs/types/version-check.js.map +1 -0
- package/lib/commonjs/utils/PINCreationValidation.js +86 -0
- package/lib/commonjs/utils/PINCreationValidation.js.map +1 -0
- package/lib/commonjs/utils/agent.js +93 -0
- package/lib/commonjs/utils/agent.js.map +1 -0
- package/lib/commonjs/utils/anonCredsProofRequestMapper.js +157 -0
- package/lib/commonjs/utils/anonCredsProofRequestMapper.js.map +1 -0
- package/lib/commonjs/utils/contacts.js +40 -0
- package/lib/commonjs/utils/contacts.js.map +1 -0
- package/lib/commonjs/utils/cred-def.js +37 -0
- package/lib/commonjs/utils/cred-def.js.map +1 -0
- package/lib/commonjs/utils/credential.js +41 -0
- package/lib/commonjs/utils/credential.js.map +1 -0
- package/lib/commonjs/utils/crypto.js +21 -0
- package/lib/commonjs/utils/crypto.js.map +1 -0
- package/lib/commonjs/utils/fileCache.js +126 -0
- package/lib/commonjs/utils/fileCache.js.map +1 -0
- package/lib/commonjs/utils/helpers.js +1165 -0
- package/lib/commonjs/utils/helpers.js.map +1 -0
- package/lib/commonjs/utils/luminance.js +43 -0
- package/lib/commonjs/utils/luminance.js.map +1 -0
- package/lib/commonjs/utils/migration.js +45 -0
- package/lib/commonjs/utils/migration.js.map +1 -0
- package/lib/commonjs/utils/network.js +56 -0
- package/lib/commonjs/utils/network.js.map +1 -0
- package/lib/commonjs/utils/oca.js +115 -0
- package/lib/commonjs/utils/oca.js.map +1 -0
- package/lib/commonjs/utils/parsers.js +84 -0
- package/lib/commonjs/utils/parsers.js.map +1 -0
- package/lib/commonjs/utils/proofBundle.js +182 -0
- package/lib/commonjs/utils/proofBundle.js.map +1 -0
- package/lib/commonjs/utils/schema.js +33 -0
- package/lib/commonjs/utils/schema.js.map +1 -0
- package/lib/commonjs/utils/testable.js +19 -0
- package/lib/commonjs/utils/testable.js.map +1 -0
- package/lib/module/App.js +60 -0
- package/lib/module/App.js.map +1 -0
- package/lib/module/animated-components.js +19 -0
- package/lib/module/animated-components.js.map +1 -0
- package/lib/module/assets/fonts/MaterialIcons.ttf +0 -0
- package/lib/module/assets/icons/large-arrow.svg +5 -0
- package/lib/module/assets/icons/pencil.svg +15 -0
- package/lib/module/assets/icons/trash.svg +31 -0
- package/lib/module/assets/img/Artwork_1024x1024.png +0 -0
- package/lib/module/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/lib/module/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/lib/module/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/lib/module/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/lib/module/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/lib/module/assets/img/IconChevronRight.svg +5 -0
- package/lib/module/assets/img/activity-indicator-circle.svg +90 -0
- package/lib/module/assets/img/app-lockout.svg +1 -0
- package/lib/module/assets/img/biometrics.svg +74 -0
- package/lib/module/assets/img/chat-loading.svg +1 -0
- package/lib/module/assets/img/check-in-circle.svg +18 -0
- package/lib/module/assets/img/connection-pending.svg +112 -0
- package/lib/module/assets/img/contact-book.svg +21 -0
- package/lib/module/assets/img/credential-card.svg +18 -0
- package/lib/module/assets/img/credential-declined.svg +28 -0
- package/lib/module/assets/img/credential-in-hand.svg +48 -0
- package/lib/module/assets/img/credential-list.svg +60 -0
- package/lib/module/assets/img/credential-pending.svg +96 -0
- package/lib/module/assets/img/credential-success.svg +48 -0
- package/lib/module/assets/img/delete-notification.svg +1 -0
- package/lib/module/assets/img/empty-wallet.svg +23 -0
- package/lib/module/assets/img/error-filled.svg +12 -0
- package/lib/module/assets/img/exclamation-mark.svg +17 -0
- package/lib/module/assets/img/home-center-img.svg +71 -0
- package/lib/module/assets/img/icon-credential-offer-dark.svg +7 -0
- package/lib/module/assets/img/icon-credential-offer-light.svg +7 -0
- package/lib/module/assets/img/icon-info-recieved-dark.svg +8 -0
- package/lib/module/assets/img/icon-info-recieved-light.svg +8 -0
- package/lib/module/assets/img/icon-info-sent-dark.svg +8 -0
- package/lib/module/assets/img/icon-info-sent-light.svg +8 -0
- package/lib/module/assets/img/icon-proof-request-dark.svg +11 -0
- package/lib/module/assets/img/icon-proof-request-light.svg +11 -0
- package/lib/module/assets/img/information-received.svg +1 -0
- package/lib/module/assets/img/logo-large.png +0 -0
- package/lib/module/assets/img/logo-large@2x.png +0 -0
- package/lib/module/assets/img/logo-large@3x.png +0 -0
- package/lib/module/assets/img/logo.svg +15 -0
- package/lib/module/assets/img/message-text-icon-outline.svg +1 -0
- package/lib/module/assets/img/message-text-icon.svg +1 -0
- package/lib/module/assets/img/no_information_shared.svg +36 -0
- package/lib/module/assets/img/preface.svg +15 -0
- package/lib/module/assets/img/proof-declined.svg +66 -0
- package/lib/module/assets/img/proof-pending.svg +61 -0
- package/lib/module/assets/img/proof-success.svg +72 -0
- package/lib/module/assets/img/push-notifications.svg +1 -0
- package/lib/module/assets/img/qrcode-scan-icon.svg +1 -0
- package/lib/module/assets/img/scan-share.svg +102 -0
- package/lib/module/assets/img/secure-check.svg +4 -0
- package/lib/module/assets/img/secure-image.svg +64 -0
- package/lib/module/assets/img/update-available.svg +26 -0
- package/lib/module/assets/img/verifier-request-declined.svg +34 -0
- package/lib/module/assets/img/wallet-back.svg +20 -0
- package/lib/module/assets/img/wallet-front.svg +32 -0
- package/lib/module/assets/img/wallet-icon-outline.svg +1 -0
- package/lib/module/assets/img/wallet-icon.svg +1 -0
- package/lib/module/assets/img/wallet.svg +43 -0
- package/lib/module/assets/oca-bundles.json +174 -0
- package/lib/module/components/animated/ButtonLoading.js +37 -0
- package/lib/module/components/animated/ButtonLoading.js.map +1 -0
- package/lib/module/components/animated/ConnectionLoading.js +55 -0
- package/lib/module/components/animated/ConnectionLoading.js.map +1 -0
- package/lib/module/components/animated/CredentialAdded.js +80 -0
- package/lib/module/components/animated/CredentialAdded.js.map +1 -0
- package/lib/module/components/animated/CredentialPending.js +68 -0
- package/lib/module/components/animated/CredentialPending.js.map +1 -0
- package/lib/module/components/animated/LoadingIndicator.js +56 -0
- package/lib/module/components/animated/LoadingIndicator.js.map +1 -0
- package/lib/module/components/animated/PresentationLoading.js +54 -0
- package/lib/module/components/animated/PresentationLoading.js.map +1 -0
- package/lib/module/components/animated/RecordLoading.js +99 -0
- package/lib/module/components/animated/RecordLoading.js.map +1 -0
- package/lib/module/components/animated/SendingProof.js +55 -0
- package/lib/module/components/animated/SendingProof.js.map +1 -0
- package/lib/module/components/animated/SentProof.js +75 -0
- package/lib/module/components/animated/SentProof.js.map +1 -0
- package/lib/module/components/buttons/Button-api.js +34 -0
- package/lib/module/components/buttons/Button-api.js.map +1 -0
- package/lib/module/components/buttons/Button.js +89 -0
- package/lib/module/components/buttons/Button.js.map +1 -0
- package/lib/module/components/buttons/HeaderHome.js +26 -0
- package/lib/module/components/buttons/HeaderHome.js.map +1 -0
- package/lib/module/components/buttons/IconButton.js +68 -0
- package/lib/module/components/buttons/IconButton.js.map +1 -0
- package/lib/module/components/buttons/InfoIcon.js +28 -0
- package/lib/module/components/buttons/InfoIcon.js.map +1 -0
- package/lib/module/components/buttons/SettingsMenu.js +23 -0
- package/lib/module/components/buttons/SettingsMenu.js.map +1 -0
- package/lib/module/components/buttons/ToggleButton.js +77 -0
- package/lib/module/components/buttons/ToggleButton.js.map +1 -0
- package/lib/module/components/buttons/index.js +4 -0
- package/lib/module/components/buttons/index.js.map +1 -0
- package/lib/module/components/chat/ActionSlider.js +102 -0
- package/lib/module/components/chat/ActionSlider.js.map +1 -0
- package/lib/module/components/chat/ChatActions.js +21 -0
- package/lib/module/components/chat/ChatActions.js.map +1 -0
- package/lib/module/components/chat/ChatBubble.js +24 -0
- package/lib/module/components/chat/ChatBubble.js.map +1 -0
- package/lib/module/components/chat/ChatEvent.js +27 -0
- package/lib/module/components/chat/ChatEvent.js.map +1 -0
- package/lib/module/components/chat/ChatMessage.js +150 -0
- package/lib/module/components/chat/ChatMessage.js.map +1 -0
- package/lib/module/components/chat/MessageInput.js +42 -0
- package/lib/module/components/chat/MessageInput.js.map +1 -0
- package/lib/module/components/chat/index.js +4 -0
- package/lib/module/components/chat/index.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/inputs/BulletPoint.js +38 -0
- package/lib/module/components/inputs/BulletPoint.js.map +1 -0
- package/lib/module/components/inputs/CheckBoxRow.js +59 -0
- package/lib/module/components/inputs/CheckBoxRow.js.map +1 -0
- package/lib/module/components/inputs/InlineErrorText.js +53 -0
- package/lib/module/components/inputs/InlineErrorText.js.map +1 -0
- package/lib/module/components/inputs/LimitedTextInput.js +62 -0
- package/lib/module/components/inputs/LimitedTextInput.js.map +1 -0
- package/lib/module/components/inputs/PINInput.js +128 -0
- package/lib/module/components/inputs/PINInput.js.map +1 -0
- package/lib/module/components/inputs/SingleSelectBlock.js +49 -0
- package/lib/module/components/inputs/SingleSelectBlock.js.map +1 -0
- package/lib/module/components/listItems/ContactCredentialListItem.js +73 -0
- package/lib/module/components/listItems/ContactCredentialListItem.js.map +1 -0
- package/lib/module/components/listItems/ContactListItem.js +117 -0
- package/lib/module/components/listItems/ContactListItem.js.map +1 -0
- package/lib/module/components/listItems/NotificationListItem.js +462 -0
- package/lib/module/components/listItems/NotificationListItem.js.map +1 -0
- package/lib/module/components/misc/ActivityLogLink.js +37 -0
- package/lib/module/components/misc/ActivityLogLink.js.map +1 -0
- package/lib/module/components/misc/AvatarView.js +32 -0
- package/lib/module/components/misc/AvatarView.js.map +1 -0
- package/lib/module/components/misc/CardWatermark.js +49 -0
- package/lib/module/components/misc/CardWatermark.js.map +1 -0
- package/lib/module/components/misc/ConnectionAlert.js +108 -0
- package/lib/module/components/misc/ConnectionAlert.js.map +1 -0
- package/lib/module/components/misc/ConnectionImage.js +42 -0
- package/lib/module/components/misc/ConnectionImage.js.map +1 -0
- package/lib/module/components/misc/ContentGradient.js +47 -0
- package/lib/module/components/misc/ContentGradient.js.map +1 -0
- package/lib/module/components/misc/CredentialCard.js +124 -0
- package/lib/module/components/misc/CredentialCard.js.map +1 -0
- package/lib/module/components/misc/CredentialCard10.js +262 -0
- package/lib/module/components/misc/CredentialCard10.js.map +1 -0
- package/lib/module/components/misc/CredentialCard11.js +560 -0
- package/lib/module/components/misc/CredentialCard11.js.map +1 -0
- package/lib/module/components/misc/CredentialCard11ActionFooter.js +52 -0
- package/lib/module/components/misc/CredentialCard11ActionFooter.js.map +1 -0
- package/lib/module/components/misc/CredentialCard11Issuer.js +55 -0
- package/lib/module/components/misc/CredentialCard11Issuer.js.map +1 -0
- package/lib/module/components/misc/CredentialCard11Logo.js +49 -0
- package/lib/module/components/misc/CredentialCard11Logo.js.map +1 -0
- package/lib/module/components/misc/EmptyList.js +35 -0
- package/lib/module/components/misc/EmptyList.js.map +1 -0
- package/lib/module/components/misc/EmptyListContacts.js +65 -0
- package/lib/module/components/misc/EmptyListContacts.js.map +1 -0
- package/lib/module/components/misc/InfoBox.js +255 -0
- package/lib/module/components/misc/InfoBox.js.map +1 -0
- package/lib/module/components/misc/NoNewUpdates.js +37 -0
- package/lib/module/components/misc/NoNewUpdates.js.map +1 -0
- package/lib/module/components/misc/PINCreateHeader.js +25 -0
- package/lib/module/components/misc/PINCreateHeader.js.map +1 -0
- package/lib/module/components/misc/Pagination.js +78 -0
- package/lib/module/components/misc/Pagination.js.map +1 -0
- package/lib/module/components/misc/QRRenderer.js +54 -0
- package/lib/module/components/misc/QRRenderer.js.map +1 -0
- package/lib/module/components/misc/QRScanner.js +396 -0
- package/lib/module/components/misc/QRScanner.js.map +1 -0
- package/lib/module/components/misc/QRScannerTorch.js +73 -0
- package/lib/module/components/misc/QRScannerTorch.js.map +1 -0
- package/lib/module/components/misc/ScanCamera.js +78 -0
- package/lib/module/components/misc/ScanCamera.js.map +1 -0
- package/lib/module/components/misc/ScanTab.js +46 -0
- package/lib/module/components/misc/ScanTab.js.map +1 -0
- package/lib/module/components/misc/SharedProofData.js +85 -0
- package/lib/module/components/misc/SharedProofData.js.map +1 -0
- package/lib/module/components/misc/UnorderedList.js +34 -0
- package/lib/module/components/misc/UnorderedList.js.map +1 -0
- package/lib/module/components/misc/VerifierCredentialCard.js +332 -0
- package/lib/module/components/misc/VerifierCredentialCard.js.map +1 -0
- package/lib/module/components/misc/index.js +3 -0
- package/lib/module/components/misc/index.js.map +1 -0
- package/lib/module/components/modals/AlertModal.js +37 -0
- package/lib/module/components/modals/AlertModal.js.map +1 -0
- package/lib/module/components/modals/AppGuideModal.js +128 -0
- package/lib/module/components/modals/AppGuideModal.js.map +1 -0
- package/lib/module/components/modals/CameraDisclosureModal.js +121 -0
- package/lib/module/components/modals/CameraDisclosureModal.js.map +1 -0
- package/lib/module/components/modals/CommonRemoveModal.js +363 -0
- package/lib/module/components/modals/CommonRemoveModal.js.map +1 -0
- package/lib/module/components/modals/DismissiblePopupModal.js +162 -0
- package/lib/module/components/modals/DismissiblePopupModal.js.map +1 -0
- package/lib/module/components/modals/ErrorModal.js +97 -0
- package/lib/module/components/modals/ErrorModal.js.map +1 -0
- package/lib/module/components/modals/ImageModal.js +84 -0
- package/lib/module/components/modals/ImageModal.js.map +1 -0
- package/lib/module/components/modals/NetInfoModal.js +22 -0
- package/lib/module/components/modals/NetInfoModal.js.map +1 -0
- package/lib/module/components/modals/NotificationModal.js +112 -0
- package/lib/module/components/modals/NotificationModal.js.map +1 -0
- package/lib/module/components/modals/PopupModal.js +42 -0
- package/lib/module/components/modals/PopupModal.js.map +1 -0
- package/lib/module/components/modals/ProofCancelModal.js +82 -0
- package/lib/module/components/modals/ProofCancelModal.js.map +1 -0
- package/lib/module/components/modals/SafeAreaModal.js +11 -0
- package/lib/module/components/modals/SafeAreaModal.js.map +1 -0
- package/lib/module/components/network/NetInfo.js +36 -0
- package/lib/module/components/network/NetInfo.js.map +1 -0
- package/lib/module/components/record/Record.js +84 -0
- package/lib/module/components/record/Record.js.map +1 -0
- package/lib/module/components/record/RecordBinaryField.js +51 -0
- package/lib/module/components/record/RecordBinaryField.js.map +1 -0
- package/lib/module/components/record/RecordDateIntField.js +59 -0
- package/lib/module/components/record/RecordDateIntField.js.map +1 -0
- package/lib/module/components/record/RecordField.js +134 -0
- package/lib/module/components/record/RecordField.js.map +1 -0
- package/lib/module/components/record/RecordFooter.js +21 -0
- package/lib/module/components/record/RecordFooter.js.map +1 -0
- package/lib/module/components/record/RecordHeader.js +20 -0
- package/lib/module/components/record/RecordHeader.js.map +1 -0
- package/lib/module/components/record/RecordRemove.js +64 -0
- package/lib/module/components/record/RecordRemove.js.map +1 -0
- package/lib/module/components/texts/HeaderTitle.js +20 -0
- package/lib/module/components/texts/HeaderTitle.js.map +1 -0
- package/lib/module/components/texts/HighlightTextBox.js +43 -0
- package/lib/module/components/texts/HighlightTextBox.js.map +1 -0
- package/lib/module/components/texts/InfoTextBox.js +110 -0
- package/lib/module/components/texts/InfoTextBox.js.map +1 -0
- package/lib/module/components/texts/Label.js +50 -0
- package/lib/module/components/texts/Label.js.map +1 -0
- package/lib/module/components/texts/Link.js +34 -0
- package/lib/module/components/texts/Link.js.map +1 -0
- package/lib/module/components/texts/Text.js +21 -0
- package/lib/module/components/texts/Text.js.map +1 -0
- package/lib/module/components/texts/ThemedText.js +28 -0
- package/lib/module/components/texts/ThemedText.js.map +1 -0
- package/lib/module/components/texts/Title.js +22 -0
- package/lib/module/components/texts/Title.js.map +1 -0
- package/lib/module/components/toast/BaseToast.js +136 -0
- package/lib/module/components/toast/BaseToast.js.map +1 -0
- package/lib/module/components/toast/ToastConfig.js +29 -0
- package/lib/module/components/toast/ToastConfig.js.map +1 -0
- package/lib/module/components/tour/AttachTourStep.js +58 -0
- package/lib/module/components/tour/AttachTourStep.js.map +1 -0
- package/lib/module/components/tour/CredentialOfferTourSteps.js +41 -0
- package/lib/module/components/tour/CredentialOfferTourSteps.js.map +1 -0
- package/lib/module/components/tour/CredentialsTourSteps.js +41 -0
- package/lib/module/components/tour/CredentialsTourSteps.js.map +1 -0
- package/lib/module/components/tour/HomeTourSteps.js +112 -0
- package/lib/module/components/tour/HomeTourSteps.js.map +1 -0
- package/lib/module/components/tour/ProofRequestTourSteps.js +41 -0
- package/lib/module/components/tour/ProofRequestTourSteps.js.map +1 -0
- package/lib/module/components/tour/SpotCutout.js +64 -0
- package/lib/module/components/tour/SpotCutout.js.map +1 -0
- package/lib/module/components/tour/TourBox.js +199 -0
- package/lib/module/components/tour/TourBox.js.map +1 -0
- package/lib/module/components/tour/TourOverlay.js +138 -0
- package/lib/module/components/tour/TourOverlay.js.map +1 -0
- package/lib/module/components/views/CredentialCardLogo.js +66 -0
- package/lib/module/components/views/CredentialCardLogo.js.map +1 -0
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js +79 -0
- package/lib/module/components/views/CredentialDetailPrimaryHeader.js.map +1 -0
- package/lib/module/components/views/CredentialDetailSecondaryHeader.js +39 -0
- package/lib/module/components/views/CredentialDetailSecondaryHeader.js.map +1 -0
- package/lib/module/components/views/HomeFooterView.js +95 -0
- package/lib/module/components/views/HomeFooterView.js.map +1 -0
- package/lib/module/components/views/HomeHeaderView.js +9 -0
- package/lib/module/components/views/HomeHeaderView.js.map +1 -0
- package/lib/module/components/views/KeyboardView.js +33 -0
- package/lib/module/components/views/KeyboardView.js.map +1 -0
- package/lib/module/components/views/LoadingPlaceholder.js +153 -0
- package/lib/module/components/views/LoadingPlaceholder.js.map +1 -0
- package/lib/module/components/views/LoadingView.js +30 -0
- package/lib/module/components/views/LoadingView.js.map +1 -0
- package/lib/module/components/views/ModularView.js +34 -0
- package/lib/module/components/views/ModularView.js.map +1 -0
- package/lib/module/components/views/ProgressBar.js +55 -0
- package/lib/module/components/views/ProgressBar.js.map +1 -0
- package/lib/module/configs/ledgers/indy/index.js +6 -0
- package/lib/module/configs/ledgers/indy/index.js.map +1 -0
- package/lib/module/configs/ledgers/indy/ledgers.json +51 -0
- package/lib/module/constants.js +95 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/container-api.js +106 -0
- package/lib/module/container-api.js.map +1 -0
- package/lib/module/container-impl.js +221 -0
- package/lib/module/container-impl.js.map +1 -0
- package/lib/module/contexts/activity.js +148 -0
- package/lib/module/contexts/activity.js.map +1 -0
- package/lib/module/contexts/animated-components.js +6 -0
- package/lib/module/contexts/animated-components.js.map +1 -0
- package/lib/module/contexts/auth.js +138 -0
- package/lib/module/contexts/auth.js.map +1 -0
- package/lib/module/contexts/index.js +4 -0
- package/lib/module/contexts/index.js.map +1 -0
- package/lib/module/contexts/network.js +68 -0
- package/lib/module/contexts/network.js.map +1 -0
- package/lib/module/contexts/reducers/index.js +3 -0
- package/lib/module/contexts/reducers/index.js.map +1 -0
- package/lib/module/contexts/reducers/store.js +657 -0
- package/lib/module/contexts/reducers/store.js.map +1 -0
- package/lib/module/contexts/store.js +90 -0
- package/lib/module/contexts/store.js.map +1 -0
- package/lib/module/contexts/theme.js +6 -0
- package/lib/module/contexts/theme.js.map +1 -0
- package/lib/module/contexts/tour/tour-context.js +46 -0
- package/lib/module/contexts/tour/tour-context.js.map +1 -0
- package/lib/module/contexts/tour/tour-provider.js +86 -0
- package/lib/module/contexts/tour/tour-provider.js.map +1 -0
- package/lib/module/hooks/bundle-resolver.js +57 -0
- package/lib/module/hooks/bundle-resolver.js.map +1 -0
- package/lib/module/hooks/chat-messages.js +245 -0
- package/lib/module/hooks/chat-messages.js.map +1 -0
- package/lib/module/hooks/connections.js +31 -0
- package/lib/module/hooks/connections.js.map +1 -0
- package/lib/module/hooks/credential-card-styles.js +143 -0
- package/lib/module/hooks/credential-card-styles.js.map +1 -0
- package/lib/module/hooks/credentials.js +9 -0
- package/lib/module/hooks/credentials.js.map +1 -0
- package/lib/module/hooks/deep-links.js +50 -0
- package/lib/module/hooks/deep-links.js.map +1 -0
- package/lib/module/hooks/initialize-agent.js +129 -0
- package/lib/module/hooks/initialize-agent.js.map +1 -0
- package/lib/module/hooks/notifications.js +63 -0
- package/lib/module/hooks/notifications.js.map +1 -0
- package/lib/module/hooks/oob.js +17 -0
- package/lib/module/hooks/oob.js.map +1 -0
- package/lib/module/hooks/proof-request-templates.js +37 -0
- package/lib/module/hooks/proof-request-templates.js.map +1 -0
- package/lib/module/hooks/proofs.js +29 -0
- package/lib/module/hooks/proofs.js.map +1 -0
- package/lib/module/hooks/screen-capture.js +50 -0
- package/lib/module/hooks/screen-capture.js.map +1 -0
- package/lib/module/hooks/useOnboardingState.js +29 -0
- package/lib/module/hooks/useOnboardingState.js.map +1 -0
- package/lib/module/index.js +96 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/layout/ScreenLayout.js +41 -0
- package/lib/module/layout/ScreenLayout.js.map +1 -0
- package/lib/module/localization/en/index.js +923 -0
- package/lib/module/localization/en/index.js.map +1 -0
- package/lib/module/localization/fr/index.js +897 -0
- package/lib/module/localization/fr/index.js.map +1 -0
- package/lib/module/localization/index.js +52 -0
- package/lib/module/localization/index.js.map +1 -0
- package/lib/module/localization/pt-br/index.js +880 -0
- package/lib/module/localization/pt-br/index.js.map +1 -0
- package/lib/module/modules/history/context/historyManager.js +248 -0
- package/lib/module/modules/history/context/historyManager.js.map +1 -0
- package/lib/module/modules/history/index.js +2 -0
- package/lib/module/modules/history/index.js.map +1 -0
- package/lib/module/modules/history/navigation/HistoryStack.js +31 -0
- package/lib/module/modules/history/navigation/HistoryStack.js.map +1 -0
- package/lib/module/modules/history/services/queue.service.js +23 -0
- package/lib/module/modules/history/services/queue.service.js.map +1 -0
- package/lib/module/modules/history/types/index.js +32 -0
- package/lib/module/modules/history/types/index.js.map +1 -0
- package/lib/module/modules/history/ui/HistoryPage.js +119 -0
- package/lib/module/modules/history/ui/HistoryPage.js.map +1 -0
- package/lib/module/modules/history/ui/HistorySettings.js +167 -0
- package/lib/module/modules/history/ui/HistorySettings.js.map +1 -0
- package/lib/module/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/lib/module/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/lib/module/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/lib/module/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/lib/module/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/lib/module/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
- package/lib/module/modules/history/ui/components/BulletPoint.js +46 -0
- package/lib/module/modules/history/ui/components/BulletPoint.js.map +1 -0
- package/lib/module/modules/history/ui/components/HistoryListItem.js +269 -0
- package/lib/module/modules/history/ui/components/HistoryListItem.js.map +1 -0
- package/lib/module/modules/history/ui/components/HistoryMenu.js +23 -0
- package/lib/module/modules/history/ui/components/HistoryMenu.js.map +1 -0
- package/lib/module/modules/history/ui/components/SingleSelectBlock.js +57 -0
- package/lib/module/modules/history/ui/components/SingleSelectBlock.js.map +1 -0
- package/lib/module/modules/openid/components/CredentialRowCard.js +78 -0
- package/lib/module/modules/openid/components/CredentialRowCard.js.map +1 -0
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js +225 -0
- package/lib/module/modules/openid/components/OpenIDCredentialCard.js.map +1 -0
- package/lib/module/modules/openid/context/OpenIDCredentialRecordProvider.js +221 -0
- package/lib/module/modules/openid/context/OpenIDCredentialRecordProvider.js.map +1 -0
- package/lib/module/modules/openid/display.js +357 -0
- package/lib/module/modules/openid/display.js.map +1 -0
- package/lib/module/modules/openid/displayProof.js +48 -0
- package/lib/module/modules/openid/displayProof.js.map +1 -0
- package/lib/module/modules/openid/hooks/openid.js +81 -0
- package/lib/module/modules/openid/hooks/openid.js.map +1 -0
- package/lib/module/modules/openid/metadata.js +30 -0
- package/lib/module/modules/openid/metadata.js.map +1 -0
- package/lib/module/modules/openid/offerResolve.js +179 -0
- package/lib/module/modules/openid/offerResolve.js.map +1 -0
- package/lib/module/modules/openid/resolverProof.js +233 -0
- package/lib/module/modules/openid/resolverProof.js.map +1 -0
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js +206 -0
- package/lib/module/modules/openid/screens/OpenIDCredentialDetails.js.map +1 -0
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js +170 -0
- package/lib/module/modules/openid/screens/OpenIDCredentialOffer.js.map +1 -0
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js +266 -0
- package/lib/module/modules/openid/screens/OpenIDProofPresentation.js.map +1 -0
- package/lib/module/modules/openid/types.js +7 -0
- package/lib/module/modules/openid/types.js.map +1 -0
- package/lib/module/modules/openid/utils/utils.js +118 -0
- package/lib/module/modules/openid/utils/utils.js.map +1 -0
- package/lib/module/navigators/ConnectStack.js +58 -0
- package/lib/module/navigators/ConnectStack.js.map +1 -0
- package/lib/module/navigators/ContactStack.js +96 -0
- package/lib/module/navigators/ContactStack.js.map +1 -0
- package/lib/module/navigators/CredentialStack.js +34 -0
- package/lib/module/navigators/CredentialStack.js.map +1 -0
- package/lib/module/navigators/DeliveryStack.js +70 -0
- package/lib/module/navigators/DeliveryStack.js.map +1 -0
- package/lib/module/navigators/HomeStack.js +35 -0
- package/lib/module/navigators/HomeStack.js.map +1 -0
- package/lib/module/navigators/MainStack.js +135 -0
- package/lib/module/navigators/MainStack.js.map +1 -0
- package/lib/module/navigators/NotificationStack.js +62 -0
- package/lib/module/navigators/NotificationStack.js.map +1 -0
- package/lib/module/navigators/OnboardingScreens.js +109 -0
- package/lib/module/navigators/OnboardingScreens.js.map +1 -0
- package/lib/module/navigators/OnboardingStack.js +136 -0
- package/lib/module/navigators/OnboardingStack.js.map +1 -0
- package/lib/module/navigators/ProofRequestStack.js +108 -0
- package/lib/module/navigators/ProofRequestStack.js.map +1 -0
- package/lib/module/navigators/RootStack.js +59 -0
- package/lib/module/navigators/RootStack.js.map +1 -0
- package/lib/module/navigators/SettingStack.js +148 -0
- package/lib/module/navigators/SettingStack.js.map +1 -0
- package/lib/module/navigators/TabStack.js +294 -0
- package/lib/module/navigators/TabStack.js.map +1 -0
- package/lib/module/navigators/defaultLayoutOptions.js +17 -0
- package/lib/module/navigators/defaultLayoutOptions.js.map +1 -0
- package/lib/module/navigators/defaultStackOptions.js +87 -0
- package/lib/module/navigators/defaultStackOptions.js.map +1 -0
- package/lib/module/navigators/index.js +14 -0
- package/lib/module/navigators/index.js.map +1 -0
- package/lib/module/onboarding.js +87 -0
- package/lib/module/onboarding.js.map +1 -0
- package/lib/module/screens/AttemptLockout.js +152 -0
- package/lib/module/screens/AttemptLockout.js.map +1 -0
- package/lib/module/screens/AutoLock.js +134 -0
- package/lib/module/screens/AutoLock.js.map +1 -0
- package/lib/module/screens/Chat.js +141 -0
- package/lib/module/screens/Chat.js.map +1 -0
- package/lib/module/screens/Connection.js +357 -0
- package/lib/module/screens/Connection.js.map +1 -0
- package/lib/module/screens/ContactDetails.js +300 -0
- package/lib/module/screens/ContactDetails.js.map +1 -0
- package/lib/module/screens/CredentialDetails.js +400 -0
- package/lib/module/screens/CredentialDetails.js.map +1 -0
- package/lib/module/screens/CredentialOffer.js +302 -0
- package/lib/module/screens/CredentialOffer.js.map +1 -0
- package/lib/module/screens/CredentialOfferAccept.js +164 -0
- package/lib/module/screens/CredentialOfferAccept.js.map +1 -0
- package/lib/module/screens/DataRetention.js +107 -0
- package/lib/module/screens/DataRetention.js.map +1 -0
- package/lib/module/screens/Developer.js +295 -0
- package/lib/module/screens/Developer.js.map +1 -0
- package/lib/module/screens/Home.js +147 -0
- package/lib/module/screens/Home.js.map +1 -0
- package/lib/module/screens/Language.js +110 -0
- package/lib/module/screens/Language.js.map +1 -0
- package/lib/module/screens/ListContacts.js +112 -0
- package/lib/module/screens/ListContacts.js.map +1 -0
- package/lib/module/screens/ListCredentials.js +121 -0
- package/lib/module/screens/ListCredentials.js.map +1 -0
- package/lib/module/screens/ListProofRequests.js +158 -0
- package/lib/module/screens/ListProofRequests.js.map +1 -0
- package/lib/module/screens/MobileVerifierLoading.js +107 -0
- package/lib/module/screens/MobileVerifierLoading.js.map +1 -0
- package/lib/module/screens/NameWallet.js +151 -0
- package/lib/module/screens/NameWallet.js.map +1 -0
- package/lib/module/screens/Onboarding.js +135 -0
- package/lib/module/screens/Onboarding.js.map +1 -0
- package/lib/module/screens/OnboardingPages.js +189 -0
- package/lib/module/screens/OnboardingPages.js.map +1 -0
- package/lib/module/screens/PINCreate.js +330 -0
- package/lib/module/screens/PINCreate.js.map +1 -0
- package/lib/module/screens/PINEnter.js +522 -0
- package/lib/module/screens/PINEnter.js.map +1 -0
- package/lib/module/screens/PINExplainer.js +90 -0
- package/lib/module/screens/PINExplainer.js.map +1 -0
- package/lib/module/screens/PasteUrl.js +133 -0
- package/lib/module/screens/PasteUrl.js.map +1 -0
- package/lib/module/screens/Preface.js +95 -0
- package/lib/module/screens/Preface.js.map +1 -0
- package/lib/module/screens/ProofChangeCredential.js +143 -0
- package/lib/module/screens/ProofChangeCredential.js.map +1 -0
- package/lib/module/screens/ProofDetails.js +324 -0
- package/lib/module/screens/ProofDetails.js.map +1 -0
- package/lib/module/screens/ProofRequest.js +677 -0
- package/lib/module/screens/ProofRequest.js.map +1 -0
- package/lib/module/screens/ProofRequestAccept.js +119 -0
- package/lib/module/screens/ProofRequestAccept.js.map +1 -0
- package/lib/module/screens/ProofRequestDetails.js +267 -0
- package/lib/module/screens/ProofRequestDetails.js.map +1 -0
- package/lib/module/screens/ProofRequestUsageHistory.js +155 -0
- package/lib/module/screens/ProofRequestUsageHistory.js.map +1 -0
- package/lib/module/screens/ProofRequesting.js +232 -0
- package/lib/module/screens/ProofRequesting.js.map +1 -0
- package/lib/module/screens/PushNotification.js +170 -0
- package/lib/module/screens/PushNotification.js.map +1 -0
- package/lib/module/screens/RenameContact.js +145 -0
- package/lib/module/screens/RenameContact.js.map +1 -0
- package/lib/module/screens/Scan.js +114 -0
- package/lib/module/screens/Scan.js.map +1 -0
- package/lib/module/screens/ScanHelp.js +51 -0
- package/lib/module/screens/ScanHelp.js.map +1 -0
- package/lib/module/screens/Settings.js +442 -0
- package/lib/module/screens/Settings.js.map +1 -0
- package/lib/module/screens/Splash.js +84 -0
- package/lib/module/screens/Splash.js.map +1 -0
- package/lib/module/screens/Terms.js +136 -0
- package/lib/module/screens/Terms.js.map +1 -0
- package/lib/module/screens/Tours.js +100 -0
- package/lib/module/screens/Tours.js.map +1 -0
- package/lib/module/screens/UpdateAvailable.js +119 -0
- package/lib/module/screens/UpdateAvailable.js.map +1 -0
- package/lib/module/screens/UseBiometry.js +306 -0
- package/lib/module/screens/UseBiometry.js.map +1 -0
- package/lib/module/screens/WhatAreContacts.js +71 -0
- package/lib/module/screens/WhatAreContacts.js.map +1 -0
- package/lib/module/services/keychain.js +150 -0
- package/lib/module/services/keychain.js.map +1 -0
- package/lib/module/services/logger.js +63 -0
- package/lib/module/services/logger.js.map +1 -0
- package/lib/module/services/storage.js +122 -0
- package/lib/module/services/storage.js.map +1 -0
- package/lib/module/theme.js +879 -0
- package/lib/module/theme.js.map +1 -0
- package/lib/module/types/attempt-lockout-config.js +2 -0
- package/lib/module/types/attempt-lockout-config.js.map +1 -0
- package/lib/module/types/attestation.js +8 -0
- package/lib/module/types/attestation.js.map +1 -0
- package/lib/module/types/chat.js +6 -0
- package/lib/module/types/chat.js.map +1 -0
- package/lib/module/types/config.js +2 -0
- package/lib/module/types/config.js.map +1 -0
- package/lib/module/types/contact-details.js +2 -0
- package/lib/module/types/contact-details.js.map +1 -0
- package/lib/module/types/credential-list-footer.js +2 -0
- package/lib/module/types/credential-list-footer.js.map +1 -0
- package/lib/module/types/credential-status.js +5 -0
- package/lib/module/types/credential-status.js.map +1 -0
- package/lib/module/types/credentials.js +2 -0
- package/lib/module/types/credentials.js.map +1 -0
- package/lib/module/types/decline.js +7 -0
- package/lib/module/types/decline.js.map +1 -0
- package/lib/module/types/error.js +24 -0
- package/lib/module/types/error.js.map +1 -0
- package/lib/module/types/fn.js +2 -0
- package/lib/module/types/fn.js.map +1 -0
- package/lib/module/types/genesis.js +2 -0
- package/lib/module/types/genesis.js.map +1 -0
- package/lib/module/types/index.js +3 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/metadata.js +9 -0
- package/lib/module/types/metadata.js.map +1 -0
- package/lib/module/types/navigators.js +71 -0
- package/lib/module/types/navigators.js.map +1 -0
- package/lib/module/types/notification.js +2 -0
- package/lib/module/types/notification.js.map +1 -0
- package/lib/module/types/permissions.js +2 -0
- package/lib/module/types/permissions.js.map +1 -0
- package/lib/module/types/proof-items.js +2 -0
- package/lib/module/types/proof-items.js.map +1 -0
- package/lib/module/types/react-i18next.d.js +2 -0
- package/lib/module/types/react-i18next.d.js.map +1 -0
- package/lib/module/types/remove.js +10 -0
- package/lib/module/types/remove.js.map +1 -0
- package/lib/module/types/security.js +13 -0
- package/lib/module/types/security.js.map +1 -0
- package/lib/module/types/settings.js +2 -0
- package/lib/module/types/settings.js.map +1 -0
- package/lib/module/types/state.js +2 -0
- package/lib/module/types/state.js.map +1 -0
- package/lib/module/types/tour.js +16 -0
- package/lib/module/types/tour.js.map +1 -0
- package/lib/module/types/version-check.js +2 -0
- package/lib/module/types/version-check.js.map +1 -0
- package/lib/module/utils/PINCreationValidation.js +79 -0
- package/lib/module/utils/PINCreationValidation.js.map +1 -0
- package/lib/module/utils/agent.js +84 -0
- package/lib/module/utils/agent.js.map +1 -0
- package/lib/module/utils/anonCredsProofRequestMapper.js +148 -0
- package/lib/module/utils/anonCredsProofRequestMapper.js.map +1 -0
- package/lib/module/utils/contacts.js +33 -0
- package/lib/module/utils/contacts.js.map +1 -0
- package/lib/module/utils/cred-def.js +29 -0
- package/lib/module/utils/cred-def.js.map +1 -0
- package/lib/module/utils/credential.js +31 -0
- package/lib/module/utils/credential.js.map +1 -0
- package/lib/module/utils/crypto.js +13 -0
- package/lib/module/utils/crypto.js.map +1 -0
- package/lib/module/utils/fileCache.js +118 -0
- package/lib/module/utils/fileCache.js.map +1 -0
- package/lib/module/utils/helpers.js +1101 -0
- package/lib/module/utils/helpers.js.map +1 -0
- package/lib/module/utils/luminance.js +34 -0
- package/lib/module/utils/luminance.js.map +1 -0
- package/lib/module/utils/migration.js +36 -0
- package/lib/module/utils/migration.js.map +1 -0
- package/lib/module/utils/network.js +47 -0
- package/lib/module/utils/network.js.map +1 -0
- package/lib/module/utils/oca.js +104 -0
- package/lib/module/utils/oca.js.map +1 -0
- package/lib/module/utils/parsers.js +74 -0
- package/lib/module/utils/parsers.js.map +1 -0
- package/lib/module/utils/proofBundle.js +171 -0
- package/lib/module/utils/proofBundle.js.map +1 -0
- package/lib/module/utils/schema.js +25 -0
- package/lib/module/utils/schema.js.map +1 -0
- package/lib/module/utils/testable.js +11 -0
- package/lib/module/utils/testable.js.map +1 -0
- package/lib/typescript/cli.d.ts +2 -0
- package/lib/typescript/cli.d.ts.map +1 -0
- package/lib/typescript/react-native.config.d.ts +2 -0
- package/lib/typescript/react-native.config.d.ts.map +1 -0
- package/lib/typescript/src/App.d.ts +5 -0
- package/lib/typescript/src/App.d.ts.map +1 -0
- package/lib/typescript/src/animated-components.d.ts +12 -0
- package/lib/typescript/src/animated-components.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/ButtonLoading.d.ts +4 -0
- package/lib/typescript/src/components/animated/ButtonLoading.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/ConnectionLoading.d.ts +4 -0
- package/lib/typescript/src/components/animated/ConnectionLoading.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/CredentialAdded.d.ts +4 -0
- package/lib/typescript/src/components/animated/CredentialAdded.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/CredentialPending.d.ts +4 -0
- package/lib/typescript/src/components/animated/CredentialPending.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/LoadingIndicator.d.ts +4 -0
- package/lib/typescript/src/components/animated/LoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/PresentationLoading.d.ts +4 -0
- package/lib/typescript/src/components/animated/PresentationLoading.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/RecordLoading.d.ts +8 -0
- package/lib/typescript/src/components/animated/RecordLoading.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/SendingProof.d.ts +4 -0
- package/lib/typescript/src/components/animated/SendingProof.d.ts.map +1 -0
- package/lib/typescript/src/components/animated/SentProof.d.ts +4 -0
- package/lib/typescript/src/components/animated/SentProof.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/Button-api.d.ts +33 -0
- package/lib/typescript/src/components/buttons/Button-api.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/Button.d.ts +8 -0
- package/lib/typescript/src/components/buttons/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/HeaderHome.d.ts +4 -0
- package/lib/typescript/src/components/buttons/HeaderHome.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/IconButton.d.ts +17 -0
- package/lib/typescript/src/components/buttons/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/InfoIcon.d.ts +7 -0
- package/lib/typescript/src/components/buttons/InfoIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/SettingsMenu.d.ts +4 -0
- package/lib/typescript/src/components/buttons/SettingsMenu.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/ToggleButton.d.ts +13 -0
- package/lib/typescript/src/components/buttons/ToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/components/buttons/index.d.ts +4 -0
- package/lib/typescript/src/components/buttons/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ActionSlider.d.ts +13 -0
- package/lib/typescript/src/components/chat/ActionSlider.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ChatActions.d.ts +7 -0
- package/lib/typescript/src/components/chat/ChatActions.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ChatBubble.d.ts +3 -0
- package/lib/typescript/src/components/chat/ChatBubble.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ChatEvent.d.ts +10 -0
- package/lib/typescript/src/components/chat/ChatEvent.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/ChatMessage.d.ts +18 -0
- package/lib/typescript/src/components/chat/ChatMessage.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/MessageInput.d.ts +5 -0
- package/lib/typescript/src/components/chat/MessageInput.d.ts.map +1 -0
- package/lib/typescript/src/components/chat/index.d.ts +4 -0
- package/lib/typescript/src/components/chat/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +4 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/BulletPoint.d.ts +9 -0
- package/lib/typescript/src/components/inputs/BulletPoint.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/CheckBoxRow.d.ts +14 -0
- package/lib/typescript/src/components/inputs/CheckBoxRow.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/InlineErrorText.d.ts +14 -0
- package/lib/typescript/src/components/inputs/InlineErrorText.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/LimitedTextInput.d.ts +10 -0
- package/lib/typescript/src/components/inputs/LimitedTextInput.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/PINInput.d.ts +14 -0
- package/lib/typescript/src/components/inputs/PINInput.d.ts.map +1 -0
- package/lib/typescript/src/components/inputs/SingleSelectBlock.d.ts +13 -0
- package/lib/typescript/src/components/inputs/SingleSelectBlock.d.ts.map +1 -0
- package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts +8 -0
- package/lib/typescript/src/components/listItems/ContactCredentialListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/listItems/ContactListItem.d.ts +11 -0
- package/lib/typescript/src/components/listItems/ContactListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/listItems/NotificationListItem.d.ts +19 -0
- package/lib/typescript/src/components/listItems/NotificationListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ActivityLogLink.d.ts +4 -0
- package/lib/typescript/src/components/misc/ActivityLogLink.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/AvatarView.d.ts +9 -0
- package/lib/typescript/src/components/misc/AvatarView.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CardWatermark.d.ts +27 -0
- package/lib/typescript/src/components/misc/CardWatermark.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ConnectionAlert.d.ts +7 -0
- package/lib/typescript/src/components/misc/ConnectionAlert.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ConnectionImage.d.ts +9 -0
- package/lib/typescript/src/components/misc/ConnectionImage.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ContentGradient.d.ts +11 -0
- package/lib/typescript/src/components/misc/ContentGradient.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard.d.ts +24 -0
- package/lib/typescript/src/components/misc/CredentialCard.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard10.d.ts +44 -0
- package/lib/typescript/src/components/misc/CredentialCard10.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard11.d.ts +32 -0
- package/lib/typescript/src/components/misc/CredentialCard11.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts +11 -0
- package/lib/typescript/src/components/misc/CredentialCard11ActionFooter.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard11Issuer.d.ts +12 -0
- package/lib/typescript/src/components/misc/CredentialCard11Issuer.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/CredentialCard11Logo.d.ts +10 -0
- package/lib/typescript/src/components/misc/CredentialCard11Logo.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/EmptyList.d.ts +7 -0
- package/lib/typescript/src/components/misc/EmptyList.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/EmptyListContacts.d.ts +9 -0
- package/lib/typescript/src/components/misc/EmptyListContacts.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/InfoBox.d.ts +28 -0
- package/lib/typescript/src/components/misc/InfoBox.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/NoNewUpdates.d.ts +4 -0
- package/lib/typescript/src/components/misc/NoNewUpdates.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/PINCreateHeader.d.ts +6 -0
- package/lib/typescript/src/components/misc/PINCreateHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/Pagination.d.ts +23 -0
- package/lib/typescript/src/components/misc/Pagination.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/QRRenderer.d.ts +11 -0
- package/lib/typescript/src/components/misc/QRRenderer.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/QRScanner.d.ts +15 -0
- package/lib/typescript/src/components/misc/QRScanner.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/QRScannerTorch.d.ts +8 -0
- package/lib/typescript/src/components/misc/QRScannerTorch.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ScanCamera.d.ts +11 -0
- package/lib/typescript/src/components/misc/ScanCamera.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/ScanTab.d.ts +10 -0
- package/lib/typescript/src/components/misc/ScanTab.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/SharedProofData.d.ts +9 -0
- package/lib/typescript/src/components/misc/SharedProofData.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/UnorderedList.d.ts +7 -0
- package/lib/typescript/src/components/misc/UnorderedList.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/VerifierCredentialCard.d.ts +21 -0
- package/lib/typescript/src/components/misc/VerifierCredentialCard.d.ts.map +1 -0
- package/lib/typescript/src/components/misc/index.d.ts +3 -0
- package/lib/typescript/src/components/misc/index.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/AlertModal.d.ts +9 -0
- package/lib/typescript/src/components/modals/AlertModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/AppGuideModal.d.ts +14 -0
- package/lib/typescript/src/components/modals/AppGuideModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/CameraDisclosureModal.d.ts +7 -0
- package/lib/typescript/src/components/modals/CameraDisclosureModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/CommonRemoveModal.d.ts +12 -0
- package/lib/typescript/src/components/modals/CommonRemoveModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/DismissiblePopupModal.d.ts +12 -0
- package/lib/typescript/src/components/modals/DismissiblePopupModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/ErrorModal.d.ts +7 -0
- package/lib/typescript/src/components/modals/ErrorModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/ImageModal.d.ts +9 -0
- package/lib/typescript/src/components/modals/ImageModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/NetInfoModal.d.ts +9 -0
- package/lib/typescript/src/components/modals/NetInfoModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/NotificationModal.d.ts +17 -0
- package/lib/typescript/src/components/modals/NotificationModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/PopupModal.d.ts +15 -0
- package/lib/typescript/src/components/modals/PopupModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/ProofCancelModal.d.ts +9 -0
- package/lib/typescript/src/components/modals/ProofCancelModal.d.ts.map +1 -0
- package/lib/typescript/src/components/modals/SafeAreaModal.d.ts +8 -0
- package/lib/typescript/src/components/modals/SafeAreaModal.d.ts.map +1 -0
- package/lib/typescript/src/components/network/NetInfo.d.ts +3 -0
- package/lib/typescript/src/components/network/NetInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/record/Record.d.ts +12 -0
- package/lib/typescript/src/components/record/Record.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordBinaryField.d.ts +9 -0
- package/lib/typescript/src/components/record/RecordBinaryField.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordDateIntField.d.ts +10 -0
- package/lib/typescript/src/components/record/RecordDateIntField.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordField.d.ts +22 -0
- package/lib/typescript/src/components/record/RecordField.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordFooter.d.ts +4 -0
- package/lib/typescript/src/components/record/RecordFooter.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordHeader.d.ts +4 -0
- package/lib/typescript/src/components/record/RecordHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/record/RecordRemove.d.ts +8 -0
- package/lib/typescript/src/components/record/RecordRemove.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/HeaderTitle.d.ts +7 -0
- package/lib/typescript/src/components/texts/HeaderTitle.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/HighlightTextBox.d.ts +7 -0
- package/lib/typescript/src/components/texts/HighlightTextBox.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/InfoTextBox.d.ts +14 -0
- package/lib/typescript/src/components/texts/InfoTextBox.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/Label.d.ts +9 -0
- package/lib/typescript/src/components/texts/Label.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/Link.d.ts +12 -0
- package/lib/typescript/src/components/texts/Link.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/Text.d.ts +9 -0
- package/lib/typescript/src/components/texts/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/ThemedText.d.ts +16 -0
- package/lib/typescript/src/components/texts/ThemedText.d.ts.map +1 -0
- package/lib/typescript/src/components/texts/Title.d.ts +8 -0
- package/lib/typescript/src/components/texts/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/BaseToast.d.ts +19 -0
- package/lib/typescript/src/components/toast/BaseToast.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/ToastConfig.d.ts +10 -0
- package/lib/typescript/src/components/toast/ToastConfig.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/AttachTourStep.d.ts +42 -0
- package/lib/typescript/src/components/tour/AttachTourStep.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/CredentialOfferTourSteps.d.ts +3 -0
- package/lib/typescript/src/components/tour/CredentialOfferTourSteps.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/CredentialsTourSteps.d.ts +3 -0
- package/lib/typescript/src/components/tour/CredentialsTourSteps.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/HomeTourSteps.d.ts +3 -0
- package/lib/typescript/src/components/tour/HomeTourSteps.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/ProofRequestTourSteps.d.ts +3 -0
- package/lib/typescript/src/components/tour/ProofRequestTourSteps.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/SpotCutout.d.ts +3 -0
- package/lib/typescript/src/components/tour/SpotCutout.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/TourBox.d.ts +48 -0
- package/lib/typescript/src/components/tour/TourBox.d.ts.map +1 -0
- package/lib/typescript/src/components/tour/TourOverlay.d.ts +18 -0
- package/lib/typescript/src/components/tour/TourOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/views/CredentialCardLogo.d.ts +9 -0
- package/lib/typescript/src/components/views/CredentialCardLogo.d.ts.map +1 -0
- package/lib/typescript/src/components/views/CredentialDetailPrimaryHeader.d.ts +11 -0
- package/lib/typescript/src/components/views/CredentialDetailPrimaryHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/views/CredentialDetailSecondaryHeader.d.ts +10 -0
- package/lib/typescript/src/components/views/CredentialDetailSecondaryHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/views/HomeFooterView.d.ts +7 -0
- package/lib/typescript/src/components/views/HomeFooterView.d.ts.map +1 -0
- package/lib/typescript/src/components/views/HomeHeaderView.d.ts +7 -0
- package/lib/typescript/src/components/views/HomeHeaderView.d.ts.map +1 -0
- package/lib/typescript/src/components/views/KeyboardView.d.ts +6 -0
- package/lib/typescript/src/components/views/KeyboardView.d.ts.map +1 -0
- package/lib/typescript/src/components/views/LoadingPlaceholder.d.ts +17 -0
- package/lib/typescript/src/components/views/LoadingPlaceholder.d.ts.map +1 -0
- package/lib/typescript/src/components/views/LoadingView.d.ts +4 -0
- package/lib/typescript/src/components/views/LoadingView.d.ts.map +1 -0
- package/lib/typescript/src/components/views/ModularView.d.ts +9 -0
- package/lib/typescript/src/components/views/ModularView.d.ts.map +1 -0
- package/lib/typescript/src/components/views/ProgressBar.d.ts +9 -0
- package/lib/typescript/src/components/views/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/configs/ledgers/indy/index.d.ts +4 -0
- package/lib/typescript/src/configs/ledgers/indy/index.d.ts.map +1 -0
- package/lib/typescript/src/constants.d.ts +50 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/container-api.d.ts +244 -0
- package/lib/typescript/src/container-api.d.ts.map +1 -0
- package/lib/typescript/src/container-impl.d.ts +73 -0
- package/lib/typescript/src/container-impl.d.ts.map +1 -0
- package/lib/typescript/src/contexts/activity.d.ts +15 -0
- package/lib/typescript/src/contexts/activity.d.ts.map +1 -0
- package/lib/typescript/src/contexts/animated-components.d.ts +5 -0
- package/lib/typescript/src/contexts/animated-components.d.ts.map +1 -0
- package/lib/typescript/src/contexts/auth.d.ts +19 -0
- package/lib/typescript/src/contexts/auth.d.ts.map +1 -0
- package/lib/typescript/src/contexts/index.d.ts +4 -0
- package/lib/typescript/src/contexts/index.d.ts.map +1 -0
- package/lib/typescript/src/contexts/network.d.ts +12 -0
- package/lib/typescript/src/contexts/network.d.ts.map +1 -0
- package/lib/typescript/src/contexts/reducers/index.d.ts +3 -0
- package/lib/typescript/src/contexts/reducers/index.d.ts.map +1 -0
- package/lib/typescript/src/contexts/reducers/store.d.ts +109 -0
- package/lib/typescript/src/contexts/reducers/store.d.ts.map +1 -0
- package/lib/typescript/src/contexts/store.d.ts +16 -0
- package/lib/typescript/src/contexts/store.d.ts.map +1 -0
- package/lib/typescript/src/contexts/theme.d.ts +5 -0
- package/lib/typescript/src/contexts/theme.d.ts.map +1 -0
- package/lib/typescript/src/contexts/tour/tour-context.d.ts +123 -0
- package/lib/typescript/src/contexts/tour/tour-context.d.ts.map +1 -0
- package/lib/typescript/src/contexts/tour/tour-provider.d.ts +46 -0
- package/lib/typescript/src/contexts/tour/tour-provider.d.ts.map +1 -0
- package/lib/typescript/src/hooks/bundle-resolver.d.ts +8 -0
- package/lib/typescript/src/hooks/bundle-resolver.d.ts.map +1 -0
- package/lib/typescript/src/hooks/chat-messages.d.ts +11 -0
- package/lib/typescript/src/hooks/chat-messages.d.ts.map +1 -0
- package/lib/typescript/src/hooks/connections.d.ts +5 -0
- package/lib/typescript/src/hooks/connections.d.ts.map +1 -0
- package/lib/typescript/src/hooks/credential-card-styles.d.ts +309 -0
- package/lib/typescript/src/hooks/credential-card-styles.d.ts.map +1 -0
- package/lib/typescript/src/hooks/credentials.d.ts +3 -0
- package/lib/typescript/src/hooks/credentials.d.ts.map +1 -0
- package/lib/typescript/src/hooks/deep-links.d.ts +2 -0
- package/lib/typescript/src/hooks/deep-links.d.ts.map +1 -0
- package/lib/typescript/src/hooks/initialize-agent.d.ts +7 -0
- package/lib/typescript/src/hooks/initialize-agent.d.ts.map +1 -0
- package/lib/typescript/src/hooks/notifications.d.ts +10 -0
- package/lib/typescript/src/hooks/notifications.d.ts.map +1 -0
- package/lib/typescript/src/hooks/oob.d.ts +3 -0
- package/lib/typescript/src/hooks/oob.d.ts.map +1 -0
- package/lib/typescript/src/hooks/proof-request-templates.d.ts +4 -0
- package/lib/typescript/src/hooks/proof-request-templates.d.ts.map +1 -0
- package/lib/typescript/src/hooks/proofs.d.ts +4 -0
- package/lib/typescript/src/hooks/proofs.d.ts.map +1 -0
- package/lib/typescript/src/hooks/screen-capture.d.ts +30 -0
- package/lib/typescript/src/hooks/screen-capture.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useOnboardingState.d.ts +15 -0
- package/lib/typescript/src/hooks/useOnboardingState.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +113 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/layout/ScreenLayout.d.ts +16 -0
- package/lib/typescript/src/layout/ScreenLayout.d.ts.map +1 -0
- package/lib/typescript/src/localization/en/index.d.ts +920 -0
- package/lib/typescript/src/localization/en/index.d.ts.map +1 -0
- package/lib/typescript/src/localization/fr/index.d.ts +896 -0
- package/lib/typescript/src/localization/fr/index.d.ts.map +1 -0
- package/lib/typescript/src/localization/index.d.ts +18 -0
- package/lib/typescript/src/localization/index.d.ts.map +1 -0
- package/lib/typescript/src/localization/pt-br/index.d.ts +879 -0
- package/lib/typescript/src/localization/pt-br/index.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/context/historyManager.d.ts +40 -0
- package/lib/typescript/src/modules/history/context/historyManager.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/index.d.ts +3 -0
- package/lib/typescript/src/modules/history/index.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/navigation/HistoryStack.d.ts +4 -0
- package/lib/typescript/src/modules/history/navigation/HistoryStack.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/services/queue.service.d.ts +15 -0
- package/lib/typescript/src/modules/history/services/queue.service.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/types/index.d.ts +85 -0
- package/lib/typescript/src/modules/history/types/index.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/HistoryPage.d.ts +7 -0
- package/lib/typescript/src/modules/history/ui/HistoryPage.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts +9 -0
- package/lib/typescript/src/modules/history/ui/HistorySettings.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/components/BulletPoint.d.ts +9 -0
- package/lib/typescript/src/modules/history/ui/components/BulletPoint.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/components/HistoryListItem.d.ts +8 -0
- package/lib/typescript/src/modules/history/ui/components/HistoryListItem.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/components/HistoryMenu.d.ts +4 -0
- package/lib/typescript/src/modules/history/ui/components/HistoryMenu.d.ts.map +1 -0
- package/lib/typescript/src/modules/history/ui/components/SingleSelectBlock.d.ts +11 -0
- package/lib/typescript/src/modules/history/ui/components/SingleSelectBlock.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/components/CredentialRowCard.d.ts +13 -0
- package/lib/typescript/src/modules/openid/components/CredentialRowCard.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/components/OpenIDCredentialCard.d.ts +14 -0
- package/lib/typescript/src/modules/openid/components/OpenIDCredentialCard.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/context/OpenIDCredentialRecordProvider.d.ts +29 -0
- package/lib/typescript/src/modules/openid/context/OpenIDCredentialRecordProvider.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/display.d.ts +33 -0
- package/lib/typescript/src/modules/openid/display.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/displayProof.d.ts +31 -0
- package/lib/typescript/src/modules/openid/displayProof.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/hooks/openid.d.ts +9 -0
- package/lib/typescript/src/modules/openid/hooks/openid.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/metadata.d.ts +28 -0
- package/lib/typescript/src/modules/openid/metadata.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/offerResolve.d.ts +37 -0
- package/lib/typescript/src/modules/openid/offerResolve.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/resolverProof.d.ts +39 -0
- package/lib/typescript/src/modules/openid/resolverProof.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDCredentialDetails.d.ts +11 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDCredentialDetails.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDCredentialOffer.d.ts +7 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDCredentialOffer.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDProofPresentation.d.ts +6 -0
- package/lib/typescript/src/modules/openid/screens/OpenIDProofPresentation.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/types.d.ts +89 -0
- package/lib/typescript/src/modules/openid/types.d.ts.map +1 -0
- package/lib/typescript/src/modules/openid/utils/utils.d.ts +24 -0
- package/lib/typescript/src/modules/openid/utils/utils.d.ts.map +1 -0
- package/lib/typescript/src/navigators/ConnectStack.d.ts +4 -0
- package/lib/typescript/src/navigators/ConnectStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/ContactStack.d.ts +4 -0
- package/lib/typescript/src/navigators/ContactStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/CredentialStack.d.ts +4 -0
- package/lib/typescript/src/navigators/CredentialStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/DeliveryStack.d.ts +4 -0
- package/lib/typescript/src/navigators/DeliveryStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/HomeStack.d.ts +4 -0
- package/lib/typescript/src/navigators/HomeStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/MainStack.d.ts +4 -0
- package/lib/typescript/src/navigators/MainStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/NotificationStack.d.ts +4 -0
- package/lib/typescript/src/navigators/NotificationStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/OnboardingScreens.d.ts +23 -0
- package/lib/typescript/src/navigators/OnboardingScreens.d.ts.map +1 -0
- package/lib/typescript/src/navigators/OnboardingStack.d.ts +4 -0
- package/lib/typescript/src/navigators/OnboardingStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/ProofRequestStack.d.ts +4 -0
- package/lib/typescript/src/navigators/ProofRequestStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/RootStack.d.ts +4 -0
- package/lib/typescript/src/navigators/RootStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/SettingStack.d.ts +4 -0
- package/lib/typescript/src/navigators/SettingStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/TabStack.d.ts +4 -0
- package/lib/typescript/src/navigators/TabStack.d.ts.map +1 -0
- package/lib/typescript/src/navigators/defaultLayoutOptions.d.ts +3 -0
- package/lib/typescript/src/navigators/defaultLayoutOptions.d.ts.map +1 -0
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts +6 -0
- package/lib/typescript/src/navigators/defaultStackOptions.d.ts.map +1 -0
- package/lib/typescript/src/navigators/index.d.ts +14 -0
- package/lib/typescript/src/navigators/index.d.ts.map +1 -0
- package/lib/typescript/src/onboarding.d.ts +15 -0
- package/lib/typescript/src/onboarding.d.ts.map +1 -0
- package/lib/typescript/src/screens/AttemptLockout.d.ts +4 -0
- package/lib/typescript/src/screens/AttemptLockout.d.ts.map +1 -0
- package/lib/typescript/src/screens/AutoLock.d.ts +4 -0
- package/lib/typescript/src/screens/AutoLock.d.ts.map +1 -0
- package/lib/typescript/src/screens/Chat.d.ts +7 -0
- package/lib/typescript/src/screens/Chat.d.ts.map +1 -0
- package/lib/typescript/src/screens/Connection.d.ts +7 -0
- package/lib/typescript/src/screens/Connection.d.ts.map +1 -0
- package/lib/typescript/src/screens/ContactDetails.d.ts +7 -0
- package/lib/typescript/src/screens/ContactDetails.d.ts.map +1 -0
- package/lib/typescript/src/screens/CredentialDetails.d.ts +7 -0
- package/lib/typescript/src/screens/CredentialDetails.d.ts.map +1 -0
- package/lib/typescript/src/screens/CredentialOffer.d.ts +8 -0
- package/lib/typescript/src/screens/CredentialOffer.d.ts.map +1 -0
- package/lib/typescript/src/screens/CredentialOfferAccept.d.ts +9 -0
- package/lib/typescript/src/screens/CredentialOfferAccept.d.ts.map +1 -0
- package/lib/typescript/src/screens/DataRetention.d.ts +4 -0
- package/lib/typescript/src/screens/DataRetention.d.ts.map +1 -0
- package/lib/typescript/src/screens/Developer.d.ts +4 -0
- package/lib/typescript/src/screens/Developer.d.ts.map +1 -0
- package/lib/typescript/src/screens/Home.d.ts +7 -0
- package/lib/typescript/src/screens/Home.d.ts.map +1 -0
- package/lib/typescript/src/screens/Language.d.ts +9 -0
- package/lib/typescript/src/screens/Language.d.ts.map +1 -0
- package/lib/typescript/src/screens/ListContacts.d.ts +9 -0
- package/lib/typescript/src/screens/ListContacts.d.ts.map +1 -0
- package/lib/typescript/src/screens/ListCredentials.d.ts +4 -0
- package/lib/typescript/src/screens/ListCredentials.d.ts.map +1 -0
- package/lib/typescript/src/screens/ListProofRequests.d.ts +7 -0
- package/lib/typescript/src/screens/ListProofRequests.d.ts.map +1 -0
- package/lib/typescript/src/screens/MobileVerifierLoading.d.ts +7 -0
- package/lib/typescript/src/screens/MobileVerifierLoading.d.ts.map +1 -0
- package/lib/typescript/src/screens/NameWallet.d.ts +4 -0
- package/lib/typescript/src/screens/NameWallet.d.ts.map +1 -0
- package/lib/typescript/src/screens/Onboarding.d.ts +22 -0
- package/lib/typescript/src/screens/Onboarding.d.ts.map +1 -0
- package/lib/typescript/src/screens/OnboardingPages.d.ts +24 -0
- package/lib/typescript/src/screens/OnboardingPages.d.ts.map +1 -0
- package/lib/typescript/src/screens/PINCreate.d.ts +11 -0
- package/lib/typescript/src/screens/PINCreate.d.ts.map +1 -0
- package/lib/typescript/src/screens/PINEnter.d.ts +14 -0
- package/lib/typescript/src/screens/PINEnter.d.ts.map +1 -0
- package/lib/typescript/src/screens/PINExplainer.d.ts +7 -0
- package/lib/typescript/src/screens/PINExplainer.d.ts.map +1 -0
- package/lib/typescript/src/screens/PasteUrl.d.ts +7 -0
- package/lib/typescript/src/screens/PasteUrl.d.ts.map +1 -0
- package/lib/typescript/src/screens/Preface.d.ts +4 -0
- package/lib/typescript/src/screens/Preface.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofChangeCredential.d.ts +7 -0
- package/lib/typescript/src/screens/ProofChangeCredential.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofDetails.d.ts +7 -0
- package/lib/typescript/src/screens/ProofDetails.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofRequest.d.ts +8 -0
- package/lib/typescript/src/screens/ProofRequest.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofRequestAccept.d.ts +9 -0
- package/lib/typescript/src/screens/ProofRequestAccept.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofRequestDetails.d.ts +7 -0
- package/lib/typescript/src/screens/ProofRequestDetails.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofRequestUsageHistory.d.ts +7 -0
- package/lib/typescript/src/screens/ProofRequestUsageHistory.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProofRequesting.d.ts +7 -0
- package/lib/typescript/src/screens/ProofRequesting.d.ts.map +1 -0
- package/lib/typescript/src/screens/PushNotification.d.ts +7 -0
- package/lib/typescript/src/screens/PushNotification.d.ts.map +1 -0
- package/lib/typescript/src/screens/RenameContact.d.ts +7 -0
- package/lib/typescript/src/screens/RenameContact.d.ts.map +1 -0
- package/lib/typescript/src/screens/Scan.d.ts +7 -0
- package/lib/typescript/src/screens/Scan.d.ts.map +1 -0
- package/lib/typescript/src/screens/ScanHelp.d.ts +4 -0
- package/lib/typescript/src/screens/ScanHelp.d.ts.map +1 -0
- package/lib/typescript/src/screens/Settings.d.ts +7 -0
- package/lib/typescript/src/screens/Settings.d.ts.map +1 -0
- package/lib/typescript/src/screens/Splash.d.ts +9 -0
- package/lib/typescript/src/screens/Splash.d.ts.map +1 -0
- package/lib/typescript/src/screens/Terms.d.ts +5 -0
- package/lib/typescript/src/screens/Terms.d.ts.map +1 -0
- package/lib/typescript/src/screens/Tours.d.ts +4 -0
- package/lib/typescript/src/screens/Tours.d.ts.map +1 -0
- package/lib/typescript/src/screens/UpdateAvailable.d.ts +8 -0
- package/lib/typescript/src/screens/UpdateAvailable.d.ts.map +1 -0
- package/lib/typescript/src/screens/UseBiometry.d.ts +4 -0
- package/lib/typescript/src/screens/UseBiometry.d.ts.map +1 -0
- package/lib/typescript/src/screens/WhatAreContacts.d.ts +8 -0
- package/lib/typescript/src/screens/WhatAreContacts.d.ts.map +1 -0
- package/lib/typescript/src/services/keychain.d.ts +24 -0
- package/lib/typescript/src/services/keychain.d.ts.map +1 -0
- package/lib/typescript/src/services/logger.d.ts +30 -0
- package/lib/typescript/src/services/logger.d.ts.map +1 -0
- package/lib/typescript/src/services/storage.d.ts +15 -0
- package/lib/typescript/src/services/storage.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +889 -0
- package/lib/typescript/src/theme.d.ts.map +1 -0
- package/lib/typescript/src/types/attempt-lockout-config.d.ts +9 -0
- package/lib/typescript/src/types/attempt-lockout-config.d.ts.map +1 -0
- package/lib/typescript/src/types/attestation.d.ts +16 -0
- package/lib/typescript/src/types/attestation.d.ts.map +1 -0
- package/lib/typescript/src/types/chat.d.ts +5 -0
- package/lib/typescript/src/types/chat.d.ts.map +1 -0
- package/lib/typescript/src/types/config.d.ts +61 -0
- package/lib/typescript/src/types/config.d.ts.map +1 -0
- package/lib/typescript/src/types/contact-details.d.ts +6 -0
- package/lib/typescript/src/types/contact-details.d.ts.map +1 -0
- package/lib/typescript/src/types/credential-list-footer.d.ts +4 -0
- package/lib/typescript/src/types/credential-list-footer.d.ts.map +1 -0
- package/lib/typescript/src/types/credential-status.d.ts +4 -0
- package/lib/typescript/src/types/credential-status.d.ts.map +1 -0
- package/lib/typescript/src/types/credentials.d.ts +3 -0
- package/lib/typescript/src/types/credentials.d.ts.map +1 -0
- package/lib/typescript/src/types/decline.d.ts +6 -0
- package/lib/typescript/src/types/decline.d.ts.map +1 -0
- package/lib/typescript/src/types/error.d.ts +23 -0
- package/lib/typescript/src/types/error.d.ts.map +1 -0
- package/lib/typescript/src/types/fn.d.ts +3 -0
- package/lib/typescript/src/types/fn.d.ts.map +1 -0
- package/lib/typescript/src/types/genesis.d.ts +32 -0
- package/lib/typescript/src/types/genesis.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/lib/typescript/src/types/metadata.d.ts +14 -0
- package/lib/typescript/src/types/metadata.d.ts.map +1 -0
- package/lib/typescript/src/types/navigators.d.ts +268 -0
- package/lib/typescript/src/types/navigators.d.ts.map +1 -0
- package/lib/typescript/src/types/notification.d.ts +23 -0
- package/lib/typescript/src/types/notification.d.ts.map +1 -0
- package/lib/typescript/src/types/permissions.d.ts +3 -0
- package/lib/typescript/src/types/permissions.d.ts.map +1 -0
- package/lib/typescript/src/types/proof-items.d.ts +31 -0
- package/lib/typescript/src/types/proof-items.d.ts.map +1 -0
- package/lib/typescript/src/types/remove.d.ts +9 -0
- package/lib/typescript/src/types/remove.d.ts.map +1 -0
- package/lib/typescript/src/types/security.d.ts +25 -0
- package/lib/typescript/src/types/security.d.ts.map +1 -0
- package/lib/typescript/src/types/settings.d.ts +26 -0
- package/lib/typescript/src/types/settings.d.ts.map +1 -0
- package/lib/typescript/src/types/state.d.ts +84 -0
- package/lib/typescript/src/types/state.d.ts.map +1 -0
- package/lib/typescript/src/types/tour.d.ts +17 -0
- package/lib/typescript/src/types/tour.d.ts.map +1 -0
- package/lib/typescript/src/types/version-check.d.ts +17 -0
- package/lib/typescript/src/types/version-check.d.ts.map +1 -0
- package/lib/typescript/src/utils/PINCreationValidation.d.ts +20 -0
- package/lib/typescript/src/utils/PINCreationValidation.d.ts.map +1 -0
- package/lib/typescript/src/utils/agent.d.ts +44 -0
- package/lib/typescript/src/utils/agent.d.ts.map +1 -0
- package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts +32 -0
- package/lib/typescript/src/utils/anonCredsProofRequestMapper.d.ts.map +1 -0
- package/lib/typescript/src/utils/contacts.d.ts +9 -0
- package/lib/typescript/src/utils/contacts.d.ts.map +1 -0
- package/lib/typescript/src/utils/cred-def.d.ts +5 -0
- package/lib/typescript/src/utils/cred-def.d.ts.map +1 -0
- package/lib/typescript/src/utils/credential.d.ts +10 -0
- package/lib/typescript/src/utils/credential.d.ts.map +1 -0
- package/lib/typescript/src/utils/crypto.d.ts +2 -0
- package/lib/typescript/src/utils/crypto.d.ts.map +1 -0
- package/lib/typescript/src/utils/fileCache.d.ts +26 -0
- package/lib/typescript/src/utils/fileCache.d.ts.map +1 -0
- package/lib/typescript/src/utils/helpers.d.ts +189 -0
- package/lib/typescript/src/utils/helpers.d.ts.map +1 -0
- package/lib/typescript/src/utils/luminance.d.ts +12 -0
- package/lib/typescript/src/utils/luminance.d.ts.map +1 -0
- package/lib/typescript/src/utils/migration.d.ts +3 -0
- package/lib/typescript/src/utils/migration.d.ts.map +1 -0
- package/lib/typescript/src/utils/network.d.ts +9 -0
- package/lib/typescript/src/utils/network.d.ts.map +1 -0
- package/lib/typescript/src/utils/oca.d.ts +15 -0
- package/lib/typescript/src/utils/oca.d.ts.map +1 -0
- package/lib/typescript/src/utils/parsers.d.ts +26 -0
- package/lib/typescript/src/utils/parsers.d.ts.map +1 -0
- package/lib/typescript/src/utils/proofBundle.d.ts +28 -0
- package/lib/typescript/src/utils/proofBundle.d.ts.map +1 -0
- package/lib/typescript/src/utils/schema.d.ts +11 -0
- package/lib/typescript/src/utils/schema.d.ts.map +1 -0
- package/lib/typescript/src/utils/testable.d.ts +3 -0
- package/lib/typescript/src/utils/testable.d.ts.map +1 -0
- package/package.json +227 -0
- package/src/App.tsx +76 -0
- package/src/animated-components.ts +30 -0
- package/src/assets/fonts/MaterialIcons.ttf +0 -0
- package/src/assets/icons/large-arrow.svg +5 -0
- package/src/assets/icons/pencil.svg +15 -0
- package/src/assets/icons/trash.svg +31 -0
- package/src/assets/img/Artwork_1024x1024.png +0 -0
- package/src/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/src/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/src/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/src/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/src/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/src/assets/img/IconChevronRight.svg +5 -0
- package/src/assets/img/activity-indicator-circle.svg +90 -0
- package/src/assets/img/app-lockout.svg +1 -0
- package/src/assets/img/biometrics.svg +74 -0
- package/src/assets/img/chat-loading.svg +1 -0
- package/src/assets/img/check-in-circle.svg +18 -0
- package/src/assets/img/connection-pending.svg +112 -0
- package/src/assets/img/contact-book.svg +21 -0
- package/src/assets/img/credential-card.svg +18 -0
- package/src/assets/img/credential-declined.svg +28 -0
- package/src/assets/img/credential-in-hand.svg +48 -0
- package/src/assets/img/credential-list.svg +60 -0
- package/src/assets/img/credential-pending.svg +96 -0
- package/src/assets/img/credential-success.svg +48 -0
- package/src/assets/img/delete-notification.svg +1 -0
- package/src/assets/img/empty-wallet.svg +23 -0
- package/src/assets/img/error-filled.svg +12 -0
- package/src/assets/img/exclamation-mark.svg +17 -0
- package/src/assets/img/home-center-img.svg +71 -0
- package/src/assets/img/icon-credential-offer-dark.svg +7 -0
- package/src/assets/img/icon-credential-offer-light.svg +7 -0
- package/src/assets/img/icon-info-recieved-dark.svg +8 -0
- package/src/assets/img/icon-info-recieved-light.svg +8 -0
- package/src/assets/img/icon-info-sent-dark.svg +8 -0
- package/src/assets/img/icon-info-sent-light.svg +8 -0
- package/src/assets/img/icon-proof-request-dark.svg +11 -0
- package/src/assets/img/icon-proof-request-light.svg +11 -0
- package/src/assets/img/information-received.svg +1 -0
- package/src/assets/img/logo-large.png +0 -0
- package/src/assets/img/logo-large@2x.png +0 -0
- package/src/assets/img/logo-large@3x.png +0 -0
- package/src/assets/img/logo.svg +15 -0
- package/src/assets/img/message-text-icon-outline.svg +1 -0
- package/src/assets/img/message-text-icon.svg +1 -0
- package/src/assets/img/no_information_shared.svg +36 -0
- package/src/assets/img/preface.svg +15 -0
- package/src/assets/img/proof-declined.svg +66 -0
- package/src/assets/img/proof-pending.svg +61 -0
- package/src/assets/img/proof-success.svg +72 -0
- package/src/assets/img/push-notifications.svg +1 -0
- package/src/assets/img/qrcode-scan-icon.svg +1 -0
- package/src/assets/img/scan-share.svg +102 -0
- package/src/assets/img/secure-check.svg +4 -0
- package/src/assets/img/secure-image.svg +64 -0
- package/src/assets/img/update-available.svg +26 -0
- package/src/assets/img/verifier-request-declined.svg +34 -0
- package/src/assets/img/wallet-back.svg +20 -0
- package/src/assets/img/wallet-front.svg +32 -0
- package/src/assets/img/wallet-icon-outline.svg +1 -0
- package/src/assets/img/wallet-icon.svg +1 -0
- package/src/assets/img/wallet.svg +43 -0
- package/src/assets/oca-bundles.json +174 -0
- package/src/components/animated/ButtonLoading.tsx +32 -0
- package/src/components/animated/ConnectionLoading.tsx +53 -0
- package/src/components/animated/CredentialAdded.tsx +72 -0
- package/src/components/animated/CredentialPending.tsx +63 -0
- package/src/components/animated/LoadingIndicator.tsx +49 -0
- package/src/components/animated/PresentationLoading.tsx +52 -0
- package/src/components/animated/RecordLoading.tsx +75 -0
- package/src/components/animated/SendingProof.tsx +53 -0
- package/src/components/animated/SentProof.tsx +72 -0
- package/src/components/buttons/Button-api.tsx +46 -0
- package/src/components/buttons/Button.tsx +95 -0
- package/src/components/buttons/HeaderHome.tsx +25 -0
- package/src/components/buttons/IconButton.tsx +91 -0
- package/src/components/buttons/InfoIcon.tsx +35 -0
- package/src/components/buttons/SettingsMenu.tsx +26 -0
- package/src/components/buttons/ToggleButton.tsx +93 -0
- package/src/components/buttons/index.ts +4 -0
- package/src/components/chat/ActionSlider.tsx +104 -0
- package/src/components/chat/ChatActions.tsx +23 -0
- package/src/components/chat/ChatBubble.tsx +20 -0
- package/src/components/chat/ChatEvent.tsx +31 -0
- package/src/components/chat/ChatMessage.tsx +142 -0
- package/src/components/chat/MessageInput.tsx +46 -0
- package/src/components/chat/index.ts +4 -0
- package/src/components/index.ts +4 -0
- package/src/components/inputs/BulletPoint.tsx +32 -0
- package/src/components/inputs/CheckBoxRow.tsx +67 -0
- package/src/components/inputs/InlineErrorText.tsx +60 -0
- package/src/components/inputs/LimitedTextInput.tsx +61 -0
- package/src/components/inputs/PINInput.tsx +138 -0
- package/src/components/inputs/SingleSelectBlock.tsx +53 -0
- package/src/components/listItems/ContactCredentialListItem.tsx +79 -0
- package/src/components/listItems/ContactListItem.tsx +123 -0
- package/src/components/listItems/NotificationListItem.tsx +514 -0
- package/src/components/misc/ActivityLogLink.tsx +34 -0
- package/src/components/misc/AvatarView.tsx +33 -0
- package/src/components/misc/CardWatermark.tsx +52 -0
- package/src/components/misc/ConnectionAlert.tsx +123 -0
- package/src/components/misc/ConnectionImage.tsx +45 -0
- package/src/components/misc/ContentGradient.tsx +40 -0
- package/src/components/misc/CredentialCard.tsx +158 -0
- package/src/components/misc/CredentialCard10.tsx +329 -0
- package/src/components/misc/CredentialCard11.tsx +678 -0
- package/src/components/misc/CredentialCard11ActionFooter.tsx +55 -0
- package/src/components/misc/CredentialCard11Issuer.tsx +74 -0
- package/src/components/misc/CredentialCard11Logo.tsx +61 -0
- package/src/components/misc/EmptyList.tsx +27 -0
- package/src/components/misc/EmptyListContacts.tsx +55 -0
- package/src/components/misc/InfoBox.tsx +281 -0
- package/src/components/misc/NoNewUpdates.tsx +38 -0
- package/src/components/misc/PINCreateHeader.tsx +25 -0
- package/src/components/misc/Pagination.tsx +114 -0
- package/src/components/misc/QRRenderer.tsx +53 -0
- package/src/components/misc/QRScanner.tsx +395 -0
- package/src/components/misc/QRScannerTorch.tsx +74 -0
- package/src/components/misc/ScanCamera.tsx +86 -0
- package/src/components/misc/ScanTab.tsx +45 -0
- package/src/components/misc/SharedProofData.tsx +98 -0
- package/src/components/misc/UnorderedList.tsx +28 -0
- package/src/components/misc/VerifierCredentialCard.tsx +378 -0
- package/src/components/misc/index.ts +2 -0
- package/src/components/modals/AlertModal.tsx +42 -0
- package/src/components/modals/AppGuideModal.tsx +142 -0
- package/src/components/modals/CameraDisclosureModal.tsx +126 -0
- package/src/components/modals/CommonRemoveModal.tsx +332 -0
- package/src/components/modals/DismissiblePopupModal.tsx +169 -0
- package/src/components/modals/ErrorModal.tsx +107 -0
- package/src/components/modals/ImageModal.tsx +80 -0
- package/src/components/modals/NetInfoModal.tsx +35 -0
- package/src/components/modals/NotificationModal.tsx +127 -0
- package/src/components/modals/PopupModal.tsx +56 -0
- package/src/components/modals/ProofCancelModal.tsx +79 -0
- package/src/components/modals/SafeAreaModal.tsx +17 -0
- package/src/components/network/NetInfo.tsx +36 -0
- package/src/components/record/Record.tsx +100 -0
- package/src/components/record/RecordBinaryField.tsx +55 -0
- package/src/components/record/RecordDateIntField.tsx +63 -0
- package/src/components/record/RecordField.tsx +154 -0
- package/src/components/record/RecordFooter.tsx +17 -0
- package/src/components/record/RecordHeader.tsx +17 -0
- package/src/components/record/RecordRemove.tsx +66 -0
- package/src/components/texts/HeaderTitle.tsx +25 -0
- package/src/components/texts/HighlightTextBox.tsx +41 -0
- package/src/components/texts/InfoTextBox.tsx +129 -0
- package/src/components/texts/Label.tsx +51 -0
- package/src/components/texts/Link.tsx +41 -0
- package/src/components/texts/Text.tsx +21 -0
- package/src/components/texts/ThemedText.tsx +24 -0
- package/src/components/texts/Title.tsx +25 -0
- package/src/components/toast/BaseToast.tsx +128 -0
- package/src/components/toast/ToastConfig.tsx +21 -0
- package/src/components/tour/AttachTourStep.tsx +73 -0
- package/src/components/tour/CredentialOfferTourSteps.tsx +41 -0
- package/src/components/tour/CredentialsTourSteps.tsx +41 -0
- package/src/components/tour/HomeTourSteps.tsx +104 -0
- package/src/components/tour/ProofRequestTourSteps.tsx +41 -0
- package/src/components/tour/SpotCutout.tsx +65 -0
- package/src/components/tour/TourBox.tsx +255 -0
- package/src/components/tour/TourOverlay.tsx +134 -0
- package/src/components/views/CredentialCardLogo.tsx +77 -0
- package/src/components/views/CredentialDetailPrimaryHeader.tsx +107 -0
- package/src/components/views/CredentialDetailSecondaryHeader.tsx +60 -0
- package/src/components/views/HomeFooterView.tsx +110 -0
- package/src/components/views/HomeHeaderView.tsx +12 -0
- package/src/components/views/KeyboardView.tsx +27 -0
- package/src/components/views/LoadingPlaceholder.tsx +168 -0
- package/src/components/views/LoadingView.tsx +29 -0
- package/src/components/views/ModularView.tsx +35 -0
- package/src/components/views/ProgressBar.tsx +53 -0
- package/src/configs/ledgers/indy/index.ts +8 -0
- package/src/configs/ledgers/indy/ledgers.json +51 -0
- package/src/constants.ts +108 -0
- package/src/container-api.ts +229 -0
- package/src/container-impl.ts +235 -0
- package/src/contexts/activity.tsx +170 -0
- package/src/contexts/animated-components.ts +9 -0
- package/src/contexts/auth.tsx +190 -0
- package/src/contexts/index.ts +3 -0
- package/src/contexts/network.tsx +81 -0
- package/src/contexts/reducers/index.ts +3 -0
- package/src/contexts/reducers/store.ts +676 -0
- package/src/contexts/store.tsx +100 -0
- package/src/contexts/theme.ts +9 -0
- package/src/contexts/tour/tour-context.tsx +160 -0
- package/src/contexts/tour/tour-provider.tsx +160 -0
- package/src/hooks/bundle-resolver.ts +95 -0
- package/src/hooks/chat-messages.tsx +263 -0
- package/src/hooks/connections.ts +37 -0
- package/src/hooks/credential-card-styles.ts +144 -0
- package/src/hooks/credentials.ts +11 -0
- package/src/hooks/deep-links.ts +51 -0
- package/src/hooks/initialize-agent.ts +158 -0
- package/src/hooks/notifications.ts +108 -0
- package/src/hooks/oob.ts +17 -0
- package/src/hooks/proof-request-templates.ts +40 -0
- package/src/hooks/proofs.ts +32 -0
- package/src/hooks/screen-capture.ts +52 -0
- package/src/hooks/useOnboardingState.ts +46 -0
- package/src/index.ts +225 -0
- package/src/layout/ScreenLayout.tsx +53 -0
- package/src/localization/en/index.ts +921 -0
- package/src/localization/fr/index.ts +897 -0
- package/src/localization/index.ts +66 -0
- package/src/localization/pt-br/index.ts +880 -0
- package/src/modules/history/context/historyManager.tsx +247 -0
- package/src/modules/history/index.ts +2 -0
- package/src/modules/history/navigation/HistoryStack.tsx +29 -0
- package/src/modules/history/services/queue.service.tsx +31 -0
- package/src/modules/history/types/index.ts +92 -0
- package/src/modules/history/ui/HistoryPage.tsx +133 -0
- package/src/modules/history/ui/HistorySettings.tsx +184 -0
- package/src/modules/history/ui/assets/img/HistoryCardAcceptedIcon.svg +4 -0
- package/src/modules/history/ui/assets/img/HistoryCardExpiredIcon.svg +4 -0
- package/src/modules/history/ui/assets/img/HistoryCardRevokedIcon.svg +4 -0
- package/src/modules/history/ui/assets/img/HistoryInformationSentIcon.svg +4 -0
- package/src/modules/history/ui/assets/img/HistoryPinUpdatedIcon.svg +4 -0
- package/src/modules/history/ui/assets/img/IconChevronRight.svg +3 -0
- package/src/modules/history/ui/components/BulletPoint.tsx +49 -0
- package/src/modules/history/ui/components/HistoryListItem.tsx +251 -0
- package/src/modules/history/ui/components/HistoryMenu.tsx +25 -0
- package/src/modules/history/ui/components/SingleSelectBlock.tsx +72 -0
- package/src/modules/openid/components/CredentialRowCard.tsx +64 -0
- package/src/modules/openid/components/OpenIDCredentialCard.tsx +277 -0
- package/src/modules/openid/context/OpenIDCredentialRecordProvider.tsx +296 -0
- package/src/modules/openid/display.tsx +464 -0
- package/src/modules/openid/displayProof.tsx +86 -0
- package/src/modules/openid/hooks/openid.tsx +111 -0
- package/src/modules/openid/metadata.tsx +53 -0
- package/src/modules/openid/offerResolve.tsx +281 -0
- package/src/modules/openid/resolverProof.tsx +286 -0
- package/src/modules/openid/screens/OpenIDCredentialDetails.tsx +214 -0
- package/src/modules/openid/screens/OpenIDCredentialOffer.tsx +191 -0
- package/src/modules/openid/screens/OpenIDProofPresentation.tsx +351 -0
- package/src/modules/openid/types.tsx +103 -0
- package/src/modules/openid/utils/utils.tsx +133 -0
- package/src/navigators/ConnectStack.tsx +68 -0
- package/src/navigators/ContactStack.tsx +97 -0
- package/src/navigators/CredentialStack.tsx +39 -0
- package/src/navigators/DeliveryStack.tsx +74 -0
- package/src/navigators/HomeStack.tsx +37 -0
- package/src/navigators/MainStack.tsx +122 -0
- package/src/navigators/NotificationStack.tsx +74 -0
- package/src/navigators/OnboardingScreens.ts +152 -0
- package/src/navigators/OnboardingStack.tsx +197 -0
- package/src/navigators/ProofRequestStack.tsx +113 -0
- package/src/navigators/RootStack.tsx +65 -0
- package/src/navigators/SettingStack.tsx +165 -0
- package/src/navigators/TabStack.tsx +303 -0
- package/src/navigators/defaultLayoutOptions.tsx +17 -0
- package/src/navigators/defaultStackOptions.tsx +84 -0
- package/src/navigators/index.ts +27 -0
- package/src/onboarding.ts +83 -0
- package/src/screens/AttemptLockout.tsx +153 -0
- package/src/screens/AutoLock.tsx +140 -0
- package/src/screens/Chat.tsx +131 -0
- package/src/screens/Connection.tsx +394 -0
- package/src/screens/ContactDetails.tsx +333 -0
- package/src/screens/CredentialDetails.tsx +429 -0
- package/src/screens/CredentialOffer.tsx +334 -0
- package/src/screens/CredentialOfferAccept.tsx +189 -0
- package/src/screens/DataRetention.tsx +91 -0
- package/src/screens/Developer.tsx +287 -0
- package/src/screens/Home.tsx +173 -0
- package/src/screens/Language.tsx +97 -0
- package/src/screens/ListContacts.tsx +112 -0
- package/src/screens/ListCredentials.tsx +135 -0
- package/src/screens/ListProofRequests.tsx +148 -0
- package/src/screens/MobileVerifierLoading.tsx +106 -0
- package/src/screens/NameWallet.tsx +160 -0
- package/src/screens/Onboarding.tsx +162 -0
- package/src/screens/OnboardingPages.tsx +212 -0
- package/src/screens/PINCreate.tsx +412 -0
- package/src/screens/PINEnter.tsx +628 -0
- package/src/screens/PINExplainer.tsx +85 -0
- package/src/screens/PasteUrl.tsx +140 -0
- package/src/screens/Preface.tsx +78 -0
- package/src/screens/ProofChangeCredential.tsx +179 -0
- package/src/screens/ProofDetails.tsx +348 -0
- package/src/screens/ProofRequest.tsx +881 -0
- package/src/screens/ProofRequestAccept.tsx +133 -0
- package/src/screens/ProofRequestDetails.tsx +270 -0
- package/src/screens/ProofRequestUsageHistory.tsx +152 -0
- package/src/screens/ProofRequesting.tsx +245 -0
- package/src/screens/PushNotification.tsx +186 -0
- package/src/screens/RenameContact.tsx +155 -0
- package/src/screens/Scan.tsx +145 -0
- package/src/screens/ScanHelp.tsx +48 -0
- package/src/screens/Settings.tsx +416 -0
- package/src/screens/Splash.tsx +91 -0
- package/src/screens/Terms.tsx +137 -0
- package/src/screens/Tours.tsx +93 -0
- package/src/screens/UpdateAvailable.tsx +119 -0
- package/src/screens/UseBiometry.tsx +357 -0
- package/src/screens/WhatAreContacts.tsx +71 -0
- package/src/services/keychain.ts +181 -0
- package/src/services/logger.ts +68 -0
- package/src/services/storage.ts +136 -0
- package/src/theme.ts +1144 -0
- package/src/types/attempt-lockout-config.ts +8 -0
- package/src/types/attestation.ts +17 -0
- package/src/types/chat.ts +4 -0
- package/src/types/config.ts +64 -0
- package/src/types/contact-details.ts +5 -0
- package/src/types/credential-list-footer.ts +3 -0
- package/src/types/credential-status.ts +3 -0
- package/src/types/credentials.ts +7 -0
- package/src/types/decline.ts +5 -0
- package/src/types/error.ts +40 -0
- package/src/types/fn.ts +2 -0
- package/src/types/genesis.ts +35 -0
- package/src/types/index.ts +2 -0
- package/src/types/metadata.ts +16 -0
- package/src/types/navigators.ts +216 -0
- package/src/types/notification.ts +24 -0
- package/src/types/permissions.ts +2 -0
- package/src/types/proof-items.ts +32 -0
- package/src/types/react-i18next.d.ts +10 -0
- package/src/types/remove.ts +8 -0
- package/src/types/security.ts +32 -0
- package/src/types/settings.ts +28 -0
- package/src/types/state.ts +92 -0
- package/src/types/tour.ts +20 -0
- package/src/types/version-check.ts +18 -0
- package/src/utils/PINCreationValidation.ts +98 -0
- package/src/utils/agent.ts +129 -0
- package/src/utils/anonCredsProofRequestMapper.ts +205 -0
- package/src/utils/contacts.ts +59 -0
- package/src/utils/cred-def.ts +33 -0
- package/src/utils/credential.ts +37 -0
- package/src/utils/crypto.ts +12 -0
- package/src/utils/fileCache.ts +152 -0
- package/src/utils/helpers.ts +1281 -0
- package/src/utils/luminance.ts +40 -0
- package/src/utils/migration.ts +40 -0
- package/src/utils/network.tsx +55 -0
- package/src/utils/oca.ts +132 -0
- package/src/utils/parsers.tsx +111 -0
- package/src/utils/proofBundle.ts +220 -0
- package/src/utils/schema.ts +28 -0
- package/src/utils/testable.ts +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","Screens","getCredentialForDisplay","CommonRemoveModal","ModalUsage","DeviceEventEmitter","StyleSheet","Text","View","useTranslation","testIdWithKey","useTheme","BifoldError","EventTypes","useAgent","RecordRemove","useOpenIDCredentials","OpenIDCredentialType","TOKENS","useServices","Record","buildOverlayFromW3cCredential","CredentialDetailSecondaryHeader","CredentialCardLogo","CredentialDetailPrimaryHeader","ScreenLayout","OpenIDCredentialCard","OpenIDCredScreenMode","paddingHorizontal","paddingVertical","OpenIDCredentialDetails","navigation","route","_overlay$brandingOver","credentialId","type","params","credential","setCredential","undefined","credentialDisplay","setCredentialDisplay","t","i18n","ColorPallet","TextTheme","agent","removeCredential","getW3CCredentialById","getSdJwtCredentialById","bundleResolver","UTIL_OCA_RESOLVER","isRemoveModalDisplayed","setIsRemoveModalDisplayed","credentialRemoved","setCredentialRemoved","overlay","setOverlay","bundle","presentationFields","metaOverlay","brandingOverlay","styles","create","container","backgroundColor","primaryBackgroundColor","display","cardContainer","fetchCredential","record","SdJwtVc","error","emit","ERROR_ADDED","credDisplay","resolveOverlay","resolvedOverlay","language","resolver","toggleDeclineModalVisible","handleDeclineTouched","Promise","resolve","setTimeout","handleRemove","pop","err","message","legacyHeader","createElement","style","renderOpenIdCard","credentialRecord","header","footer","marginBottom","brand","secondaryBackground","marginTop","testID","title","normal","issuer","name","onRemove","screen","fields","hideFieldValues","usage","CredentialRemove","visible","onSubmit","onCancel"],"sourceRoot":"../../../../../src","sources":["modules/openid/screens/OpenIDCredentialDetails.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAElD,SAA0BC,OAAO,QAAQ,2BAA2B;AACpE,SAASC,uBAAuB,QAAQ,YAAY;AACpD,OAAOC,iBAAiB,MAAM,8CAA8C;AAC5E,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,kBAAkB,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzE,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,WAAW,QAAQ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KAAA,CAAA4F,aAAA,CAACnF,IAAI;MAACoF,KAAK,EAAE,CAAC9C,SAAS,CAACyD,MAAM;IAAE,GAC7B9D,iBAAiB,CAAC2B,OAAO,CAACoC,MAAM,CAACC,IAAI,IAAI9D,CAAC,CAAC,yBAAyB,CACjE,CACF,CACF,CAAC,eACP5C,KAAA,CAAA4F,aAAA,CAAC3E,YAAY;MAAC0F,QAAQ,EAAEzB;IAA0B,CAAE,CAChD,CAAC;EAEX,CAAC;EAED,oBACElF,KAAA,CAAA4F,aAAA,CAACjE,YAAY;IAACiF,MAAM,EAAEzG,OAAO,CAAC6B;EAAwB,gBACpDhC,KAAA,CAAA4F,aAAA,CAACtE,MAAM;IAACuF,MAAM,EAAEnD,OAAO,CAACG,kBAAkB,IAAI,EAAG;IAACiD,eAAe;IAACd,MAAM,EAAEA,MAAO;IAACC,MAAM,EAAEA;EAAO,CAAE,CAAC,eACpGjG,KAAA,CAAA4F,aAAA,CAACvF,iBAAiB;IAChB0G,KAAK,EAAEzG,UAAU,CAAC0G,gBAAiB;IACnCC,OAAO,EAAE3D,sBAAuB;IAChC4D,QAAQ,EAAE/B,oBAAqB;IAC/BgC,QAAQ,EAAEjC;EAA0B,CACrC,CACW,CAAC;AAEnB,CAAC;AAED,eAAelD,uBAAuB","ignoreList":[]}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { Screens, TabStacks } from '../../../types/navigators';
|
|
3
|
+
import { getCredentialForDisplay } from '../display';
|
|
4
|
+
import CommonRemoveModal from '../../../components/modals/CommonRemoveModal';
|
|
5
|
+
import { ModalUsage } from '../../../types/remove';
|
|
6
|
+
import { useState } from 'react';
|
|
7
|
+
import { DeviceEventEmitter, StyleSheet, Text, View } from 'react-native';
|
|
8
|
+
import { useTranslation } from 'react-i18next';
|
|
9
|
+
import Button, { ButtonType } from '../../../components/buttons/Button';
|
|
10
|
+
import { testIdWithKey } from '../../../utils/testable';
|
|
11
|
+
import { useTheme } from '../../../contexts/theme';
|
|
12
|
+
import { BifoldError } from '../../../types/error';
|
|
13
|
+
import { EventTypes } from '../../../constants';
|
|
14
|
+
import { useAgent } from '@credo-ts/react-hooks';
|
|
15
|
+
import CredentialOfferAccept from '../../../screens/CredentialOfferAccept';
|
|
16
|
+
import { useOpenIDCredentials } from '../context/OpenIDCredentialRecordProvider';
|
|
17
|
+
import Record from '../../../components/record/Record';
|
|
18
|
+
import OpenIDCredentialCard from '../components/OpenIDCredentialCard';
|
|
19
|
+
import ScreenLayout from '../../../layout/ScreenLayout';
|
|
20
|
+
const OpenIDCredentialOffer = ({
|
|
21
|
+
navigation,
|
|
22
|
+
route
|
|
23
|
+
}) => {
|
|
24
|
+
// FIXME: change params to accept credential id to avoid 'non-serializable' warnings
|
|
25
|
+
const {
|
|
26
|
+
credential
|
|
27
|
+
} = route.params;
|
|
28
|
+
const credentialDisplay = getCredentialForDisplay(credential);
|
|
29
|
+
const {
|
|
30
|
+
display
|
|
31
|
+
} = credentialDisplay;
|
|
32
|
+
|
|
33
|
+
// console.log('$$ ====> Credential Display', JSON.stringify(credentialDisplay))
|
|
34
|
+
const {
|
|
35
|
+
t
|
|
36
|
+
} = useTranslation();
|
|
37
|
+
const {
|
|
38
|
+
ColorPallet,
|
|
39
|
+
TextTheme
|
|
40
|
+
} = useTheme();
|
|
41
|
+
const {
|
|
42
|
+
agent
|
|
43
|
+
} = useAgent();
|
|
44
|
+
const {
|
|
45
|
+
storeCredential,
|
|
46
|
+
resolveBundleForCredential
|
|
47
|
+
} = useOpenIDCredentials();
|
|
48
|
+
const [isRemoveModalDisplayed, setIsRemoveModalDisplayed] = useState(false);
|
|
49
|
+
const [buttonsVisible, setButtonsVisible] = useState(true);
|
|
50
|
+
const [acceptModalVisible, setAcceptModalVisible] = useState(false);
|
|
51
|
+
const [overlay, setOverlay] = useState({
|
|
52
|
+
bundle: undefined,
|
|
53
|
+
presentationFields: [],
|
|
54
|
+
metaOverlay: undefined,
|
|
55
|
+
brandingOverlay: undefined
|
|
56
|
+
});
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (!credential) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const resolveOverlay = async () => {
|
|
62
|
+
const brandingOverlay = await resolveBundleForCredential(credential);
|
|
63
|
+
setOverlay(brandingOverlay);
|
|
64
|
+
};
|
|
65
|
+
resolveOverlay();
|
|
66
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
67
|
+
}, [credential]);
|
|
68
|
+
const styles = StyleSheet.create({
|
|
69
|
+
headerTextContainer: {
|
|
70
|
+
paddingHorizontal: 25,
|
|
71
|
+
paddingVertical: 16
|
|
72
|
+
},
|
|
73
|
+
headerText: {
|
|
74
|
+
...TextTheme.normal,
|
|
75
|
+
flexShrink: 1
|
|
76
|
+
},
|
|
77
|
+
footerButton: {
|
|
78
|
+
paddingTop: 10
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
const toggleDeclineModalVisible = () => setIsRemoveModalDisplayed(!isRemoveModalDisplayed);
|
|
82
|
+
const handleDeclineTouched = async () => {
|
|
83
|
+
var _navigation$getParent;
|
|
84
|
+
toggleDeclineModalVisible();
|
|
85
|
+
(_navigation$getParent = navigation.getParent()) === null || _navigation$getParent === void 0 || _navigation$getParent.navigate(TabStacks.HomeStack, {
|
|
86
|
+
screen: Screens.Home
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
const handleAcceptTouched = async () => {
|
|
90
|
+
if (!agent) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
try {
|
|
94
|
+
await storeCredential(credential);
|
|
95
|
+
setAcceptModalVisible(true);
|
|
96
|
+
} catch (err) {
|
|
97
|
+
setButtonsVisible(true);
|
|
98
|
+
const error = new BifoldError(t('Error.Title1024'), t('Error.Message1024'), (err === null || err === void 0 ? void 0 : err.message) ?? err, 1024);
|
|
99
|
+
DeviceEventEmitter.emit(EventTypes.ERROR_ADDED, error);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const footerButton = (title, buttonPress, buttonType, testID, accessibilityLabel) => {
|
|
103
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
104
|
+
style: styles.footerButton
|
|
105
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
106
|
+
title: title,
|
|
107
|
+
accessibilityLabel: accessibilityLabel,
|
|
108
|
+
testID: testID,
|
|
109
|
+
buttonType: buttonType,
|
|
110
|
+
onPress: buttonPress,
|
|
111
|
+
disabled: !buttonsVisible
|
|
112
|
+
}));
|
|
113
|
+
};
|
|
114
|
+
const renderOpenIdCard = () => {
|
|
115
|
+
if (!credentialDisplay || !credential) return null;
|
|
116
|
+
return /*#__PURE__*/React.createElement(OpenIDCredentialCard, {
|
|
117
|
+
credentialDisplay: credentialDisplay,
|
|
118
|
+
credentialRecord: credential
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
const header = () => {
|
|
122
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
|
|
123
|
+
style: styles.headerTextContainer
|
|
124
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
125
|
+
style: styles.headerText,
|
|
126
|
+
testID: testIdWithKey('HeaderText')
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Text, null, display.issuer.name || t('ContactDetails.AContact')), ' ', t('CredentialOffer.IsOfferingYouACredential'))), credential && /*#__PURE__*/React.createElement(View, {
|
|
128
|
+
style: {
|
|
129
|
+
marginHorizontal: 15,
|
|
130
|
+
marginBottom: 16
|
|
131
|
+
}
|
|
132
|
+
}, renderOpenIdCard()));
|
|
133
|
+
};
|
|
134
|
+
const footer = () => {
|
|
135
|
+
const paddingHorizontal = 24;
|
|
136
|
+
const paddingVertical = 16;
|
|
137
|
+
const paddingBottom = 26;
|
|
138
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
139
|
+
style: {
|
|
140
|
+
marginBottom: 50
|
|
141
|
+
}
|
|
142
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
143
|
+
style: {
|
|
144
|
+
paddingHorizontal: paddingHorizontal,
|
|
145
|
+
paddingVertical: paddingVertical,
|
|
146
|
+
paddingBottom: paddingBottom,
|
|
147
|
+
backgroundColor: ColorPallet.brand.secondaryBackground
|
|
148
|
+
}
|
|
149
|
+
}, footerButton(t('Global.Accept'), handleAcceptTouched, ButtonType.Primary, testIdWithKey('AcceptCredentialOffer'), t('Global.Accept')), footerButton(t('Global.Decline'), toggleDeclineModalVisible, ButtonType.Secondary, testIdWithKey('DeclineCredentialOffer'), t('Global.Decline'))));
|
|
150
|
+
};
|
|
151
|
+
return /*#__PURE__*/React.createElement(ScreenLayout, {
|
|
152
|
+
screen: Screens.OpenIDCredentialDetails
|
|
153
|
+
}, /*#__PURE__*/React.createElement(Record, {
|
|
154
|
+
fields: overlay.presentationFields || [],
|
|
155
|
+
hideFieldValues: true,
|
|
156
|
+
header: header,
|
|
157
|
+
footer: footer
|
|
158
|
+
}), /*#__PURE__*/React.createElement(CredentialOfferAccept, {
|
|
159
|
+
visible: acceptModalVisible,
|
|
160
|
+
credentialId: '',
|
|
161
|
+
confirmationOnly: true
|
|
162
|
+
}), /*#__PURE__*/React.createElement(CommonRemoveModal, {
|
|
163
|
+
usage: ModalUsage.CredentialOfferDecline,
|
|
164
|
+
visible: isRemoveModalDisplayed,
|
|
165
|
+
onSubmit: handleDeclineTouched,
|
|
166
|
+
onCancel: toggleDeclineModalVisible
|
|
167
|
+
}));
|
|
168
|
+
};
|
|
169
|
+
export default OpenIDCredentialOffer;
|
|
170
|
+
//# sourceMappingURL=OpenIDCredentialOffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","Screens","TabStacks","getCredentialForDisplay","CommonRemoveModal","ModalUsage","useState","DeviceEventEmitter","StyleSheet","Text","View","useTranslation","Button","ButtonType","testIdWithKey","useTheme","BifoldError","EventTypes","useAgent","CredentialOfferAccept","useOpenIDCredentials","Record","OpenIDCredentialCard","ScreenLayout","OpenIDCredentialOffer","navigation","route","credential","params","credentialDisplay","display","t","ColorPallet","TextTheme","agent","storeCredential","resolveBundleForCredential","isRemoveModalDisplayed","setIsRemoveModalDisplayed","buttonsVisible","setButtonsVisible","acceptModalVisible","setAcceptModalVisible","overlay","setOverlay","bundle","undefined","presentationFields","metaOverlay","brandingOverlay","resolveOverlay","styles","create","headerTextContainer","paddingHorizontal","paddingVertical","headerText","normal","flexShrink","footerButton","paddingTop","toggleDeclineModalVisible","handleDeclineTouched","_navigation$getParent","getParent","navigate","HomeStack","screen","Home","handleAcceptTouched","err","error","message","emit","ERROR_ADDED","title","buttonPress","buttonType","testID","accessibilityLabel","createElement","style","onPress","disabled","renderOpenIdCard","credentialRecord","header","Fragment","issuer","name","marginHorizontal","marginBottom","footer","paddingBottom","backgroundColor","brand","secondaryBackground","Primary","Secondary","OpenIDCredentialDetails","fields","hideFieldValues","visible","credentialId","confirmationOnly","usage","CredentialOfferDecline","onSubmit","onCancel"],"sourceRoot":"../../../../../src","sources":["modules/openid/screens/OpenIDCredentialOffer.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAExC,SAA8BC,OAAO,EAAEC,SAAS,QAAQ,2BAA2B;AACnF,SAASC,uBAAuB,QAAQ,YAAY;AACpD,OAAOC,iBAAiB,MAAM,8CAA8C;AAC5E,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,QAAQ,QAAQ,OAAO;AAChC,SAASC,kBAAkB,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACzE,SAASC,cAAc,QAAQ,eAAe;AAC9C,OAAOC,MAAM,IAAIC,UAAU,QAAQ,oCAAoC;AACvE,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,WAAW,QAAQ,sBAAsB;AAClD,SAASC,UAAU,QAAQ,oBAAoB;AAC/C,SAASC,QAAQ,QA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AAC+E,MAAM,EAAEzD,OAAO,CAACI,kBAAkB,IAAI,EAAG;IAACsD,eAAe;IAACf,MAAM,EAAEA,MAAO;IAACM,MAAM,EAAEA;EAAO,CAAE,CAAC,eACpG7F,KAAA,CAAAiF,aAAA,CAAC7D,qBAAqB;IAACmF,OAAO,EAAE7D,kBAAmB;IAAC8D,YAAY,EAAE,EAAG;IAACC,gBAAgB,EAAE;EAAK,CAAE,CAAC,eAChGzG,KAAA,CAAAiF,aAAA,CAAC5E,iBAAiB;IAChBqG,KAAK,EAAEpG,UAAU,CAACqG,sBAAuB;IACzCJ,OAAO,EAAEjE,sBAAuB;IAChCsE,QAAQ,EAAE7C,oBAAqB;IAC/B8C,QAAQ,EAAE/C;EAA0B,CACrC,CACW,CAAC;AAEnB,CAAC;AAED,eAAerC,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { DeviceEventEmitter } from 'react-native';
|
|
3
|
+
import { useAgent } from '@credo-ts/react-hooks';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
5
|
+
import { Screens, TabStacks } from '../../../types/navigators';
|
|
6
|
+
import { ScrollView, StyleSheet, Text, View } from 'react-native';
|
|
7
|
+
import { formatDifPexCredentialsForRequest } from '../displayProof';
|
|
8
|
+
import { testIdWithKey } from '../../../utils/testable';
|
|
9
|
+
import CommonRemoveModal from '../../../components/modals/CommonRemoveModal';
|
|
10
|
+
import { ModalUsage } from '../../../types/remove';
|
|
11
|
+
import Button, { ButtonType } from '../../../components/buttons/Button';
|
|
12
|
+
import { useTheme } from '../../../contexts/theme';
|
|
13
|
+
import { BifoldError } from '../../../types/error';
|
|
14
|
+
import { EventTypes } from '../../../constants';
|
|
15
|
+
import { shareProof } from '../resolverProof';
|
|
16
|
+
import ProofRequestAccept from '../../../screens/ProofRequestAccept';
|
|
17
|
+
import { useOpenIDCredentials } from '../context/OpenIDCredentialRecordProvider';
|
|
18
|
+
import { CredentialCard } from '../../../components/misc';
|
|
19
|
+
import { getCredentialForDisplay } from '../display';
|
|
20
|
+
import { buildFieldsFromW3cCredsCredential } from '../../../utils/oca';
|
|
21
|
+
import ScreenLayout from '../../../layout/ScreenLayout';
|
|
22
|
+
import { isSdJwtProofRequest, isW3CProofRequest } from '../utils/utils';
|
|
23
|
+
const OpenIDProofPresentation = ({
|
|
24
|
+
navigation,
|
|
25
|
+
route: {
|
|
26
|
+
params: {
|
|
27
|
+
credential
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}) => {
|
|
31
|
+
const [declineModalVisible, setDeclineModalVisible] = useState(false);
|
|
32
|
+
const [buttonsVisible, setButtonsVisible] = useState(true);
|
|
33
|
+
const [acceptModalVisible, setAcceptModalVisible] = useState(false);
|
|
34
|
+
const [credentialsRequested, setCredentialsRequested] = useState([]);
|
|
35
|
+
const {
|
|
36
|
+
getW3CCredentialById,
|
|
37
|
+
getSdJwtCredentialById
|
|
38
|
+
} = useOpenIDCredentials();
|
|
39
|
+
const {
|
|
40
|
+
ColorPallet,
|
|
41
|
+
ListItems,
|
|
42
|
+
TextTheme
|
|
43
|
+
} = useTheme();
|
|
44
|
+
const {
|
|
45
|
+
t
|
|
46
|
+
} = useTranslation();
|
|
47
|
+
const {
|
|
48
|
+
agent
|
|
49
|
+
} = useAgent();
|
|
50
|
+
const toggleDeclineModalVisible = () => setDeclineModalVisible(!declineModalVisible);
|
|
51
|
+
const styles = StyleSheet.create({
|
|
52
|
+
pageContent: {
|
|
53
|
+
flexGrow: 1,
|
|
54
|
+
justifyContent: 'space-between',
|
|
55
|
+
padding: 10
|
|
56
|
+
},
|
|
57
|
+
credentialsList: {
|
|
58
|
+
marginTop: 20,
|
|
59
|
+
justifyContent: 'space-between'
|
|
60
|
+
},
|
|
61
|
+
headerTextContainer: {
|
|
62
|
+
paddingVertical: 16
|
|
63
|
+
},
|
|
64
|
+
headerText: {
|
|
65
|
+
...ListItems.recordAttributeText,
|
|
66
|
+
flexShrink: 1
|
|
67
|
+
},
|
|
68
|
+
footerButton: {
|
|
69
|
+
paddingTop: 10
|
|
70
|
+
},
|
|
71
|
+
cardContainer: {
|
|
72
|
+
paddingHorizontal: 25,
|
|
73
|
+
paddingVertical: 16,
|
|
74
|
+
backgroundColor: ColorPallet.brand.secondaryBackground,
|
|
75
|
+
marginBottom: 20
|
|
76
|
+
},
|
|
77
|
+
cardAttributes: {
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
flexWrap: 'wrap',
|
|
80
|
+
borderColor: ColorPallet.grayscale.lightGrey,
|
|
81
|
+
borderWidth: 1,
|
|
82
|
+
borderRadius: 8,
|
|
83
|
+
padding: 8
|
|
84
|
+
},
|
|
85
|
+
cardGroupContainer: {
|
|
86
|
+
borderRadius: 8,
|
|
87
|
+
borderWidth: 2,
|
|
88
|
+
borderColor: 'rgba(255, 255, 255, 0.2)'
|
|
89
|
+
},
|
|
90
|
+
cardGroupHeader: {
|
|
91
|
+
padding: 8,
|
|
92
|
+
marginVertical: 8
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
const submission = useMemo(() => credential && credential.credentialsForRequest ? formatDifPexCredentialsForRequest(credential.credentialsForRequest) : undefined, [credential]);
|
|
96
|
+
const selectedCredentials = useMemo(() => submission === null || submission === void 0 ? void 0 : submission.entries.reduce((acc, entry) => {
|
|
97
|
+
if (entry.isSatisfied) {
|
|
98
|
+
//TODO: Support multiplae credentials
|
|
99
|
+
return {
|
|
100
|
+
...acc,
|
|
101
|
+
[entry.inputDescriptorId]: {
|
|
102
|
+
id: entry.credentials[0].id,
|
|
103
|
+
claimFormat: entry.credentials[0].claimFormat
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
return acc;
|
|
108
|
+
}, {}), [submission]);
|
|
109
|
+
useEffect(() => {
|
|
110
|
+
async function fetchCreds() {
|
|
111
|
+
if (!selectedCredentials) return;
|
|
112
|
+
const creds = [];
|
|
113
|
+
for (const [inputDescriptorID, {
|
|
114
|
+
id,
|
|
115
|
+
claimFormat
|
|
116
|
+
}] of Object.entries(selectedCredentials)) {
|
|
117
|
+
let credential;
|
|
118
|
+
if (isW3CProofRequest(claimFormat)) {
|
|
119
|
+
credential = await getW3CCredentialById(id);
|
|
120
|
+
} else if (isSdJwtProofRequest(claimFormat)) {
|
|
121
|
+
credential = await getSdJwtCredentialById(id);
|
|
122
|
+
}
|
|
123
|
+
if (credential && inputDescriptorID) {
|
|
124
|
+
creds.push(credential);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
setCredentialsRequested(creds);
|
|
128
|
+
}
|
|
129
|
+
fetchCreds();
|
|
130
|
+
}, [selectedCredentials, getW3CCredentialById, getSdJwtCredentialById]);
|
|
131
|
+
const {
|
|
132
|
+
verifierName
|
|
133
|
+
} = useMemo(() => {
|
|
134
|
+
return {
|
|
135
|
+
verifierName: credential === null || credential === void 0 ? void 0 : credential.verifierHostName
|
|
136
|
+
};
|
|
137
|
+
}, [credential]);
|
|
138
|
+
const handleAcceptTouched = async () => {
|
|
139
|
+
try {
|
|
140
|
+
if (!agent || !credential.credentialsForRequest || !selectedCredentials) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
await shareProof({
|
|
144
|
+
agent,
|
|
145
|
+
authorizationRequest: credential.authorizationRequest,
|
|
146
|
+
credentialsForRequest: credential.credentialsForRequest,
|
|
147
|
+
selectedCredentials
|
|
148
|
+
});
|
|
149
|
+
setAcceptModalVisible(true);
|
|
150
|
+
} catch (err) {
|
|
151
|
+
setButtonsVisible(true);
|
|
152
|
+
const error = new BifoldError(t('Error.Title1027'), t('Error.Message1027'), (err === null || err === void 0 ? void 0 : err.message) ?? err, 1027);
|
|
153
|
+
DeviceEventEmitter.emit(EventTypes.ERROR_ADDED, error);
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
const handleDeclineTouched = async () => {
|
|
157
|
+
var _navigation$getParent;
|
|
158
|
+
toggleDeclineModalVisible();
|
|
159
|
+
(_navigation$getParent = navigation.getParent()) === null || _navigation$getParent === void 0 || _navigation$getParent.navigate(TabStacks.HomeStack, {
|
|
160
|
+
screen: Screens.Home
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
const handleDismiss = async () => {
|
|
164
|
+
var _navigation$getParent2;
|
|
165
|
+
(_navigation$getParent2 = navigation.getParent()) === null || _navigation$getParent2 === void 0 || _navigation$getParent2.navigate(TabStacks.HomeStack, {
|
|
166
|
+
screen: Screens.Home
|
|
167
|
+
});
|
|
168
|
+
};
|
|
169
|
+
const renderHeader = () => {
|
|
170
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
171
|
+
style: styles.headerTextContainer
|
|
172
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
173
|
+
style: styles.headerText,
|
|
174
|
+
testID: testIdWithKey('HeaderText')
|
|
175
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
176
|
+
style: TextTheme.normal
|
|
177
|
+
}, t('ProofRequest.ReceiveProofTitle')), '\n', /*#__PURE__*/React.createElement(Text, {
|
|
178
|
+
style: TextTheme.title
|
|
179
|
+
}, verifierName ? verifierName : '')));
|
|
180
|
+
};
|
|
181
|
+
const renderCard = (sub, selectedCredential, hasMultipleCreds) => {
|
|
182
|
+
const credential = credentialsRequested.find(c => c.id === selectedCredential.id);
|
|
183
|
+
if (!credential) {
|
|
184
|
+
return null;
|
|
185
|
+
}
|
|
186
|
+
const credentialDisplay = getCredentialForDisplay(credential);
|
|
187
|
+
const fields = buildFieldsFromW3cCredsCredential(credentialDisplay);
|
|
188
|
+
const requestedAttributes = selectedCredential.requestedAttributes;
|
|
189
|
+
const fieldsMapped = fields.filter(field => requestedAttributes === null || requestedAttributes === void 0 ? void 0 : requestedAttributes.includes(field.name));
|
|
190
|
+
return /*#__PURE__*/React.createElement(CredentialCard, {
|
|
191
|
+
credential: credential,
|
|
192
|
+
displayItems: fieldsMapped
|
|
193
|
+
//TODO: Support multiplae credentials
|
|
194
|
+
// hasAltCredentials={hasMultipleCreds}
|
|
195
|
+
// handleAltCredChange={selectAltCredentail}
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
const renderBody = () => {
|
|
199
|
+
if (!submission) return null;
|
|
200
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
201
|
+
style: styles.credentialsList
|
|
202
|
+
}, submission.entries.map((s, i) => {
|
|
203
|
+
//TODO: Support multiplae credentials
|
|
204
|
+
const selectedCredential = s.credentials[0];
|
|
205
|
+
const globalSubmissionName = submission.name;
|
|
206
|
+
const globalSubmissionPurpose = submission.purpose;
|
|
207
|
+
const submissionName = s.name;
|
|
208
|
+
const submissionPurpose = s.purpose;
|
|
209
|
+
const name = submissionName || globalSubmissionName || undefined;
|
|
210
|
+
const purpose = submissionPurpose || globalSubmissionPurpose || undefined;
|
|
211
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
212
|
+
key: i
|
|
213
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
214
|
+
style: styles.cardContainer
|
|
215
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
216
|
+
style: styles.cardGroupContainer
|
|
217
|
+
}, name && purpose && /*#__PURE__*/React.createElement(View, {
|
|
218
|
+
style: styles.cardGroupHeader
|
|
219
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
220
|
+
style: TextTheme.labelSubtitle
|
|
221
|
+
}, name), /*#__PURE__*/React.createElement(Text, {
|
|
222
|
+
style: TextTheme.labelSubtitle
|
|
223
|
+
}, purpose)), s.isSatisfied && selectedCredential !== null && selectedCredential !== void 0 && selectedCredential.requestedAttributes ? renderCard(s, selectedCredential, s.credentials.length > 1) : /*#__PURE__*/React.createElement(Text, {
|
|
224
|
+
style: TextTheme.normal
|
|
225
|
+
}, t('ProofRequest.CredentialNotInWallet')))));
|
|
226
|
+
}));
|
|
227
|
+
};
|
|
228
|
+
const footerButton = (title, buttonPress, buttonType, testID, accessibilityLabel) => {
|
|
229
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
230
|
+
style: styles.footerButton
|
|
231
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
232
|
+
title: title,
|
|
233
|
+
accessibilityLabel: accessibilityLabel,
|
|
234
|
+
testID: testID,
|
|
235
|
+
buttonType: buttonType,
|
|
236
|
+
onPress: buttonPress,
|
|
237
|
+
disabled: !buttonsVisible
|
|
238
|
+
}));
|
|
239
|
+
};
|
|
240
|
+
const footer = () => {
|
|
241
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
242
|
+
style: {
|
|
243
|
+
paddingHorizontal: 25,
|
|
244
|
+
paddingVertical: 16,
|
|
245
|
+
paddingBottom: 26,
|
|
246
|
+
backgroundColor: ColorPallet.brand.secondaryBackground
|
|
247
|
+
}
|
|
248
|
+
}, selectedCredentials && Object.keys(selectedCredentials).length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, footerButton(t('Global.Accept'), handleAcceptTouched, ButtonType.Primary, testIdWithKey('AcceptCredentialOffer'), t('Global.Accept')), footerButton(t('Global.Decline'), toggleDeclineModalVisible, ButtonType.Secondary, testIdWithKey('DeclineCredentialOffer'), t('Global.Decline'))) : /*#__PURE__*/React.createElement(React.Fragment, null, footerButton(t('Global.Dismiss'), handleDismiss, ButtonType.Primary, testIdWithKey('DismissCredentialOffer'), t('Global.Dismiss'))));
|
|
249
|
+
};
|
|
250
|
+
return /*#__PURE__*/React.createElement(ScreenLayout, {
|
|
251
|
+
screen: Screens.OpenIDCredentialDetails
|
|
252
|
+
}, /*#__PURE__*/React.createElement(ScrollView, null, /*#__PURE__*/React.createElement(View, {
|
|
253
|
+
style: styles.pageContent
|
|
254
|
+
}, renderHeader(), renderBody())), footer(), /*#__PURE__*/React.createElement(ProofRequestAccept, {
|
|
255
|
+
visible: acceptModalVisible,
|
|
256
|
+
proofId: '',
|
|
257
|
+
confirmationOnly: true
|
|
258
|
+
}), /*#__PURE__*/React.createElement(CommonRemoveModal, {
|
|
259
|
+
usage: ModalUsage.ProofRequestDecline,
|
|
260
|
+
visible: declineModalVisible,
|
|
261
|
+
onSubmit: handleDeclineTouched,
|
|
262
|
+
onCancel: toggleDeclineModalVisible
|
|
263
|
+
}));
|
|
264
|
+
};
|
|
265
|
+
export default OpenIDProofPresentation;
|
|
266
|
+
//# sourceMappingURL=OpenIDProofPresentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useMemo","useState","DeviceEventEmitter","useAgent","useTranslation","Screens","TabStacks","ScrollView","StyleSheet","Text","View","formatDifPexCredentialsForRequest","testIdWithKey","CommonRemoveModal","ModalUsage","Button","ButtonType","useTheme","BifoldError","EventTypes","shareProof","ProofRequestAccept","useOpenIDCredentials","CredentialCard","getCredentialForDisplay","buildFieldsFromW3cCredsCredential","ScreenLayout","isSdJwtProofRequest","isW3CProofRequest","OpenIDProofPresentation","navigation","route","params","credential","declineModalVisible","setDeclineModalVisible","buttonsVisible","setButtonsVisible","acceptModalVisible","setAcceptModalVisible","credentialsRequested","setCredentialsRequested","getW3CCredentialById","getSdJwtCredentialById","ColorPallet","ListItems","TextTheme","t","agent","toggleDeclineModalVisible","styles","create","pageContent","flexGrow","justifyContent","padding","credentialsList","marginTop","headerTextContainer","paddingVertical","headerText","recordAttributeText","flexShrink","footerButton","paddingTop","cardContainer","paddingHorizontal","backgroundColor","brand","secondaryBackground","marginBottom","cardAttributes","flexDirection","flexWrap","borderColor","grayscale","lightGrey","borderWidth","borderRadius","cardGroupContainer","cardGroupHeader","marginVertical","submission","credentialsForRequest","undefined","selectedCredentials","entries","reduce","acc","entry","isSatisfied","inputDescriptorId","id","credentials","claimFormat","fetchCreds","creds","inputDescriptorID","Object","push","verifierName","verifierHostName","handleAcceptTouched","authorizationRequest","err","error","message","emit","ERROR_ADDED","handleDeclineTouched","_navigation$getParent","getParent","navigate","HomeStack","screen","Home","handleDismiss","_navigation$getParent2","renderHeader","React","createElement","style","testID","normal","title","renderCard","sub","selectedCredential","hasMultipleCreds","find","c","credentialDisplay","fields","requestedAttributes","fieldsMapped","filter","field","includes","name","displayItems","renderBody","map","s","i","globalSubmissionName","globalSubmissionPurpose","purpose","submissionName","submissionPurpose","key","labelSubtitle","length","buttonPress","buttonType","accessibilityLabel","onPress","disabled","footer","paddingBottom","keys","Fragment","Primary","Secondary","OpenIDCredentialDetails","visible","proofId","confirmationOnly","usage","ProofRequestDecline","onSubmit","onCancel"],"sourceRoot":"../../../../../src","sources":["modules/openid/screens/OpenIDProofPresentation.tsx"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACpD,SAASC,kBAAkB,QAAQ,cAAc;AACjD,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,cAAc,QAAQ,eAAe;AAG9C,SAA8BC,OAAO,EAAEC,SAAS,QAAQ,2BAA2B;AACnF,SAASC,UAAU,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACjE,SACEC,iCAAiC,QAG5B,iBAAiB;AACxB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,OAAOC,iBAAiB,MAAM,8CAA8C;AAC5E,SAASC,UAAU,QAAQ,uBAAuB;AAClD,OAAOC,MAAM,IAAIC,UAAU,QAAQ,oCAAoC;AACvE,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,WAAW,QAAQ,sBAAsB;AAClD,SAASC,UAAU,QAAQ,oBAAoB;AAC/C,SAASC,UAAU,QAAQ,kBAAkB;AAC7C,OAAOC,kBAAkB,MAAM,qCAAqC;AACpE,SAASC,oBAAoB,QAAQ,2CAA2C;AAEhF,SAASC,cAAc,QAAQ,0BAA0B;AACzD,SAASC,uBAAuB,QAAQ,YAAY;AACpD,SAASC,iCAAiC,QAAQ,oBAAoB;AAEtE,OAAOC,YAAY,MAAM,8BAA8B;AACvD,SAASC,mBAAmB,EAAEC,iBAAiB,QAAQ,gBAAgB;AAIvE,MAAMC,uBAA+D,GAAGA,CAAC;EACvEC,UAAU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,CAAC,CAAC,gBAAgB,CACpB,CACA,CAAC,gBAEHwE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAyC,QAAA,QACGjG,YAAY,CACXhB,CAAC,CAAC,gBAAgB,CAAC,EACnBqE,aAAa,EACbpG,UAAU,CAACiJ,OAAO,EAClBrJ,aAAa,CAAC,wBAAwB,CAAC,EACvCmC,CAAC,CAAC,gBAAgB,CACpB,CACA,CAEA,CAAC;EAEX,CAAC;EAED,oBACEwE,KAAA,CAAAC,aAAA,CAAC9F,YAAY;IAACwF,MAAM,EAAE7G,OAAO,CAAC8J;EAAwB,gBACpD5C,KAAA,CAAAC,aAAA,CAACjH,UAAU,qBACTgH,KAAA,CAAAC,aAAA,CAAC9G,IAAI;IAAC+G,KAAK,EAAEvE,MAAM,CAACE;EAAY,GAC7BkE,YAAY,CAAC,CAAC,EACdsB,UAAU,CAAC,CACR,CACI,CAAC,EACZiB,MAAM,CAAC,CAAC,eAETtC,KAAA,CAAAC,aAAA,CAACnG,kBAAkB;IAAC+I,OAAO,EAAE9H,kBAAmB;IAAC+H,OAAO,EAAE,EAAG;IAACC,gBAAgB,EAAE;EAAK,CAAE,CAAC,eACxF/C,KAAA,CAAAC,aAAA,CAAC3G,iBAAiB;IAChB0J,KAAK,EAAEzJ,UAAU,CAAC0J,mBAAoB;IACtCJ,OAAO,EAAElI,mBAAoB;IAC7BuI,QAAQ,EAAE5D,oBAAqB;IAC/B6D,QAAQ,EAAEzH;EAA0B,CACrC,CACW,CAAC;AAEnB,CAAC;AAED,eAAepB,uBAAuB","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export let OpenIDCredentialType = /*#__PURE__*/function (OpenIDCredentialType) {
|
|
2
|
+
OpenIDCredentialType[OpenIDCredentialType["W3cCredential"] = 0] = "W3cCredential";
|
|
3
|
+
OpenIDCredentialType[OpenIDCredentialType["SdJwtVc"] = 1] = "SdJwtVc";
|
|
4
|
+
OpenIDCredentialType[OpenIDCredentialType["Mdoc"] = 2] = "Mdoc";
|
|
5
|
+
return OpenIDCredentialType;
|
|
6
|
+
}({});
|
|
7
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OpenIDCredentialType"],"sourceRoot":"../../../../src","sources":["modules/openid/types.tsx"],"mappings":"AAkGA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAApBA,oBAAoB,CAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { getDomainFromUrl } from '@credo-ts/core';
|
|
2
|
+
import { Attribute } from '@bifold/oca/build/legacy';
|
|
3
|
+
/**
|
|
4
|
+
* Converts a camelCase string to a sentence format (first letter capitalized, rest in lower case).
|
|
5
|
+
* i.e. sanitizeString("helloWorld") // returns: 'Hello world'
|
|
6
|
+
*/
|
|
7
|
+
export function sanitizeString(str) {
|
|
8
|
+
const result = str.replace(/([a-z0-9])([A-Z])/g, '$1 $2').replaceAll('_', ' ');
|
|
9
|
+
let words = result.split(' ');
|
|
10
|
+
words = words.map((word, index) => {
|
|
11
|
+
if (index === 0 || word.toUpperCase() === word) {
|
|
12
|
+
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
13
|
+
}
|
|
14
|
+
return word.charAt(0).toLowerCase() + word.slice(1);
|
|
15
|
+
});
|
|
16
|
+
return words.join(' ');
|
|
17
|
+
}
|
|
18
|
+
export function getHostNameFromUrl(url) {
|
|
19
|
+
try {
|
|
20
|
+
return getDomainFromUrl(url);
|
|
21
|
+
} catch (error) {
|
|
22
|
+
throw new Error(`Error getting hostname from url: ${error}`);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export const buildFieldsFromOpenIDTemplate = data => {
|
|
26
|
+
const fields = [];
|
|
27
|
+
for (const key of Object.keys(data)) {
|
|
28
|
+
// omit id and type
|
|
29
|
+
if (key === 'id' || key === 'type') continue;
|
|
30
|
+
let pushedVal = null;
|
|
31
|
+
if (typeof data[key] === 'string' || typeof data[key] === 'number') {
|
|
32
|
+
pushedVal = data[key];
|
|
33
|
+
}
|
|
34
|
+
fields.push(new Attribute({
|
|
35
|
+
name: key,
|
|
36
|
+
value: pushedVal
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
return fields;
|
|
40
|
+
};
|
|
41
|
+
export function formatDate(input) {
|
|
42
|
+
const date = input instanceof Date ? input : new Date(input);
|
|
43
|
+
return date.toLocaleString('en-US', {
|
|
44
|
+
year: 'numeric',
|
|
45
|
+
month: 'long',
|
|
46
|
+
day: 'numeric',
|
|
47
|
+
hour: '2-digit',
|
|
48
|
+
minute: '2-digit',
|
|
49
|
+
hour12: true
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
export const getAttributeField = (display, searchKey) => {
|
|
53
|
+
for (const [key, value] of Object.entries(display.attributes)) {
|
|
54
|
+
if (searchKey === key) {
|
|
55
|
+
return new Attribute({
|
|
56
|
+
name: key,
|
|
57
|
+
value: value,
|
|
58
|
+
mimeType: typeof value === 'number' ? 'text/number' : 'text/plain'
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Mostly used for mdoc crednetials
|
|
67
|
+
*/
|
|
68
|
+
export function detectImageMimeType(data) {
|
|
69
|
+
// Check if array is too short to contain magic numbers
|
|
70
|
+
if (data.length < 12) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// JPEG starts with FF D8 FF
|
|
75
|
+
if (data[0] === 0xff && data[1] === 0xd8 && data[2] === 0xff) {
|
|
76
|
+
return 'image/jpeg';
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// JPEG2000 has two possible signatures:
|
|
80
|
+
// 1) 00 00 00 0C 6A 50 20 20 0D 0A 87 0A
|
|
81
|
+
// 2) FF 4F FF 51
|
|
82
|
+
|
|
83
|
+
// Check first signature
|
|
84
|
+
if (data[0] === 0x00 && data[1] === 0x00 && data[2] === 0x00 && data[3] === 0x0c && data[4] === 0x6a &&
|
|
85
|
+
// 'j'
|
|
86
|
+
data[5] === 0x50 &&
|
|
87
|
+
// 'P'
|
|
88
|
+
data[6] === 0x20 && data[7] === 0x20 && data[8] === 0x0d && data[9] === 0x0a && data[10] === 0x87 && data[11] === 0x0a) {
|
|
89
|
+
return 'image/jp2';
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Check second signature
|
|
93
|
+
if (data[0] === 0xff && data[1] === 0x4f && data[2] === 0xff && data[3] === 0x51) {
|
|
94
|
+
return 'image/jp2';
|
|
95
|
+
}
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* very simple matcher for `yyyy-mm-dd`
|
|
101
|
+
*/
|
|
102
|
+
export function isDateString(value) {
|
|
103
|
+
// We do the length check first to avoid unnecesary regex
|
|
104
|
+
return value.length === 'yyyy-mm-dd'.length && value.match(/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/);
|
|
105
|
+
}
|
|
106
|
+
export function isW3CProofRequest(type) {
|
|
107
|
+
if (type === 'jwt_vc') {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
export function isSdJwtProofRequest(type) {
|
|
113
|
+
if (type === 'vc+sd-jwt') {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getDomainFromUrl","Attribute","sanitizeString","str","result","replace","replaceAll","words","split","map","word","index","toUpperCase","charAt","slice","toLowerCase","join","getHostNameFromUrl","url","error","Error","buildFieldsFromOpenIDTemplate","data","fields","key","Object","keys","pushedVal","push","name","value","formatDate","input","date","Date","toLocaleString","year","month","day","hour","minute","hour12","getAttributeField","display","searchKey","entries","attributes","mimeType","undefined","detectImageMimeType","length","isDateString","match","isW3CProofRequest","type","isSdJwtProofRequest"],"sourceRoot":"../../../../../src","sources":["modules/openid/utils/utils.tsx"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,gBAAgB;AACjD,SAASC,SAAS,QAAe,0BAA0B;AAG3D;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACC,GAAW,EAAE;EAC1C,MAAMC,MAAM,GAAGD,GAAG,CAACE,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAACC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC;EAC9E,IAAIC,KAAK,GAAGH,MAAM,CAACI,KAAK,CAAC,GAAG,CAAC;EAC7BD,KAAK,GAAGA,KAAK,CAACE,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAK;IACjC,IAAIA,KAAK,KAAK,CAAC,IAAID,IAAI,CAACE,WAAW,CAAC,CAAC,KAAKF,IAAI,EAAE;MAC9C,OAAOA,IAAI,CAACG,MAAM,CAAC,CAAC,CAAC,CAACD,WAAW,CAAC,CAAC,GAAGF,IAAI,CAACI,KAAK,CAAC,CAAC,CAAC;IACrD;IACA,OAAOJ,IAAI,CAACG,MAAM,CAAC,CAAC,CAAC,CAACE,WAAW,CAAC,CAAC,GAAGL,IAAI,CAACI,KAAK,CAAC,CAAC,CAAC;EACrD,CAAC,CAAC;EACF,OAAOP,KAAK,CAACS,IAAI,CAAC,GAAG,CAAC;AACxB;AAEA,OAAO,SAASC,kBAAkBA,CAACC,GAAW,EAAE;EAC9C,IAAI;IACF,OAAOlB,gBAAgB,CAACkB,GAAG,CAAC;EAC9B,CAAC,CAAC,OAAOC,KAAK,EAAE;IACd,MAAM,IAAIC,KAAK,CAAC,oCAAoCD,KAAK,EAAE,CAAC;EAC9D;AACF;AAEA,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