@credo-ts/didcomm 0.6.0-alpha-20250128162925
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/LICENSE +202 -0
- package/README.md +84 -0
- package/build/AgentMessage.d.ts +92 -0
- package/build/AgentMessage.js +66 -0
- package/build/AgentMessage.js.map +1 -0
- package/build/BaseMessage.d.ts +11 -0
- package/build/BaseMessage.js +34 -0
- package/build/BaseMessage.js.map +1 -0
- package/build/DidCommApi.d.ts +34 -0
- package/build/DidCommApi.js +82 -0
- package/build/DidCommApi.js.map +1 -0
- package/build/DidCommModule.d.ts +31 -0
- package/build/DidCommModule.js +99 -0
- package/build/DidCommModule.js.map +1 -0
- package/build/DidCommModuleConfig.d.ts +33 -0
- package/build/DidCommModuleConfig.js +48 -0
- package/build/DidCommModuleConfig.js.map +1 -0
- package/build/Dispatcher.d.ts +14 -0
- package/build/Dispatcher.js +132 -0
- package/build/Dispatcher.js.map +1 -0
- package/build/EnvelopeService.d.ts +20 -0
- package/build/EnvelopeService.js +66 -0
- package/build/EnvelopeService.js.map +1 -0
- package/build/Events.d.ts +37 -0
- package/build/Events.js +10 -0
- package/build/Events.js.map +1 -0
- package/build/FeatureRegistry.d.ts +21 -0
- package/build/FeatureRegistry.js +66 -0
- package/build/FeatureRegistry.js.map +1 -0
- package/build/MessageHandlerRegistry.d.ts +31 -0
- package/build/MessageHandlerRegistry.js +89 -0
- package/build/MessageHandlerRegistry.js.map +1 -0
- package/build/MessageReceiver.d.ts +62 -0
- package/build/MessageReceiver.js +242 -0
- package/build/MessageReceiver.js.map +1 -0
- package/build/MessageSender.d.ts +53 -0
- package/build/MessageSender.js +426 -0
- package/build/MessageSender.js.map +1 -0
- package/build/TransportService.d.ts +31 -0
- package/build/TransportService.js +74 -0
- package/build/TransportService.js.map +1 -0
- package/build/constants.d.ts +1 -0
- package/build/constants.js +5 -0
- package/build/constants.js.map +1 -0
- package/build/decorators/ack/AckDecorator.d.ts +13 -0
- package/build/decorators/ack/AckDecorator.js +38 -0
- package/build/decorators/ack/AckDecorator.js.map +1 -0
- package/build/decorators/ack/AckDecoratorExtension.d.ts +13 -0
- package/build/decorators/ack/AckDecoratorExtension.js +38 -0
- package/build/decorators/ack/AckDecoratorExtension.js.map +1 -0
- package/build/decorators/attachment/Attachment.d.ts +75 -0
- package/build/decorators/attachment/Attachment.js +154 -0
- package/build/decorators/attachment/Attachment.js.map +1 -0
- package/build/decorators/attachment/AttachmentExtension.d.ts +15 -0
- package/build/decorators/attachment/AttachmentExtension.js +40 -0
- package/build/decorators/attachment/AttachmentExtension.js.map +1 -0
- package/build/decorators/l10n/L10nDecorator.d.ts +7 -0
- package/build/decorators/l10n/L10nDecorator.js +13 -0
- package/build/decorators/l10n/L10nDecorator.js.map +1 -0
- package/build/decorators/l10n/L10nDecoratorExtension.d.ts +12 -0
- package/build/decorators/l10n/L10nDecoratorExtension.js +39 -0
- package/build/decorators/l10n/L10nDecoratorExtension.js.map +1 -0
- package/build/decorators/service/ServiceDecorator.d.ts +20 -0
- package/build/decorators/service/ServiceDecorator.js +61 -0
- package/build/decorators/service/ServiceDecorator.js.map +1 -0
- package/build/decorators/service/ServiceDecoratorExtension.d.ts +12 -0
- package/build/decorators/service/ServiceDecoratorExtension.js +31 -0
- package/build/decorators/service/ServiceDecoratorExtension.js.map +1 -0
- package/build/decorators/signature/SignatureDecorator.d.ts +11 -0
- package/build/decorators/signature/SignatureDecorator.js +55 -0
- package/build/decorators/signature/SignatureDecorator.js.map +1 -0
- package/build/decorators/signature/SignatureDecoratorUtils.d.ts +21 -0
- package/build/decorators/signature/SignatureDecoratorUtils.js +50 -0
- package/build/decorators/signature/SignatureDecoratorUtils.js.map +1 -0
- package/build/decorators/thread/ThreadDecorator.d.ts +26 -0
- package/build/decorators/thread/ThreadDecorator.js +52 -0
- package/build/decorators/thread/ThreadDecorator.js.map +1 -0
- package/build/decorators/thread/ThreadDecoratorExtension.d.ts +15 -0
- package/build/decorators/thread/ThreadDecoratorExtension.js +35 -0
- package/build/decorators/thread/ThreadDecoratorExtension.js.map +1 -0
- package/build/decorators/timing/TimingDecorator.d.ts +38 -0
- package/build/decorators/timing/TimingDecorator.js +93 -0
- package/build/decorators/timing/TimingDecorator.js.map +1 -0
- package/build/decorators/timing/TimingDecoratorExtension.d.ts +14 -0
- package/build/decorators/timing/TimingDecoratorExtension.js +32 -0
- package/build/decorators/timing/TimingDecoratorExtension.js.map +1 -0
- package/build/decorators/transport/TransportDecorator.d.ts +20 -0
- package/build/decorators/transport/TransportDecorator.js +51 -0
- package/build/decorators/transport/TransportDecorator.js.map +1 -0
- package/build/decorators/transport/TransportDecoratorExtension.d.ts +13 -0
- package/build/decorators/transport/TransportDecoratorExtension.js +53 -0
- package/build/decorators/transport/TransportDecoratorExtension.js.map +1 -0
- package/build/errors/MessageSendingError.d.ts +9 -0
- package/build/errors/MessageSendingError.js +12 -0
- package/build/errors/MessageSendingError.js.map +1 -0
- package/build/errors/index.d.ts +2 -0
- package/build/errors/index.js +21 -0
- package/build/errors/index.js.map +1 -0
- package/build/errors/problem-reports/ProblemReportError.d.ts +9 -0
- package/build/errors/problem-reports/ProblemReportError.js +18 -0
- package/build/errors/problem-reports/ProblemReportError.js.map +1 -0
- package/build/errors/problem-reports/index.d.ts +1 -0
- package/build/errors/problem-reports/index.js +18 -0
- package/build/errors/problem-reports/index.js.map +1 -0
- package/build/getOutboundMessageContext.d.ts +26 -0
- package/build/getOutboundMessageContext.js +195 -0
- package/build/getOutboundMessageContext.js.map +1 -0
- package/build/handlers/MessageHandler.d.ts +14 -0
- package/build/handlers/MessageHandler.js +3 -0
- package/build/handlers/MessageHandler.js.map +1 -0
- package/build/handlers/MessageHandlerMiddleware.d.ts +7 -0
- package/build/handlers/MessageHandlerMiddleware.js +26 -0
- package/build/handlers/MessageHandlerMiddleware.js.map +1 -0
- package/build/handlers/index.d.ts +2 -0
- package/build/handlers/index.js +6 -0
- package/build/handlers/index.js.map +1 -0
- package/build/index.d.ts +33 -0
- package/build/index.js +78 -0
- package/build/index.js.map +1 -0
- package/build/messages/common/AckMessage.d.ts +26 -0
- package/build/messages/common/AckMessage.js +54 -0
- package/build/messages/common/AckMessage.js.map +1 -0
- package/build/messages/common/index.d.ts +1 -0
- package/build/messages/common/index.js +18 -0
- package/build/messages/common/index.js.map +1 -0
- package/build/messages/index.d.ts +2 -0
- package/build/messages/index.js +19 -0
- package/build/messages/index.js.map +1 -0
- package/build/messages/problem-reports/ProblemReportMessage.d.ts +63 -0
- package/build/messages/problem-reports/ProblemReportMessage.js +119 -0
- package/build/messages/problem-reports/ProblemReportMessage.js.map +1 -0
- package/build/messages/problem-reports/index.d.ts +1 -0
- package/build/messages/problem-reports/index.js +18 -0
- package/build/messages/problem-reports/index.js.map +1 -0
- package/build/models/InboundMessageContext.d.ts +45 -0
- package/build/models/InboundMessageContext.js +46 -0
- package/build/models/InboundMessageContext.js.map +1 -0
- package/build/models/OutboundMessageContext.d.ts +48 -0
- package/build/models/OutboundMessageContext.js +45 -0
- package/build/models/OutboundMessageContext.js.map +1 -0
- package/build/models/OutboundMessageSendStatus.d.ts +6 -0
- package/build/models/OutboundMessageSendStatus.js +11 -0
- package/build/models/OutboundMessageSendStatus.js.map +1 -0
- package/build/models/Routing.d.ts +7 -0
- package/build/models/Routing.js +3 -0
- package/build/models/Routing.js.map +1 -0
- package/build/models/features/Feature.d.ts +18 -0
- package/build/models/features/Feature.js +61 -0
- package/build/models/features/Feature.js.map +1 -0
- package/build/models/features/FeatureQuery.d.ts +9 -0
- package/build/models/features/FeatureQuery.js +33 -0
- package/build/models/features/FeatureQuery.js.map +1 -0
- package/build/models/features/GoalCode.d.ts +7 -0
- package/build/models/features/GoalCode.js +12 -0
- package/build/models/features/GoalCode.js.map +1 -0
- package/build/models/features/GovernanceFramework.d.ts +7 -0
- package/build/models/features/GovernanceFramework.js +12 -0
- package/build/models/features/GovernanceFramework.js.map +1 -0
- package/build/models/features/Protocol.d.ts +10 -0
- package/build/models/features/Protocol.js +30 -0
- package/build/models/features/Protocol.js.map +1 -0
- package/build/models/features/index.d.ts +5 -0
- package/build/models/features/index.js +22 -0
- package/build/models/features/index.js.map +1 -0
- package/build/models/index.d.ts +6 -0
- package/build/models/index.js +23 -0
- package/build/models/index.js.map +1 -0
- package/build/models/problem-reports/ProblemReportReason.d.ts +3 -0
- package/build/models/problem-reports/ProblemReportReason.js +8 -0
- package/build/models/problem-reports/ProblemReportReason.js.map +1 -0
- package/build/models/problem-reports/index.d.ts +1 -0
- package/build/models/problem-reports/index.js +18 -0
- package/build/models/problem-reports/index.js.map +1 -0
- package/build/modules/basic-messages/BasicMessageEvents.d.ts +13 -0
- package/build/modules/basic-messages/BasicMessageEvents.js +8 -0
- package/build/modules/basic-messages/BasicMessageEvents.js.map +1 -0
- package/build/modules/basic-messages/BasicMessageRole.d.ts +4 -0
- package/build/modules/basic-messages/BasicMessageRole.js +9 -0
- package/build/modules/basic-messages/BasicMessageRole.js.map +1 -0
- package/build/modules/basic-messages/BasicMessagesApi.d.ts +58 -0
- package/build/modules/basic-messages/BasicMessagesApi.js +102 -0
- package/build/modules/basic-messages/BasicMessagesApi.js.map +1 -0
- package/build/modules/basic-messages/BasicMessagesModule.d.ts +10 -0
- package/build/modules/basic-messages/BasicMessagesModule.js +32 -0
- package/build/modules/basic-messages/BasicMessagesModule.js.map +1 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +9 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js +16 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +1 -0
- package/build/modules/basic-messages/handlers/index.d.ts +1 -0
- package/build/modules/basic-messages/handlers/index.js +18 -0
- package/build/modules/basic-messages/handlers/index.js.map +1 -0
- package/build/modules/basic-messages/index.d.ts +7 -0
- package/build/modules/basic-messages/index.js +24 -0
- package/build/modules/basic-messages/index.js.map +1 -0
- package/build/modules/basic-messages/messages/BasicMessage.d.ts +19 -0
- package/build/modules/basic-messages/messages/BasicMessage.js +53 -0
- package/build/modules/basic-messages/messages/BasicMessage.js.map +1 -0
- package/build/modules/basic-messages/messages/index.d.ts +1 -0
- package/build/modules/basic-messages/messages/index.js +18 -0
- package/build/modules/basic-messages/messages/index.js.map +1 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +39 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.js +33 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +1 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +5 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.js +29 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +1 -0
- package/build/modules/basic-messages/repository/index.d.ts +2 -0
- package/build/modules/basic-messages/repository/index.js +19 -0
- package/build/modules/basic-messages/repository/index.js.map +1 -0
- package/build/modules/basic-messages/services/BasicMessageService.d.ts +25 -0
- package/build/modules/basic-messages/services/BasicMessageService.js +84 -0
- package/build/modules/basic-messages/services/BasicMessageService.js.map +1 -0
- package/build/modules/basic-messages/services/index.d.ts +1 -0
- package/build/modules/basic-messages/services/index.js +18 -0
- package/build/modules/basic-messages/services/index.js.map +1 -0
- package/build/modules/connections/ConnectionEvents.d.ts +28 -0
- package/build/modules/connections/ConnectionEvents.js +9 -0
- package/build/modules/connections/ConnectionEvents.js.map +1 -0
- package/build/modules/connections/ConnectionsApi.d.ts +191 -0
- package/build/modules/connections/ConnectionsApi.js +444 -0
- package/build/modules/connections/ConnectionsApi.js.map +1 -0
- package/build/modules/connections/ConnectionsModule.d.ts +14 -0
- package/build/modules/connections/ConnectionsModule.js +47 -0
- package/build/modules/connections/ConnectionsModule.js.map +1 -0
- package/build/modules/connections/ConnectionsModuleConfig.d.ts +47 -0
- package/build/modules/connections/ConnectionsModuleConfig.js +54 -0
- package/build/modules/connections/ConnectionsModuleConfig.js.map +1 -0
- package/build/modules/connections/DidExchangeProtocol.d.ts +58 -0
- package/build/modules/connections/DidExchangeProtocol.js +469 -0
- package/build/modules/connections/DidExchangeProtocol.js.map +1 -0
- package/build/modules/connections/DidExchangeStateMachine.d.ts +10 -0
- package/build/modules/connections/DidExchangeStateMachine.js +78 -0
- package/build/modules/connections/DidExchangeStateMachine.js.map +1 -0
- package/build/modules/connections/TrustPingEvents.d.ts +21 -0
- package/build/modules/connections/TrustPingEvents.js +9 -0
- package/build/modules/connections/TrustPingEvents.js.map +1 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +13 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.js +19 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.js.map +1 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +11 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.js +16 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +1 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +13 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.js +19 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +1 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +12 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js +17 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +1 -0
- package/build/modules/connections/errors/index.d.ts +4 -0
- package/build/modules/connections/errors/index.js +21 -0
- package/build/modules/connections/errors/index.js.map +1 -0
- package/build/modules/connections/handlers/AckMessageHandler.d.ts +9 -0
- package/build/modules/connections/handlers/AckMessageHandler.js +15 -0
- package/build/modules/connections/handlers/AckMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +9 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +15 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +18 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.js +67 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +16 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.js +61 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +11 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +39 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +18 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js +75 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +17 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js +77 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +9 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.js +15 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateHandler.d.ts +10 -0
- package/build/modules/connections/handlers/DidRotateHandler.js +21 -0
- package/build/modules/connections/handlers/DidRotateHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +9 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +15 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +1 -0
- package/build/modules/connections/handlers/HangupHandler.d.ts +9 -0
- package/build/modules/connections/handlers/HangupHandler.js +15 -0
- package/build/modules/connections/handlers/HangupHandler.js.map +1 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +10 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.js +27 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +9 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +15 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/index.d.ts +13 -0
- package/build/modules/connections/handlers/index.js +30 -0
- package/build/modules/connections/handlers/index.js.map +1 -0
- package/build/modules/connections/index.d.ts +12 -0
- package/build/modules/connections/index.js +29 -0
- package/build/modules/connections/index.js.map +1 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +55 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.js +138 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +16 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js +35 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +28 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.js +64 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +23 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.js +52 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +14 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js +37 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +11 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +30 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +29 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.js +73 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +24 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.js +64 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateAckMessage.d.ts +12 -0
- package/build/modules/connections/messages/DidRotateAckMessage.js +31 -0
- package/build/modules/connections/messages/DidRotateAckMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateMessage.d.ts +20 -0
- package/build/modules/connections/messages/DidRotateMessage.js +47 -0
- package/build/modules/connections/messages/DidRotateMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +11 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js +30 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/HangupMessage.d.ts +19 -0
- package/build/modules/connections/messages/HangupMessage.js +40 -0
- package/build/modules/connections/messages/HangupMessage.js.map +1 -0
- package/build/modules/connections/messages/TrustPingMessage.d.ts +26 -0
- package/build/modules/connections/messages/TrustPingMessage.js +63 -0
- package/build/modules/connections/messages/TrustPingMessage.js.map +1 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +25 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.js +57 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/index.d.ts +14 -0
- package/build/modules/connections/messages/index.js +31 -0
- package/build/modules/connections/messages/index.js.map +1 -0
- package/build/modules/connections/models/Connection.d.ts +10 -0
- package/build/modules/connections/models/Connection.js +38 -0
- package/build/modules/connections/models/Connection.js.map +1 -0
- package/build/modules/connections/models/ConnectionRole.d.ts +4 -0
- package/build/modules/connections/models/ConnectionRole.js +9 -0
- package/build/modules/connections/models/ConnectionRole.js.map +1 -0
- package/build/modules/connections/models/ConnectionState.d.ts +14 -0
- package/build/modules/connections/models/ConnectionState.js +33 -0
- package/build/modules/connections/models/ConnectionState.js.map +1 -0
- package/build/modules/connections/models/ConnectionType.d.ts +3 -0
- package/build/modules/connections/models/ConnectionType.js +8 -0
- package/build/modules/connections/models/ConnectionType.js.map +1 -0
- package/build/modules/connections/models/DidExchangeRole.d.ts +4 -0
- package/build/modules/connections/models/DidExchangeRole.js +9 -0
- package/build/modules/connections/models/DidExchangeRole.js.map +1 -0
- package/build/modules/connections/models/DidExchangeState.d.ts +16 -0
- package/build/modules/connections/models/DidExchangeState.js +21 -0
- package/build/modules/connections/models/DidExchangeState.js.map +1 -0
- package/build/modules/connections/models/DidRotateRole.d.ts +4 -0
- package/build/modules/connections/models/DidRotateRole.js +9 -0
- package/build/modules/connections/models/DidRotateRole.js.map +1 -0
- package/build/modules/connections/models/HandshakeProtocol.d.ts +8 -0
- package/build/modules/connections/models/HandshakeProtocol.js +13 -0
- package/build/modules/connections/models/HandshakeProtocol.js.map +1 -0
- package/build/modules/connections/models/InvitationDetails.d.ts +6 -0
- package/build/modules/connections/models/InvitationDetails.js +3 -0
- package/build/modules/connections/models/InvitationDetails.js.map +1 -0
- package/build/modules/connections/models/did/DidDoc.d.ts +37 -0
- package/build/modules/connections/models/did/DidDoc.js +94 -0
- package/build/modules/connections/models/did/DidDoc.js.map +1 -0
- package/build/modules/connections/models/did/authentication/Authentication.d.ts +4 -0
- package/build/modules/connections/models/did/authentication/Authentication.js +7 -0
- package/build/modules/connections/models/did/authentication/Authentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +6 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +29 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +7 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +35 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/index.d.ts +19 -0
- package/build/modules/connections/models/did/authentication/index.js +58 -0
- package/build/modules/connections/models/did/authentication/index.js.map +1 -0
- package/build/modules/connections/models/did/index.d.ts +3 -0
- package/build/modules/connections/models/did/index.js +20 -0
- package/build/modules/connections/models/did/index.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +35 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +35 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +12 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.js +42 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js +35 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/index.d.ts +18 -0
- package/build/modules/connections/models/did/publicKey/index.js +39 -0
- package/build/modules/connections/models/did/publicKey/index.js.map +1 -0
- package/build/modules/connections/models/index.d.ts +9 -0
- package/build/modules/connections/models/index.js +26 -0
- package/build/modules/connections/models/index.js.map +1 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +14 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.js +9 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +1 -0
- package/build/modules/connections/repository/ConnectionRecord.d.ts +70 -0
- package/build/modules/connections/repository/ConnectionRecord.js +100 -0
- package/build/modules/connections/repository/ConnectionRecord.js.map +1 -0
- package/build/modules/connections/repository/ConnectionRepository.d.ts +13 -0
- package/build/modules/connections/repository/ConnectionRepository.js +47 -0
- package/build/modules/connections/repository/ConnectionRepository.js.map +1 -0
- package/build/modules/connections/repository/index.d.ts +2 -0
- package/build/modules/connections/repository/index.js +19 -0
- package/build/modules/connections/repository/index.js.map +1 -0
- package/build/modules/connections/services/ConnectionService.d.ts +171 -0
- package/build/modules/connections/services/ConnectionService.js +674 -0
- package/build/modules/connections/services/ConnectionService.js.map +1 -0
- package/build/modules/connections/services/DidRotateService.d.ts +51 -0
- package/build/modules/connections/services/DidRotateService.js +237 -0
- package/build/modules/connections/services/DidRotateService.js.map +1 -0
- package/build/modules/connections/services/TrustPingService.d.ts +12 -0
- package/build/modules/connections/services/TrustPingService.js +53 -0
- package/build/modules/connections/services/TrustPingService.js.map +1 -0
- package/build/modules/connections/services/helpers.d.ts +14 -0
- package/build/modules/connections/services/helpers.js +151 -0
- package/build/modules/connections/services/helpers.js.map +1 -0
- package/build/modules/connections/services/index.d.ts +3 -0
- package/build/modules/connections/services/index.js +20 -0
- package/build/modules/connections/services/index.js.map +1 -0
- package/build/modules/credentials/CredentialEvents.d.ts +20 -0
- package/build/modules/credentials/CredentialEvents.js +9 -0
- package/build/modules/credentials/CredentialEvents.js.map +1 -0
- package/build/modules/credentials/CredentialsApi.d.ts +59 -0
- package/build/modules/credentials/CredentialsApi.js +507 -0
- package/build/modules/credentials/CredentialsApi.js.map +1 -0
- package/build/modules/credentials/CredentialsApiOptions.d.ts +128 -0
- package/build/modules/credentials/CredentialsApiOptions.js +3 -0
- package/build/modules/credentials/CredentialsApiOptions.js.map +1 -0
- package/build/modules/credentials/CredentialsModule.d.ts +20 -0
- package/build/modules/credentials/CredentialsModule.js +51 -0
- package/build/modules/credentials/CredentialsModule.js.map +1 -0
- package/build/modules/credentials/CredentialsModuleConfig.d.ts +34 -0
- package/build/modules/credentials/CredentialsModuleConfig.js +19 -0
- package/build/modules/credentials/CredentialsModuleConfig.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormat.d.ts +40 -0
- package/build/modules/credentials/formats/CredentialFormat.js +3 -0
- package/build/modules/credentials/formats/CredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormatService.d.ts +23 -0
- package/build/modules/credentials/formats/CredentialFormatService.js +3 -0
- package/build/modules/credentials/formats/CredentialFormatService.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +117 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +3 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.d.ts +51 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js +3 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.d.ts +76 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +128 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/index.d.ts +2 -0
- package/build/modules/credentials/formats/dataIntegrity/index.js +19 -0
- package/build/modules/credentials/formats/dataIntegrity/index.js.map +1 -0
- package/build/modules/credentials/formats/index.d.ts +5 -0
- package/build/modules/credentials/formats/index.js +22 -0
- package/build/modules/credentials/formats/index.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +15 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +38 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +24 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +67 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +90 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +3 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +71 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +294 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/index.d.ts +4 -0
- package/build/modules/credentials/formats/jsonld/index.js +21 -0
- package/build/modules/credentials/formats/jsonld/index.js.map +1 -0
- package/build/modules/credentials/index.d.ts +9 -0
- package/build/modules/credentials/index.js +26 -0
- package/build/modules/credentials/index.js.map +1 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +11 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.js +16 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +1 -0
- package/build/modules/credentials/models/CredentialFormatSpec.d.ts +9 -0
- package/build/modules/credentials/models/CredentialFormatSpec.js +34 -0
- package/build/modules/credentials/models/CredentialFormatSpec.js.map +1 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +15 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.js +44 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +1 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +8 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.js +13 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.js.map +1 -0
- package/build/modules/credentials/models/CredentialRole.d.ts +4 -0
- package/build/modules/credentials/models/CredentialRole.js +9 -0
- package/build/modules/credentials/models/CredentialRole.js.map +1 -0
- package/build/modules/credentials/models/CredentialState.d.ts +18 -0
- package/build/modules/credentials/models/CredentialState.js +23 -0
- package/build/modules/credentials/models/CredentialState.js.map +1 -0
- package/build/modules/credentials/models/RevocationNotification.d.ts +5 -0
- package/build/modules/credentials/models/RevocationNotification.js +11 -0
- package/build/modules/credentials/models/RevocationNotification.js.map +1 -0
- package/build/modules/credentials/models/index.d.ts +7 -0
- package/build/modules/credentials/models/index.js +24 -0
- package/build/modules/credentials/models/index.js.map +1 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +111 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js +168 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/CredentialProtocol.d.ts +53 -0
- package/build/modules/credentials/protocol/CredentialProtocol.js +3 -0
- package/build/modules/credentials/protocol/CredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +143 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js +3 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +1 -0
- package/build/modules/credentials/protocol/index.d.ts +6 -0
- package/build/modules/credentials/protocol/index.js +40 -0
- package/build/modules/credentials/protocol/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +15 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +15 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/index.d.ts +1 -0
- package/build/modules/credentials/protocol/revocation-notification/index.js +18 -0
- package/build/modules/credentials/protocol/revocation-notification/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +15 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +45 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +17 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +51 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +35 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +139 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +6 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +3 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +5 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +13 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +1 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +100 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +363 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +1 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +178 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +940 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +18 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +1 -0
- package/build/modules/credentials/protocol/v2/errors/index.d.ts +1 -0
- package/build/modules/credentials/protocol/v2/errors/index.js +6 -0
- package/build/modules/credentials/protocol/v2/errors/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +15 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +15 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +41 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +33 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +12 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +36 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +41 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/index.d.ts +6 -0
- package/build/modules/credentials/protocol/v2/handlers/index.js +23 -0
- package/build/modules/credentials/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/index.d.ts +3 -0
- package/build/modules/credentials/protocol/v2/index.js +20 -0
- package/build/modules/credentials/protocol/v2/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +14 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +34 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +26 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +71 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +15 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +34 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +22 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +75 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +27 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +91 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +30 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +86 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +27 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +76 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/index.d.ts +7 -0
- package/build/modules/credentials/protocol/v2/messages/index.js +24 -0
- package/build/modules/credentials/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +66 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.js +85 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +1 -0
- package/build/modules/credentials/repository/CredentialRepository.d.ts +5 -0
- package/build/modules/credentials/repository/CredentialRepository.js +29 -0
- package/build/modules/credentials/repository/CredentialRepository.js.map +1 -0
- package/build/modules/credentials/repository/index.d.ts +2 -0
- package/build/modules/credentials/repository/index.js +19 -0
- package/build/modules/credentials/repository/index.js.map +1 -0
- package/build/modules/credentials/util/composeAutoAccept.d.ts +8 -0
- package/build/modules/credentials/util/composeAutoAccept.js +14 -0
- package/build/modules/credentials/util/composeAutoAccept.js.map +1 -0
- package/build/modules/credentials/util/previewAttributes.d.ts +2 -0
- package/build/modules/credentials/util/previewAttributes.js +24 -0
- package/build/modules/credentials/util/previewAttributes.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +30 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.js +131 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +39 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +3 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +28 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.js +9 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +14 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.js +38 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +18 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +14 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +13 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +3 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +1 -0
- package/build/modules/discover-features/index.d.ts +4 -0
- package/build/modules/discover-features/index.js +21 -0
- package/build/modules/discover-features/index.js.map +1 -0
- package/build/modules/discover-features/protocol/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/index.js +19 -0
- package/build/modules/discover-features/protocol/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +21 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +113 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +9 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +15 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +10 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +23 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +21 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +60 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +13 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +42 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/messages/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/messages/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +20 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +94 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +9 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +15 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +10 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +23 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +13 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +44 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +14 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +40 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/messages/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +18 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.js +13 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/services/index.d.ts +1 -0
- package/build/modules/discover-features/services/index.js +18 -0
- package/build/modules/discover-features/services/index.js.map +1 -0
- package/build/modules/index.d.ts +8 -0
- package/build/modules/index.js +25 -0
- package/build/modules/index.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupApi.d.ts +33 -0
- package/build/modules/message-pickup/MessagePickupApi.js +200 -0
- package/build/modules/message-pickup/MessagePickupApi.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +39 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.js +3 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupEvents.d.ts +27 -0
- package/build/modules/message-pickup/MessagePickupEvents.js +10 -0
- package/build/modules/message-pickup/MessagePickupEvents.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupModule.d.ts +21 -0
- package/build/modules/message-pickup/MessagePickupModule.js +51 -0
- package/build/modules/message-pickup/MessagePickupModule.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +41 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.js +22 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupSession.d.ts +12 -0
- package/build/modules/message-pickup/MessagePickupSession.js +9 -0
- package/build/modules/message-pickup/MessagePickupSession.js.map +1 -0
- package/build/modules/message-pickup/index.d.ts +8 -0
- package/build/modules/message-pickup/index.js +27 -0
- package/build/modules/message-pickup/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +17 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +11 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +12 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +3 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +27 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +3 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +1 -0
- package/build/modules/message-pickup/protocol/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/index.js +19 -0
- package/build/modules/message-pickup/protocol/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +24 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +124 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +9 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +27 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +71 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +22 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +49 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +28 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +238 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +11 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +11 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +6 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v2/index.js +19 -0
- package/build/modules/message-pickup/protocol/v2/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +14 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +47 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js +41 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +15 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +48 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +41 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +25 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +89 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +40 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +6 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js +23 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.d.ts +27 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.js +88 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.js.map +1 -0
- package/build/modules/message-pickup/services/index.d.ts +1 -0
- package/build/modules/message-pickup/services/index.js +18 -0
- package/build/modules/message-pickup/services/index.js.map +1 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.d.ts +13 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js +75 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js.map +1 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.d.ts +8 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.js +3 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.js.map +1 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.d.ts +20 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js +3 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js.map +1 -0
- package/build/modules/message-pickup/storage/QueuedMessage.d.ts +12 -0
- package/build/modules/message-pickup/storage/QueuedMessage.js +3 -0
- package/build/modules/message-pickup/storage/QueuedMessage.js.map +1 -0
- package/build/modules/message-pickup/storage/index.d.ts +4 -0
- package/build/modules/message-pickup/storage/index.js +21 -0
- package/build/modules/message-pickup/storage/index.js.map +1 -0
- package/build/modules/oob/OutOfBandApi.d.ts +275 -0
- package/build/modules/oob/OutOfBandApi.js +717 -0
- package/build/modules/oob/OutOfBandApi.js.map +1 -0
- package/build/modules/oob/OutOfBandModule.d.ts +10 -0
- package/build/modules/oob/OutOfBandModule.js +32 -0
- package/build/modules/oob/OutOfBandModule.js.map +1 -0
- package/build/modules/oob/OutOfBandService.d.ts +48 -0
- package/build/modules/oob/OutOfBandService.js +218 -0
- package/build/modules/oob/OutOfBandService.js.map +1 -0
- package/build/modules/oob/converters.d.ts +9 -0
- package/build/modules/oob/converters.js +91 -0
- package/build/modules/oob/converters.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +18 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.js +75 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandEvents.d.ts +23 -0
- package/build/modules/oob/domain/OutOfBandEvents.js +9 -0
- package/build/modules/oob/domain/OutOfBandEvents.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandRole.d.ts +4 -0
- package/build/modules/oob/domain/OutOfBandRole.js +9 -0
- package/build/modules/oob/domain/OutOfBandRole.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandState.d.ts +6 -0
- package/build/modules/oob/domain/OutOfBandState.js +11 -0
- package/build/modules/oob/domain/OutOfBandState.js.map +1 -0
- package/build/modules/oob/domain/index.d.ts +4 -0
- package/build/modules/oob/domain/index.js +21 -0
- package/build/modules/oob/domain/index.js.map +1 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +10 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +16 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +1 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +11 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.js +21 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +1 -0
- package/build/modules/oob/handlers/index.d.ts +1 -0
- package/build/modules/oob/handlers/index.js +18 -0
- package/build/modules/oob/handlers/index.js.map +1 -0
- package/build/modules/oob/helpers.d.ts +3 -0
- package/build/modules/oob/helpers.js +41 -0
- package/build/modules/oob/helpers.js.map +1 -0
- package/build/modules/oob/index.d.ts +6 -0
- package/build/modules/oob/index.js +23 -0
- package/build/modules/oob/index.js.map +1 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +11 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +34 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +1 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +10 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.js +33 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.js.map +1 -0
- package/build/modules/oob/messages/OutOfBandInvitation.d.ts +55 -0
- package/build/modules/oob/messages/OutOfBandInvitation.js +176 -0
- package/build/modules/oob/messages/OutOfBandInvitation.js.map +1 -0
- package/build/modules/oob/messages/index.d.ts +3 -0
- package/build/modules/oob/messages/index.js +20 -0
- package/build/modules/oob/messages/index.js.map +1 -0
- package/build/modules/oob/repository/OutOfBandRecord.d.ts +59 -0
- package/build/modules/oob/repository/OutOfBandRecord.js +67 -0
- package/build/modules/oob/repository/OutOfBandRecord.js.map +1 -0
- package/build/modules/oob/repository/OutOfBandRepository.d.ts +5 -0
- package/build/modules/oob/repository/OutOfBandRepository.js +29 -0
- package/build/modules/oob/repository/OutOfBandRepository.js.map +1 -0
- package/build/modules/oob/repository/index.d.ts +2 -0
- package/build/modules/oob/repository/index.js +19 -0
- package/build/modules/oob/repository/index.js.map +1 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +19 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +9 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +1 -0
- package/build/modules/proofs/ProofEvents.d.ts +13 -0
- package/build/modules/proofs/ProofEvents.js +8 -0
- package/build/modules/proofs/ProofEvents.js.map +1 -0
- package/build/modules/proofs/ProofsApi.d.ts +68 -0
- package/build/modules/proofs/ProofsApi.js +475 -0
- package/build/modules/proofs/ProofsApi.js.map +1 -0
- package/build/modules/proofs/ProofsApiOptions.d.ts +141 -0
- package/build/modules/proofs/ProofsApiOptions.js +3 -0
- package/build/modules/proofs/ProofsApiOptions.js.map +1 -0
- package/build/modules/proofs/ProofsModule.d.ts +21 -0
- package/build/modules/proofs/ProofsModule.js +38 -0
- package/build/modules/proofs/ProofsModule.js.map +1 -0
- package/build/modules/proofs/ProofsModuleConfig.d.ts +34 -0
- package/build/modules/proofs/ProofsModuleConfig.js +19 -0
- package/build/modules/proofs/ProofsModuleConfig.js.map +1 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +8 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.js +13 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +1 -0
- package/build/modules/proofs/errors/index.d.ts +1 -0
- package/build/modules/proofs/errors/index.js +18 -0
- package/build/modules/proofs/errors/index.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormat.d.ts +66 -0
- package/build/modules/proofs/formats/ProofFormat.js +3 -0
- package/build/modules/proofs/formats/ProofFormat.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormatService.d.ts +19 -0
- package/build/modules/proofs/formats/ProofFormatService.js +3 -0
- package/build/modules/proofs/formats/ProofFormatService.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +103 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js +3 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +52 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +3 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +31 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +291 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +2 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js +19 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +1 -0
- package/build/modules/proofs/formats/index.d.ts +6 -0
- package/build/modules/proofs/formats/index.js +36 -0
- package/build/modules/proofs/formats/index.js.map +1 -0
- package/build/modules/proofs/index.d.ts +10 -0
- package/build/modules/proofs/index.js +29 -0
- package/build/modules/proofs/index.js.map +1 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +8 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.js +16 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.js.map +1 -0
- package/build/modules/proofs/models/ProofFormatSpec.d.ts +9 -0
- package/build/modules/proofs/models/ProofFormatSpec.js +34 -0
- package/build/modules/proofs/models/ProofFormatSpec.js.map +1 -0
- package/build/modules/proofs/models/ProofRole.d.ts +4 -0
- package/build/modules/proofs/models/ProofRole.js +9 -0
- package/build/modules/proofs/models/ProofRole.js.map +1 -0
- package/build/modules/proofs/models/ProofState.d.ts +16 -0
- package/build/modules/proofs/models/ProofState.js +21 -0
- package/build/modules/proofs/models/ProofState.js.map +1 -0
- package/build/modules/proofs/models/index.d.ts +4 -0
- package/build/modules/proofs/models/index.js +21 -0
- package/build/modules/proofs/models/index.js.map +1 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +97 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js +150 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/ProofProtocol.d.ts +51 -0
- package/build/modules/proofs/protocol/ProofProtocol.js +3 -0
- package/build/modules/proofs/protocol/ProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +128 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.js +3 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +1 -0
- package/build/modules/proofs/protocol/index.d.ts +5 -0
- package/build/modules/proofs/protocol/index.js +39 -0
- package/build/modules/proofs/protocol/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +93 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +307 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +1 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +114 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +797 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +13 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +19 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +1 -0
- package/build/modules/proofs/protocol/v2/errors/index.d.ts +1 -0
- package/build/modules/proofs/protocol/v2/errors/index.js +18 -0
- package/build/modules/proofs/protocol/v2/errors/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +9 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +15 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +10 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +43 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +9 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +15 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +11 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +36 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +10 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +36 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/index.d.ts +3 -0
- package/build/modules/proofs/protocol/v2/index.js +20 -0
- package/build/modules/proofs/protocol/v2/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +5 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +27 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +24 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +84 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +8 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +30 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +22 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +76 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +26 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +91 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/index.d.ts +5 -0
- package/build/modules/proofs/protocol/v2/messages/index.js +22 -0
- package/build/modules/proofs/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +50 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.js +58 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.js.map +1 -0
- package/build/modules/proofs/repository/ProofRepository.d.ts +24 -0
- package/build/modules/proofs/repository/ProofRepository.js +51 -0
- package/build/modules/proofs/repository/ProofRepository.js.map +1 -0
- package/build/modules/proofs/repository/index.d.ts +2 -0
- package/build/modules/proofs/repository/index.js +19 -0
- package/build/modules/proofs/repository/index.js.map +1 -0
- package/build/modules/proofs/utils/composeAutoAccept.d.ts +8 -0
- package/build/modules/proofs/utils/composeAutoAccept.js +14 -0
- package/build/modules/proofs/utils/composeAutoAccept.js.map +1 -0
- package/build/modules/proofs/utils/index.d.ts +1 -0
- package/build/modules/proofs/utils/index.js +18 -0
- package/build/modules/proofs/utils/index.js.map +1 -0
- package/build/modules/routing/MediationRecipientApi.d.ts +87 -0
- package/build/modules/routing/MediationRecipientApi.js +455 -0
- package/build/modules/routing/MediationRecipientApi.js.map +1 -0
- package/build/modules/routing/MediationRecipientModule.d.ts +14 -0
- package/build/modules/routing/MediationRecipientModule.js +37 -0
- package/build/modules/routing/MediationRecipientModule.js.map +1 -0
- package/build/modules/routing/MediationRecipientModuleConfig.d.ts +79 -0
- package/build/modules/routing/MediationRecipientModuleConfig.js +34 -0
- package/build/modules/routing/MediationRecipientModuleConfig.js.map +1 -0
- package/build/modules/routing/MediatorApi.d.ts +17 -0
- package/build/modules/routing/MediatorApi.js +59 -0
- package/build/modules/routing/MediatorApi.js.map +1 -0
- package/build/modules/routing/MediatorModule.d.ts +14 -0
- package/build/modules/routing/MediatorModule.js +45 -0
- package/build/modules/routing/MediatorModule.js.map +1 -0
- package/build/modules/routing/MediatorModuleConfig.d.ts +33 -0
- package/build/modules/routing/MediatorModuleConfig.js +19 -0
- package/build/modules/routing/MediatorModuleConfig.js.map +1 -0
- package/build/modules/routing/MediatorPickupStrategy.d.ts +7 -0
- package/build/modules/routing/MediatorPickupStrategy.js +19 -0
- package/build/modules/routing/MediatorPickupStrategy.js.map +1 -0
- package/build/modules/routing/MessageForwardingStrategy.d.ts +5 -0
- package/build/modules/routing/MessageForwardingStrategy.js +16 -0
- package/build/modules/routing/MessageForwardingStrategy.js.map +1 -0
- package/build/modules/routing/RoutingEvents.d.ts +30 -0
- package/build/modules/routing/RoutingEvents.js +10 -0
- package/build/modules/routing/RoutingEvents.js.map +1 -0
- package/build/modules/routing/error/RoutingProblemReportReason.d.ts +3 -0
- package/build/modules/routing/error/RoutingProblemReportReason.js +8 -0
- package/build/modules/routing/error/RoutingProblemReportReason.js.map +1 -0
- package/build/modules/routing/error/index.d.ts +1 -0
- package/build/modules/routing/error/index.js +18 -0
- package/build/modules/routing/error/index.js.map +1 -0
- package/build/modules/routing/handlers/ForwardHandler.d.ts +9 -0
- package/build/modules/routing/handlers/ForwardHandler.js +15 -0
- package/build/modules/routing/handlers/ForwardHandler.js.map +1 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +10 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.js +21 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +1 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +9 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +16 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationDenyHandler.d.ts +9 -0
- package/build/modules/routing/handlers/MediationDenyHandler.js +16 -0
- package/build/modules/routing/handlers/MediationDenyHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationGrantHandler.d.ts +9 -0
- package/build/modules/routing/handlers/MediationGrantHandler.js +16 -0
- package/build/modules/routing/handlers/MediationGrantHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationRequestHandler.d.ts +12 -0
- package/build/modules/routing/handlers/MediationRequestHandler.js +26 -0
- package/build/modules/routing/handlers/MediationRequestHandler.js.map +1 -0
- package/build/modules/routing/handlers/index.d.ts +6 -0
- package/build/modules/routing/handlers/index.js +23 -0
- package/build/modules/routing/handlers/index.js.map +1 -0
- package/build/modules/routing/index.d.ts +11 -0
- package/build/modules/routing/index.js +28 -0
- package/build/modules/routing/index.js.map +1 -0
- package/build/modules/routing/messages/ForwardMessage.d.ts +23 -0
- package/build/modules/routing/messages/ForwardMessage.js +52 -0
- package/build/modules/routing/messages/ForwardMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistMessage.d.ts +20 -0
- package/build/modules/routing/messages/KeylistMessage.js +49 -0
- package/build/modules/routing/messages/KeylistMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +29 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.js +68 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +34 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +79 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationDenyMessage.d.ts +14 -0
- package/build/modules/routing/messages/MediationDenyMessage.js +35 -0
- package/build/modules/routing/messages/MediationDenyMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationGrantMessage.d.ts +20 -0
- package/build/modules/routing/messages/MediationGrantMessage.js +54 -0
- package/build/modules/routing/messages/MediationGrantMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationRequestMessage.d.ts +22 -0
- package/build/modules/routing/messages/MediationRequestMessage.js +42 -0
- package/build/modules/routing/messages/MediationRequestMessage.js.map +1 -0
- package/build/modules/routing/messages/index.d.ts +6 -0
- package/build/modules/routing/messages/index.js +23 -0
- package/build/modules/routing/messages/index.js.map +1 -0
- package/build/modules/routing/models/MediationRole.d.ts +9 -0
- package/build/modules/routing/models/MediationRole.js +14 -0
- package/build/modules/routing/models/MediationRole.js.map +1 -0
- package/build/modules/routing/models/MediationState.d.ts +10 -0
- package/build/modules/routing/models/MediationState.js +15 -0
- package/build/modules/routing/models/MediationState.js.map +1 -0
- package/build/modules/routing/models/index.d.ts +2 -0
- package/build/modules/routing/models/index.js +19 -0
- package/build/modules/routing/models/index.js.map +1 -0
- package/build/modules/routing/repository/MediationRecord.d.ts +53 -0
- package/build/modules/routing/repository/MediationRecord.js +91 -0
- package/build/modules/routing/repository/MediationRecord.js.map +1 -0
- package/build/modules/routing/repository/MediationRepository.d.ts +8 -0
- package/build/modules/routing/repository/MediationRepository.js +37 -0
- package/build/modules/routing/repository/MediationRepository.js.map +1 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +15 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.js +21 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.js.map +1 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +6 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.js +30 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.js.map +1 -0
- package/build/modules/routing/repository/index.d.ts +4 -0
- package/build/modules/routing/repository/index.js +21 -0
- package/build/modules/routing/repository/index.js.map +1 -0
- package/build/modules/routing/services/MediationRecipientService.d.ts +54 -0
- package/build/modules/routing/services/MediationRecipientService.js +275 -0
- package/build/modules/routing/services/MediationRecipientService.js.map +1 -0
- package/build/modules/routing/services/MediatorService.d.ts +37 -0
- package/build/modules/routing/services/MediatorService.js +250 -0
- package/build/modules/routing/services/MediatorService.js.map +1 -0
- package/build/modules/routing/services/RoutingService.d.ts +32 -0
- package/build/modules/routing/services/RoutingService.js +54 -0
- package/build/modules/routing/services/RoutingService.js.map +1 -0
- package/build/modules/routing/services/helpers.d.ts +2 -0
- package/build/modules/routing/services/helpers.js +13 -0
- package/build/modules/routing/services/helpers.js.map +1 -0
- package/build/modules/routing/services/index.d.ts +3 -0
- package/build/modules/routing/services/index.js +20 -0
- package/build/modules/routing/services/index.js.map +1 -0
- package/build/repository/DidCommMessageRecord.d.ts +48 -0
- package/build/repository/DidCommMessageRecord.js +51 -0
- package/build/repository/DidCommMessageRecord.js.map +1 -0
- package/build/repository/DidCommMessageRepository.d.ts +22 -0
- package/build/repository/DidCommMessageRepository.js +74 -0
- package/build/repository/DidCommMessageRepository.js.map +1 -0
- package/build/repository/DidCommMessageRole.d.ts +4 -0
- package/build/repository/DidCommMessageRole.js +9 -0
- package/build/repository/DidCommMessageRole.js.map +1 -0
- package/build/repository/index.d.ts +3 -0
- package/build/repository/index.js +20 -0
- package/build/repository/index.js.map +1 -0
- package/build/services/DidCommDocumentService.d.ts +7 -0
- package/build/services/DidCommDocumentService.js +78 -0
- package/build/services/DidCommDocumentService.js.map +1 -0
- package/build/services/index.d.ts +1 -0
- package/build/services/index.js +18 -0
- package/build/services/index.js.map +1 -0
- package/build/transport/HttpOutboundTransport.d.ts +15 -0
- package/build/transport/HttpOutboundTransport.js +126 -0
- package/build/transport/HttpOutboundTransport.js.map +1 -0
- package/build/transport/InboundTransport.d.ts +5 -0
- package/build/transport/InboundTransport.js +3 -0
- package/build/transport/InboundTransport.js.map +1 -0
- package/build/transport/OutboundTransport.d.ts +8 -0
- package/build/transport/OutboundTransport.js +3 -0
- package/build/transport/OutboundTransport.js.map +1 -0
- package/build/transport/TransportEventTypes.d.ts +34 -0
- package/build/transport/TransportEventTypes.js +11 -0
- package/build/transport/TransportEventTypes.js.map +1 -0
- package/build/transport/WsOutboundTransport.d.ts +19 -0
- package/build/transport/WsOutboundTransport.js +146 -0
- package/build/transport/WsOutboundTransport.js.map +1 -0
- package/build/transport/index.d.ts +5 -0
- package/build/transport/index.js +22 -0
- package/build/transport/index.js.map +1 -0
- package/build/types.d.ts +46 -0
- package/build/types.js +9 -0
- package/build/types.js.map +1 -0
- package/build/updates/0.1-0.2/connection.d.ts +119 -0
- package/build/updates/0.1-0.2/connection.js +376 -0
- package/build/updates/0.1-0.2/connection.js.map +1 -0
- package/build/updates/0.1-0.2/credential.d.ts +80 -0
- package/build/updates/0.1-0.2/credential.js +204 -0
- package/build/updates/0.1-0.2/credential.js.map +1 -0
- package/build/updates/0.1-0.2/index.d.ts +2 -0
- package/build/updates/0.1-0.2/index.js +14 -0
- package/build/updates/0.1-0.2/index.js.map +1 -0
- package/build/updates/0.1-0.2/mediation.d.ts +29 -0
- package/build/updates/0.1-0.2/mediation.js +67 -0
- package/build/updates/0.1-0.2/mediation.js.map +1 -0
- package/build/updates/0.2-0.3/connection.d.ts +14 -0
- package/build/updates/0.2-0.3/connection.js +47 -0
- package/build/updates/0.2-0.3/connection.js.map +1 -0
- package/build/updates/0.2-0.3/index.d.ts +2 -0
- package/build/updates/0.2-0.3/index.js +10 -0
- package/build/updates/0.2-0.3/index.js.map +1 -0
- package/build/updates/0.2-0.3/proof.d.ts +42 -0
- package/build/updates/0.2-0.3/proof.js +130 -0
- package/build/updates/0.2-0.3/proof.js.map +1 -0
- package/build/updates/0.4-0.5/credentialExchangeRecord.d.ts +17 -0
- package/build/updates/0.4-0.5/credentialExchangeRecord.js +106 -0
- package/build/updates/0.4-0.5/credentialExchangeRecord.js.map +1 -0
- package/build/updates/0.4-0.5/index.d.ts +2 -0
- package/build/updates/0.4-0.5/index.js +10 -0
- package/build/updates/0.4-0.5/index.js.map +1 -0
- package/build/updates/0.4-0.5/proofExchangeRecord.d.ts +16 -0
- package/build/updates/0.4-0.5/proofExchangeRecord.js +87 -0
- package/build/updates/0.4-0.5/proofExchangeRecord.js.map +1 -0
- package/build/util/JWE.d.ts +2 -0
- package/build/util/JWE.js +14 -0
- package/build/util/JWE.js.map +1 -0
- package/build/util/LinkedAttachment.d.ts +23 -0
- package/build/util/LinkedAttachment.js +51 -0
- package/build/util/LinkedAttachment.js.map +1 -0
- package/build/util/attachment.d.ts +18 -0
- package/build/util/attachment.js +37 -0
- package/build/util/attachment.js.map +1 -0
- package/build/util/matchingEd25519Key.d.ts +9 -0
- package/build/util/matchingEd25519Key.js +30 -0
- package/build/util/matchingEd25519Key.js.map +1 -0
- package/build/util/messageType.d.ts +138 -0
- package/build/util/messageType.js +179 -0
- package/build/util/messageType.js.map +1 -0
- package/build/util/modules.d.ts +37 -0
- package/build/util/modules.js +20 -0
- package/build/util/modules.js.map +1 -0
- package/build/util/parseInvitation.d.ts +30 -0
- package/build/util/parseInvitation.js +155 -0
- package/build/util/parseInvitation.js.map +1 -0
- package/build/util/thread.d.ts +2 -0
- package/build/util/thread.js +7 -0
- package/build/util/thread.js.map +1 -0
- package/build/util/transformers.d.ts +1 -0
- package/build/util/transformers.js +20 -0
- package/build/util/transformers.js.map +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutOfBandApi.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA,yCAauB;AACvB,+BAAsF;AAEtF,mEAA+D;AAC/D,yCAA8E;AAC9E,yEAAqE;AACrE,uDAAmD;AACnD,gFAA4E;AAC5E,yCAAqD;AACrD,6CAAuD;AACvD,wDAK+B;AAC/B,gEAAoE;AACpE,gDAAmH;AACnH,kEAA8D;AAC9D,uEAAmE;AAEnE,yDAAqD;A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AAG,uBAAuB;qBACvB,MAAM,CAAQ,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,aAAa,CAAC,EAAE,EAAE,CAAC;qBAC3E,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,CACjC,CAAA;YACH,CAAC;iBAAM,CAAC;gBACN,wBAAwB,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAA;YACjH,CAAC;QACH,CAAC;QAED,OAAO,wBAAwB,CAAA;IACjC,CAAC;IAED,+FAA+F;IACvF,uBAAuB,CAAC,sBAA8C;QAC5E,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,gCAAqB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;QAC/F,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,6DAA6B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACzG,CAAC;CACF,CAAA;AAx2BY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,iBAAU,GAAE;IAoBR,WAAA,IAAA,aAAM,EAAC,uBAAgB,CAAC,MAAM,CAAC,CAAA;qCAPR,+CAAsB;QACtB,iCAAsB;QAC5B,mCAAgB;QAClB,+BAAc;QACd,+BAAc;QACf,6BAAa;QACd,mBAAY,UAEZ,mBAAY;GApBjB,YAAY,CAw2BxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DependencyManager, Module, AgentContext } from '@credo-ts/core';
|
|
2
|
+
import { OutOfBandApi } from './OutOfBandApi';
|
|
3
|
+
export declare class OutOfBandModule implements Module {
|
|
4
|
+
readonly api: typeof OutOfBandApi;
|
|
5
|
+
/**
|
|
6
|
+
* Registers the dependencies of the ot of band module on the dependency manager.
|
|
7
|
+
*/
|
|
8
|
+
register(dependencyManager: DependencyManager): void;
|
|
9
|
+
initialize(agentContext: AgentContext): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OutOfBandModule = void 0;
|
|
4
|
+
const FeatureRegistry_1 = require("../../FeatureRegistry");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
const OutOfBandApi_1 = require("./OutOfBandApi");
|
|
7
|
+
const OutOfBandService_1 = require("./OutOfBandService");
|
|
8
|
+
const repository_1 = require("./repository");
|
|
9
|
+
class OutOfBandModule {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.api = OutOfBandApi_1.OutOfBandApi;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Registers the dependencies of the ot of band module on the dependency manager.
|
|
15
|
+
*/
|
|
16
|
+
register(dependencyManager) {
|
|
17
|
+
// Services
|
|
18
|
+
dependencyManager.registerSingleton(OutOfBandService_1.OutOfBandService);
|
|
19
|
+
// Repositories
|
|
20
|
+
dependencyManager.registerSingleton(repository_1.OutOfBandRepository);
|
|
21
|
+
}
|
|
22
|
+
async initialize(agentContext) {
|
|
23
|
+
// Features
|
|
24
|
+
const featureRegistry = agentContext.dependencyManager.resolve(FeatureRegistry_1.FeatureRegistry);
|
|
25
|
+
featureRegistry.register(new models_1.Protocol({
|
|
26
|
+
id: 'https://didcomm.org/out-of-band/1.1',
|
|
27
|
+
roles: ['sender', 'receiver'],
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.OutOfBandModule = OutOfBandModule;
|
|
32
|
+
//# sourceMappingURL=OutOfBandModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutOfBandModule.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandModule.ts"],"names":[],"mappings":";;;AAEA,2DAAuD;AACvD,yCAAuC;AAEvC,iDAA6C;AAC7C,yDAAqD;AACrD,6CAAkD;AAElD,MAAa,eAAe;IAA5B;QACkB,QAAG,GAAG,2BAAY,CAAA;IAwBpC,CAAC;IAtBC;;OAEG;IACI,QAAQ,CAAC,iBAAoC;QAClD,WAAW;QACX,iBAAiB,CAAC,iBAAiB,CAAC,mCAAgB,CAAC,CAAA;QAErD,eAAe;QACf,iBAAiB,CAAC,iBAAiB,CAAC,gCAAmB,CAAC,CAAA;IAC1D,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,YAA0B;QAChD,WAAW;QACX,MAAM,eAAe,GAAG,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,iCAAe,CAAC,CAAA;QAE/E,eAAe,CAAC,QAAQ,CACtB,IAAI,iBAAQ,CAAC;YACX,EAAE,EAAE,qCAAqC;YACzC,KAAK,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;SAC9B,CAAC,CACH,CAAA;IACH,CAAC;CACF;AAzBD,0CAyBC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { OutOfBandDidCommService } from './domain';
|
|
2
|
+
import type { InboundMessageContext } from '../../models';
|
|
3
|
+
import type { ConnectionRecord, HandshakeProtocol } from '../connections';
|
|
4
|
+
import type { AgentContext, Key, Query, QueryOptions } from '@credo-ts/core';
|
|
5
|
+
import { EventEmitter } from '@credo-ts/core';
|
|
6
|
+
import { DidCommDocumentService } from '../../services';
|
|
7
|
+
import { OutOfBandState } from './domain/OutOfBandState';
|
|
8
|
+
import { HandshakeReuseMessage } from './messages';
|
|
9
|
+
import { HandshakeReuseAcceptedMessage } from './messages/HandshakeReuseAcceptedMessage';
|
|
10
|
+
import { OutOfBandRecord, OutOfBandRepository } from './repository';
|
|
11
|
+
export interface CreateFromImplicitInvitationConfig {
|
|
12
|
+
did: string;
|
|
13
|
+
threadId: string;
|
|
14
|
+
handshakeProtocols: HandshakeProtocol[];
|
|
15
|
+
autoAcceptConnection?: boolean;
|
|
16
|
+
recipientKey: Key;
|
|
17
|
+
}
|
|
18
|
+
export declare class OutOfBandService {
|
|
19
|
+
private outOfBandRepository;
|
|
20
|
+
private eventEmitter;
|
|
21
|
+
private didCommDocumentService;
|
|
22
|
+
constructor(outOfBandRepository: OutOfBandRepository, eventEmitter: EventEmitter, didCommDocumentService: DidCommDocumentService);
|
|
23
|
+
/**
|
|
24
|
+
* Creates an Out of Band record from a Connection/DIDExchange request started by using
|
|
25
|
+
* a publicly resolvable DID this agent can control
|
|
26
|
+
*/
|
|
27
|
+
createFromImplicitInvitation(agentContext: AgentContext, config: CreateFromImplicitInvitationConfig): Promise<OutOfBandRecord>;
|
|
28
|
+
processHandshakeReuse(messageContext: InboundMessageContext<HandshakeReuseMessage>): Promise<HandshakeReuseAcceptedMessage>;
|
|
29
|
+
processHandshakeReuseAccepted(messageContext: InboundMessageContext<HandshakeReuseAcceptedMessage>): Promise<void>;
|
|
30
|
+
createHandShakeReuse(agentContext: AgentContext, outOfBandRecord: OutOfBandRecord, connectionRecord: ConnectionRecord): Promise<HandshakeReuseMessage>;
|
|
31
|
+
save(agentContext: AgentContext, outOfBandRecord: OutOfBandRecord): Promise<void>;
|
|
32
|
+
updateState(agentContext: AgentContext, outOfBandRecord: OutOfBandRecord, newState: OutOfBandState): Promise<void>;
|
|
33
|
+
emitStateChangedEvent(agentContext: AgentContext, outOfBandRecord: OutOfBandRecord, previousState: OutOfBandState | null): void;
|
|
34
|
+
findById(agentContext: AgentContext, outOfBandRecordId: string): Promise<OutOfBandRecord | null>;
|
|
35
|
+
getById(agentContext: AgentContext, outOfBandRecordId: string): Promise<OutOfBandRecord>;
|
|
36
|
+
findByReceivedInvitationId(agentContext: AgentContext, receivedInvitationId: string): Promise<OutOfBandRecord | null>;
|
|
37
|
+
findByCreatedInvitationId(agentContext: AgentContext, createdInvitationId: string, threadId?: string): Promise<OutOfBandRecord | null>;
|
|
38
|
+
findCreatedByRecipientKey(agentContext: AgentContext, recipientKey: Key): Promise<OutOfBandRecord | null>;
|
|
39
|
+
getAll(agentContext: AgentContext): Promise<OutOfBandRecord[]>;
|
|
40
|
+
findAllByQuery(agentContext: AgentContext, query: Query<OutOfBandRecord>, queryOptions?: QueryOptions): Promise<OutOfBandRecord[]>;
|
|
41
|
+
deleteById(agentContext: AgentContext, outOfBandId: string): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Extract a resolved didcomm service from an out of band invitation.
|
|
44
|
+
*
|
|
45
|
+
* Currently the first service that can be resolved is returned.
|
|
46
|
+
*/
|
|
47
|
+
getResolvedServiceForOutOfBandServices(agentContext: AgentContext, services: Array<string | OutOfBandDidCommService>): Promise<import("@credo-ts/core").ResolvedDidCommService>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OutOfBandService = void 0;
|
|
13
|
+
const core_1 = require("@credo-ts/core");
|
|
14
|
+
const services_1 = require("../../services");
|
|
15
|
+
const OutOfBandEvents_1 = require("./domain/OutOfBandEvents");
|
|
16
|
+
const OutOfBandRole_1 = require("./domain/OutOfBandRole");
|
|
17
|
+
const OutOfBandState_1 = require("./domain/OutOfBandState");
|
|
18
|
+
const messages_1 = require("./messages");
|
|
19
|
+
const HandshakeReuseAcceptedMessage_1 = require("./messages/HandshakeReuseAcceptedMessage");
|
|
20
|
+
const repository_1 = require("./repository");
|
|
21
|
+
let OutOfBandService = class OutOfBandService {
|
|
22
|
+
constructor(outOfBandRepository, eventEmitter, didCommDocumentService) {
|
|
23
|
+
this.outOfBandRepository = outOfBandRepository;
|
|
24
|
+
this.eventEmitter = eventEmitter;
|
|
25
|
+
this.didCommDocumentService = didCommDocumentService;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Creates an Out of Band record from a Connection/DIDExchange request started by using
|
|
29
|
+
* a publicly resolvable DID this agent can control
|
|
30
|
+
*/
|
|
31
|
+
async createFromImplicitInvitation(agentContext, config) {
|
|
32
|
+
const { did, threadId, handshakeProtocols, autoAcceptConnection, recipientKey } = config;
|
|
33
|
+
// Verify it is a valid did and it is present in the wallet
|
|
34
|
+
const publicDid = (0, core_1.parseDid)(did);
|
|
35
|
+
const didsApi = agentContext.dependencyManager.resolve(core_1.DidsApi);
|
|
36
|
+
const [createdDid] = await didsApi.getCreatedDids({ did: publicDid.did });
|
|
37
|
+
if (!createdDid) {
|
|
38
|
+
throw new core_1.CredoError(`Referenced public did ${did} not found.`);
|
|
39
|
+
}
|
|
40
|
+
// Recreate an 'implicit invitation' matching the parameters used by the invitee when
|
|
41
|
+
// initiating the flow
|
|
42
|
+
const outOfBandInvitation = new messages_1.OutOfBandInvitation({
|
|
43
|
+
id: did,
|
|
44
|
+
services: [did],
|
|
45
|
+
handshakeProtocols,
|
|
46
|
+
});
|
|
47
|
+
outOfBandInvitation.setThread({ threadId });
|
|
48
|
+
const outOfBandRecord = new repository_1.OutOfBandRecord({
|
|
49
|
+
role: OutOfBandRole_1.OutOfBandRole.Sender,
|
|
50
|
+
state: OutOfBandState_1.OutOfBandState.AwaitResponse,
|
|
51
|
+
reusable: true,
|
|
52
|
+
autoAcceptConnection: autoAcceptConnection ?? false,
|
|
53
|
+
outOfBandInvitation,
|
|
54
|
+
tags: {
|
|
55
|
+
recipientKeyFingerprints: [recipientKey.fingerprint],
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
await this.save(agentContext, outOfBandRecord);
|
|
59
|
+
this.emitStateChangedEvent(agentContext, outOfBandRecord, null);
|
|
60
|
+
return outOfBandRecord;
|
|
61
|
+
}
|
|
62
|
+
async processHandshakeReuse(messageContext) {
|
|
63
|
+
const reuseMessage = messageContext.message;
|
|
64
|
+
const parentThreadId = reuseMessage.thread?.parentThreadId;
|
|
65
|
+
if (!parentThreadId) {
|
|
66
|
+
throw new core_1.CredoError('handshake-reuse message must have a parent thread id');
|
|
67
|
+
}
|
|
68
|
+
const outOfBandRecord = await this.findByCreatedInvitationId(messageContext.agentContext, parentThreadId);
|
|
69
|
+
if (!outOfBandRecord) {
|
|
70
|
+
throw new core_1.CredoError('No out of band record found for handshake-reuse message');
|
|
71
|
+
}
|
|
72
|
+
// Assert
|
|
73
|
+
outOfBandRecord.assertRole(OutOfBandRole_1.OutOfBandRole.Sender);
|
|
74
|
+
outOfBandRecord.assertState(OutOfBandState_1.OutOfBandState.AwaitResponse);
|
|
75
|
+
const requestLength = outOfBandRecord.outOfBandInvitation.getRequests()?.length ?? 0;
|
|
76
|
+
if (requestLength > 0) {
|
|
77
|
+
throw new core_1.CredoError('Handshake reuse should only be used when no requests are present');
|
|
78
|
+
}
|
|
79
|
+
const reusedConnection = messageContext.assertReadyConnection();
|
|
80
|
+
this.eventEmitter.emit(messageContext.agentContext, {
|
|
81
|
+
type: OutOfBandEvents_1.OutOfBandEventTypes.HandshakeReused,
|
|
82
|
+
payload: {
|
|
83
|
+
reuseThreadId: reuseMessage.threadId,
|
|
84
|
+
connectionRecord: reusedConnection,
|
|
85
|
+
outOfBandRecord,
|
|
86
|
+
},
|
|
87
|
+
});
|
|
88
|
+
// If the out of band record is not reusable we can set the state to done
|
|
89
|
+
if (!outOfBandRecord.reusable) {
|
|
90
|
+
await this.updateState(messageContext.agentContext, outOfBandRecord, OutOfBandState_1.OutOfBandState.Done);
|
|
91
|
+
}
|
|
92
|
+
const reuseAcceptedMessage = new HandshakeReuseAcceptedMessage_1.HandshakeReuseAcceptedMessage({
|
|
93
|
+
threadId: reuseMessage.threadId,
|
|
94
|
+
parentThreadId,
|
|
95
|
+
});
|
|
96
|
+
return reuseAcceptedMessage;
|
|
97
|
+
}
|
|
98
|
+
async processHandshakeReuseAccepted(messageContext) {
|
|
99
|
+
const reuseAcceptedMessage = messageContext.message;
|
|
100
|
+
const parentThreadId = reuseAcceptedMessage.thread?.parentThreadId;
|
|
101
|
+
if (!parentThreadId) {
|
|
102
|
+
throw new core_1.CredoError('handshake-reuse-accepted message must have a parent thread id');
|
|
103
|
+
}
|
|
104
|
+
const outOfBandRecord = await this.findByReceivedInvitationId(messageContext.agentContext, parentThreadId);
|
|
105
|
+
if (!outOfBandRecord) {
|
|
106
|
+
throw new core_1.CredoError('No out of band record found for handshake-reuse-accepted message');
|
|
107
|
+
}
|
|
108
|
+
// Assert
|
|
109
|
+
outOfBandRecord.assertRole(OutOfBandRole_1.OutOfBandRole.Receiver);
|
|
110
|
+
outOfBandRecord.assertState(OutOfBandState_1.OutOfBandState.PrepareResponse);
|
|
111
|
+
const reusedConnection = messageContext.assertReadyConnection();
|
|
112
|
+
// Checks whether the connection associated with reuse accepted message matches with the connection
|
|
113
|
+
// associated with the reuse message.
|
|
114
|
+
// FIXME: not really a fan of the reuseConnectionId, but it's the only way I can think of now to get the connection
|
|
115
|
+
// associated with the reuse message. Maybe we can at least move it to the metadata and remove it directly afterwards?
|
|
116
|
+
// But this is an issue in general that has also come up for ACA-Py. How do I find the connection associated with an oob record?
|
|
117
|
+
// Because it doesn't work really well with connection reuse.
|
|
118
|
+
if (outOfBandRecord.reuseConnectionId !== reusedConnection.id) {
|
|
119
|
+
throw new core_1.CredoError('handshake-reuse-accepted is not in response to a handshake-reuse message.');
|
|
120
|
+
}
|
|
121
|
+
this.eventEmitter.emit(messageContext.agentContext, {
|
|
122
|
+
type: OutOfBandEvents_1.OutOfBandEventTypes.HandshakeReused,
|
|
123
|
+
payload: {
|
|
124
|
+
reuseThreadId: reuseAcceptedMessage.threadId,
|
|
125
|
+
connectionRecord: reusedConnection,
|
|
126
|
+
outOfBandRecord,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
// receiver role is never reusable, so we can set the state to done
|
|
130
|
+
await this.updateState(messageContext.agentContext, outOfBandRecord, OutOfBandState_1.OutOfBandState.Done);
|
|
131
|
+
}
|
|
132
|
+
async createHandShakeReuse(agentContext, outOfBandRecord, connectionRecord) {
|
|
133
|
+
const reuseMessage = new messages_1.HandshakeReuseMessage({ parentThreadId: outOfBandRecord.outOfBandInvitation.id });
|
|
134
|
+
// Store the reuse connection id
|
|
135
|
+
outOfBandRecord.reuseConnectionId = connectionRecord.id;
|
|
136
|
+
await this.outOfBandRepository.update(agentContext, outOfBandRecord);
|
|
137
|
+
return reuseMessage;
|
|
138
|
+
}
|
|
139
|
+
async save(agentContext, outOfBandRecord) {
|
|
140
|
+
return this.outOfBandRepository.save(agentContext, outOfBandRecord);
|
|
141
|
+
}
|
|
142
|
+
async updateState(agentContext, outOfBandRecord, newState) {
|
|
143
|
+
const previousState = outOfBandRecord.state;
|
|
144
|
+
outOfBandRecord.state = newState;
|
|
145
|
+
await this.outOfBandRepository.update(agentContext, outOfBandRecord);
|
|
146
|
+
this.emitStateChangedEvent(agentContext, outOfBandRecord, previousState);
|
|
147
|
+
}
|
|
148
|
+
emitStateChangedEvent(agentContext, outOfBandRecord, previousState) {
|
|
149
|
+
this.eventEmitter.emit(agentContext, {
|
|
150
|
+
type: OutOfBandEvents_1.OutOfBandEventTypes.OutOfBandStateChanged,
|
|
151
|
+
payload: {
|
|
152
|
+
outOfBandRecord: outOfBandRecord.clone(),
|
|
153
|
+
previousState,
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
async findById(agentContext, outOfBandRecordId) {
|
|
158
|
+
return this.outOfBandRepository.findById(agentContext, outOfBandRecordId);
|
|
159
|
+
}
|
|
160
|
+
async getById(agentContext, outOfBandRecordId) {
|
|
161
|
+
return this.outOfBandRepository.getById(agentContext, outOfBandRecordId);
|
|
162
|
+
}
|
|
163
|
+
async findByReceivedInvitationId(agentContext, receivedInvitationId) {
|
|
164
|
+
return this.outOfBandRepository.findSingleByQuery(agentContext, {
|
|
165
|
+
invitationId: receivedInvitationId,
|
|
166
|
+
role: OutOfBandRole_1.OutOfBandRole.Receiver,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
async findByCreatedInvitationId(agentContext, createdInvitationId, threadId) {
|
|
170
|
+
return this.outOfBandRepository.findSingleByQuery(agentContext, {
|
|
171
|
+
invitationId: createdInvitationId,
|
|
172
|
+
role: OutOfBandRole_1.OutOfBandRole.Sender,
|
|
173
|
+
threadId,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
async findCreatedByRecipientKey(agentContext, recipientKey) {
|
|
177
|
+
return this.outOfBandRepository.findSingleByQuery(agentContext, {
|
|
178
|
+
recipientKeyFingerprints: [recipientKey.fingerprint],
|
|
179
|
+
role: OutOfBandRole_1.OutOfBandRole.Sender,
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
async getAll(agentContext) {
|
|
183
|
+
return this.outOfBandRepository.getAll(agentContext);
|
|
184
|
+
}
|
|
185
|
+
async findAllByQuery(agentContext, query, queryOptions) {
|
|
186
|
+
return this.outOfBandRepository.findByQuery(agentContext, query, queryOptions);
|
|
187
|
+
}
|
|
188
|
+
async deleteById(agentContext, outOfBandId) {
|
|
189
|
+
const outOfBandRecord = await this.getById(agentContext, outOfBandId);
|
|
190
|
+
return this.outOfBandRepository.delete(agentContext, outOfBandRecord);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Extract a resolved didcomm service from an out of band invitation.
|
|
194
|
+
*
|
|
195
|
+
* Currently the first service that can be resolved is returned.
|
|
196
|
+
*/
|
|
197
|
+
async getResolvedServiceForOutOfBandServices(agentContext, services) {
|
|
198
|
+
for (const service of services) {
|
|
199
|
+
if (typeof service === 'string') {
|
|
200
|
+
const [didService] = await this.didCommDocumentService.resolveServicesFromDid(agentContext, service);
|
|
201
|
+
if (didService)
|
|
202
|
+
return didService;
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
return service.resolvedDidCommService;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
throw new core_1.CredoError('Could not extract a service from the out of band invitation.');
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
exports.OutOfBandService = OutOfBandService;
|
|
212
|
+
exports.OutOfBandService = OutOfBandService = __decorate([
|
|
213
|
+
(0, core_1.injectable)(),
|
|
214
|
+
__metadata("design:paramtypes", [repository_1.OutOfBandRepository,
|
|
215
|
+
core_1.EventEmitter,
|
|
216
|
+
services_1.DidCommDocumentService])
|
|
217
|
+
], OutOfBandService);
|
|
218
|
+
//# sourceMappingURL=OutOfBandService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutOfBandService.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,yCAAwF;AAExF,6CAAuD;AAEvD,8DAA8D;AAC9D,0DAAsD;AACtD,4DAAwD;AACxD,yCAAuE;AACvE,4FAAwF;AACxF,6CAAmE;AAW5D,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAK3B,YACE,mBAAwC,EACxC,YAA0B,EAC1B,sBAA8C;QAE9C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;IACtD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,4BAA4B,CACvC,YAA0B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,CAAC,mBAAmB,CAAC,WAAW,CAAC,YAAY,EAAE,KAAK,EAAE,YAAY,CAAC,CAAA;IAChF,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,YAA0B,EAAE,WAAmB;QACrE,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,WAAW,CAAC,CAAA;QACrE,OAAO,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAA;IACvE,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,sCAAsC,CACjD,YAA0B,EAC1B,QAAiD;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC/B,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;gBAEpG,IAAI,UAAU;oBAAE,OAAO,UAAU,CAAA;YACnC,CAAC;iBAAM,CAAC;gBACN,OAAO,OAAO,CAAC,sBAAsB,CAAA;YACvC,CAAC;QACH,CAAC;QAED,MAAM,IAAI,iBAAU,CAAC,8DAA8D,CAAC,CAAA;IACtF,CAAC;CACF,CAAA;AA1PY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,iBAAU,GAAE;qCAOY,gCAAmB;QAC1B,mBAAY;QACF,iCAAsB;GARrC,gBAAgB,CA0P5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ConnectionInvitationMessage } from '../connections/messages/ConnectionInvitationMessage';
|
|
2
|
+
import { OutOfBandDidCommService } from './domain/OutOfBandDidCommService';
|
|
3
|
+
import { OutOfBandInvitation } from './messages/OutOfBandInvitation';
|
|
4
|
+
export declare function convertToNewInvitation(oldInvitation: ConnectionInvitationMessage): OutOfBandInvitation;
|
|
5
|
+
export declare function convertToOldInvitation(newInvitation: OutOfBandInvitation): ConnectionInvitationMessage;
|
|
6
|
+
export declare function outOfBandServiceToNumAlgo4Did(service: OutOfBandDidCommService): {
|
|
7
|
+
shortFormDid: string;
|
|
8
|
+
longFormDid: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertToNewInvitation = convertToNewInvitation;
|
|
4
|
+
exports.convertToOldInvitation = convertToOldInvitation;
|
|
5
|
+
exports.outOfBandServiceToNumAlgo4Did = outOfBandServiceToNumAlgo4Did;
|
|
6
|
+
const core_1 = require("@credo-ts/core");
|
|
7
|
+
const ConnectionInvitationMessage_1 = require("../connections/messages/ConnectionInvitationMessage");
|
|
8
|
+
const OutOfBandDidCommService_1 = require("./domain/OutOfBandDidCommService");
|
|
9
|
+
const OutOfBandInvitation_1 = require("./messages/OutOfBandInvitation");
|
|
10
|
+
function convertToNewInvitation(oldInvitation) {
|
|
11
|
+
let service;
|
|
12
|
+
if (oldInvitation.did) {
|
|
13
|
+
service = oldInvitation.did;
|
|
14
|
+
}
|
|
15
|
+
else if (oldInvitation.serviceEndpoint && oldInvitation.recipientKeys && oldInvitation.recipientKeys.length > 0) {
|
|
16
|
+
service = new OutOfBandDidCommService_1.OutOfBandDidCommService({
|
|
17
|
+
id: '#inline',
|
|
18
|
+
recipientKeys: oldInvitation.recipientKeys?.map(core_1.verkeyToDidKey),
|
|
19
|
+
routingKeys: oldInvitation.routingKeys?.map(core_1.verkeyToDidKey),
|
|
20
|
+
serviceEndpoint: oldInvitation.serviceEndpoint,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error('Missing required serviceEndpoint, routingKeys and/or did fields in connection invitation');
|
|
25
|
+
}
|
|
26
|
+
const options = {
|
|
27
|
+
id: oldInvitation.id,
|
|
28
|
+
label: oldInvitation.label,
|
|
29
|
+
imageUrl: oldInvitation.imageUrl,
|
|
30
|
+
appendedAttachments: oldInvitation.appendedAttachments,
|
|
31
|
+
accept: ['didcomm/aip1', 'didcomm/aip2;env=rfc19'],
|
|
32
|
+
services: [service],
|
|
33
|
+
// NOTE: we hardcode it to 1.0, we won't see support for newer versions of the protocol
|
|
34
|
+
// and we also can process 1.0 if we support newer versions
|
|
35
|
+
handshakeProtocols: ['https://didcomm.org/connections/1.0'],
|
|
36
|
+
};
|
|
37
|
+
const outOfBandInvitation = new OutOfBandInvitation_1.OutOfBandInvitation(options);
|
|
38
|
+
outOfBandInvitation.invitationType = OutOfBandInvitation_1.InvitationType.Connection;
|
|
39
|
+
return outOfBandInvitation;
|
|
40
|
+
}
|
|
41
|
+
function convertToOldInvitation(newInvitation) {
|
|
42
|
+
// Taking first service, as we can only include one service in a legacy invitation.
|
|
43
|
+
const [service] = newInvitation.getServices();
|
|
44
|
+
let options;
|
|
45
|
+
if (typeof service === 'string') {
|
|
46
|
+
options = {
|
|
47
|
+
id: newInvitation.id,
|
|
48
|
+
// label is optional
|
|
49
|
+
label: newInvitation.label ?? '',
|
|
50
|
+
did: service,
|
|
51
|
+
imageUrl: newInvitation.imageUrl,
|
|
52
|
+
appendedAttachments: newInvitation.appendedAttachments,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
options = {
|
|
57
|
+
id: newInvitation.id,
|
|
58
|
+
// label is optional
|
|
59
|
+
label: newInvitation.label ?? '',
|
|
60
|
+
recipientKeys: service.recipientKeys.map(core_1.didKeyToVerkey),
|
|
61
|
+
routingKeys: service.routingKeys?.map(core_1.didKeyToVerkey),
|
|
62
|
+
serviceEndpoint: service.serviceEndpoint,
|
|
63
|
+
imageUrl: newInvitation.imageUrl,
|
|
64
|
+
appendedAttachments: newInvitation.appendedAttachments,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
const connectionInvitationMessage = new ConnectionInvitationMessage_1.ConnectionInvitationMessage(options);
|
|
68
|
+
return connectionInvitationMessage;
|
|
69
|
+
}
|
|
70
|
+
function outOfBandServiceToNumAlgo4Did(service) {
|
|
71
|
+
// FIXME: add the key entries for the recipientKeys to the did document.
|
|
72
|
+
const didDocument = new core_1.DidDocumentBuilder('')
|
|
73
|
+
.addService(new core_1.DidCommV1Service({
|
|
74
|
+
id: service.id,
|
|
75
|
+
serviceEndpoint: service.serviceEndpoint,
|
|
76
|
+
accept: service.accept,
|
|
77
|
+
// FIXME: this should actually be local key references, not did:key:123#456 references
|
|
78
|
+
recipientKeys: service.recipientKeys.map((recipientKey) => {
|
|
79
|
+
const did = core_1.DidKey.fromDid(recipientKey);
|
|
80
|
+
return `${did.did}#${did.key.fingerprint}`;
|
|
81
|
+
}),
|
|
82
|
+
// Map did:key:xxx to actual did:key:xxx#123
|
|
83
|
+
routingKeys: service.routingKeys?.map((routingKey) => {
|
|
84
|
+
const did = core_1.DidKey.fromDid(routingKey);
|
|
85
|
+
return `${did.did}#${did.key.fingerprint}`;
|
|
86
|
+
}),
|
|
87
|
+
}))
|
|
88
|
+
.build();
|
|
89
|
+
return (0, core_1.didDocumentToNumAlgo4Did)(didDocument);
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=converters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converters.js","sourceRoot":"","sources":["../../../src/modules/oob/converters.ts"],"names":[],"mappings":";;AAgBA,wDA+BC;AAED,wDA6BC;AAED,sEAuBC;AArGD,yCAOuB;AAEvB,qGAAiG;AAEjG,8EAA0E;AAC1E,wEAAoF;AAEpF,SAAgB,sBAAsB,CAAC,aAA0C;IAC/E,IAAI,OAAO,CAAA;IAEX,IAAI,aAAa,CAAC,GAAG,EAAE,CAAC;QACtB,OAAO,GAAG,aAAa,CAAC,GAAG,CAAA;IAC7B,CAAC;SAAM,IAAI,aAAa,CAAC,eAAe,IAAI,aAAa,CAAC,aAAa,IAAI,aAAa,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClH,OAAO,GAAG,IAAI,i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GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAA;QAC5C,CAAC,CAAC;KACH,CAAC,CACH;SACA,KAAK,EAAE,CAAA;IAEV,OAAO,IAAA,+BAAwB,EAAC,WAAW,CAAC,CAAA;AAC9C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ResolvedDidCommService } from '@credo-ts/core';
|
|
2
|
+
import { DidDocumentService } from '@credo-ts/core';
|
|
3
|
+
export declare class OutOfBandDidCommService extends DidDocumentService {
|
|
4
|
+
constructor(options: {
|
|
5
|
+
id: string;
|
|
6
|
+
serviceEndpoint: string;
|
|
7
|
+
recipientKeys: string[];
|
|
8
|
+
routingKeys?: string[];
|
|
9
|
+
accept?: string[];
|
|
10
|
+
});
|
|
11
|
+
static type: string;
|
|
12
|
+
serviceEndpoint: string;
|
|
13
|
+
recipientKeys: string[];
|
|
14
|
+
routingKeys?: string[];
|
|
15
|
+
accept?: string[];
|
|
16
|
+
get resolvedDidCommService(): ResolvedDidCommService;
|
|
17
|
+
static fromResolvedDidCommService(service: ResolvedDidCommService): OutOfBandDidCommService;
|
|
18
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OutOfBandDidCommService = void 0;
|
|
13
|
+
const core_1 = require("@credo-ts/core");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class OutOfBandDidCommService extends core_1.DidDocumentService {
|
|
16
|
+
constructor(options) {
|
|
17
|
+
super({ ...options, type: OutOfBandDidCommService.type });
|
|
18
|
+
if (options) {
|
|
19
|
+
this.recipientKeys = options.recipientKeys;
|
|
20
|
+
this.routingKeys = options.routingKeys;
|
|
21
|
+
this.accept = options.accept;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
get resolvedDidCommService() {
|
|
25
|
+
return {
|
|
26
|
+
id: this.id,
|
|
27
|
+
recipientKeys: this.recipientKeys.map((didKey) => core_1.DidKey.fromDid(didKey).key),
|
|
28
|
+
routingKeys: this.routingKeys?.map((didKey) => core_1.DidKey.fromDid(didKey).key) ?? [],
|
|
29
|
+
serviceEndpoint: this.serviceEndpoint,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
static fromResolvedDidCommService(service) {
|
|
33
|
+
return new OutOfBandDidCommService({
|
|
34
|
+
id: service.id,
|
|
35
|
+
recipientKeys: service.recipientKeys.map((key) => new core_1.DidKey(key).did),
|
|
36
|
+
routingKeys: service.routingKeys.map((key) => new core_1.DidKey(key).did),
|
|
37
|
+
serviceEndpoint: service.serviceEndpoint,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.OutOfBandDidCommService = OutOfBandDidCommService;
|
|
42
|
+
OutOfBandDidCommService.type = 'did-communication';
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, core_1.IsUri)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], OutOfBandDidCommService.prototype, "serviceEndpoint", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
50
|
+
IsDidKeyString({ each: true }),
|
|
51
|
+
__metadata("design:type", Array)
|
|
52
|
+
], OutOfBandDidCommService.prototype, "recipientKeys", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
IsDidKeyString({ each: true }),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
__metadata("design:type", Array)
|
|
57
|
+
], OutOfBandDidCommService.prototype, "routingKeys", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], OutOfBandDidCommService.prototype, "accept", void 0);
|
|
63
|
+
/**
|
|
64
|
+
* Checks if a given value is a did:key did string
|
|
65
|
+
*/
|
|
66
|
+
function IsDidKeyString(validationOptions) {
|
|
67
|
+
return (0, class_validator_1.ValidateBy)({
|
|
68
|
+
name: 'isDidKeyString',
|
|
69
|
+
validator: {
|
|
70
|
+
validate: (value) => (0, class_validator_1.isString)(value) && (0, core_1.isDid)(value, 'key'),
|
|
71
|
+
defaultMessage: (0, class_validator_1.buildMessage)((eachPrefix) => eachPrefix + '$property must be a did:key string', validationOptions),
|
|
72
|
+
},
|
|
73
|
+
}, validationOptions);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=OutOfBandDidCommService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutOfBandDidCommService.js","sourceRoot":"","sources":["../../../../src/modules/oob/domain/OutOfBandDidCommService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,yCAAyE;AACzE,qDAAyG;AAEzG,MAAa,uBAAwB,SAAQ,yBAAkB;IAC7D,YAAmB,OAMlB;QACC,KAAK,CAAC,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAC,CAAA;QAEzD,IAAI,OAAO,EAAE,CAAC;YACZ,IA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AAC;;8DACA;AAIxB;IAFN,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;;4DACgB;AAItB;IAFN,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;uDACW;AAqB1B;;GAEG;AACH,SAAS,cAAc,CAAC,iBAAqC;IAC3D,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAAC,IAAA,0BAAQ,EAAC,KAAK,CAAC,IAAI,IAAA,YAAK,EAAC,KAAK,EAAE,KAAK,CAAC;YACpE,cAAc,EAAE,IAAA,8BAAY,EAC1B,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,oCAAoC,EACjE,iBAAiB,CAClB;SACF;KACF,EACD,iBAAiB,CAClB,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OutOfBandState } from './OutOfBandState';
|
|
2
|
+
import type { ConnectionRecord } from '../../connections';
|
|
3
|
+
import type { OutOfBandRecord } from '../repository';
|
|
4
|
+
import type { BaseEvent } from '@credo-ts/core';
|
|
5
|
+
export declare enum OutOfBandEventTypes {
|
|
6
|
+
OutOfBandStateChanged = "OutOfBandStateChanged",
|
|
7
|
+
HandshakeReused = "HandshakeReused"
|
|
8
|
+
}
|
|
9
|
+
export interface OutOfBandStateChangedEvent extends BaseEvent {
|
|
10
|
+
type: typeof OutOfBandEventTypes.OutOfBandStateChanged;
|
|
11
|
+
payload: {
|
|
12
|
+
outOfBandRecord: OutOfBandRecord;
|
|
13
|
+
previousState: OutOfBandState | null;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface HandshakeReusedEvent extends BaseEvent {
|
|
17
|
+
type: typeof OutOfBandEventTypes.HandshakeReused;
|
|
18
|
+
payload: {
|
|
19
|
+
reuseThreadId: string;
|
|
20
|
+
outOfBandRecord: OutOfBandRecord;
|
|
21
|
+
connectionRecord: ConnectionRecord;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OutOfBandEventTypes = void 0;
|
|
4
|
+
var OutOfBandEventTypes;
|
|
5
|
+
(function (OutOfBandEventTypes) {
|
|
6
|
+
OutOfBandEventTypes["OutOfBandStateChanged"] = "OutOfBandStateChanged";
|
|
7
|
+
OutOfBandEventTypes["HandshakeReused"] = "HandshakeReused";
|
|
8
|
+
})(OutOfBandEventTypes || (exports.OutOfBandEventTypes = OutOfBandEventTypes = {}));
|
|
9
|
+
//# sourceMappingURL=OutOfBandEvents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutOfBandEvents.js","sourceRoot":"","sources":["../../../../src/modules/oob/domain/OutOfBandEvents.ts"],"names":[],"mappings":";;;AAKA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,sEAA+C,CAAA;IAC/C,0DAAmC,CAAA;AACrC,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B"}
|