@credo-ts/anoncreds 0.6.1-pr-2091-20241119140918 → 0.6.1
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/build/AnonCredsApi.d.mts +113 -0
- package/build/AnonCredsApi.d.mts.map +1 -0
- package/build/AnonCredsApi.mjs +439 -0
- package/build/AnonCredsApi.mjs.map +1 -0
- package/build/AnonCredsApiOptions.d.mts +28 -0
- package/build/AnonCredsApiOptions.d.mts.map +1 -0
- package/build/AnonCredsModule.d.mts +29 -0
- package/build/AnonCredsModule.d.mts.map +1 -0
- package/build/AnonCredsModule.mjs +62 -0
- package/build/AnonCredsModule.mjs.map +1 -0
- package/build/AnonCredsModuleConfig.d.mts +79 -0
- package/build/AnonCredsModuleConfig.d.mts.map +1 -0
- package/build/AnonCredsModuleConfig.mjs +31 -0
- package/build/AnonCredsModuleConfig.mjs.map +1 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs +10 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs +7 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateParam.mjs +9 -0
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs +203 -0
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs.map +1 -0
- package/build/anoncreds-rs/AnonCredsRsHolderService.mjs +488 -0
- package/build/anoncreds-rs/AnonCredsRsHolderService.mjs.map +1 -0
- package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs +213 -0
- package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs.map +1 -0
- package/build/anoncreds-rs/AnonCredsRsVerifierService.mjs +122 -0
- package/build/anoncreds-rs/AnonCredsRsVerifierService.mjs.map +1 -0
- package/build/anoncreds-rs/index.mjs +3 -0
- package/build/anoncreds-rs/utils.mjs +60 -0
- package/build/anoncreds-rs/utils.mjs.map +1 -0
- package/build/error/AnonCredsError.d.mts +13 -0
- package/build/error/AnonCredsError.d.mts.map +1 -0
- package/build/error/AnonCredsError.mjs +12 -0
- package/build/error/AnonCredsError.mjs.map +1 -0
- package/build/error/AnonCredsRsError.d.mts +13 -0
- package/build/error/AnonCredsRsError.d.mts.map +1 -0
- package/build/error/AnonCredsRsError.mjs +12 -0
- package/build/error/AnonCredsRsError.mjs.map +1 -0
- package/build/error/AnonCredsStoreRecordError.d.mts +13 -0
- package/build/error/AnonCredsStoreRecordError.d.mts.map +1 -0
- package/build/error/AnonCredsStoreRecordError.mjs +12 -0
- package/build/error/AnonCredsStoreRecordError.mjs.map +1 -0
- package/build/error/index.d.mts +3 -0
- package/build/error/index.mjs +3 -0
- package/build/formats/AnonCredsDidCommCredentialFormat.d.mts +82 -0
- package/build/formats/AnonCredsDidCommCredentialFormat.d.mts.map +1 -0
- package/build/formats/AnonCredsDidCommCredentialFormatService.d.mts +120 -0
- package/build/formats/AnonCredsDidCommCredentialFormatService.d.mts.map +1 -0
- package/build/formats/AnonCredsDidCommCredentialFormatService.mjs +331 -0
- package/build/formats/AnonCredsDidCommCredentialFormatService.mjs.map +1 -0
- package/build/formats/AnonCredsDidCommProofFormat.d.mts +77 -0
- package/build/formats/AnonCredsDidCommProofFormat.d.mts.map +1 -0
- package/build/formats/AnonCredsDidCommProofFormatService.d.mts +93 -0
- package/build/formats/AnonCredsDidCommProofFormatService.d.mts.map +1 -0
- package/build/formats/AnonCredsDidCommProofFormatService.mjs +250 -0
- package/build/formats/AnonCredsDidCommProofFormatService.mjs.map +1 -0
- package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts +118 -0
- package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts.map +1 -0
- package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs +587 -0
- package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs.map +1 -0
- package/build/formats/LegacyIndyDidCommCredentialFormat.d.mts +38 -0
- package/build/formats/LegacyIndyDidCommCredentialFormat.d.mts.map +1 -0
- package/build/formats/LegacyIndyDidCommCredentialFormatService.d.mts +122 -0
- package/build/formats/LegacyIndyDidCommCredentialFormatService.d.mts.map +1 -0
- package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs +309 -0
- package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs.map +1 -0
- package/build/formats/LegacyIndyDidCommProofFormat.d.mts +36 -0
- package/build/formats/LegacyIndyDidCommProofFormat.d.mts.map +1 -0
- package/build/formats/LegacyIndyDidCommProofFormatService.d.mts +98 -0
- package/build/formats/LegacyIndyDidCommProofFormatService.d.mts.map +1 -0
- package/build/formats/LegacyIndyDidCommProofFormatService.mjs +322 -0
- package/build/formats/LegacyIndyDidCommProofFormatService.mjs.map +1 -0
- package/build/formats/index.d.mts +9 -0
- package/build/formats/index.mjs +5 -0
- package/build/index.d.mts +86 -0
- package/build/index.mjs +69 -0
- package/build/models/AnonCredsCredentialProposal.mjs +75 -0
- package/build/models/AnonCredsCredentialProposal.mjs.map +1 -0
- package/build/models/AnonCredsProofRequest.mjs +62 -0
- package/build/models/AnonCredsProofRequest.mjs.map +1 -0
- package/build/models/AnonCredsRequestedAttribute.mjs +50 -0
- package/build/models/AnonCredsRequestedAttribute.mjs.map +1 -0
- package/build/models/AnonCredsRequestedPredicate.mjs +53 -0
- package/build/models/AnonCredsRequestedPredicate.mjs.map +1 -0
- package/build/models/AnonCredsRestriction.d.mts +29 -0
- package/build/models/AnonCredsRestriction.d.mts.map +1 -0
- package/build/models/AnonCredsRestriction.mjs +137 -0
- package/build/models/AnonCredsRestriction.mjs.map +1 -0
- package/build/models/AnonCredsRestrictionWrapper.d.mts +9 -0
- package/build/models/AnonCredsRestrictionWrapper.d.mts.map +1 -0
- package/build/models/AnonCredsRestrictionWrapper.mjs +18 -0
- package/build/models/AnonCredsRestrictionWrapper.mjs.map +1 -0
- package/build/models/AnonCredsRevocationInterval.mjs +27 -0
- package/build/models/AnonCredsRevocationInterval.mjs.map +1 -0
- package/build/models/exchange.d.mts +104 -0
- package/build/models/exchange.d.mts.map +1 -0
- package/build/models/exchange.mjs +11 -0
- package/build/models/exchange.mjs.map +1 -0
- package/build/models/index.d.mts +4 -0
- package/build/models/index.mjs +2 -0
- package/build/models/internal.d.mts +40 -0
- package/build/models/internal.d.mts.map +1 -0
- package/build/models/registry.d.mts +44 -0
- package/build/models/registry.d.mts.map +1 -0
- package/build/models/utils.d.mts +27 -0
- package/build/models/utils.d.mts.map +1 -0
- package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts +215 -0
- package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts.map +1 -0
- package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs +827 -0
- package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommCredentialV1AckHandler.mjs +17 -0
- package/build/protocols/credentials/v1/handlers/DidCommCredentialV1AckHandler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommCredentialV1ProblemReportHandler.mjs +17 -0
- package/build/protocols/credentials/v1/handlers/DidCommCredentialV1ProblemReportHandler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommIssueCredentialV1Handler.mjs +36 -0
- package/build/protocols/credentials/v1/handlers/DidCommIssueCredentialV1Handler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommOfferCredentialV1Handler.mjs +32 -0
- package/build/protocols/credentials/v1/handlers/DidCommOfferCredentialV1Handler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommProposeCredentialV1Handler.mjs +35 -0
- package/build/protocols/credentials/v1/handlers/DidCommProposeCredentialV1Handler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/DidCommRequestCredentialV1Handler.mjs +36 -0
- package/build/protocols/credentials/v1/handlers/DidCommRequestCredentialV1Handler.mjs.map +1 -0
- package/build/protocols/credentials/v1/handlers/index.mjs +6 -0
- package/build/protocols/credentials/v1/index.d.mts +9 -0
- package/build/protocols/credentials/v1/index.mjs +9 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.mts +16 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.mjs +21 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts +32 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs +57 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.mts +16 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs +21 -0
- package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts +26 -0
- package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs +46 -0
- package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts +34 -0
- package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs +61 -0
- package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts +64 -0
- package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.mjs +95 -0
- package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts +26 -0
- package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts.map +1 -0
- package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs +46 -0
- package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs.map +1 -0
- package/build/protocols/credentials/v1/messages/index.d.mts +7 -0
- package/build/protocols/credentials/v1/messages/index.mjs +7 -0
- package/build/protocols/index.d.mts +18 -0
- package/build/protocols/index.mjs +18 -0
- package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts +105 -0
- package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts.map +1 -0
- package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs +723 -0
- package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs.map +1 -0
- package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.d.mts +18 -0
- package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.d.mts.map +1 -0
- package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs +19 -0
- package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs.map +1 -0
- package/build/protocols/proofs/v1/errors/index.d.mts +1 -0
- package/build/protocols/proofs/v1/errors/index.mjs +1 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1AckHandler.mjs +17 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1AckHandler.mjs.map +1 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1Handler.mjs +36 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1Handler.mjs.map +1 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1ProblemReportHandler.mjs +16 -0
- package/build/protocols/proofs/v1/handlers/DidCommPresentationV1ProblemReportHandler.mjs.map +1 -0
- package/build/protocols/proofs/v1/handlers/DidCommProposePresentationV1Handler.mjs +35 -0
- package/build/protocols/proofs/v1/handlers/DidCommProposePresentationV1Handler.mjs.map +1 -0
- package/build/protocols/proofs/v1/handlers/DidCommRequestPresentationV1Handler.mjs +32 -0
- package/build/protocols/proofs/v1/handlers/DidCommRequestPresentationV1Handler.mjs.map +1 -0
- package/build/protocols/proofs/v1/handlers/index.mjs +5 -0
- package/build/protocols/proofs/v1/index.d.mts +11 -0
- package/build/protocols/proofs/v1/index.mjs +11 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.mts +12 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.mts.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.mjs +18 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.mjs.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts +38 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs +52 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts +16 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs +21 -0
- package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts +32 -0
- package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.mjs +44 -0
- package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.mjs.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts +36 -0
- package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts.map +1 -0
- package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs +50 -0
- package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs.map +1 -0
- package/build/protocols/proofs/v1/messages/index.d.mts +5 -0
- package/build/protocols/proofs/v1/messages/index.mjs +5 -0
- package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts +57 -0
- package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts.map +1 -0
- package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs +113 -0
- package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs.map +1 -0
- package/build/protocols/proofs/v1/models/index.d.mts +1 -0
- package/build/protocols/proofs/v1/models/index.mjs +1 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.mts +25 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.mjs +26 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.mjs.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.mts +12 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs +28 -0
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionRecord.d.mts +44 -0
- package/build/repository/AnonCredsCredentialDefinitionRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionRecord.mjs +38 -0
- package/build/repository/AnonCredsCredentialDefinitionRecord.mjs.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionRepository.d.mts +12 -0
- package/build/repository/AnonCredsCredentialDefinitionRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialDefinitionRepository.mjs +28 -0
- package/build/repository/AnonCredsCredentialDefinitionRepository.mjs.map +1 -0
- package/build/repository/AnonCredsCredentialRecord.d.mts +53 -0
- package/build/repository/AnonCredsCredentialRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialRecord.mjs +46 -0
- package/build/repository/AnonCredsCredentialRecord.mjs.map +1 -0
- package/build/repository/AnonCredsCredentialRepository.d.mts +14 -0
- package/build/repository/AnonCredsCredentialRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsCredentialRepository.mjs +34 -0
- package/build/repository/AnonCredsCredentialRepository.mjs.map +1 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.mts +25 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.mjs +26 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.mjs.map +1 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.mts +12 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs +28 -0
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs.map +1 -0
- package/build/repository/AnonCredsLinkSecretRecord.d.mts +28 -0
- package/build/repository/AnonCredsLinkSecretRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsLinkSecretRecord.mjs +25 -0
- package/build/repository/AnonCredsLinkSecretRecord.mjs.map +1 -0
- package/build/repository/AnonCredsLinkSecretRepository.d.mts +14 -0
- package/build/repository/AnonCredsLinkSecretRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsLinkSecretRepository.mjs +34 -0
- package/build/repository/AnonCredsLinkSecretRepository.mjs.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.mts +37 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.mjs +35 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.mjs.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.mts +13 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs +34 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.mts +30 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.mjs +27 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.mjs.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.mts +13 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs +31 -0
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs.map +1 -0
- package/build/repository/AnonCredsSchemaRecord.d.mts +44 -0
- package/build/repository/AnonCredsSchemaRecord.d.mts.map +1 -0
- package/build/repository/AnonCredsSchemaRecord.mjs +38 -0
- package/build/repository/AnonCredsSchemaRecord.mjs.map +1 -0
- package/build/repository/AnonCredsSchemaRepository.d.mts +12 -0
- package/build/repository/AnonCredsSchemaRepository.d.mts.map +1 -0
- package/build/repository/AnonCredsSchemaRepository.mjs +28 -0
- package/build/repository/AnonCredsSchemaRepository.mjs.map +1 -0
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.mts +14 -0
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.mts.map +1 -0
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.mjs +10 -0
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.mjs.map +1 -0
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.mts +14 -0
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.mts.map +1 -0
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.mjs +10 -0
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.mjs.map +1 -0
- package/build/repository/anonCredsSchemaRecordMetadataTypes.d.mts +14 -0
- package/build/repository/anonCredsSchemaRecordMetadataTypes.d.mts.map +1 -0
- package/build/repository/index.d.mts +16 -0
- package/build/repository/index.mjs +16 -0
- package/build/services/AnonCredsHolderService.d.mts +28 -0
- package/build/services/AnonCredsHolderService.d.mts.map +1 -0
- package/build/services/AnonCredsHolderService.mjs +6 -0
- package/build/services/AnonCredsHolderService.mjs.map +1 -0
- package/build/services/AnonCredsHolderServiceOptions.d.mts +107 -0
- package/build/services/AnonCredsHolderServiceOptions.d.mts.map +1 -0
- package/build/services/AnonCredsIssuerService.d.mts +19 -0
- package/build/services/AnonCredsIssuerService.d.mts.map +1 -0
- package/build/services/AnonCredsIssuerService.mjs +6 -0
- package/build/services/AnonCredsIssuerService.mjs.map +1 -0
- package/build/services/AnonCredsIssuerServiceOptions.d.mts +66 -0
- package/build/services/AnonCredsIssuerServiceOptions.d.mts.map +1 -0
- package/build/services/AnonCredsVerifierService.d.mts +12 -0
- package/build/services/AnonCredsVerifierService.d.mts.map +1 -0
- package/build/services/AnonCredsVerifierService.mjs +6 -0
- package/build/services/AnonCredsVerifierService.mjs.map +1 -0
- package/build/services/AnonCredsVerifierServiceOptions.d.mts +30 -0
- package/build/services/AnonCredsVerifierServiceOptions.d.mts.map +1 -0
- package/build/services/index.d.mts +17 -0
- package/build/services/index.mjs +7 -0
- package/build/services/registry/AnonCredsRegistry.d.mts +43 -0
- package/build/services/registry/AnonCredsRegistry.d.mts.map +1 -0
- package/build/services/registry/AnonCredsRegistryService.d.mts +27 -0
- package/build/services/registry/AnonCredsRegistryService.d.mts.map +1 -0
- package/build/services/registry/AnonCredsRegistryService.mjs +226 -0
- package/build/services/registry/AnonCredsRegistryService.mjs.map +1 -0
- package/build/services/registry/CredentialDefinitionOptions.d.mts +39 -0
- package/build/services/registry/CredentialDefinitionOptions.d.mts.map +1 -0
- package/build/services/registry/RevocationRegistryDefinitionOptions.d.mts +39 -0
- package/build/services/registry/RevocationRegistryDefinitionOptions.d.mts.map +1 -0
- package/build/services/registry/RevocationStatusListOptions.d.mts +37 -0
- package/build/services/registry/RevocationStatusListOptions.d.mts.map +1 -0
- package/build/services/registry/SchemaOptions.d.mts +39 -0
- package/build/services/registry/SchemaOptions.d.mts.map +1 -0
- package/build/services/registry/base.d.mts +65 -0
- package/build/services/registry/base.d.mts.map +1 -0
- package/build/services/registry/index.d.mts +7 -0
- package/build/services/registry/index.mjs +1 -0
- package/build/services/tails/BasicTailsFileService.d.mts +29 -0
- package/build/services/tails/BasicTailsFileService.d.mts.map +1 -0
- package/build/services/tails/BasicTailsFileService.mjs +52 -0
- package/build/services/tails/BasicTailsFileService.mjs.map +1 -0
- package/build/services/tails/TailsFileService.d.mts +48 -0
- package/build/services/tails/TailsFileService.d.mts.map +1 -0
- package/build/services/tails/index.d.mts +2 -0
- package/build/services/tails/index.mjs +1 -0
- package/build/updates/0.3.1-0.4/credentialDefinition.mjs +49 -0
- package/build/updates/0.3.1-0.4/credentialDefinition.mjs.map +1 -0
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.mjs +118 -0
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.mjs.map +1 -0
- package/build/updates/0.3.1-0.4/index.d.mts +7 -0
- package/build/updates/0.3.1-0.4/index.d.mts.map +1 -0
- package/build/updates/0.3.1-0.4/index.mjs +16 -0
- package/build/updates/0.3.1-0.4/index.mjs.map +1 -0
- package/build/updates/0.3.1-0.4/linkSecret.mjs +21 -0
- package/build/updates/0.3.1-0.4/linkSecret.mjs.map +1 -0
- package/build/updates/0.3.1-0.4/schema.mjs +39 -0
- package/build/updates/0.3.1-0.4/schema.mjs.map +1 -0
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs +126 -0
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs.map +1 -0
- package/build/updates/0.4-0.5/index.d.mts +7 -0
- package/build/updates/0.4-0.5/index.d.mts.map +1 -0
- package/build/updates/0.4-0.5/index.mjs +10 -0
- package/build/updates/0.4-0.5/index.mjs.map +1 -0
- package/build/utils/anonCredsObjects.d.mts +27 -0
- package/build/utils/anonCredsObjects.d.mts.map +1 -0
- package/build/utils/anonCredsObjects.mjs +57 -0
- package/build/utils/anonCredsObjects.mjs.map +1 -0
- package/build/utils/areRequestsEqual.d.mts +1 -0
- package/build/utils/areRequestsEqual.mjs +86 -0
- package/build/utils/areRequestsEqual.mjs.map +1 -0
- package/build/utils/bytesToBigint.mjs +11 -0
- package/build/utils/bytesToBigint.mjs.map +1 -0
- package/build/utils/composeAutoAccept.d.mts +1 -0
- package/build/utils/composeAutoAccept.mjs +25 -0
- package/build/utils/composeAutoAccept.mjs.map +1 -0
- package/build/utils/createRequestFromPreview.d.mts +2 -0
- package/build/utils/createRequestFromPreview.mjs +50 -0
- package/build/utils/createRequestFromPreview.mjs.map +1 -0
- package/build/utils/credential.d.mts +12 -0
- package/build/utils/credential.d.mts.map +1 -0
- package/build/utils/credential.mjs +119 -0
- package/build/utils/credential.mjs.map +1 -0
- package/build/utils/credentialPreviewAttributes.d.mts +1 -0
- package/build/utils/credentialPreviewAttributes.mjs +21 -0
- package/build/utils/credentialPreviewAttributes.mjs.map +1 -0
- package/build/utils/getCredentialsForAnonCredsRequest.d.mts +11 -0
- package/build/utils/getCredentialsForAnonCredsRequest.d.mts.map +1 -0
- package/build/utils/getCredentialsForAnonCredsRequest.mjs +70 -0
- package/build/utils/getCredentialsForAnonCredsRequest.mjs.map +1 -0
- package/build/utils/getRevocationRegistries.d.mts +4 -0
- package/build/utils/getRevocationRegistries.mjs +121 -0
- package/build/utils/getRevocationRegistries.mjs.map +1 -0
- package/build/utils/hasDuplicateGroupNames.d.mts +1 -0
- package/build/utils/hasDuplicateGroupNames.mjs +22 -0
- package/build/utils/hasDuplicateGroupNames.mjs.map +1 -0
- package/build/utils/index.d.mts +17 -0
- package/build/utils/index.mjs +17 -0
- package/build/utils/indyIdentifiers.d.mts +71 -0
- package/build/utils/indyIdentifiers.d.mts.map +1 -0
- package/build/utils/indyIdentifiers.mjs +249 -0
- package/build/utils/indyIdentifiers.mjs.map +1 -0
- package/build/utils/isMap.d.mts +1 -0
- package/build/utils/isMap.mjs +19 -0
- package/build/utils/isMap.mjs.map +1 -0
- package/build/utils/linkSecret.d.mts +13 -0
- package/build/utils/linkSecret.d.mts.map +1 -0
- package/build/utils/linkSecret.mjs +35 -0
- package/build/utils/linkSecret.mjs.map +1 -0
- package/build/utils/metadata.d.mts +30 -0
- package/build/utils/metadata.d.mts.map +1 -0
- package/build/utils/metadata.mjs +23 -0
- package/build/utils/metadata.mjs.map +1 -0
- package/build/utils/proofRequest.mjs +10 -0
- package/build/utils/proofRequest.mjs.map +1 -0
- package/build/utils/proverDid.d.mts +12 -0
- package/build/utils/proverDid.d.mts.map +1 -0
- package/build/utils/proverDid.mjs +17 -0
- package/build/utils/proverDid.mjs.map +1 -0
- package/build/utils/revocationInterval.d.mts +12 -0
- package/build/utils/revocationInterval.d.mts.map +1 -0
- package/build/utils/revocationInterval.mjs +11 -0
- package/build/utils/revocationInterval.mjs.map +1 -0
- package/build/utils/sortRequestedCredentialsMatches.d.mts +1 -0
- package/build/utils/sortRequestedCredentialsMatches.mjs +22 -0
- package/build/utils/sortRequestedCredentialsMatches.mjs.map +1 -0
- package/build/utils/timestamp.d.mts +5 -0
- package/build/utils/timestamp.d.mts.map +1 -0
- package/build/utils/timestamp.mjs +6 -0
- package/build/utils/timestamp.mjs.map +1 -0
- package/build/utils/w3cAnonCredsUtils.d.mts +28 -0
- package/build/utils/w3cAnonCredsUtils.d.mts.map +1 -0
- package/build/utils/w3cAnonCredsUtils.mjs +101 -0
- package/build/utils/w3cAnonCredsUtils.mjs.map +1 -0
- package/package.json +20 -21
- package/build/AnonCredsApi.d.ts +0 -97
- package/build/AnonCredsApi.js +0 -582
- package/build/AnonCredsApi.js.map +0 -1
- package/build/AnonCredsApiOptions.d.ts +0 -24
- package/build/AnonCredsApiOptions.js +0 -3
- package/build/AnonCredsApiOptions.js.map +0 -1
- package/build/AnonCredsModule.d.ts +0 -24
- package/build/AnonCredsModule.js +0 -56
- package/build/AnonCredsModule.js.map +0 -1
- package/build/AnonCredsModuleConfig.d.ts +0 -72
- package/build/AnonCredsModuleConfig.js +0 -31
- package/build/AnonCredsModuleConfig.js.map +0 -1
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.d.ts +0 -27
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.js +0 -241
- package/build/anoncreds-rs/AnonCredsDataIntegrityService.js.map +0 -1
- package/build/anoncreds-rs/AnonCredsRsHolderService.d.ts +0 -38
- package/build/anoncreds-rs/AnonCredsRsHolderService.js +0 -622
- package/build/anoncreds-rs/AnonCredsRsHolderService.js.map +0 -1
- package/build/anoncreds-rs/AnonCredsRsIssuerService.d.ts +0 -12
- package/build/anoncreds-rs/AnonCredsRsIssuerService.js +0 -253
- package/build/anoncreds-rs/AnonCredsRsIssuerService.js.map +0 -1
- package/build/anoncreds-rs/AnonCredsRsVerifierService.d.ts +0 -8
- package/build/anoncreds-rs/AnonCredsRsVerifierService.js +0 -157
- package/build/anoncreds-rs/AnonCredsRsVerifierService.js.map +0 -1
- package/build/anoncreds-rs/index.d.ts +0 -3
- package/build/anoncreds-rs/index.js +0 -10
- package/build/anoncreds-rs/index.js.map +0 -1
- package/build/anoncreds-rs/utils.d.ts +0 -23
- package/build/anoncreds-rs/utils.js +0 -71
- package/build/anoncreds-rs/utils.js.map +0 -1
- package/build/error/AnonCredsError.d.ts +0 -6
- package/build/error/AnonCredsError.js +0 -11
- package/build/error/AnonCredsError.js.map +0 -1
- package/build/error/AnonCredsRsError.d.ts +0 -6
- package/build/error/AnonCredsRsError.js +0 -11
- package/build/error/AnonCredsRsError.js.map +0 -1
- package/build/error/AnonCredsStoreRecordError.d.ts +0 -6
- package/build/error/AnonCredsStoreRecordError.js +0 -11
- package/build/error/AnonCredsStoreRecordError.js.map +0 -1
- package/build/error/index.d.ts +0 -3
- package/build/error/index.js +0 -20
- package/build/error/index.js.map +0 -1
- package/build/formats/AnonCredsCredentialFormat.d.ts +0 -79
- package/build/formats/AnonCredsCredentialFormat.js +0 -3
- package/build/formats/AnonCredsCredentialFormat.js.map +0 -1
- package/build/formats/AnonCredsCredentialFormatService.d.ts +0 -80
- package/build/formats/AnonCredsCredentialFormatService.js +0 -433
- package/build/formats/AnonCredsCredentialFormatService.js.map +0 -1
- package/build/formats/AnonCredsProofFormat.d.ts +0 -70
- package/build/formats/AnonCredsProofFormat.js +0 -3
- package/build/formats/AnonCredsProofFormat.js.map +0 -1
- package/build/formats/AnonCredsProofFormatService.d.ts +0 -55
- package/build/formats/AnonCredsProofFormatService.js +0 -289
- package/build/formats/AnonCredsProofFormatService.js.map +0 -1
- package/build/formats/DataIntegrityCredentialFormatService.d.ts +0 -89
- package/build/formats/DataIntegrityCredentialFormatService.js +0 -773
- package/build/formats/DataIntegrityCredentialFormatService.js.map +0 -1
- package/build/formats/LegacyIndyCredentialFormat.d.ts +0 -32
- package/build/formats/LegacyIndyCredentialFormat.js +0 -3
- package/build/formats/LegacyIndyCredentialFormat.js.map +0 -1
- package/build/formats/LegacyIndyCredentialFormatService.d.ts +0 -80
- package/build/formats/LegacyIndyCredentialFormatService.js +0 -379
- package/build/formats/LegacyIndyCredentialFormatService.js.map +0 -1
- package/build/formats/LegacyIndyProofFormat.d.ts +0 -29
- package/build/formats/LegacyIndyProofFormat.js +0 -3
- package/build/formats/LegacyIndyProofFormat.js.map +0 -1
- package/build/formats/LegacyIndyProofFormatService.d.ts +0 -58
- package/build/formats/LegacyIndyProofFormatService.js +0 -374
- package/build/formats/LegacyIndyProofFormatService.js.map +0 -1
- package/build/formats/index.d.ts +0 -9
- package/build/formats/index.js +0 -32
- package/build/formats/index.js.map +0 -1
- package/build/index.d.ts +0 -21
- package/build/index.js +0 -54
- package/build/index.js.map +0 -1
- package/build/models/AnonCredsCredentialProposal.d.ts +0 -62
- package/build/models/AnonCredsCredentialProposal.js +0 -81
- package/build/models/AnonCredsCredentialProposal.js.map +0 -1
- package/build/models/AnonCredsProofRequest.d.ts +0 -27
- package/build/models/AnonCredsProofRequest.js +0 -82
- package/build/models/AnonCredsProofRequest.js.map +0 -1
- package/build/models/AnonCredsRequestedAttribute.d.ts +0 -16
- package/build/models/AnonCredsRequestedAttribute.js +0 -56
- package/build/models/AnonCredsRequestedAttribute.js.map +0 -1
- package/build/models/AnonCredsRequestedPredicate.d.ts +0 -19
- package/build/models/AnonCredsRequestedPredicate.js +0 -61
- package/build/models/AnonCredsRequestedPredicate.js.map +0 -1
- package/build/models/AnonCredsRestriction.d.ts +0 -55
- package/build/models/AnonCredsRestriction.js +0 -160
- package/build/models/AnonCredsRestriction.js.map +0 -1
- package/build/models/AnonCredsRestrictionWrapper.d.ts +0 -4
- package/build/models/AnonCredsRestrictionWrapper.js +0 -25
- package/build/models/AnonCredsRestrictionWrapper.js.map +0 -1
- package/build/models/AnonCredsRevocationInterval.d.ts +0 -5
- package/build/models/AnonCredsRevocationInterval.js +0 -33
- package/build/models/AnonCredsRevocationInterval.js.map +0 -1
- package/build/models/exchange.d.ts +0 -99
- package/build/models/exchange.js +0 -5
- package/build/models/exchange.js.map +0 -1
- package/build/models/index.d.ts +0 -4
- package/build/models/index.js +0 -21
- package/build/models/index.js.map +0 -1
- package/build/models/internal.d.ts +0 -35
- package/build/models/internal.js +0 -3
- package/build/models/internal.js.map +0 -1
- package/build/models/registry.d.ts +0 -39
- package/build/models/registry.js +0 -3
- package/build/models/registry.js.map +0 -1
- package/build/models/utils.d.ts +0 -22
- package/build/models/utils.js +0 -3
- package/build/models/utils.js.map +0 -1
- package/build/protocols/credentials/v1/V1CredentialProtocol.d.ts +0 -162
- package/build/protocols/credentials/v1/V1CredentialProtocol.js +0 -948
- package/build/protocols/credentials/v1/V1CredentialProtocol.js.map +0 -1
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.d.ts +0 -10
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js +0 -18
- package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js.map +0 -1
- package/build/protocols/credentials/v1/errors/index.d.ts +0 -1
- package/build/protocols/credentials/v1/errors/index.js +0 -6
- package/build/protocols/credentials/v1/errors/index.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.d.ts +0 -9
- package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.js +0 -15
- package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.d.ts +0 -9
- package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.js +0 -15
- package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.d.ts +0 -10
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js +0 -40
- package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.d.ts +0 -10
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js +0 -33
- package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.d.ts +0 -10
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js +0 -38
- package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.d.ts +0 -10
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js +0 -40
- package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js.map +0 -1
- package/build/protocols/credentials/v1/handlers/index.d.ts +0 -6
- package/build/protocols/credentials/v1/handlers/index.js +0 -23
- package/build/protocols/credentials/v1/handlers/index.js.map +0 -1
- package/build/protocols/credentials/v1/index.d.ts +0 -2
- package/build/protocols/credentials/v1/index.js +0 -19
- package/build/protocols/credentials/v1/index.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.d.ts +0 -16
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js +0 -34
- package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.d.ts +0 -26
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.js +0 -69
- package/build/protocols/credentials/v1/messages/V1CredentialPreview.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.d.ts +0 -16
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js +0 -34
- package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.d.ts +0 -19
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js +0 -62
- package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.d.ts +0 -27
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js +0 -75
- package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.d.ts +0 -59
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js +0 -109
- package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.d.ts +0 -19
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js +0 -61
- package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js.map +0 -1
- package/build/protocols/credentials/v1/messages/index.d.ts +0 -7
- package/build/protocols/credentials/v1/messages/index.js +0 -24
- package/build/protocols/credentials/v1/messages/index.js.map +0 -1
- package/build/protocols/index.d.ts +0 -2
- package/build/protocols/index.js +0 -19
- package/build/protocols/index.js.map +0 -1
- package/build/protocols/proofs/v1/V1ProofProtocol.d.ts +0 -50
- package/build/protocols/proofs/v1/V1ProofProtocol.js +0 -864
- package/build/protocols/proofs/v1/V1ProofProtocol.js.map +0 -1
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.d.ts +0 -12
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js +0 -19
- package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js.map +0 -1
- package/build/protocols/proofs/v1/errors/index.d.ts +0 -1
- package/build/protocols/proofs/v1/errors/index.js +0 -18
- package/build/protocols/proofs/v1/errors/index.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.d.ts +0 -9
- package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.js +0 -15
- package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.d.ts +0 -10
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js +0 -40
- package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.d.ts +0 -9
- package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.js +0 -15
- package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.d.ts +0 -11
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js +0 -38
- package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.d.ts +0 -10
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js +0 -35
- package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js.map +0 -1
- package/build/protocols/proofs/v1/handlers/index.d.ts +0 -5
- package/build/protocols/proofs/v1/handlers/index.js +0 -22
- package/build/protocols/proofs/v1/handlers/index.js.map +0 -1
- package/build/protocols/proofs/v1/index.d.ts +0 -4
- package/build/protocols/proofs/v1/index.js +0 -21
- package/build/protocols/proofs/v1/index.js.map +0 -1
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.d.ts +0 -8
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js +0 -27
- package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js.map +0 -1
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.d.ts +0 -31
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.js +0 -67
- package/build/protocols/proofs/v1/messages/V1PresentationMessage.js.map +0 -1
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.d.ts +0 -16
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js +0 -34
- package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js.map +0 -1
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.d.ts +0 -26
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js +0 -53
- package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js.map +0 -1
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.d.ts +0 -29
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js +0 -65
- package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js.map +0 -1
- package/build/protocols/proofs/v1/messages/index.d.ts +0 -5
- package/build/protocols/proofs/v1/messages/index.js +0 -22
- package/build/protocols/proofs/v1/messages/index.js.map +0 -1
- package/build/protocols/proofs/v1/models/V1PresentationPreview.d.ts +0 -50
- package/build/protocols/proofs/v1/models/V1PresentationPreview.js +0 -130
- package/build/protocols/proofs/v1/models/V1PresentationPreview.js.map +0 -1
- package/build/protocols/proofs/v1/models/index.d.ts +0 -1
- package/build/protocols/proofs/v1/models/index.js +0 -18
- package/build/protocols/proofs/v1/models/index.js.map +0 -1
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.ts +0 -21
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js +0 -23
- package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js.map +0 -1
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.ts +0 -8
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.js +0 -35
- package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.js.map +0 -1
- package/build/repository/AnonCredsCredentialDefinitionRecord.d.ts +0 -39
- package/build/repository/AnonCredsCredentialDefinitionRecord.js +0 -30
- package/build/repository/AnonCredsCredentialDefinitionRecord.js.map +0 -1
- package/build/repository/AnonCredsCredentialDefinitionRepository.d.ts +0 -8
- package/build/repository/AnonCredsCredentialDefinitionRepository.js +0 -53
- package/build/repository/AnonCredsCredentialDefinitionRepository.js.map +0 -1
- package/build/repository/AnonCredsCredentialRecord.d.ts +0 -48
- package/build/repository/AnonCredsCredentialRecord.js +0 -37
- package/build/repository/AnonCredsCredentialRecord.js.map +0 -1
- package/build/repository/AnonCredsCredentialRepository.d.ts +0 -10
- package/build/repository/AnonCredsCredentialRepository.js +0 -41
- package/build/repository/AnonCredsCredentialRepository.js.map +0 -1
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.ts +0 -21
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.js +0 -23
- package/build/repository/AnonCredsKeyCorrectnessProofRecord.js.map +0 -1
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.ts +0 -8
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.js +0 -35
- package/build/repository/AnonCredsKeyCorrectnessProofRepository.js.map +0 -1
- package/build/repository/AnonCredsLinkSecretRecord.d.ts +0 -23
- package/build/repository/AnonCredsLinkSecretRecord.js +0 -22
- package/build/repository/AnonCredsLinkSecretRecord.js.map +0 -1
- package/build/repository/AnonCredsLinkSecretRepository.d.ts +0 -10
- package/build/repository/AnonCredsLinkSecretRepository.js +0 -41
- package/build/repository/AnonCredsLinkSecretRepository.js.map +0 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.ts +0 -34
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js +0 -30
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js.map +0 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.ts +0 -10
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js +0 -38
- package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js.map +0 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.ts +0 -25
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js +0 -23
- package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js.map +0 -1
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.ts +0 -9
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.js +0 -38
- package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.js.map +0 -1
- package/build/repository/AnonCredsSchemaRecord.d.ts +0 -39
- package/build/repository/AnonCredsSchemaRecord.js +0 -30
- package/build/repository/AnonCredsSchemaRecord.js.map +0 -1
- package/build/repository/AnonCredsSchemaRepository.d.ts +0 -8
- package/build/repository/AnonCredsSchemaRepository.js +0 -53
- package/build/repository/AnonCredsSchemaRepository.js.map +0 -1
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.ts +0 -9
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.js +0 -9
- package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.js.map +0 -1
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.ts +0 -9
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.js +0 -9
- package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.js.map +0 -1
- package/build/repository/anonCredsSchemaRecordMetadataTypes.d.ts +0 -9
- package/build/repository/anonCredsSchemaRecordMetadataTypes.js +0 -9
- package/build/repository/anonCredsSchemaRecordMetadataTypes.js.map +0 -1
- package/build/repository/index.d.ts +0 -16
- package/build/repository/index.js +0 -33
- package/build/repository/index.js.map +0 -1
- package/build/services/AnonCredsHolderService.d.ts +0 -18
- package/build/services/AnonCredsHolderService.js +0 -5
- package/build/services/AnonCredsHolderService.js.map +0 -1
- package/build/services/AnonCredsHolderServiceOptions.d.ts +0 -101
- package/build/services/AnonCredsHolderServiceOptions.js +0 -3
- package/build/services/AnonCredsHolderServiceOptions.js.map +0 -1
- package/build/services/AnonCredsIssuerService.d.ts +0 -14
- package/build/services/AnonCredsIssuerService.js +0 -5
- package/build/services/AnonCredsIssuerService.js.map +0 -1
- package/build/services/AnonCredsIssuerServiceOptions.d.ts +0 -61
- package/build/services/AnonCredsIssuerServiceOptions.js +0 -3
- package/build/services/AnonCredsIssuerServiceOptions.js.map +0 -1
- package/build/services/AnonCredsVerifierService.d.ts +0 -7
- package/build/services/AnonCredsVerifierService.js +0 -5
- package/build/services/AnonCredsVerifierService.js.map +0 -1
- package/build/services/AnonCredsVerifierServiceOptions.d.ts +0 -25
- package/build/services/AnonCredsVerifierServiceOptions.js +0 -3
- package/build/services/AnonCredsVerifierServiceOptions.js.map +0 -1
- package/build/services/index.d.ts +0 -8
- package/build/services/index.js +0 -27
- package/build/services/index.js.map +0 -1
- package/build/services/registry/AnonCredsRegistry.d.ts +0 -25
- package/build/services/registry/AnonCredsRegistry.js +0 -3
- package/build/services/registry/AnonCredsRegistry.js.map +0 -1
- package/build/services/registry/AnonCredsRegistryService.d.ts +0 -10
- package/build/services/registry/AnonCredsRegistryService.js +0 -33
- package/build/services/registry/AnonCredsRegistryService.js.map +0 -1
- package/build/services/registry/CredentialDefinitionOptions.d.ts +0 -34
- package/build/services/registry/CredentialDefinitionOptions.js +0 -3
- package/build/services/registry/CredentialDefinitionOptions.js.map +0 -1
- package/build/services/registry/RevocationRegistryDefinitionOptions.d.ts +0 -34
- package/build/services/registry/RevocationRegistryDefinitionOptions.js +0 -3
- package/build/services/registry/RevocationRegistryDefinitionOptions.js.map +0 -1
- package/build/services/registry/RevocationStatusListOptions.d.ts +0 -32
- package/build/services/registry/RevocationStatusListOptions.js +0 -3
- package/build/services/registry/RevocationStatusListOptions.js.map +0 -1
- package/build/services/registry/SchemaOptions.d.ts +0 -34
- package/build/services/registry/SchemaOptions.js +0 -3
- package/build/services/registry/SchemaOptions.js.map +0 -1
- package/build/services/registry/base.d.ts +0 -19
- package/build/services/registry/base.js +0 -3
- package/build/services/registry/base.js.map +0 -1
- package/build/services/registry/index.d.ts +0 -7
- package/build/services/registry/index.js +0 -23
- package/build/services/registry/index.js.map +0 -1
- package/build/services/tails/BasicTailsFileService.d.ts +0 -23
- package/build/services/tails/BasicTailsFileService.js +0 -65
- package/build/services/tails/BasicTailsFileService.js.map +0 -1
- package/build/services/tails/TailsFileService.d.ts +0 -42
- package/build/services/tails/TailsFileService.js +0 -3
- package/build/services/tails/TailsFileService.js.map +0 -1
- package/build/services/tails/index.d.ts +0 -2
- package/build/services/tails/index.js +0 -19
- package/build/services/tails/index.js.map +0 -1
- package/build/updates/0.3.1-0.4/credentialDefinition.d.ts +0 -18
- package/build/updates/0.3.1-0.4/credentialDefinition.js +0 -56
- package/build/updates/0.3.1-0.4/credentialDefinition.js.map +0 -1
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.d.ts +0 -69
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.js +0 -121
- package/build/updates/0.3.1-0.4/credentialExchangeRecord.js.map +0 -1
- package/build/updates/0.3.1-0.4/index.d.ts +0 -2
- package/build/updates/0.3.1-0.4/index.js +0 -14
- package/build/updates/0.3.1-0.4/index.js.map +0 -1
- package/build/updates/0.3.1-0.4/linkSecret.d.ts +0 -6
- package/build/updates/0.3.1-0.4/linkSecret.js +0 -35
- package/build/updates/0.3.1-0.4/linkSecret.js.map +0 -1
- package/build/updates/0.3.1-0.4/schema.d.ts +0 -15
- package/build/updates/0.3.1-0.4/schema.js +0 -41
- package/build/updates/0.3.1-0.4/schema.js.map +0 -1
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.d.ts +0 -5
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.js +0 -149
- package/build/updates/0.4-0.5/anonCredsCredentialRecord.js.map +0 -1
- package/build/updates/0.4-0.5/index.d.ts +0 -2
- package/build/updates/0.4-0.5/index.js +0 -8
- package/build/updates/0.4-0.5/index.js.map +0 -1
- package/build/utils/anonCredsObjects.d.ts +0 -26
- package/build/utils/anonCredsObjects.js +0 -81
- package/build/utils/anonCredsObjects.js.map +0 -1
- package/build/utils/areRequestsEqual.d.ts +0 -6
- package/build/utils/areRequestsEqual.js +0 -135
- package/build/utils/areRequestsEqual.js.map +0 -1
- package/build/utils/composeAutoAccept.d.ts +0 -15
- package/build/utils/composeAutoAccept.js +0 -26
- package/build/utils/composeAutoAccept.js.map +0 -1
- package/build/utils/createRequestFromPreview.d.ts +0 -10
- package/build/utils/createRequestFromPreview.js +0 -71
- package/build/utils/createRequestFromPreview.js.map +0 -1
- package/build/utils/credential.d.ts +0 -68
- package/build/utils/credential.js +0 -188
- package/build/utils/credential.js.map +0 -1
- package/build/utils/credentialPreviewAttributes.d.ts +0 -2
- package/build/utils/credentialPreviewAttributes.js +0 -24
- package/build/utils/credentialPreviewAttributes.js.map +0 -1
- package/build/utils/getCredentialsForAnonCredsRequest.d.ts +0 -4
- package/build/utils/getCredentialsForAnonCredsRequest.js +0 -81
- package/build/utils/getCredentialsForAnonCredsRequest.js.map +0 -1
- package/build/utils/getRevocationRegistries.d.ts +0 -14
- package/build/utils/getRevocationRegistries.js +0 -151
- package/build/utils/getRevocationRegistries.js.map +0 -1
- package/build/utils/hasDuplicateGroupNames.d.ts +0 -2
- package/build/utils/hasDuplicateGroupNames.js +0 -22
- package/build/utils/hasDuplicateGroupNames.js.map +0 -1
- package/build/utils/index.d.ts +0 -17
- package/build/utils/index.js +0 -48
- package/build/utils/index.js.map +0 -1
- package/build/utils/indyIdentifiers.d.ts +0 -66
- package/build/utils/indyIdentifiers.js +0 -298
- package/build/utils/indyIdentifiers.js.map +0 -1
- package/build/utils/isMap.d.ts +0 -5
- package/build/utils/isMap.js +0 -17
- package/build/utils/isMap.js.map +0 -1
- package/build/utils/linkSecret.d.ts +0 -9
- package/build/utils/linkSecret.js +0 -43
- package/build/utils/linkSecret.js.map +0 -1
- package/build/utils/metadata.d.ts +0 -35
- package/build/utils/metadata.js +0 -24
- package/build/utils/metadata.js.map +0 -1
- package/build/utils/proofRequest.d.ts +0 -2
- package/build/utils/proofRequest.js +0 -21
- package/build/utils/proofRequest.js.map +0 -1
- package/build/utils/proverDid.d.ts +0 -8
- package/build/utils/proverDid.js +0 -15
- package/build/utils/proverDid.js.map +0 -1
- package/build/utils/revocationInterval.d.ts +0 -7
- package/build/utils/revocationInterval.js +0 -14
- package/build/utils/revocationInterval.js.map +0 -1
- package/build/utils/sortRequestedCredentialsMatches.d.ts +0 -8
- package/build/utils/sortRequestedCredentialsMatches.js +0 -31
- package/build/utils/sortRequestedCredentialsMatches.js.map +0 -1
- package/build/utils/timestamp.d.ts +0 -1
- package/build/utils/timestamp.js +0 -7
- package/build/utils/timestamp.js.map +0 -1
- package/build/utils/w3cAnonCredsUtils.d.ts +0 -37
- package/build/utils/w3cAnonCredsUtils.js +0 -132
- package/build/utils/w3cAnonCredsUtils.js.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommProblemReportMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.ts
|
|
6
|
+
/**
|
|
7
|
+
* @see https://github.com/hyperledger/aries-rfcs/blob/main/features/0035-report-problem/README.md
|
|
8
|
+
*/
|
|
9
|
+
var DidCommCredentialV1ProblemReportMessage = class DidCommCredentialV1ProblemReportMessage extends DidCommProblemReportMessage {
|
|
10
|
+
constructor(..._args) {
|
|
11
|
+
super(..._args);
|
|
12
|
+
this.allowDidSovPrefix = true;
|
|
13
|
+
this.type = DidCommCredentialV1ProblemReportMessage.type.messageTypeUri;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
DidCommCredentialV1ProblemReportMessage.type = parseMessageType("https://didcomm.org/issue-credential/1.0/problem-report");
|
|
17
|
+
__decorate([IsValidMessageType(DidCommCredentialV1ProblemReportMessage.type), __decorateMetadata("design:type", Object)], DidCommCredentialV1ProblemReportMessage.prototype, "type", void 0);
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { DidCommCredentialV1ProblemReportMessage };
|
|
21
|
+
//# sourceMappingURL=DidCommCredentialV1ProblemReportMessage.mjs.map
|
package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommCredentialV1ProblemReportMessage.mjs","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.ts"],"sourcesContent":["import type { DidCommProblemReportMessageOptions } from '@credo-ts/didcomm'\n\nimport { DidCommProblemReportMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\n\nexport type V1CredentialProblemReportMessageOptions = DidCommProblemReportMessageOptions\n\n/**\n * @see https://github.com/hyperledger/aries-rfcs/blob/main/features/0035-report-problem/README.md\n */\nexport class DidCommCredentialV1ProblemReportMessage extends DidCommProblemReportMessage {\n public readonly allowDidSovPrefix = true\n\n @IsValidMessageType(DidCommCredentialV1ProblemReportMessage.type)\n public readonly type = DidCommCredentialV1ProblemReportMessage.type.messageTypeUri\n public static readonly type = parseMessageType('https://didcomm.org/issue-credential/1.0/problem-report')\n}\n"],"mappings":";;;;;;;;AASA,IAAa,0CAAb,MAAa,gDAAgD,4BAA4B;;;OACvE,oBAAoB;OAGpB,OAAO,wCAAwC,KAAK;;;wCAC7C,OAAO,iBAAiB,0DAA0D;YAFxG,mBAAmB,wCAAwC,KAAK"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AnonCredsCredential } from "../../../../models/exchange.mjs";
|
|
2
|
+
import "../../../../models/index.mjs";
|
|
3
|
+
import * as _credo_ts_didcomm9 from "@credo-ts/didcomm";
|
|
4
|
+
import { DidCommAttachment, DidCommMessage } from "@credo-ts/didcomm";
|
|
5
|
+
|
|
6
|
+
//#region src/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.ts
|
|
7
|
+
declare const INDY_CREDENTIAL_ATTACHMENT_ID = "libindy-cred-0";
|
|
8
|
+
interface V1IssueCredentialMessageOptions {
|
|
9
|
+
id?: string;
|
|
10
|
+
comment?: string;
|
|
11
|
+
credentialAttachments: DidCommAttachment[];
|
|
12
|
+
attachments?: DidCommAttachment[];
|
|
13
|
+
}
|
|
14
|
+
declare class DidCommIssueCredentialV1Message extends DidCommMessage {
|
|
15
|
+
readonly allowDidSovPrefix = true;
|
|
16
|
+
constructor(options: V1IssueCredentialMessageOptions);
|
|
17
|
+
readonly type: string;
|
|
18
|
+
static readonly type: _credo_ts_didcomm9.ParsedMessageType;
|
|
19
|
+
comment?: string;
|
|
20
|
+
credentialAttachments: DidCommAttachment[];
|
|
21
|
+
get indyCredential(): AnonCredsCredential | null;
|
|
22
|
+
getCredentialAttachmentById(id: string): DidCommAttachment | undefined;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID, V1IssueCredentialMessageOptions };
|
|
26
|
+
//# sourceMappingURL=DidCommIssueCredentialV1Message.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommIssueCredentialV1Message.d.mts","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,6BAAA;UAEI,+BAAA;;;EAFJ,qBAAA,EAKY,iBALiB,EAAA;EAEzB,WAAA,CAAA,EAID,iBAJC,EAAA;AAOjB;AAG8B,cAHjB,+BAAA,SAAwC,cAAA,CAGvB;EAA+B,SAAA,iBAahC,GAAA,IAAA;EAaI,WAAA,CAAA,OAAA,EA1BH,+BA0BG;EAEF,SAAA,IAAA,EAAA,MAAA;EASmB,gBAAA,IAAA,EArCW,kBAAA,CAahC,iBAwBqB;EAxCG,OAAA,CAAA,EAAA,MAAA;EAAc,qBAAA,EA6BlC,iBA7BkC,EAAA;wBA+BpC;2CASmB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
import { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from "class-validator";
|
|
5
|
+
import { Expose, Type } from "class-transformer";
|
|
6
|
+
|
|
7
|
+
//#region src/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.ts
|
|
8
|
+
const INDY_CREDENTIAL_ATTACHMENT_ID = "libindy-cred-0";
|
|
9
|
+
var DidCommIssueCredentialV1Message = class DidCommIssueCredentialV1Message extends DidCommMessage {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
super();
|
|
12
|
+
this.allowDidSovPrefix = true;
|
|
13
|
+
this.type = DidCommIssueCredentialV1Message.type.messageTypeUri;
|
|
14
|
+
if (options) {
|
|
15
|
+
this.id = options.id ?? this.generateId();
|
|
16
|
+
this.comment = options.comment;
|
|
17
|
+
this.credentialAttachments = options.credentialAttachments;
|
|
18
|
+
this.appendedAttachments = options.attachments;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
get indyCredential() {
|
|
22
|
+
return this.credentialAttachments.find((attachment) => attachment.id === INDY_CREDENTIAL_ATTACHMENT_ID)?.getDataAsJson() ?? null;
|
|
23
|
+
}
|
|
24
|
+
getCredentialAttachmentById(id) {
|
|
25
|
+
return this.credentialAttachments.find((attachment) => attachment.id === id);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
DidCommIssueCredentialV1Message.type = parseMessageType("https://didcomm.org/issue-credential/1.0/issue-credential");
|
|
29
|
+
__decorate([IsValidMessageType(DidCommIssueCredentialV1Message.type), __decorateMetadata("design:type", Object)], DidCommIssueCredentialV1Message.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
IsString(),
|
|
32
|
+
IsOptional(),
|
|
33
|
+
__decorateMetadata("design:type", String)
|
|
34
|
+
], DidCommIssueCredentialV1Message.prototype, "comment", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
Expose({ name: "credentials~attach" }),
|
|
37
|
+
Type(() => DidCommAttachment),
|
|
38
|
+
IsArray(),
|
|
39
|
+
ValidateNested({ each: true }),
|
|
40
|
+
IsInstance(DidCommAttachment, { each: true }),
|
|
41
|
+
__decorateMetadata("design:type", Array)
|
|
42
|
+
], DidCommIssueCredentialV1Message.prototype, "credentialAttachments", void 0);
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID };
|
|
46
|
+
//# sourceMappingURL=DidCommIssueCredentialV1Message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommIssueCredentialV1Message.mjs","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.ts"],"sourcesContent":["import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\nimport { Expose, Type } from 'class-transformer'\nimport { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from 'class-validator'\nimport type { AnonCredsCredential } from '../../../../models'\n\nexport const INDY_CREDENTIAL_ATTACHMENT_ID = 'libindy-cred-0'\n\nexport interface V1IssueCredentialMessageOptions {\n id?: string\n comment?: string\n credentialAttachments: DidCommAttachment[]\n attachments?: DidCommAttachment[]\n}\n\nexport class DidCommIssueCredentialV1Message extends DidCommMessage {\n public readonly allowDidSovPrefix = true\n\n public constructor(options: V1IssueCredentialMessageOptions) {\n super()\n\n if (options) {\n this.id = options.id ?? this.generateId()\n this.comment = options.comment\n this.credentialAttachments = options.credentialAttachments\n this.appendedAttachments = options.attachments\n }\n }\n\n @IsValidMessageType(DidCommIssueCredentialV1Message.type)\n public readonly type = DidCommIssueCredentialV1Message.type.messageTypeUri\n public static readonly type = parseMessageType('https://didcomm.org/issue-credential/1.0/issue-credential')\n\n @IsString()\n @IsOptional()\n public comment?: string\n\n @Expose({ name: 'credentials~attach' })\n @Type(() => DidCommAttachment)\n @IsArray()\n @ValidateNested({\n each: true,\n })\n @IsInstance(DidCommAttachment, { each: true })\n public credentialAttachments!: DidCommAttachment[]\n\n public get indyCredential(): AnonCredsCredential | null {\n const attachment = this.credentialAttachments.find((attachment) => attachment.id === INDY_CREDENTIAL_ATTACHMENT_ID)\n\n // Extract credential from attachment\n const credentialJson = attachment?.getDataAsJson<AnonCredsCredential>() ?? null\n\n return credentialJson\n }\n\n public getCredentialAttachmentById(id: string): DidCommAttachment | undefined {\n return this.credentialAttachments.find((attachment) => attachment.id === id)\n }\n}\n"],"mappings":";;;;;;;AAKA,MAAa,gCAAgC;AAS7C,IAAa,kCAAb,MAAa,wCAAwC,eAAe;CAGlE,AAAO,YAAY,SAA0C;AAC3D,SAAO;OAHO,oBAAoB;OAcpB,OAAO,gCAAgC,KAAK;AAT1D,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,UAAU,QAAQ;AACvB,QAAK,wBAAwB,QAAQ;AACrC,QAAK,sBAAsB,QAAQ;;;CAqBvC,IAAW,iBAA6C;AAMtD,SALmB,KAAK,sBAAsB,MAAM,eAAe,WAAW,OAAO,8BAA8B,EAGhF,eAAoC,IAAI;;CAK7E,AAAO,4BAA4B,IAA2C;AAC5E,SAAO,KAAK,sBAAsB,MAAM,eAAe,WAAW,OAAO,GAAG;;;gCAzBvD,OAAO,iBAAiB,4DAA4D;YAF1G,mBAAmB,gCAAgC,KAAK;;CAIxD,UAAU;CACV,YAAY;;;;CAGZ,OAAO,EAAE,MAAM,sBAAsB,CAAC;CACtC,WAAW,kBAAkB;CAC7B,SAAS;CACT,eAAe,EACd,MAAM,MACP,CAAC;CACD,WAAW,mBAAmB,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AnonCredsCredentialOffer } from "../../../../models/exchange.mjs";
|
|
2
|
+
import "../../../../models/index.mjs";
|
|
3
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
4
|
+
import * as _credo_ts_didcomm10 from "@credo-ts/didcomm";
|
|
5
|
+
import { DidCommAttachment, DidCommMessage } from "@credo-ts/didcomm";
|
|
6
|
+
|
|
7
|
+
//#region src/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.ts
|
|
8
|
+
declare const INDY_CREDENTIAL_OFFER_ATTACHMENT_ID = "libindy-cred-offer-0";
|
|
9
|
+
interface DidCommOfferCredentialV1Message {
|
|
10
|
+
id?: string;
|
|
11
|
+
comment?: string;
|
|
12
|
+
offerAttachments: DidCommAttachment[];
|
|
13
|
+
credentialPreview: DidCommCredentialV1Preview;
|
|
14
|
+
attachments?: DidCommAttachment[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Message part of Issue Credential Protocol used to continue or initiate credential exchange by issuer.
|
|
18
|
+
*
|
|
19
|
+
* @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#offer-credential
|
|
20
|
+
*/
|
|
21
|
+
declare class V1OfferCredentialMessage extends DidCommMessage {
|
|
22
|
+
readonly allowDidSovPrefix = true;
|
|
23
|
+
constructor(options: DidCommOfferCredentialV1Message);
|
|
24
|
+
readonly type: string;
|
|
25
|
+
static readonly type: _credo_ts_didcomm10.ParsedMessageType;
|
|
26
|
+
comment?: string;
|
|
27
|
+
credentialPreview: DidCommCredentialV1Preview;
|
|
28
|
+
offerAttachments: DidCommAttachment[];
|
|
29
|
+
get indyCredentialOffer(): AnonCredsCredentialOffer | null;
|
|
30
|
+
getOfferAttachmentById(id: string): DidCommAttachment | undefined;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { DidCommOfferCredentialV1Message, INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage };
|
|
34
|
+
//# sourceMappingURL=DidCommOfferCredentialV1Message.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommOfferCredentialV1Message.d.mts","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.ts"],"sourcesContent":[],"mappings":";;;;;;;cAOa,mCAAA;UAEI,+BAAA;;;EAFJ,gBAAA,EAKO,iBALP,EAAA;EAEI,iBAAA,EAII,0BAJ2B;EAG5B,WAAA,CAAA,EAEJ,iBAFI,EAAA;;;;AAUpB;;;AA2B6B,cA3BhB,wBAAA,SAAiC,cAAA,CA2BjB;EASD,SAAA,iBAAA,GAAA,IAAA;EAEQ,WAAA,CAAA,OAAA,EAnCN,+BAmCM;EASS,SAAA,IAAA,EAAA,MAAA;EA/CC,gBAAA,IAAA,EAGe,mBAAA,CAchC,iBAjBiB;EAAc,OAAA,CAAA,EAAA,MAAA;qBA2B/B;oBASD;6BAEQ;sCASS"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
4
|
+
import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
5
|
+
import { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from "class-validator";
|
|
6
|
+
import { Expose, Type } from "class-transformer";
|
|
7
|
+
|
|
8
|
+
//#region src/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.ts
|
|
9
|
+
var _ref;
|
|
10
|
+
const INDY_CREDENTIAL_OFFER_ATTACHMENT_ID = "libindy-cred-offer-0";
|
|
11
|
+
/**
|
|
12
|
+
* Message part of Issue Credential Protocol used to continue or initiate credential exchange by issuer.
|
|
13
|
+
*
|
|
14
|
+
* @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#offer-credential
|
|
15
|
+
*/
|
|
16
|
+
var V1OfferCredentialMessage = class V1OfferCredentialMessage extends DidCommMessage {
|
|
17
|
+
constructor(options) {
|
|
18
|
+
super();
|
|
19
|
+
this.allowDidSovPrefix = true;
|
|
20
|
+
this.type = V1OfferCredentialMessage.type.messageTypeUri;
|
|
21
|
+
if (options) {
|
|
22
|
+
this.id = options.id || this.generateId();
|
|
23
|
+
this.comment = options.comment;
|
|
24
|
+
this.credentialPreview = options.credentialPreview;
|
|
25
|
+
this.offerAttachments = options.offerAttachments;
|
|
26
|
+
this.appendedAttachments = options.attachments;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
get indyCredentialOffer() {
|
|
30
|
+
return this.offerAttachments.find((attachment) => attachment.id === INDY_CREDENTIAL_OFFER_ATTACHMENT_ID)?.getDataAsJson() ?? null;
|
|
31
|
+
}
|
|
32
|
+
getOfferAttachmentById(id) {
|
|
33
|
+
return this.offerAttachments.find((attachment) => attachment.id === id);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
V1OfferCredentialMessage.type = parseMessageType("https://didcomm.org/issue-credential/1.0/offer-credential");
|
|
37
|
+
__decorate([IsValidMessageType(V1OfferCredentialMessage.type), __decorateMetadata("design:type", Object)], V1OfferCredentialMessage.prototype, "type", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
IsString(),
|
|
40
|
+
IsOptional(),
|
|
41
|
+
__decorateMetadata("design:type", String)
|
|
42
|
+
], V1OfferCredentialMessage.prototype, "comment", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Expose({ name: "credential_preview" }),
|
|
45
|
+
Type(() => DidCommCredentialV1Preview),
|
|
46
|
+
ValidateNested(),
|
|
47
|
+
IsInstance(DidCommCredentialV1Preview),
|
|
48
|
+
__decorateMetadata("design:type", typeof (_ref = typeof DidCommCredentialV1Preview !== "undefined" && DidCommCredentialV1Preview) === "function" ? _ref : Object)
|
|
49
|
+
], V1OfferCredentialMessage.prototype, "credentialPreview", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Expose({ name: "offers~attach" }),
|
|
52
|
+
Type(() => DidCommAttachment),
|
|
53
|
+
IsArray(),
|
|
54
|
+
ValidateNested({ each: true }),
|
|
55
|
+
IsInstance(DidCommAttachment, { each: true }),
|
|
56
|
+
__decorateMetadata("design:type", Array)
|
|
57
|
+
], V1OfferCredentialMessage.prototype, "offerAttachments", void 0);
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage };
|
|
61
|
+
//# sourceMappingURL=DidCommOfferCredentialV1Message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommOfferCredentialV1Message.mjs","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.ts"],"sourcesContent":["import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\nimport { Expose, Type } from 'class-transformer'\nimport { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from 'class-validator'\nimport type { AnonCredsCredentialOffer } from '../../../../models'\n\nimport { DidCommCredentialV1Preview } from './DidCommCredentialV1Preview'\n\nexport const INDY_CREDENTIAL_OFFER_ATTACHMENT_ID = 'libindy-cred-offer-0'\n\nexport interface DidCommOfferCredentialV1Message {\n id?: string\n comment?: string\n offerAttachments: DidCommAttachment[]\n credentialPreview: DidCommCredentialV1Preview\n attachments?: DidCommAttachment[]\n}\n\n/**\n * Message part of Issue Credential Protocol used to continue or initiate credential exchange by issuer.\n *\n * @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#offer-credential\n */\nexport class V1OfferCredentialMessage extends DidCommMessage {\n public readonly allowDidSovPrefix = true\n\n public constructor(options: DidCommOfferCredentialV1Message) {\n super()\n\n if (options) {\n this.id = options.id || this.generateId()\n this.comment = options.comment\n this.credentialPreview = options.credentialPreview\n this.offerAttachments = options.offerAttachments\n this.appendedAttachments = options.attachments\n }\n }\n\n @IsValidMessageType(V1OfferCredentialMessage.type)\n public readonly type = V1OfferCredentialMessage.type.messageTypeUri\n public static readonly type = parseMessageType('https://didcomm.org/issue-credential/1.0/offer-credential')\n\n @IsString()\n @IsOptional()\n public comment?: string\n\n @Expose({ name: 'credential_preview' })\n @Type(() => DidCommCredentialV1Preview)\n @ValidateNested()\n @IsInstance(DidCommCredentialV1Preview)\n public credentialPreview!: DidCommCredentialV1Preview\n\n @Expose({ name: 'offers~attach' })\n @Type(() => DidCommAttachment)\n @IsArray()\n @ValidateNested({\n each: true,\n })\n @IsInstance(DidCommAttachment, { each: true })\n public offerAttachments!: DidCommAttachment[]\n\n public get indyCredentialOffer(): AnonCredsCredentialOffer | null {\n const attachment = this.offerAttachments.find((attachment) => attachment.id === INDY_CREDENTIAL_OFFER_ATTACHMENT_ID)\n\n // Extract credential offer from attachment\n const credentialOfferJson = attachment?.getDataAsJson<AnonCredsCredentialOffer>() ?? null\n\n return credentialOfferJson\n }\n\n public getOfferAttachmentById(id: string): DidCommAttachment | undefined {\n return this.offerAttachments.find((attachment) => attachment.id === id)\n }\n}\n"],"mappings":";;;;;;;;;AAOA,MAAa,sCAAsC;;;;;;AAenD,IAAa,2BAAb,MAAa,iCAAiC,eAAe;CAG3D,AAAO,YAAY,SAA0C;AAC3D,SAAO;OAHO,oBAAoB;OAepB,OAAO,yBAAyB,KAAK;AAVnD,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,UAAU,QAAQ;AACvB,QAAK,oBAAoB,QAAQ;AACjC,QAAK,mBAAmB,QAAQ;AAChC,QAAK,sBAAsB,QAAQ;;;CA2BvC,IAAW,sBAAuD;AAMhE,SALmB,KAAK,iBAAiB,MAAM,eAAe,WAAW,OAAO,oCAAoC,EAG5E,eAAyC,IAAI;;CAKvF,AAAO,uBAAuB,IAA2C;AACvE,SAAO,KAAK,iBAAiB,MAAM,eAAe,WAAW,OAAO,GAAG;;;yBA/BlD,OAAO,iBAAiB,4DAA4D;YAF1G,mBAAmB,yBAAyB,KAAK;;CAIjD,UAAU;CACV,YAAY;;;;CAGZ,OAAO,EAAE,MAAM,sBAAsB,CAAC;CACtC,WAAW,2BAA2B;CACtC,gBAAgB;CAChB,WAAW,2BAA2B;;;;CAGtC,OAAO,EAAE,MAAM,iBAAiB,CAAC;CACjC,WAAW,kBAAkB;CAC7B,SAAS;CACT,eAAe,EACd,MAAM,MACP,CAAC;CACD,WAAW,mBAAmB,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
2
|
+
import * as _credo_ts_didcomm11 from "@credo-ts/didcomm";
|
|
3
|
+
import { DidCommAttachment, DidCommMessage } from "@credo-ts/didcomm";
|
|
4
|
+
|
|
5
|
+
//#region src/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.ts
|
|
6
|
+
interface DidCommProposeCredentialV1MessageOptions {
|
|
7
|
+
id?: string;
|
|
8
|
+
comment?: string;
|
|
9
|
+
credentialPreview?: DidCommCredentialV1Preview;
|
|
10
|
+
schemaIssuerDid?: string;
|
|
11
|
+
schemaId?: string;
|
|
12
|
+
schemaName?: string;
|
|
13
|
+
schemaVersion?: string;
|
|
14
|
+
credentialDefinitionId?: string;
|
|
15
|
+
issuerDid?: string;
|
|
16
|
+
attachments?: DidCommAttachment[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Message part of Issue Credential Protocol used to initiate credential exchange by prover.
|
|
20
|
+
*
|
|
21
|
+
* @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#propose-credential
|
|
22
|
+
*/
|
|
23
|
+
declare class DidCommProposeCredentialV1Message extends DidCommMessage {
|
|
24
|
+
readonly allowDidSovPrefix = true;
|
|
25
|
+
constructor(options: DidCommProposeCredentialV1MessageOptions);
|
|
26
|
+
readonly type: string;
|
|
27
|
+
static readonly type: _credo_ts_didcomm11.ParsedMessageType;
|
|
28
|
+
/**
|
|
29
|
+
* Human readable information about this Credential Proposal,
|
|
30
|
+
* so the proposal can be evaluated by human judgment.
|
|
31
|
+
*/
|
|
32
|
+
comment?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Represents the credential data that Prover wants to receive.
|
|
35
|
+
*/
|
|
36
|
+
credentialPreview?: DidCommCredentialV1Preview;
|
|
37
|
+
/**
|
|
38
|
+
* Filter to request credential based on a particular Schema issuer DID.
|
|
39
|
+
*/
|
|
40
|
+
schemaIssuerDid?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Filter to request credential based on a particular Schema.
|
|
43
|
+
*/
|
|
44
|
+
schemaId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Filter to request credential based on a schema name.
|
|
47
|
+
*/
|
|
48
|
+
schemaName?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Filter to request credential based on a schema version.
|
|
51
|
+
*/
|
|
52
|
+
schemaVersion?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Filter to request credential based on a particular Credential Definition.
|
|
55
|
+
*/
|
|
56
|
+
credentialDefinitionId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Filter to request a credential issued by the owner of a particular DID.
|
|
59
|
+
*/
|
|
60
|
+
issuerDid?: string;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { DidCommProposeCredentialV1Message, DidCommProposeCredentialV1MessageOptions };
|
|
64
|
+
//# sourceMappingURL=DidCommProposeCredentialV1Message.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommProposeCredentialV1Message.d.mts","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.ts"],"sourcesContent":[],"mappings":";;;;;UAeiB,wCAAA;;EAAA,OAAA,CAAA,EAAA,MAAA;EAkBJ,iBAAA,CAAA,EAfS,0BAeyB;EAGjB,eAAA,CAAA,EAAA,MAAA;EAAwC,QAAA,CAAA,EAAA,MAmBzC;EAkBA,UAAA,CAAA,EAAA,MAAA;EAxC0B,aAAA,CAAA,EAAA,MAAA;EAAc,sBAAA,CAAA,EAAA,MAAA;;gBARrD;;;;;;;cAQH,iCAAA,SAA0C,cAAA;;uBAGzB;;wBAAwC,mBAAA,CAmBzC;;;;;;;;;sBAkBA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
|
+
import { unqualifiedCredentialDefinitionIdRegex, unqualifiedIndyDidRegex, unqualifiedSchemaIdRegex, unqualifiedSchemaVersionRegex } from "../../../../utils/indyIdentifiers.mjs";
|
|
4
|
+
import "../../../../utils/index.mjs";
|
|
5
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
6
|
+
import { DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
7
|
+
import { IsInstance, IsOptional, IsString, Matches, ValidateNested } from "class-validator";
|
|
8
|
+
import { Expose, Type } from "class-transformer";
|
|
9
|
+
|
|
10
|
+
//#region src/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.ts
|
|
11
|
+
var _ref;
|
|
12
|
+
/**
|
|
13
|
+
* Message part of Issue Credential Protocol used to initiate credential exchange by prover.
|
|
14
|
+
*
|
|
15
|
+
* @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#propose-credential
|
|
16
|
+
*/
|
|
17
|
+
var DidCommProposeCredentialV1Message = class DidCommProposeCredentialV1Message extends DidCommMessage {
|
|
18
|
+
constructor(options) {
|
|
19
|
+
super();
|
|
20
|
+
this.allowDidSovPrefix = true;
|
|
21
|
+
this.type = DidCommProposeCredentialV1Message.type.messageTypeUri;
|
|
22
|
+
if (options) {
|
|
23
|
+
this.id = options.id ?? this.generateId();
|
|
24
|
+
this.comment = options.comment;
|
|
25
|
+
this.credentialPreview = options.credentialPreview;
|
|
26
|
+
this.schemaIssuerDid = options.schemaIssuerDid;
|
|
27
|
+
this.schemaId = options.schemaId;
|
|
28
|
+
this.schemaName = options.schemaName;
|
|
29
|
+
this.schemaVersion = options.schemaVersion;
|
|
30
|
+
this.credentialDefinitionId = options.credentialDefinitionId;
|
|
31
|
+
this.issuerDid = options.issuerDid;
|
|
32
|
+
this.appendedAttachments = options.attachments;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
DidCommProposeCredentialV1Message.type = parseMessageType("https://didcomm.org/issue-credential/1.0/propose-credential");
|
|
37
|
+
__decorate([IsValidMessageType(DidCommProposeCredentialV1Message.type), __decorateMetadata("design:type", Object)], DidCommProposeCredentialV1Message.prototype, "type", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
IsOptional(),
|
|
40
|
+
IsString(),
|
|
41
|
+
__decorateMetadata("design:type", String)
|
|
42
|
+
], DidCommProposeCredentialV1Message.prototype, "comment", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Expose({ name: "credential_proposal" }),
|
|
45
|
+
Type(() => DidCommCredentialV1Preview),
|
|
46
|
+
ValidateNested(),
|
|
47
|
+
IsOptional(),
|
|
48
|
+
IsInstance(DidCommCredentialV1Preview),
|
|
49
|
+
__decorateMetadata("design:type", typeof (_ref = typeof DidCommCredentialV1Preview !== "undefined" && DidCommCredentialV1Preview) === "function" ? _ref : Object)
|
|
50
|
+
], DidCommProposeCredentialV1Message.prototype, "credentialPreview", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Expose({ name: "schema_issuer_did" }),
|
|
53
|
+
IsString(),
|
|
54
|
+
IsOptional(),
|
|
55
|
+
Matches(unqualifiedIndyDidRegex),
|
|
56
|
+
__decorateMetadata("design:type", String)
|
|
57
|
+
], DidCommProposeCredentialV1Message.prototype, "schemaIssuerDid", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Expose({ name: "schema_id" }),
|
|
60
|
+
IsString(),
|
|
61
|
+
IsOptional(),
|
|
62
|
+
Matches(unqualifiedSchemaIdRegex),
|
|
63
|
+
__decorateMetadata("design:type", String)
|
|
64
|
+
], DidCommProposeCredentialV1Message.prototype, "schemaId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Expose({ name: "schema_name" }),
|
|
67
|
+
IsString(),
|
|
68
|
+
IsOptional(),
|
|
69
|
+
__decorateMetadata("design:type", String)
|
|
70
|
+
], DidCommProposeCredentialV1Message.prototype, "schemaName", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
Expose({ name: "schema_version" }),
|
|
73
|
+
IsString(),
|
|
74
|
+
IsOptional(),
|
|
75
|
+
Matches(unqualifiedSchemaVersionRegex, { message: "Version must be X.X or X.X.X" }),
|
|
76
|
+
__decorateMetadata("design:type", String)
|
|
77
|
+
], DidCommProposeCredentialV1Message.prototype, "schemaVersion", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
Expose({ name: "cred_def_id" }),
|
|
80
|
+
IsString(),
|
|
81
|
+
IsOptional(),
|
|
82
|
+
Matches(unqualifiedCredentialDefinitionIdRegex),
|
|
83
|
+
__decorateMetadata("design:type", String)
|
|
84
|
+
], DidCommProposeCredentialV1Message.prototype, "credentialDefinitionId", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
Expose({ name: "issuer_did" }),
|
|
87
|
+
IsString(),
|
|
88
|
+
IsOptional(),
|
|
89
|
+
Matches(unqualifiedIndyDidRegex),
|
|
90
|
+
__decorateMetadata("design:type", String)
|
|
91
|
+
], DidCommProposeCredentialV1Message.prototype, "issuerDid", void 0);
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
export { DidCommProposeCredentialV1Message };
|
|
95
|
+
//# sourceMappingURL=DidCommProposeCredentialV1Message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommProposeCredentialV1Message.mjs","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.ts"],"sourcesContent":["import type { DidCommAttachment } from '@credo-ts/didcomm'\n\nimport { DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\nimport { Expose, Type } from 'class-transformer'\nimport { IsInstance, IsOptional, IsString, Matches, ValidateNested } from 'class-validator'\n\nimport {\n unqualifiedCredentialDefinitionIdRegex,\n unqualifiedIndyDidRegex,\n unqualifiedSchemaIdRegex,\n unqualifiedSchemaVersionRegex,\n} from '../../../../utils'\n\nimport { DidCommCredentialV1Preview } from './DidCommCredentialV1Preview'\n\nexport interface DidCommProposeCredentialV1MessageOptions {\n id?: string\n comment?: string\n credentialPreview?: DidCommCredentialV1Preview\n schemaIssuerDid?: string\n schemaId?: string\n schemaName?: string\n schemaVersion?: string\n credentialDefinitionId?: string\n issuerDid?: string\n attachments?: DidCommAttachment[]\n}\n\n/**\n * Message part of Issue Credential Protocol used to initiate credential exchange by prover.\n *\n * @see https://github.com/hyperledger/aries-rfcs/blob/master/features/0036-issue-credential/README.md#propose-credential\n */\nexport class DidCommProposeCredentialV1Message extends DidCommMessage {\n public readonly allowDidSovPrefix = true\n\n public constructor(options: DidCommProposeCredentialV1MessageOptions) {\n super()\n\n if (options) {\n this.id = options.id ?? this.generateId()\n this.comment = options.comment\n this.credentialPreview = options.credentialPreview\n this.schemaIssuerDid = options.schemaIssuerDid\n this.schemaId = options.schemaId\n this.schemaName = options.schemaName\n this.schemaVersion = options.schemaVersion\n this.credentialDefinitionId = options.credentialDefinitionId\n this.issuerDid = options.issuerDid\n this.appendedAttachments = options.attachments\n }\n }\n\n @IsValidMessageType(DidCommProposeCredentialV1Message.type)\n public readonly type = DidCommProposeCredentialV1Message.type.messageTypeUri\n public static readonly type = parseMessageType('https://didcomm.org/issue-credential/1.0/propose-credential')\n\n /**\n * Human readable information about this Credential Proposal,\n * so the proposal can be evaluated by human judgment.\n */\n @IsOptional()\n @IsString()\n public comment?: string\n\n /**\n * Represents the credential data that Prover wants to receive.\n */\n @Expose({ name: 'credential_proposal' })\n @Type(() => DidCommCredentialV1Preview)\n @ValidateNested()\n @IsOptional()\n @IsInstance(DidCommCredentialV1Preview)\n public credentialPreview?: DidCommCredentialV1Preview\n\n /**\n * Filter to request credential based on a particular Schema issuer DID.\n */\n @Expose({ name: 'schema_issuer_did' })\n @IsString()\n @IsOptional()\n @Matches(unqualifiedIndyDidRegex)\n public schemaIssuerDid?: string\n\n /**\n * Filter to request credential based on a particular Schema.\n */\n @Expose({ name: 'schema_id' })\n @IsString()\n @IsOptional()\n @Matches(unqualifiedSchemaIdRegex)\n public schemaId?: string\n\n /**\n * Filter to request credential based on a schema name.\n */\n @Expose({ name: 'schema_name' })\n @IsString()\n @IsOptional()\n public schemaName?: string\n\n /**\n * Filter to request credential based on a schema version.\n */\n @Expose({ name: 'schema_version' })\n @IsString()\n @IsOptional()\n @Matches(unqualifiedSchemaVersionRegex, {\n message: 'Version must be X.X or X.X.X',\n })\n public schemaVersion?: string\n\n /**\n * Filter to request credential based on a particular Credential Definition.\n */\n @Expose({ name: 'cred_def_id' })\n @IsString()\n @IsOptional()\n @Matches(unqualifiedCredentialDefinitionIdRegex)\n public credentialDefinitionId?: string\n\n /**\n * Filter to request a credential issued by the owner of a particular DID.\n */\n @Expose({ name: 'issuer_did' })\n @IsString()\n @IsOptional()\n @Matches(unqualifiedIndyDidRegex)\n public issuerDid?: string\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAiCA,IAAa,oCAAb,MAAa,0CAA0C,eAAe;CAGpE,AAAO,YAAY,SAAmD;AACpE,SAAO;OAHO,oBAAoB;OAoBpB,OAAO,kCAAkC,KAAK;AAf5D,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,UAAU,QAAQ;AACvB,QAAK,oBAAoB,QAAQ;AACjC,QAAK,kBAAkB,QAAQ;AAC/B,QAAK,WAAW,QAAQ;AACxB,QAAK,aAAa,QAAQ;AAC1B,QAAK,gBAAgB,QAAQ;AAC7B,QAAK,yBAAyB,QAAQ;AACtC,QAAK,YAAY,QAAQ;AACzB,QAAK,sBAAsB,QAAQ;;;;kCAMhB,OAAO,iBAAiB,8DAA8D;YAF5G,mBAAmB,kCAAkC,KAAK;;CAQ1D,YAAY;CACZ,UAAU;;;;CAMV,OAAO,EAAE,MAAM,uBAAuB,CAAC;CACvC,WAAW,2BAA2B;CACtC,gBAAgB;CAChB,YAAY;CACZ,WAAW,2BAA2B;;;;CAMtC,OAAO,EAAE,MAAM,qBAAqB,CAAC;CACrC,UAAU;CACV,YAAY;CACZ,QAAQ,wBAAwB;;;;CAMhC,OAAO,EAAE,MAAM,aAAa,CAAC;CAC7B,UAAU;CACV,YAAY;CACZ,QAAQ,yBAAyB;;;;CAMjC,OAAO,EAAE,MAAM,eAAe,CAAC;CAC/B,UAAU;CACV,YAAY;;;;CAMZ,OAAO,EAAE,MAAM,kBAAkB,CAAC;CAClC,UAAU;CACV,YAAY;CACZ,QAAQ,+BAA+B,EACtC,SAAS,gCACV,CAAC;;;;CAMD,OAAO,EAAE,MAAM,eAAe,CAAC;CAC/B,UAAU;CACV,YAAY;CACZ,QAAQ,uCAAuC;;;;CAM/C,OAAO,EAAE,MAAM,cAAc,CAAC;CAC9B,UAAU;CACV,YAAY;CACZ,QAAQ,wBAAwB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LegacyIndyCredentialRequest } from "../../../../formats/LegacyIndyDidCommCredentialFormat.mjs";
|
|
2
|
+
import "../../../../formats/index.mjs";
|
|
3
|
+
import * as _credo_ts_didcomm5 from "@credo-ts/didcomm";
|
|
4
|
+
import { DidCommAttachment, DidCommMessage } from "@credo-ts/didcomm";
|
|
5
|
+
|
|
6
|
+
//#region src/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.ts
|
|
7
|
+
declare const INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID = "libindy-cred-request-0";
|
|
8
|
+
interface DidCommRequestCredentialV1MessageOptions {
|
|
9
|
+
id?: string;
|
|
10
|
+
comment?: string;
|
|
11
|
+
requestAttachments: DidCommAttachment[];
|
|
12
|
+
attachments?: DidCommAttachment[];
|
|
13
|
+
}
|
|
14
|
+
declare class DidCommRequestCredentialV1Message extends DidCommMessage {
|
|
15
|
+
readonly allowDidSovPrefix = true;
|
|
16
|
+
constructor(options: DidCommRequestCredentialV1MessageOptions);
|
|
17
|
+
readonly type: string;
|
|
18
|
+
static readonly type: _credo_ts_didcomm5.ParsedMessageType;
|
|
19
|
+
comment?: string;
|
|
20
|
+
requestAttachments: DidCommAttachment[];
|
|
21
|
+
get indyCredentialRequest(): LegacyIndyCredentialRequest | null;
|
|
22
|
+
getRequestAttachmentById(id: string): DidCommAttachment | undefined;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DidCommRequestCredentialV1Message, DidCommRequestCredentialV1MessageOptions, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID };
|
|
26
|
+
//# sourceMappingURL=DidCommRequestCredentialV1Message.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommRequestCredentialV1Message.d.mts","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,qCAAA;UAEI,wCAAA;;;EAFJ,kBAAA,EAKS,iBALT,EAAA;EAEI,WAAA,CAAA,EAID,iBAJC,EAAA;AAOjB;AAG8B,cAHjB,iCAAA,SAA0C,cAAA,CAGzB;EAAwC,SAAA,iBAazC,GAAA,IAAA;EAaC,WAAA,CAAA,OAAA,EA1BA,wCA0BA;EAEQ,SAAA,IAAA,EAAA,MAAA;EAUS,gBAAA,IAAA,EAtCuB,kBAAA,CAazC,iBAyBkB;EAzCQ,OAAA,CAAA,EAAA,MAAA;EAAc,kBAAA,EA6BvC,iBA7BuC,EAAA;+BA+B/B;wCAUS"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
2
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
3
|
+
import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from "@credo-ts/didcomm";
|
|
4
|
+
import { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from "class-validator";
|
|
5
|
+
import { Expose, Type } from "class-transformer";
|
|
6
|
+
|
|
7
|
+
//#region src/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.ts
|
|
8
|
+
const INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID = "libindy-cred-request-0";
|
|
9
|
+
var DidCommRequestCredentialV1Message = class DidCommRequestCredentialV1Message extends DidCommMessage {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
super();
|
|
12
|
+
this.allowDidSovPrefix = true;
|
|
13
|
+
this.type = DidCommRequestCredentialV1Message.type.messageTypeUri;
|
|
14
|
+
if (options) {
|
|
15
|
+
this.id = options.id || this.generateId();
|
|
16
|
+
this.comment = options.comment;
|
|
17
|
+
this.requestAttachments = options.requestAttachments;
|
|
18
|
+
this.appendedAttachments = options.attachments;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
get indyCredentialRequest() {
|
|
22
|
+
return this.requestAttachments.find((attachment) => attachment.id === INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID)?.getDataAsJson() ?? null;
|
|
23
|
+
}
|
|
24
|
+
getRequestAttachmentById(id) {
|
|
25
|
+
return this.requestAttachments.find((attachment) => attachment.id === id);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
DidCommRequestCredentialV1Message.type = parseMessageType("https://didcomm.org/issue-credential/1.0/request-credential");
|
|
29
|
+
__decorate([IsValidMessageType(DidCommRequestCredentialV1Message.type), __decorateMetadata("design:type", Object)], DidCommRequestCredentialV1Message.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
IsString(),
|
|
32
|
+
IsOptional(),
|
|
33
|
+
__decorateMetadata("design:type", String)
|
|
34
|
+
], DidCommRequestCredentialV1Message.prototype, "comment", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
Expose({ name: "requests~attach" }),
|
|
37
|
+
Type(() => DidCommAttachment),
|
|
38
|
+
IsArray(),
|
|
39
|
+
ValidateNested({ each: true }),
|
|
40
|
+
IsInstance(DidCommAttachment, { each: true }),
|
|
41
|
+
__decorateMetadata("design:type", Array)
|
|
42
|
+
], DidCommRequestCredentialV1Message.prototype, "requestAttachments", void 0);
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export { DidCommRequestCredentialV1Message, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID };
|
|
46
|
+
//# sourceMappingURL=DidCommRequestCredentialV1Message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidCommRequestCredentialV1Message.mjs","names":[],"sources":["../../../../../src/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.ts"],"sourcesContent":["import { DidCommAttachment, DidCommMessage, IsValidMessageType, parseMessageType } from '@credo-ts/didcomm'\nimport { Expose, Type } from 'class-transformer'\nimport { IsArray, IsInstance, IsOptional, IsString, ValidateNested } from 'class-validator'\nimport type { LegacyIndyCredentialRequest } from '../../../../formats'\n\nexport const INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID = 'libindy-cred-request-0'\n\nexport interface DidCommRequestCredentialV1MessageOptions {\n id?: string\n comment?: string\n requestAttachments: DidCommAttachment[]\n attachments?: DidCommAttachment[]\n}\n\nexport class DidCommRequestCredentialV1Message extends DidCommMessage {\n public readonly allowDidSovPrefix = true\n\n public constructor(options: DidCommRequestCredentialV1MessageOptions) {\n super()\n\n if (options) {\n this.id = options.id || this.generateId()\n this.comment = options.comment\n this.requestAttachments = options.requestAttachments\n this.appendedAttachments = options.attachments\n }\n }\n\n @IsValidMessageType(DidCommRequestCredentialV1Message.type)\n public readonly type = DidCommRequestCredentialV1Message.type.messageTypeUri\n public static readonly type = parseMessageType('https://didcomm.org/issue-credential/1.0/request-credential')\n\n @IsString()\n @IsOptional()\n public comment?: string\n\n @Expose({ name: 'requests~attach' })\n @Type(() => DidCommAttachment)\n @IsArray()\n @ValidateNested({\n each: true,\n })\n @IsInstance(DidCommAttachment, { each: true })\n public requestAttachments!: DidCommAttachment[]\n\n public get indyCredentialRequest(): LegacyIndyCredentialRequest | null {\n const attachment = this.requestAttachments.find(\n (attachment) => attachment.id === INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID\n )\n // Extract proof request from attachment\n const credentialReqJson = attachment?.getDataAsJson<LegacyIndyCredentialRequest>() ?? null\n\n return credentialReqJson\n }\n\n public getRequestAttachmentById(id: string): DidCommAttachment | undefined {\n return this.requestAttachments.find((attachment) => attachment.id === id)\n }\n}\n"],"mappings":";;;;;;;AAKA,MAAa,wCAAwC;AASrD,IAAa,oCAAb,MAAa,0CAA0C,eAAe;CAGpE,AAAO,YAAY,SAAmD;AACpE,SAAO;OAHO,oBAAoB;OAcpB,OAAO,kCAAkC,KAAK;AAT5D,MAAI,SAAS;AACX,QAAK,KAAK,QAAQ,MAAM,KAAK,YAAY;AACzC,QAAK,UAAU,QAAQ;AACvB,QAAK,qBAAqB,QAAQ;AAClC,QAAK,sBAAsB,QAAQ;;;CAqBvC,IAAW,wBAA4D;AAOrE,SANmB,KAAK,mBAAmB,MACxC,eAAe,WAAW,OAAO,sCACnC,EAEqC,eAA4C,IAAI;;CAKxF,AAAO,yBAAyB,IAA2C;AACzE,SAAO,KAAK,mBAAmB,MAAM,eAAe,WAAW,OAAO,GAAG;;;kCA1BpD,OAAO,iBAAiB,8DAA8D;YAF5G,mBAAmB,kCAAkC,KAAK;;CAI1D,UAAU;CACV,YAAY;;;;CAGZ,OAAO,EAAE,MAAM,mBAAmB,CAAC;CACnC,WAAW,kBAAkB;CAC7B,SAAS;CACT,eAAe,EACd,MAAM,MACP,CAAC;CACD,WAAW,mBAAmB,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DidCommCredentialV1AckMessage, V1CredentialAckMessageOptions } from "./DidCommCredentialV1AckMessage.mjs";
|
|
2
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
3
|
+
import { DidCommCredentialV1ProblemReportMessage, V1CredentialProblemReportMessageOptions } from "./DidCommCredentialV1ProblemReportMessage.mjs";
|
|
4
|
+
import { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID, V1IssueCredentialMessageOptions } from "./DidCommIssueCredentialV1Message.mjs";
|
|
5
|
+
import { DidCommOfferCredentialV1Message, INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage } from "./DidCommOfferCredentialV1Message.mjs";
|
|
6
|
+
import { DidCommProposeCredentialV1Message, DidCommProposeCredentialV1MessageOptions } from "./DidCommProposeCredentialV1Message.mjs";
|
|
7
|
+
import { DidCommRequestCredentialV1Message, DidCommRequestCredentialV1MessageOptions, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID } from "./DidCommRequestCredentialV1Message.mjs";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DidCommCredentialV1AckMessage } from "./DidCommCredentialV1AckMessage.mjs";
|
|
2
|
+
import { DidCommCredentialV1Preview } from "./DidCommCredentialV1Preview.mjs";
|
|
3
|
+
import { DidCommCredentialV1ProblemReportMessage } from "./DidCommCredentialV1ProblemReportMessage.mjs";
|
|
4
|
+
import { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID } from "./DidCommIssueCredentialV1Message.mjs";
|
|
5
|
+
import { INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage } from "./DidCommOfferCredentialV1Message.mjs";
|
|
6
|
+
import { DidCommProposeCredentialV1Message } from "./DidCommProposeCredentialV1Message.mjs";
|
|
7
|
+
import { DidCommRequestCredentialV1Message, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID } from "./DidCommRequestCredentialV1Message.mjs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DidCommCredentialV1AckMessage, V1CredentialAckMessageOptions } from "./credentials/v1/messages/DidCommCredentialV1AckMessage.mjs";
|
|
2
|
+
import { DidCommCredentialV1Preview } from "./credentials/v1/messages/DidCommCredentialV1Preview.mjs";
|
|
3
|
+
import { DidCommCredentialV1ProblemReportMessage, V1CredentialProblemReportMessageOptions } from "./credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs";
|
|
4
|
+
import { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID, V1IssueCredentialMessageOptions } from "./credentials/v1/messages/DidCommIssueCredentialV1Message.mjs";
|
|
5
|
+
import { DidCommOfferCredentialV1Message, INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage } from "./credentials/v1/messages/DidCommOfferCredentialV1Message.mjs";
|
|
6
|
+
import { DidCommProposeCredentialV1Message, DidCommProposeCredentialV1MessageOptions } from "./credentials/v1/messages/DidCommProposeCredentialV1Message.mjs";
|
|
7
|
+
import { DidCommRequestCredentialV1Message, DidCommRequestCredentialV1MessageOptions, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID } from "./credentials/v1/messages/DidCommRequestCredentialV1Message.mjs";
|
|
8
|
+
import { DidCommCredentialV1Protocol, DidCommCredentialV1ProtocolConfig } from "./credentials/v1/DidCommCredentialV1Protocol.mjs";
|
|
9
|
+
import "./credentials/v1/index.mjs";
|
|
10
|
+
import { DidCommPresentationV1AckMessage } from "./proofs/v1/messages/DidCommPresentationV1AckMessage.mjs";
|
|
11
|
+
import { DidCommPresentationV1Message, DidCommPresentationV1MessageOptions, INDY_PROOF_ATTACHMENT_ID } from "./proofs/v1/messages/DidCommPresentationV1Message.mjs";
|
|
12
|
+
import { DidCommPresentationV1ProblemReportMessage, DidCommPresentationV1ProblemReportMessageOptions } from "./proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs";
|
|
13
|
+
import { DidCommPresentationV1Preview, DidCommPresentationV1PreviewAttribute, DidCommPresentationV1PreviewAttributeOptions, DidCommPresentationV1PreviewPredicate, DidCommPresentationV1PreviewPredicateOptions, V1PresentationPreviewOptions } from "./proofs/v1/models/DidCommPresentationV1Preview.mjs";
|
|
14
|
+
import { DidCommProposePresentationV1Message, DidCommProposePresentationV1MessageOptions } from "./proofs/v1/messages/DidCommProposePresentationV1Message.mjs";
|
|
15
|
+
import { DidCommRequestPresentationV1Message, DidCommRequestPresentationV1MessageOptions, INDY_PROOF_REQUEST_ATTACHMENT_ID } from "./proofs/v1/messages/DidCommRequestPresentationV1Message.mjs";
|
|
16
|
+
import { DidCommProofV1Protocol, DidCommProofV1ProtocolConfig } from "./proofs/v1/DidCommProofV1Protocol.mjs";
|
|
17
|
+
import { DidCommPresentationV1ProblemReportError } from "./proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs";
|
|
18
|
+
import "./proofs/v1/index.mjs";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DidCommCredentialV1AckMessage } from "./credentials/v1/messages/DidCommCredentialV1AckMessage.mjs";
|
|
2
|
+
import { DidCommCredentialV1Preview } from "./credentials/v1/messages/DidCommCredentialV1Preview.mjs";
|
|
3
|
+
import { DidCommCredentialV1ProblemReportMessage } from "./credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs";
|
|
4
|
+
import { DidCommIssueCredentialV1Message, INDY_CREDENTIAL_ATTACHMENT_ID } from "./credentials/v1/messages/DidCommIssueCredentialV1Message.mjs";
|
|
5
|
+
import { INDY_CREDENTIAL_OFFER_ATTACHMENT_ID, V1OfferCredentialMessage } from "./credentials/v1/messages/DidCommOfferCredentialV1Message.mjs";
|
|
6
|
+
import { DidCommProposeCredentialV1Message } from "./credentials/v1/messages/DidCommProposeCredentialV1Message.mjs";
|
|
7
|
+
import { DidCommRequestCredentialV1Message, INDY_CREDENTIAL_REQUEST_ATTACHMENT_ID } from "./credentials/v1/messages/DidCommRequestCredentialV1Message.mjs";
|
|
8
|
+
import { DidCommCredentialV1Protocol } from "./credentials/v1/DidCommCredentialV1Protocol.mjs";
|
|
9
|
+
import "./credentials/v1/index.mjs";
|
|
10
|
+
import { DidCommPresentationV1AckMessage } from "./proofs/v1/messages/DidCommPresentationV1AckMessage.mjs";
|
|
11
|
+
import { DidCommPresentationV1Message, INDY_PROOF_ATTACHMENT_ID } from "./proofs/v1/messages/DidCommPresentationV1Message.mjs";
|
|
12
|
+
import { DidCommPresentationV1ProblemReportMessage } from "./proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs";
|
|
13
|
+
import { DidCommPresentationV1Preview, DidCommPresentationV1PreviewAttribute, DidCommPresentationV1PreviewPredicate } from "./proofs/v1/models/DidCommPresentationV1Preview.mjs";
|
|
14
|
+
import { DidCommProposePresentationV1Message } from "./proofs/v1/messages/DidCommProposePresentationV1Message.mjs";
|
|
15
|
+
import { DidCommRequestPresentationV1Message, INDY_PROOF_REQUEST_ATTACHMENT_ID } from "./proofs/v1/messages/DidCommRequestPresentationV1Message.mjs";
|
|
16
|
+
import { DidCommPresentationV1ProblemReportError } from "./proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs";
|
|
17
|
+
import { DidCommProofV1Protocol } from "./proofs/v1/DidCommProofV1Protocol.mjs";
|
|
18
|
+
import "./proofs/v1/index.mjs";
|