@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","require","_core","_reactHooks","_recordUtils","_containerApi","_display","_legacy","_oca","_reactI18next","_oca2","_types","addW3cRecord","record","state","newRecordsState","w3cCredentialRecords","unshift","removeW3cRecord","index","findIndex","r","id","splice","addSdJwtRecord","sdJwtVcRecords","removeSdJwtRecord","defaultState","openIDCredentialRecords","mdocVcRecords","isLoading","OpenIDCredentialRecordContext","createContext","isW3CCredentialRecord","_record$getTags","getTags","claimFormat","ClaimFormat","JwtVc","isSdJwtCredentialRecord","filterW3CCredentialsOnly","credentials","filter","filterSdJwtCredentialsOnly","OpenIDCredentialRecordProvider","children","setState","useState","agent","useAgent","logger","bundleResolver","useServices","TOKENS","UTIL_LOGGER","UTIL_OCA_RESOLVER","i18n","useTranslation","checkAgent","error","Error","getW3CCredentialById","w3cCredentials","getCredentialRecordById","getSdJwtCredentialById","sdJwtVc","getById","getMdocCredentialById","mdoc","storeCredential","cred","W3cCredentialRecord","dependencyManager","resolve","W3cCredentialRepository","save","context","SdJwtVcRecord","SdJwtVcRepository","MdocRecord","MdocRepository","deleteCredential","type","OpenIDCredentialType","W3cCredential","removeCredentialRecord","SdJwtVc","deleteById","Mdoc","resolveBundleForCredential","credential","_credentialDisplay$di","_credentialDisplay$di2","credentialDisplay","getCredentialForDisplay","params","identifiers","schemaId","credentialDefinitionId","meta","alias","display","issuer","name","credConnectionId","undefined","credName","attributes","buildFieldsFromW3cCredsCredential","language","bundle","resolveAllBundles","_bundle","brandingOverlay","BrandingOverlay","capture_base","BrandingOverlayType","Branding10","primary_background_color","backgroundColor","background_image","backgroundImage","url","logo","ocaBundle","presentationFields","useEffect","_agent$w3cCredentials","_agent$sdJwtVc","getAllCredentialRecords","then","prev","getAll","creds","w3c_credentialAdded$","recordsAddedByType","subscribe","w3c_credentialRemoved$","recordsRemovedByType","sdjwt_credentialAdded$","sdjwt_credentialRemoved$","unsubscribe","React","createElement","Provider","value","openIdState","removeCredential","exports","useOpenIDCredentials","useContext"],"sourceRoot":"../../../../../src","sources":["modules/openid/context/OpenIDCredentialRecordProvider.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AASA,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A","ignoreList":[]}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.filterAndMapSdJwtKeys = filterAndMapSdJwtKeys;
|
|
7
|
+
exports.getCredentialForDisplay = getCredentialForDisplay;
|
|
8
|
+
exports.recursivelyMapAttribues = recursivelyMapAttribues;
|
|
9
|
+
var _core = require("@credo-ts/core");
|
|
10
|
+
var _decode = require("@sd-jwt/decode");
|
|
11
|
+
var _utils = require("./utils/utils");
|
|
12
|
+
var _metadata = require("./metadata");
|
|
13
|
+
function findDisplay(display) {
|
|
14
|
+
if (!display) return undefined;
|
|
15
|
+
let item = display.find(d => {
|
|
16
|
+
var _d$locale;
|
|
17
|
+
return (_d$locale = d.locale) === null || _d$locale === void 0 ? void 0 : _d$locale.startsWith('en-');
|
|
18
|
+
});
|
|
19
|
+
if (!item) item = display.find(d => !d.locale);
|
|
20
|
+
if (!item) item = display[0];
|
|
21
|
+
return item;
|
|
22
|
+
}
|
|
23
|
+
function getOpenId4VcIssuerDisplay(openId4VcMetadata) {
|
|
24
|
+
const issuerDisplay = {};
|
|
25
|
+
|
|
26
|
+
// Try to extract from openid metadata first
|
|
27
|
+
if (openId4VcMetadata) {
|
|
28
|
+
const openidIssuerDisplay = findDisplay(openId4VcMetadata.issuer.display);
|
|
29
|
+
if (openidIssuerDisplay) {
|
|
30
|
+
issuerDisplay.name = openidIssuerDisplay.name;
|
|
31
|
+
if (openidIssuerDisplay.logo) {
|
|
32
|
+
var _openidIssuerDisplay$, _openidIssuerDisplay$2;
|
|
33
|
+
issuerDisplay.logo = {
|
|
34
|
+
url: (_openidIssuerDisplay$ = openidIssuerDisplay.logo) === null || _openidIssuerDisplay$ === void 0 ? void 0 : _openidIssuerDisplay$.url,
|
|
35
|
+
altText: (_openidIssuerDisplay$2 = openidIssuerDisplay.logo) === null || _openidIssuerDisplay$2 === void 0 ? void 0 : _openidIssuerDisplay$2.alt_text
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// If the credentialDisplay contains a logo, and the issuerDisplay does not, use the logo from the credentialDisplay
|
|
41
|
+
const openidCredentialDisplay = findDisplay(openId4VcMetadata.credential.display);
|
|
42
|
+
if (openidCredentialDisplay && !issuerDisplay.logo && openidCredentialDisplay.logo) {
|
|
43
|
+
var _openidCredentialDisp, _openidCredentialDisp2;
|
|
44
|
+
issuerDisplay.logo = {
|
|
45
|
+
url: (_openidCredentialDisp = openidCredentialDisplay.logo) === null || _openidCredentialDisp === void 0 ? void 0 : _openidCredentialDisp.url,
|
|
46
|
+
altText: (_openidCredentialDisp2 = openidCredentialDisplay.logo) === null || _openidCredentialDisp2 === void 0 ? void 0 : _openidCredentialDisp2.alt_text
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Last fallback: use issuer id from openid4vc
|
|
52
|
+
if (!issuerDisplay.name && openId4VcMetadata !== null && openId4VcMetadata !== void 0 && openId4VcMetadata.issuer.id) {
|
|
53
|
+
issuerDisplay.name = (0, _utils.getHostNameFromUrl)(openId4VcMetadata.issuer.id);
|
|
54
|
+
}
|
|
55
|
+
if (openId4VcMetadata !== null && openId4VcMetadata !== void 0 && openId4VcMetadata.issuer.id) {
|
|
56
|
+
issuerDisplay.domain = (0, _utils.getHostNameFromUrl)(openId4VcMetadata.issuer.id);
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
...issuerDisplay,
|
|
60
|
+
name: issuerDisplay.name ?? 'Unknown'
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function getIssuerDisplay(metadata) {
|
|
64
|
+
var _openidIssuerDisplay$3, _openidIssuerDisplay$4;
|
|
65
|
+
const issuerDisplay = {};
|
|
66
|
+
// Try to extract from openid metadata first
|
|
67
|
+
const openidIssuerDisplay = findDisplay(metadata === null || metadata === void 0 ? void 0 : metadata.issuer.display);
|
|
68
|
+
issuerDisplay.name = openidIssuerDisplay === null || openidIssuerDisplay === void 0 ? void 0 : openidIssuerDisplay.name;
|
|
69
|
+
issuerDisplay.logo = openidIssuerDisplay !== null && openidIssuerDisplay !== void 0 && openidIssuerDisplay.logo ? {
|
|
70
|
+
url: (_openidIssuerDisplay$3 = openidIssuerDisplay.logo) === null || _openidIssuerDisplay$3 === void 0 ? void 0 : _openidIssuerDisplay$3.url,
|
|
71
|
+
altText: (_openidIssuerDisplay$4 = openidIssuerDisplay.logo) === null || _openidIssuerDisplay$4 === void 0 ? void 0 : _openidIssuerDisplay$4.alt_text
|
|
72
|
+
} : undefined;
|
|
73
|
+
|
|
74
|
+
// If the credentialDisplay contains a logo, and the issuerDisplay does not, use the logo from the credentialDisplay
|
|
75
|
+
const openidCredentialDisplay = findDisplay(metadata === null || metadata === void 0 ? void 0 : metadata.credential.display);
|
|
76
|
+
if (openidCredentialDisplay && !issuerDisplay.logo && openidCredentialDisplay.logo) {
|
|
77
|
+
var _openidCredentialDisp3, _openidCredentialDisp4;
|
|
78
|
+
issuerDisplay.logo = {
|
|
79
|
+
url: (_openidCredentialDisp3 = openidCredentialDisplay.logo) === null || _openidCredentialDisp3 === void 0 ? void 0 : _openidCredentialDisp3.url,
|
|
80
|
+
altText: (_openidCredentialDisp4 = openidCredentialDisplay.logo) === null || _openidCredentialDisp4 === void 0 ? void 0 : _openidCredentialDisp4.alt_text
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
return issuerDisplay;
|
|
84
|
+
}
|
|
85
|
+
function processIssuerDisplay(metadata, issuerDisplay) {
|
|
86
|
+
// Last fallback: use issuer id from openid4vc
|
|
87
|
+
if (!issuerDisplay.name && metadata !== null && metadata !== void 0 && metadata.issuer.id) {
|
|
88
|
+
issuerDisplay.name = (0, _utils.getHostNameFromUrl)(metadata.issuer.id);
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
...issuerDisplay,
|
|
92
|
+
name: issuerDisplay.name ?? 'Unknown'
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function getW3cIssuerDisplay(credential, openId4VcMetadata) {
|
|
96
|
+
const issuerDisplay = getIssuerDisplay(openId4VcMetadata);
|
|
97
|
+
|
|
98
|
+
// If openid metadata is not available, try to extract display metadata from the credential based on JFF metadata
|
|
99
|
+
const jffCredential = credential;
|
|
100
|
+
const issuerJson = typeof jffCredential.issuer === 'string' ? undefined : jffCredential.issuer;
|
|
101
|
+
|
|
102
|
+
// Issuer Display from JFF
|
|
103
|
+
if (!issuerDisplay.logo || !issuerDisplay.logo.url) {
|
|
104
|
+
issuerDisplay.logo = issuerJson !== null && issuerJson !== void 0 && issuerJson.logoUrl ? {
|
|
105
|
+
url: issuerJson === null || issuerJson === void 0 ? void 0 : issuerJson.logoUrl
|
|
106
|
+
} : issuerJson !== null && issuerJson !== void 0 && issuerJson.image ? {
|
|
107
|
+
url: typeof issuerJson.image === 'string' ? issuerJson.image : issuerJson.image.id
|
|
108
|
+
} : undefined;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Issuer name from JFF
|
|
112
|
+
if (!issuerDisplay.name) {
|
|
113
|
+
issuerDisplay.name = issuerJson === null || issuerJson === void 0 ? void 0 : issuerJson.name;
|
|
114
|
+
}
|
|
115
|
+
return processIssuerDisplay(openId4VcMetadata, issuerDisplay);
|
|
116
|
+
}
|
|
117
|
+
function getCredentialDisplay(credentialPayload, openId4VcMetadata) {
|
|
118
|
+
const credentialDisplay = {};
|
|
119
|
+
if (openId4VcMetadata) {
|
|
120
|
+
const openidCredentialDisplay = findDisplay(openId4VcMetadata.credential.display);
|
|
121
|
+
credentialDisplay.name = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.name;
|
|
122
|
+
credentialDisplay.description = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.description;
|
|
123
|
+
credentialDisplay.textColor = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.text_color;
|
|
124
|
+
credentialDisplay.backgroundColor = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.background_color;
|
|
125
|
+
credentialDisplay.backgroundImage = openidCredentialDisplay !== null && openidCredentialDisplay !== void 0 && openidCredentialDisplay.background_image ? {
|
|
126
|
+
url: openidCredentialDisplay.background_image.url,
|
|
127
|
+
altText: openidCredentialDisplay.background_image.alt_text
|
|
128
|
+
} : undefined;
|
|
129
|
+
credentialDisplay.logo = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.logo;
|
|
130
|
+
credentialDisplay.primary_overlay_attribute = openidCredentialDisplay === null || openidCredentialDisplay === void 0 ? void 0 : openidCredentialDisplay.primary_overlay_attribute;
|
|
131
|
+
}
|
|
132
|
+
return credentialDisplay;
|
|
133
|
+
}
|
|
134
|
+
function getW3cCredentialDisplay(credential, openId4VcMetadata) {
|
|
135
|
+
var _jffCredential$creden;
|
|
136
|
+
const credentialDisplay = getCredentialDisplay(credential, openId4VcMetadata);
|
|
137
|
+
|
|
138
|
+
// If openid metadata is not available, try to extract display metadata from the credential based on JFF metadata
|
|
139
|
+
const jffCredential = credential;
|
|
140
|
+
if (!credentialDisplay.name) {
|
|
141
|
+
credentialDisplay.name = jffCredential.name;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// If there's no name for the credential, we extract it from the last type
|
|
145
|
+
// and sanitize it. This is not optimal. But provides at least something.
|
|
146
|
+
if (!credentialDisplay.name && jffCredential.type.length > 1) {
|
|
147
|
+
const lastType = jffCredential.type[jffCredential.type.length - 1];
|
|
148
|
+
credentialDisplay.name = lastType && !lastType.startsWith('http') ? (0, _utils.sanitizeString)(lastType) : undefined;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Use background color from the JFF credential if not provided by the OID4VCI metadata
|
|
152
|
+
if (!credentialDisplay.backgroundColor && (_jffCredential$creden = jffCredential.credentialBranding) !== null && _jffCredential$creden !== void 0 && _jffCredential$creden.backgroundColor) {
|
|
153
|
+
credentialDisplay.backgroundColor = jffCredential.credentialBranding.backgroundColor;
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
...credentialDisplay,
|
|
157
|
+
// Last fallback, if there's really no name for the credential, we use a generic name
|
|
158
|
+
name: credentialDisplay.name ?? 'Credential'
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function getSdJwtCredentialDisplay(credentialPayload, openId4VcMetadata) {
|
|
162
|
+
const credentialDisplay = getCredentialDisplay(credentialPayload, openId4VcMetadata);
|
|
163
|
+
if (!credentialDisplay.name && typeof credentialPayload.vct === 'string') {
|
|
164
|
+
credentialDisplay.name = (0, _utils.sanitizeString)(credentialPayload.vct);
|
|
165
|
+
}
|
|
166
|
+
return {
|
|
167
|
+
...credentialDisplay,
|
|
168
|
+
name: credentialDisplay.name ?? 'Credential'
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function getMdocCredentialDisplay(credentialPayload, openId4VcMetadata) {
|
|
172
|
+
const credentialDisplay = {};
|
|
173
|
+
if (openId4VcMetadata) {
|
|
174
|
+
const openidCredentialDisplay = findDisplay(openId4VcMetadata.credential.display);
|
|
175
|
+
if (openidCredentialDisplay) {
|
|
176
|
+
credentialDisplay.name = openidCredentialDisplay.name;
|
|
177
|
+
credentialDisplay.description = openidCredentialDisplay.description;
|
|
178
|
+
credentialDisplay.textColor = openidCredentialDisplay.text_color;
|
|
179
|
+
credentialDisplay.backgroundColor = openidCredentialDisplay.background_color;
|
|
180
|
+
if (openidCredentialDisplay.background_image) {
|
|
181
|
+
credentialDisplay.backgroundImage = {
|
|
182
|
+
url: openidCredentialDisplay.background_image.url,
|
|
183
|
+
altText: openidCredentialDisplay.background_image.alt_text
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// NOTE: logo is used in issuer display (not sure if that's right though)
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// TODO: mdoc
|
|
192
|
+
// If there's no name for the credential, we extract it from the last type
|
|
193
|
+
// and sanitize it. This is not optimal. But provides at least something.
|
|
194
|
+
// if (!credentialDisplay.name && typeof credentialPayload.vct === 'string') {
|
|
195
|
+
// credentialDisplay.name = sanitizeString(credentialPayload.vct)
|
|
196
|
+
// }
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
...credentialDisplay,
|
|
200
|
+
// Last fallback, if there's really no name for the credential, we use a generic name
|
|
201
|
+
// TODO: use on-device AI to determine a name for the credential based on the credential data
|
|
202
|
+
name: credentialDisplay.name ?? 'Credential'
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function safeCalculateJwkThumbprint(jwk) {
|
|
206
|
+
try {
|
|
207
|
+
const thumbprint = _core.TypedArrayEncoder.toBase64URL(_core.Hasher.hash(JSON.stringify({
|
|
208
|
+
k: jwk.k,
|
|
209
|
+
e: jwk.e,
|
|
210
|
+
crv: jwk.crv,
|
|
211
|
+
kty: jwk.kty,
|
|
212
|
+
n: jwk.n,
|
|
213
|
+
x: jwk.x,
|
|
214
|
+
y: jwk.y
|
|
215
|
+
}), 'sha-256'));
|
|
216
|
+
return `urn:ietf:params:oauth:jwk-thumbprint:sha-256:${thumbprint}`;
|
|
217
|
+
} catch (e) {
|
|
218
|
+
return undefined;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function filterAndMapSdJwtKeys(sdJwtVcPayload) {
|
|
222
|
+
// TODO: We should map these claims to nice format and names
|
|
223
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
224
|
+
const {
|
|
225
|
+
_sd_alg,
|
|
226
|
+
_sd_hash,
|
|
227
|
+
iss,
|
|
228
|
+
vct,
|
|
229
|
+
cnf,
|
|
230
|
+
iat,
|
|
231
|
+
exp,
|
|
232
|
+
nbf,
|
|
233
|
+
...visibleProperties
|
|
234
|
+
} = sdJwtVcPayload;
|
|
235
|
+
const holder = cnf.kid ?? cnf.jwk ? safeCalculateJwkThumbprint(cnf.jwk) : undefined;
|
|
236
|
+
const credentialMetadata = {
|
|
237
|
+
type: vct,
|
|
238
|
+
issuer: iss,
|
|
239
|
+
holder
|
|
240
|
+
};
|
|
241
|
+
if (iat) {
|
|
242
|
+
credentialMetadata.issuedAt = (0, _utils.formatDate)(new Date(iat * 1000));
|
|
243
|
+
}
|
|
244
|
+
if (exp) {
|
|
245
|
+
credentialMetadata.validUntil = (0, _utils.formatDate)(new Date(exp * 1000));
|
|
246
|
+
}
|
|
247
|
+
if (nbf) {
|
|
248
|
+
credentialMetadata.validFrom = (0, _utils.formatDate)(new Date(nbf * 1000));
|
|
249
|
+
}
|
|
250
|
+
return {
|
|
251
|
+
visibleProperties: Object.fromEntries(Object.entries(visibleProperties).map(([key, value]) => [key, recursivelyMapAttribues(value)])),
|
|
252
|
+
metadata: credentialMetadata,
|
|
253
|
+
raw: {
|
|
254
|
+
issuedAt: iat ? new Date(iat * 1000) : undefined,
|
|
255
|
+
validUntil: exp ? new Date(exp * 1000) : undefined,
|
|
256
|
+
validFrom: nbf ? new Date(nbf * 1000) : undefined
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function getCredentialForDisplay(credentialRecord) {
|
|
261
|
+
if (credentialRecord instanceof _core.SdJwtVcRecord) {
|
|
262
|
+
// FIXME: we should probably add a decode method on the SdJwtVcRecord
|
|
263
|
+
// as you now need the agent context to decode the sd-jwt vc, while that's
|
|
264
|
+
// not really needed
|
|
265
|
+
const {
|
|
266
|
+
disclosures,
|
|
267
|
+
jwt
|
|
268
|
+
} = (0, _decode.decodeSdJwtSync)(credentialRecord.compactSdJwtVc, (data, alg) => _core.Hasher.hash(data, alg));
|
|
269
|
+
const decodedPayload = (0, _decode.getClaimsSync)(jwt.payload, disclosures, (data, alg) => _core.Hasher.hash(data, alg));
|
|
270
|
+
const openId4VcMetadata = (0, _metadata.getOpenId4VcCredentialMetadata)(credentialRecord);
|
|
271
|
+
const issuerDisplay = getOpenId4VcIssuerDisplay(openId4VcMetadata);
|
|
272
|
+
const credentialDisplay = getSdJwtCredentialDisplay(decodedPayload, openId4VcMetadata);
|
|
273
|
+
const mapped = filterAndMapSdJwtKeys(decodedPayload);
|
|
274
|
+
return {
|
|
275
|
+
id: `sd-jwt-vc-${credentialRecord.id}`,
|
|
276
|
+
createdAt: credentialRecord.createdAt,
|
|
277
|
+
display: {
|
|
278
|
+
...credentialDisplay,
|
|
279
|
+
issuer: issuerDisplay
|
|
280
|
+
},
|
|
281
|
+
attributes: mapped.visibleProperties,
|
|
282
|
+
metadata: mapped.metadata,
|
|
283
|
+
claimFormat: _core.ClaimFormat.SdJwtVc,
|
|
284
|
+
validUntil: mapped.raw.validUntil,
|
|
285
|
+
validFrom: mapped.raw.validFrom
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
if (credentialRecord instanceof _core.MdocRecord) {
|
|
289
|
+
const openId4VcMetadata = (0, _metadata.getOpenId4VcCredentialMetadata)(credentialRecord);
|
|
290
|
+
const issuerDisplay = getOpenId4VcIssuerDisplay(openId4VcMetadata);
|
|
291
|
+
const credentialDisplay = getMdocCredentialDisplay({}, openId4VcMetadata);
|
|
292
|
+
const mdocInstance = _core.Mdoc.fromBase64Url(credentialRecord.base64Url);
|
|
293
|
+
const attributes = Object.fromEntries(Object.values(mdocInstance.issuerSignedNamespaces).flatMap(v => Object.entries(v).map(([key, value]) => [key, recursivelyMapAttribues(value)])));
|
|
294
|
+
return {
|
|
295
|
+
id: `mdoc-${credentialRecord.id}`,
|
|
296
|
+
createdAt: credentialRecord.createdAt,
|
|
297
|
+
display: {
|
|
298
|
+
...credentialDisplay,
|
|
299
|
+
issuer: issuerDisplay
|
|
300
|
+
},
|
|
301
|
+
attributes,
|
|
302
|
+
// TODO:
|
|
303
|
+
metadata: {
|
|
304
|
+
// holder: 'Unknown',
|
|
305
|
+
issuer: 'Unknown',
|
|
306
|
+
type: mdocInstance.docType
|
|
307
|
+
},
|
|
308
|
+
claimFormat: _core.ClaimFormat.MsoMdoc,
|
|
309
|
+
validUntil: mdocInstance.validityInfo.validUntil,
|
|
310
|
+
validFrom: mdocInstance.validityInfo.validFrom
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
const credential = _core.JsonTransformer.toJSON(credentialRecord.credential.claimFormat === _core.ClaimFormat.JwtVc ? credentialRecord.credential.credential : credentialRecord.credential);
|
|
314
|
+
const openId4VcMetadata = (0, _metadata.getOpenId4VcCredentialMetadata)(credentialRecord);
|
|
315
|
+
const issuerDisplay = getW3cIssuerDisplay(credential, openId4VcMetadata);
|
|
316
|
+
const credentialDisplay = getW3cCredentialDisplay(credential, openId4VcMetadata);
|
|
317
|
+
|
|
318
|
+
// to be implimented later support credential with multiple subjects
|
|
319
|
+
const credentialAttributes = Array.isArray(credential.credentialSubject) ? credential.credentialSubject[0] ?? {} : credential.credentialSubject;
|
|
320
|
+
return {
|
|
321
|
+
id: `w3c-credential-${credentialRecord.id}`,
|
|
322
|
+
createdAt: credentialRecord.createdAt,
|
|
323
|
+
display: {
|
|
324
|
+
...credentialDisplay,
|
|
325
|
+
issuer: issuerDisplay
|
|
326
|
+
},
|
|
327
|
+
credential,
|
|
328
|
+
attributes: credentialAttributes,
|
|
329
|
+
metadata: {
|
|
330
|
+
holder: credentialRecord.credential.credentialSubjectIds[0],
|
|
331
|
+
issuer: credentialRecord.credential.issuerId,
|
|
332
|
+
type: credentialRecord.credential.type[credentialRecord.credential.type.length - 1],
|
|
333
|
+
issuedAt: (0, _utils.formatDate)(new Date(credentialRecord.credential.issuanceDate)),
|
|
334
|
+
validUntil: credentialRecord.credential.expirationDate ? (0, _utils.formatDate)(new Date(credentialRecord.credential.expirationDate)) : undefined,
|
|
335
|
+
validFrom: undefined
|
|
336
|
+
},
|
|
337
|
+
claimFormat: credentialRecord.credential.claimFormat,
|
|
338
|
+
validUntil: credentialRecord.credential.expirationDate ? new Date(credentialRecord.credential.expirationDate) : undefined,
|
|
339
|
+
validFrom: credentialRecord.credential.issuanceDate ? new Date(credentialRecord.credential.issuanceDate) : undefined
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
function recursivelyMapAttribues(value) {
|
|
343
|
+
if (value instanceof Uint8Array) {
|
|
344
|
+
const imageMimeType = (0, _utils.detectImageMimeType)(value);
|
|
345
|
+
if (imageMimeType) {
|
|
346
|
+
return `data:${imageMimeType};base64,${_core.TypedArrayEncoder.toBase64(value)}`;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// TODO: what to do with a buffer that is not an image?
|
|
350
|
+
return _core.TypedArrayEncoder.toUtf8String(value);
|
|
351
|
+
}
|
|
352
|
+
if (value === null || value === undefined || typeof value === 'number' || typeof value === 'boolean') return value;
|
|
353
|
+
if (value instanceof Date || typeof value === 'string' && (0, _utils.isDateString)(value)) {
|
|
354
|
+
// TODO: handle DateOnly (should be handled as time is 0 then)
|
|
355
|
+
return (0, _utils.formatDate)(value);
|
|
356
|
+
}
|
|
357
|
+
if (typeof value === 'string') return value;
|
|
358
|
+
if (value instanceof Map) {
|
|
359
|
+
return Object.fromEntries(Array.from(value.entries()).map(([key, value]) => [key, recursivelyMapAttribues(value)]));
|
|
360
|
+
}
|
|
361
|
+
if (Array.isArray(value)) return value.map(recursivelyMapAttribues);
|
|
362
|
+
return Object.fromEntries(Object.entries(value).map(([key, value]) => [key, recursivelyMapAttribues(value)]));
|
|
363
|
+
}
|
|
364
|
+
//# sourceMappingURL=display.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_core","require","_decode","_utils","_metadata","findDisplay","display","undefined","item","find","d","_d$locale","locale","startsWith","getOpenId4VcIssuerDisplay","openId4VcMetadata","issuerDisplay","openidIssuerDisplay","issuer","name","logo","_openidIssuerDisplay$","_openidIssuerDisplay$2","url","altText","alt_text","openidCredentialDisplay","credential","_openidCredentialDisp","_openidCredentialDisp2","id","getHostNameFromUrl","domain","getIssuerDisplay","metadata","_openidIssuerDisplay$3","_openidIssuerDisplay$4","_openidCredentialDisp3","_openidCredentialDisp4","processIssuerDisplay","getW3cIssuerDisplay","jffCredential","issuerJson","logoUrl","image","getCredentialDisplay","credentialPayload","credentialDisplay","description","textColor","text_color","backgroundColor","background_color","backgroundImage","background_image","primary_overlay_attribute","getW3cCredentialDisplay","_jffCredential$creden","type","length","lastType","sanitizeString","credentialBranding","getSdJwtCredentialDisplay","vct","getMdocCredentialDisplay","safeCalculateJwkThumbprint","jwk","thumbprint","TypedArrayEncoder","toBase64URL","Hasher","hash","JSON","stringify","k","e","crv","kty","n","x","y","filterAndMapSdJwtKeys","sdJwtVcPayload","_sd_alg","_sd_hash","iss","cnf","iat","exp","nbf","visibleProperties","holder","kid","credentialMetadata","issuedAt","formatDate","Date","validUntil","validFrom","Object","fromEntries","entries","map","key","value","recursivelyMapAttribues","raw","getCredentialForDisplay","credentialRecord","SdJwtVcRecord","disclosures","jwt","decodeSdJwtSync","compactSdJwtVc","data","alg","decodedPayload","getClaimsSync","payload","getOpenId4VcCredentialMetadata","mapped","createdAt","attributes","claimFormat","ClaimFormat","SdJwtVc","MdocRecord","mdocInstance","Mdoc","fromBase64Url","base64Url","values","issuerSignedNamespaces","flatMap","v","docType","MsoMdoc","validityInfo","JsonTransformer","toJSON","JwtVc","credentialAttributes","Array","isArray","credentialSubject","credentialSubjectIds","issuerId","issuanceDate","expirationDate","Uint8Array","imageMimeType","detectImageMimeType","toBase64","toUtf8String","isDateString","Map","from"],"sourceRoot":"../../../../src","sources":["modules/openid/display.tsx"],"mappings":";;;;;;;;AAQA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEA,SAASI,WAAWA,CAAsCC,OAAmB,EAAuB;EAClG,IAAI,CAACA,OAAO,EAAE,OAAOC,SAAS;EAE9B,IAAIC,IAAI,GAAGF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A,IAAIsC,KAAK,CAACC,OAAO,CAACvC,KAAK,CAAC,EAAE,OAAOA,KAAK,CAACF,GAAG,CAACG,uBAAuB,CAAC;EAEnE,OAAON,MAAM,CAACC,WAAW,CAACD,MAAM,CAACE,OAAO,CAACG,KAAK,CAAC,CAACF,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEC,KAAK,CAAC,KAAK,CAACD,GAAG,EAAEE,uBAAuB,CAACD,KAAK,CAAC,CAAC,CAAC,CAAC;AAC/G","ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.formatDifPexCredentialsForRequest = formatDifPexCredentialsForRequest;
|
|
7
|
+
var _core = require("@credo-ts/core");
|
|
8
|
+
var _display = require("./display");
|
|
9
|
+
function formatDifPexCredentialsForRequest(credentialsForRequest) {
|
|
10
|
+
const entries = credentialsForRequest.requirements.flatMap(requirement => {
|
|
11
|
+
return requirement.submissionEntry.map(submission => {
|
|
12
|
+
return {
|
|
13
|
+
inputDescriptorId: submission.inputDescriptorId,
|
|
14
|
+
name: submission.name ?? 'Unknown',
|
|
15
|
+
purpose: submission.purpose,
|
|
16
|
+
description: submission.purpose,
|
|
17
|
+
isSatisfied: submission.verifiableCredentials.length >= 1,
|
|
18
|
+
credentials: submission.verifiableCredentials.map(verifiableCredential => {
|
|
19
|
+
const {
|
|
20
|
+
display,
|
|
21
|
+
attributes,
|
|
22
|
+
metadata,
|
|
23
|
+
claimFormat
|
|
24
|
+
} = (0, _display.getCredentialForDisplay)(verifiableCredential.credentialRecord);
|
|
25
|
+
let disclosedPayload = attributes;
|
|
26
|
+
if (verifiableCredential.type === _core.ClaimFormat.SdJwtVc) {
|
|
27
|
+
disclosedPayload = (0, _display.filterAndMapSdJwtKeys)(verifiableCredential.disclosedPayload).visibleProperties;
|
|
28
|
+
} else if (verifiableCredential.type === _core.ClaimFormat.MsoMdoc) {
|
|
29
|
+
disclosedPayload = Object.fromEntries(Object.values(verifiableCredential.disclosedPayload).flatMap(entry => Object.entries(entry)));
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
id: verifiableCredential.credentialRecord.id,
|
|
33
|
+
credentialName: display.name,
|
|
34
|
+
issuerName: display.issuer.name,
|
|
35
|
+
requestedAttributes: [...Object.keys(disclosedPayload)],
|
|
36
|
+
disclosedPayload,
|
|
37
|
+
metadata,
|
|
38
|
+
backgroundColor: display.backgroundColor,
|
|
39
|
+
textColor: display.textColor,
|
|
40
|
+
backgroundImage: display.backgroundImage,
|
|
41
|
+
claimFormat
|
|
42
|
+
};
|
|
43
|
+
})
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
areAllSatisfied: entries.every(entry => entry.isSatisfied),
|
|
49
|
+
name: credentialsForRequest.name ?? 'Unknown',
|
|
50
|
+
purpose: credentialsForRequest.purpose,
|
|
51
|
+
entries
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=displayProof.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_core","require","_display","formatDifPexCredentialsForRequest","credentialsForRequest","entries","requirements","flatMap","requirement","submissionEntry","map","submission","inputDescriptorId","name","purpose","description","isSatisfied","verifiableCredentials","length","credentials","verifiableCredential","display","attributes","metadata","claimFormat","getCredentialForDisplay","credentialRecord","disclosedPayload","type","ClaimFormat","SdJwtVc","filterAndMapSdJwtKeys","visibleProperties","MsoMdoc","Object","fromEntries","values","entry","id","credentialName","issuerName","issuer","requestedAttributes","keys","backgroundColor","textColor","backgroundImage","areAllSatisfied","every"],"sourceRoot":"../../../../src","sources":["modules/openid/displayProof.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAkCO,SAASE,iCAAiCA,CAC/CC,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AC5B,IAAI;YAC/B6B,mBAAmB,EAAE,CAAC,GAAGR,MAAM,CAACS,IAAI,CAAChB,gBAAgB,CAAC,CAAC;YACvDA,gBAAgB;YAChBJ,QAAQ;YACRqB,eAAe,EAAEvB,OAAO,CAACuB,eAAe;YACxCC,SAAS,EAAExB,OAAO,CAACwB,SAAS;YAC5BC,eAAe,EAAEzB,OAAO,CAACyB,eAAe;YACxCtB;UACF,CAAC;QACH,CAAC;MACH,CAAC;IACH,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF,OAAO;IACLuB,eAAe,EAAE1C,OAAO,CAAC2C,KAAK,CAAEX,KAAK,IAAKA,KAAK,CAACrB,WAAW,CAAC;IAC5DH,IAAI,EAAET,qBAAqB,CAACS,IAAI,IAAI,SAAS;IAC7CC,OAAO,EAAEV,qBAAqB,CAACU,OAAO;IACtCT;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useOpenID = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _constants = require("../../../constants");
|
|
10
|
+
var _error = require("../../../types/error");
|
|
11
|
+
var _reactHooks = require("@credo-ts/react-hooks");
|
|
12
|
+
var _reactI18next = require("react-i18next");
|
|
13
|
+
var _resolverProof = require("../resolverProof");
|
|
14
|
+
var _offerResolve = require("../offerResolve");
|
|
15
|
+
const useOpenID = ({
|
|
16
|
+
openIDUri,
|
|
17
|
+
openIDPresentationUri
|
|
18
|
+
}) => {
|
|
19
|
+
const [openIdRecord, setOpenIdRecord] = (0, _react.useState)();
|
|
20
|
+
const {
|
|
21
|
+
agent
|
|
22
|
+
} = (0, _reactHooks.useAgent)();
|
|
23
|
+
const {
|
|
24
|
+
t
|
|
25
|
+
} = (0, _reactI18next.useTranslation)();
|
|
26
|
+
const resolveOpenIDCredential = (0, _react.useCallback)(async uri => {
|
|
27
|
+
if (!agent) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
try {
|
|
31
|
+
const resolvedCredentialOffer = await (0, _offerResolve.resolveOpenId4VciOffer)({
|
|
32
|
+
agent: agent,
|
|
33
|
+
uri: uri
|
|
34
|
+
});
|
|
35
|
+
const tokenResponse = await (0, _offerResolve.acquirePreAuthorizedAccessToken)({
|
|
36
|
+
agent,
|
|
37
|
+
resolvedCredentialOffer
|
|
38
|
+
});
|
|
39
|
+
return await (0, _offerResolve.receiveCredentialFromOpenId4VciOffer)({
|
|
40
|
+
agent,
|
|
41
|
+
resolvedCredentialOffer,
|
|
42
|
+
accessToken: tokenResponse
|
|
43
|
+
});
|
|
44
|
+
} catch (err) {
|
|
45
|
+
//TODO: Sppecify different error
|
|
46
|
+
const error = new _error.BifoldError(t('Error.Title1024'), t('Error.Message1024'), (err === null || err === void 0 ? void 0 : err.message) ?? err, 1043);
|
|
47
|
+
_reactNative.DeviceEventEmitter.emit(_constants.EventTypes.ERROR_ADDED, error);
|
|
48
|
+
}
|
|
49
|
+
}, [agent, t]);
|
|
50
|
+
const resolveOpenIDPresentationRequest = (0, _react.useCallback)(async uri => {
|
|
51
|
+
if (!agent) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
try {
|
|
55
|
+
const record = await (0, _resolverProof.getCredentialsForProofRequest)({
|
|
56
|
+
agent: agent,
|
|
57
|
+
uri: uri
|
|
58
|
+
});
|
|
59
|
+
return record;
|
|
60
|
+
} catch (err) {
|
|
61
|
+
const error = new _error.BifoldError(t('Error.Title1043'), t('Error.Message1043'), (err === null || err === void 0 ? void 0 : err.message) ?? err, 1043);
|
|
62
|
+
_reactNative.DeviceEventEmitter.emit(_constants.EventTypes.ERROR_ADDED, error);
|
|
63
|
+
}
|
|
64
|
+
}, [agent, t]);
|
|
65
|
+
(0, _react.useEffect)(() => {
|
|
66
|
+
if (!openIDPresentationUri) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
resolveOpenIDPresentationRequest(openIDPresentationUri).then(value => {
|
|
70
|
+
if (value) {
|
|
71
|
+
setOpenIdRecord(value);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}, [openIDPresentationUri, resolveOpenIDPresentationRequest]);
|
|
75
|
+
(0, _react.useEffect)(() => {
|
|
76
|
+
if (!openIDUri) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
resolveOpenIDCredential(openIDUri).then(value => {
|
|
80
|
+
if (value) {
|
|
81
|
+
setOpenIdRecord(value);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}, [openIDUri, resolveOpenIDCredential]);
|
|
85
|
+
return openIdRecord;
|
|
86
|
+
};
|
|
87
|
+
exports.useOpenID = useOpenID;
|
|
88
|
+
//# sourceMappingURL=openid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_constants","_error","_reactHooks","_reactI18next","_resolverProof","_offerResolve","useOpenID","openIDUri","openIDPresentationUri","openIdRecord","setOpenIdRecord","useState","agent","useAgent","t","useTranslation","resolveOpenIDCredential","useCallback","uri","resolvedCredentialOffer","resolveOpenId4VciOffer","tokenResponse","acquirePreAuthorizedAccessToken","receiveCredentialFromOpenId4VciOffer","accessToken","err","error","BifoldError","message","DeviceEventEmitter","emit","EventTypes","ERROR_ADDED","resolveOpenIDPresentationRequest","record","getCredentialsForProofRequest","useEffect","then","value","exports"],"sourceRoot":"../../../../../src","sources":["modules/openid/hooks/openid.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;A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|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.extractOpenId4VcCredentialMetadata = extractOpenId4VcCredentialMetadata;
|
|
7
|
+
exports.getOpenId4VcCredentialMetadata = getOpenId4VcCredentialMetadata;
|
|
8
|
+
exports.setOpenId4VcCredentialMetadata = setOpenId4VcCredentialMetadata;
|
|
9
|
+
const openId4VcCredentialMetadataKey = '_bifold/openId4VcCredentialMetadata';
|
|
10
|
+
function extractOpenId4VcCredentialMetadata(credentialMetadata, serverMetadata) {
|
|
11
|
+
return {
|
|
12
|
+
credential: {
|
|
13
|
+
display: credentialMetadata.display,
|
|
14
|
+
order: credentialMetadata.order
|
|
15
|
+
},
|
|
16
|
+
issuer: {
|
|
17
|
+
display: serverMetadata.display,
|
|
18
|
+
id: serverMetadata.id
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Gets the OpenId4Vc credential metadata from the given W3C credential record.
|
|
25
|
+
*/
|
|
26
|
+
function getOpenId4VcCredentialMetadata(credentialRecord) {
|
|
27
|
+
return credentialRecord.metadata.get(openId4VcCredentialMetadataKey);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Sets the OpenId4Vc credential metadata on the given W3cCredentialRecord or SdJwtVcRecord.
|
|
32
|
+
*
|
|
33
|
+
* NOTE: this does not save the record.
|
|
34
|
+
*/
|
|
35
|
+
function setOpenId4VcCredentialMetadata(credentialRecord, metadata) {
|
|
36
|
+
credentialRecord.metadata.set(openId4VcCredentialMetadataKey, metadata);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=metadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["openId4VcCredentialMetadataKey","extractOpenId4VcCredentialMetadata","credentialMetadata","serverMetadata","credential","display","order","issuer","id","getOpenId4VcCredentialMetadata","credentialRecord","metadata","get","setOpenId4VcCredentialMetadata","set"],"sourceRoot":"../../../../src","sources":["modules/openid/metadata.tsx"],"mappings":";;;;;;;;AAeA,MAAMA,8BAA8B,GAAG,qCAAqC;AAErE,SAASC,kCAAkCA,CAChDC,kBAAiD,EACjDC,cAA2D,EAC9B;EAC7B,OAAO;IACLC,UAAU,EAAE;MACVC,OAAO,EAAEH,kBAAkB,CAACG,OAAO;MACnCC,KAAK,EAAEJ,kBAAkB,CAACI;IAC5B,CAAC;IACDC,MAAM,EAAE;MACNF,OAAO,EAAEF,cAAc,CAACE,OAAO;MAC/BG,EAAE,EAAEL,cAAc,CAACK;IACrB;EACF,CAAC;AACH;;AAEA;AACA;AACA;AACO,SAASC,8BAA8BA,CAC5CC,gBAAkE,EAC9B;EACpC,OAAOA,gBAAgB,CAACC,QAAQ,CAACC,GAAG,CAACZ,8BAA8B,CAAC;AACtE;;AAEA;AACA;AACA;AACA;AACA;AACO,SAASa,8BAA8BA,CAC5CH,gBAAkE,EAClEC,QAAqC,EACrC;EACAD,gBAAgB,CAACC,QAAQ,CAACG,GAAG,CAACd,8BAA8B,EAAEW,QAAQ,CAAC;AACzE","ignoreList":[]}
|