@credo-ts/didcomm 0.6.0-pr-2392-20251010173905 → 0.6.0-pr-2457-20251016083534
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/BaseDidCommMessage.d.mts.map +1 -1
- package/build/BaseDidCommMessage.d.ts.map +1 -1
- package/build/BaseDidCommMessage.js +3 -3
- package/build/BaseDidCommMessage.mjs +2 -2
- package/build/BaseDidCommMessage.mjs.map +1 -1
- package/build/DidCommApi.d.mts +6 -10
- package/build/DidCommApi.d.mts.map +1 -1
- package/build/DidCommApi.d.ts +6 -10
- package/build/DidCommApi.d.ts.map +1 -1
- package/build/DidCommApi.js +16 -21
- package/build/DidCommApi.mjs +16 -21
- package/build/DidCommApi.mjs.map +1 -1
- package/build/DidCommDispatcher.d.mts.map +1 -1
- package/build/DidCommDispatcher.d.ts.map +1 -1
- package/build/DidCommDispatcher.js +7 -7
- package/build/DidCommDispatcher.mjs +7 -7
- package/build/DidCommDispatcher.mjs.map +1 -1
- package/build/DidCommEnvelopeService.d.mts.map +1 -1
- package/build/DidCommEnvelopeService.d.ts.map +1 -1
- package/build/DidCommEnvelopeService.js +5 -5
- package/build/DidCommEnvelopeService.mjs +5 -5
- package/build/DidCommEnvelopeService.mjs.map +1 -1
- package/build/DidCommFeatureRegistry.d.mts.map +1 -1
- package/build/DidCommFeatureRegistry.d.ts.map +1 -1
- package/build/DidCommFeatureRegistry.mjs.map +1 -1
- package/build/DidCommMessage.d.mts +1 -1
- package/build/DidCommMessage.d.mts.map +1 -1
- package/build/DidCommMessage.d.ts +1 -1
- package/build/DidCommMessage.d.ts.map +1 -1
- package/build/DidCommMessage.js +2 -2
- package/build/DidCommMessage.mjs +2 -2
- package/build/DidCommMessage.mjs.map +1 -1
- package/build/DidCommMessageHandlerRegistry.d.mts.map +1 -1
- package/build/DidCommMessageHandlerRegistry.d.ts.map +1 -1
- package/build/DidCommMessageHandlerRegistry.mjs.map +1 -1
- package/build/DidCommMessageReceiver.d.mts +1 -6
- package/build/DidCommMessageReceiver.d.mts.map +1 -1
- package/build/DidCommMessageReceiver.d.ts +1 -6
- package/build/DidCommMessageReceiver.d.ts.map +1 -1
- package/build/DidCommMessageReceiver.js +9 -21
- package/build/DidCommMessageReceiver.mjs +9 -21
- package/build/DidCommMessageReceiver.mjs.map +1 -1
- package/build/DidCommMessageSender.d.mts +1 -6
- package/build/DidCommMessageSender.d.mts.map +1 -1
- package/build/DidCommMessageSender.d.ts +1 -6
- package/build/DidCommMessageSender.d.ts.map +1 -1
- package/build/DidCommMessageSender.js +17 -29
- package/build/DidCommMessageSender.mjs +17 -29
- package/build/DidCommMessageSender.mjs.map +1 -1
- package/build/DidCommModule.d.mts +1 -1
- package/build/DidCommModule.d.mts.map +1 -1
- package/build/DidCommModule.d.ts +1 -1
- package/build/DidCommModule.d.ts.map +1 -1
- package/build/DidCommModule.js +9 -12
- package/build/DidCommModule.mjs +9 -12
- package/build/DidCommModule.mjs.map +1 -1
- package/build/DidCommModuleConfig.d.mts +14 -2
- package/build/DidCommModuleConfig.d.mts.map +1 -1
- package/build/DidCommModuleConfig.d.ts +14 -2
- package/build/DidCommModuleConfig.d.ts.map +1 -1
- package/build/DidCommModuleConfig.js +15 -1
- package/build/DidCommModuleConfig.mjs +15 -1
- package/build/DidCommModuleConfig.mjs.map +1 -1
- package/build/DidCommTransportService.d.mts.map +1 -1
- package/build/DidCommTransportService.d.ts.map +1 -1
- package/build/DidCommTransportService.js +1 -1
- package/build/DidCommTransportService.mjs +1 -1
- package/build/DidCommTransportService.mjs.map +1 -1
- package/build/decorators/ack/AckDecorator.js +1 -1
- package/build/decorators/ack/AckDecorator.mjs +1 -1
- package/build/decorators/ack/AckDecoratorExtension.js +3 -3
- package/build/decorators/ack/AckDecoratorExtension.mjs +2 -2
- package/build/decorators/ack/AckDecoratorExtension.mjs.map +1 -1
- package/build/decorators/attachment/AttachmentExtension.js +3 -3
- package/build/decorators/attachment/AttachmentExtension.mjs +2 -2
- package/build/decorators/attachment/AttachmentExtension.mjs.map +1 -1
- package/build/decorators/attachment/DidCommAttachment.js +3 -3
- package/build/decorators/attachment/DidCommAttachment.mjs +2 -2
- package/build/decorators/attachment/DidCommAttachment.mjs.map +1 -1
- package/build/decorators/l10n/L10nDecoratorExtension.js +3 -3
- package/build/decorators/l10n/L10nDecoratorExtension.mjs +2 -2
- package/build/decorators/l10n/L10nDecoratorExtension.mjs.map +1 -1
- package/build/decorators/service/ServiceDecorator.js +1 -1
- package/build/decorators/service/ServiceDecorator.mjs +1 -1
- package/build/decorators/service/ServiceDecoratorExtension.js +3 -3
- package/build/decorators/service/ServiceDecoratorExtension.mjs +2 -2
- package/build/decorators/service/ServiceDecoratorExtension.mjs.map +1 -1
- package/build/decorators/signature/SignatureDecorator.js +4 -4
- package/build/decorators/signature/SignatureDecorator.mjs +3 -3
- package/build/decorators/thread/ThreadDecorator.js +3 -3
- package/build/decorators/thread/ThreadDecorator.mjs +2 -2
- package/build/decorators/thread/ThreadDecoratorExtension.js +3 -3
- package/build/decorators/thread/ThreadDecoratorExtension.mjs +2 -2
- package/build/decorators/thread/ThreadDecoratorExtension.mjs.map +1 -1
- package/build/decorators/timing/TimingDecorator.js +3 -3
- package/build/decorators/timing/TimingDecorator.mjs +2 -2
- package/build/decorators/timing/TimingDecoratorExtension.js +3 -3
- package/build/decorators/timing/TimingDecoratorExtension.mjs +2 -2
- package/build/decorators/timing/TimingDecoratorExtension.mjs.map +1 -1
- package/build/decorators/transport/TransportDecorator.js +3 -3
- package/build/decorators/transport/TransportDecorator.mjs +2 -2
- package/build/decorators/transport/TransportDecoratorExtension.js +3 -3
- package/build/decorators/transport/TransportDecoratorExtension.mjs +2 -2
- package/build/decorators/transport/TransportDecoratorExtension.mjs.map +1 -1
- package/build/errors/MessageSendingError.d.mts.map +1 -1
- package/build/errors/MessageSendingError.d.ts.map +1 -1
- package/build/errors/MessageSendingError.mjs.map +1 -1
- package/build/errors/index.js +1 -1
- package/build/errors/index.mjs +1 -1
- package/build/getDidCommOutboundMessageContext.d.mts.map +1 -1
- package/build/getDidCommOutboundMessageContext.d.ts.map +1 -1
- package/build/getDidCommOutboundMessageContext.js +6 -6
- package/build/getDidCommOutboundMessageContext.mjs +6 -6
- package/build/getDidCommOutboundMessageContext.mjs.map +1 -1
- package/build/handlers/DidCommMessageHandlerMiddleware.mjs.map +1 -1
- package/build/index.d.mts +99 -99
- package/build/index.d.ts +99 -99
- package/build/index.js +114 -112
- package/build/index.mjs +108 -108
- package/build/messages/common/DidCommAckMessage.js +1 -1
- package/build/messages/common/DidCommAckMessage.mjs +1 -1
- package/build/messages/problem-reports/DidCommProblemReportMessage.js +3 -3
- package/build/messages/problem-reports/DidCommProblemReportMessage.mjs +2 -2
- package/build/models/DidCommInboundMessageContext.d.mts.map +1 -1
- package/build/models/DidCommInboundMessageContext.d.ts.map +1 -1
- package/build/models/DidCommInboundMessageContext.mjs.map +1 -1
- package/build/models/DidCommOutboundMessageContext.d.mts.map +1 -1
- package/build/models/DidCommOutboundMessageContext.d.ts.map +1 -1
- package/build/models/DidCommOutboundMessageContext.mjs.map +1 -1
- package/build/models/features/DidCommFeature.js +3 -3
- package/build/models/features/DidCommFeature.mjs +2 -2
- package/build/models/features/DidCommFeatureQuery.js +3 -3
- package/build/models/features/DidCommFeatureQuery.mjs +2 -2
- package/build/models/features/DidCommProtocol.d.mts.map +1 -1
- package/build/models/features/DidCommProtocol.d.ts.map +1 -1
- package/build/models/features/DidCommProtocol.js +1 -1
- package/build/models/features/DidCommProtocol.mjs +1 -1
- package/build/models/features/DidCommProtocol.mjs.map +1 -1
- package/build/models/index.js +3 -3
- package/build/models/index.mjs +3 -3
- package/build/modules/basic-messages/DidCommBasicMessagesApi.d.mts +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesApi.d.mts.map +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesApi.d.ts +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesApi.d.ts.map +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesApi.js +2 -2
- package/build/modules/basic-messages/DidCommBasicMessagesApi.mjs +2 -2
- package/build/modules/basic-messages/DidCommBasicMessagesApi.mjs.map +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesModule.d.mts.map +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesModule.d.ts.map +1 -1
- package/build/modules/basic-messages/DidCommBasicMessagesModule.js +2 -2
- package/build/modules/basic-messages/DidCommBasicMessagesModule.mjs +2 -2
- package/build/modules/basic-messages/DidCommBasicMessagesModule.mjs.map +1 -1
- package/build/modules/basic-messages/handlers/BasicMessageHandler.mjs.map +1 -1
- package/build/modules/basic-messages/index.js +2 -2
- package/build/modules/basic-messages/index.mjs +2 -2
- package/build/modules/basic-messages/messages/DidCommBasicMessage.js +3 -3
- package/build/modules/basic-messages/messages/DidCommBasicMessage.mjs +2 -2
- package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.d.mts.map +1 -1
- package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.d.ts.map +1 -1
- package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.mjs.map +1 -1
- package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.js +1 -1
- package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.mjs +1 -1
- package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.mjs.map +1 -1
- package/build/modules/basic-messages/services/DidCommBasicMessageService.d.mts.map +1 -1
- package/build/modules/basic-messages/services/DidCommBasicMessageService.d.ts.map +1 -1
- package/build/modules/basic-messages/services/DidCommBasicMessageService.js +4 -4
- package/build/modules/basic-messages/services/DidCommBasicMessageService.mjs +4 -4
- package/build/modules/basic-messages/services/DidCommBasicMessageService.mjs.map +1 -1
- package/build/modules/connections/DidCommConnectionsApi.d.mts +3 -3
- package/build/modules/connections/DidCommConnectionsApi.d.mts.map +1 -1
- package/build/modules/connections/DidCommConnectionsApi.d.ts +3 -3
- package/build/modules/connections/DidCommConnectionsApi.d.ts.map +1 -1
- package/build/modules/connections/DidCommConnectionsApi.js +5 -5
- package/build/modules/connections/DidCommConnectionsApi.mjs +5 -5
- package/build/modules/connections/DidCommConnectionsApi.mjs.map +1 -1
- package/build/modules/connections/DidCommConnectionsModule.d.mts.map +1 -1
- package/build/modules/connections/DidCommConnectionsModule.d.ts.map +1 -1
- package/build/modules/connections/DidCommConnectionsModule.js +20 -20
- package/build/modules/connections/DidCommConnectionsModule.mjs +20 -20
- package/build/modules/connections/DidCommConnectionsModule.mjs.map +1 -1
- package/build/modules/connections/DidExchangeProtocol.d.mts +2 -4
- package/build/modules/connections/DidExchangeProtocol.d.mts.map +1 -1
- package/build/modules/connections/DidExchangeProtocol.d.ts +2 -4
- package/build/modules/connections/DidExchangeProtocol.d.ts.map +1 -1
- package/build/modules/connections/DidExchangeProtocol.js +11 -15
- package/build/modules/connections/DidExchangeProtocol.mjs +11 -15
- package/build/modules/connections/DidExchangeProtocol.mjs.map +1 -1
- package/build/modules/connections/DidExchangeStateMachine.js +1 -1
- package/build/modules/connections/DidExchangeStateMachine.mjs +1 -1
- package/build/modules/connections/DidExchangeStateMachine.mjs.map +1 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.mts +1 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.mts.map +1 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +1 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts.map +1 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.mjs.map +1 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.mts +1 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.mts.map +1 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +1 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts.map +1 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommAckMessageHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommAckMessageHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommAckMessageHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.mts +1 -1
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.ts +1 -1
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.js +4 -4
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.mjs +4 -4
- package/build/modules/connections/handlers/DidCommConnectionRequestHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionResponseHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionResponseHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommConnectionResponseHandler.js +3 -3
- package/build/modules/connections/handlers/DidCommConnectionResponseHandler.mjs +3 -3
- package/build/modules/connections/handlers/DidCommConnectionResponseHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.mts +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.ts +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.js +4 -4
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.mjs +4 -4
- package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.mts +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.ts +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.js +4 -4
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.mjs +4 -4
- package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateAckHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateAckHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateAckHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateHandler.d.mts +3 -5
- package/build/modules/connections/handlers/DidCommDidRotateHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateHandler.d.ts +3 -5
- package/build/modules/connections/handlers/DidCommDidRotateHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateHandler.js +1 -2
- package/build/modules/connections/handlers/DidCommDidRotateHandler.mjs +1 -2
- package/build/modules/connections/handlers/DidCommDidRotateHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommHangupHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommHangupHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommHangupHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.d.mts.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.d.ts.map +1 -1
- package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.mjs.map +1 -1
- package/build/modules/connections/handlers/index.js +5 -5
- package/build/modules/connections/handlers/index.mjs +5 -5
- package/build/modules/connections/index.js +23 -23
- package/build/modules/connections/index.mjs +23 -23
- package/build/modules/connections/messages/DidCommConnectionInvitationMessage.d.mts.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionInvitationMessage.d.ts.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionInvitationMessage.js +4 -4
- package/build/modules/connections/messages/DidCommConnectionInvitationMessage.mjs +4 -4
- package/build/modules/connections/messages/DidCommConnectionInvitationMessage.mjs.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionProblemReportMessage.js +1 -1
- package/build/modules/connections/messages/DidCommConnectionProblemReportMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommConnectionRequestMessage.d.mts.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionRequestMessage.d.ts.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionRequestMessage.js +4 -4
- package/build/modules/connections/messages/DidCommConnectionRequestMessage.mjs +3 -3
- package/build/modules/connections/messages/DidCommConnectionRequestMessage.mjs.map +1 -1
- package/build/modules/connections/messages/DidCommConnectionResponseMessage.js +3 -3
- package/build/modules/connections/messages/DidCommConnectionResponseMessage.mjs +2 -2
- package/build/modules/connections/messages/DidCommDidExchangeCompleteMessage.js +1 -1
- package/build/modules/connections/messages/DidCommDidExchangeCompleteMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommDidExchangeProblemReportMessage.js +1 -1
- package/build/modules/connections/messages/DidCommDidExchangeProblemReportMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommDidExchangeRequestMessage.js +4 -4
- package/build/modules/connections/messages/DidCommDidExchangeRequestMessage.mjs +3 -3
- package/build/modules/connections/messages/DidCommDidExchangeResponseMessage.js +4 -4
- package/build/modules/connections/messages/DidCommDidExchangeResponseMessage.mjs +3 -3
- package/build/modules/connections/messages/DidCommDidRotateAckMessage.js +1 -1
- package/build/modules/connections/messages/DidCommDidRotateAckMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommDidRotateMessage.js +3 -3
- package/build/modules/connections/messages/DidCommDidRotateMessage.mjs +2 -2
- package/build/modules/connections/messages/DidCommDidRotateProblemReportMessage.js +1 -1
- package/build/modules/connections/messages/DidCommDidRotateProblemReportMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommHangupMessage.js +1 -1
- package/build/modules/connections/messages/DidCommHangupMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommTrustPingMessage.d.mts.map +1 -1
- package/build/modules/connections/messages/DidCommTrustPingMessage.d.ts.map +1 -1
- package/build/modules/connections/messages/DidCommTrustPingMessage.js +3 -3
- package/build/modules/connections/messages/DidCommTrustPingMessage.mjs +2 -2
- package/build/modules/connections/messages/DidCommTrustPingMessage.mjs.map +1 -1
- package/build/modules/connections/messages/DidCommTrustPingResponseMessage.d.mts.map +1 -1
- package/build/modules/connections/messages/DidCommTrustPingResponseMessage.d.ts.map +1 -1
- package/build/modules/connections/messages/DidCommTrustPingResponseMessage.js +1 -1
- package/build/modules/connections/messages/DidCommTrustPingResponseMessage.mjs +1 -1
- package/build/modules/connections/messages/DidCommTrustPingResponseMessage.mjs.map +1 -1
- package/build/modules/connections/messages/index.js +7 -7
- package/build/modules/connections/messages/index.mjs +7 -7
- package/build/modules/connections/models/DidCommConnection.js +3 -3
- package/build/modules/connections/models/DidCommConnection.mjs +2 -2
- package/build/modules/connections/models/did/DidDoc.d.mts.map +1 -1
- package/build/modules/connections/models/did/DidDoc.d.ts.map +1 -1
- package/build/modules/connections/models/did/DidDoc.js +3 -3
- package/build/modules/connections/models/did/DidDoc.mjs +2 -2
- package/build/modules/connections/models/did/DidDoc.mjs.map +1 -1
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +1 -1
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.mjs +1 -1
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +3 -3
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.mjs +2 -2
- package/build/modules/connections/models/did/authentication/index.d.mts.map +1 -1
- package/build/modules/connections/models/did/authentication/index.d.ts.map +1 -1
- package/build/modules/connections/models/did/authentication/index.mjs.map +1 -1
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +3 -3
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.mjs +2 -2
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +3 -3
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.mjs +2 -2
- package/build/modules/connections/models/did/publicKey/PublicKey.js +1 -1
- package/build/modules/connections/models/did/publicKey/PublicKey.mjs +1 -1
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js +3 -3
- package/build/modules/connections/models/did/publicKey/RsaSig2018.mjs +2 -2
- package/build/modules/connections/models/did/publicKey/index.mjs.map +1 -1
- package/build/modules/connections/models/index.js +1 -1
- package/build/modules/connections/models/index.mjs +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.d.mts +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.d.mts.map +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.d.ts +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.d.ts.map +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.js +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.mjs +1 -1
- package/build/modules/connections/repository/DidCommConnectionRecord.mjs.map +1 -1
- package/build/modules/connections/repository/DidCommConnectionRepository.js +2 -2
- package/build/modules/connections/repository/DidCommConnectionRepository.mjs +2 -2
- package/build/modules/connections/repository/DidCommConnectionRepository.mjs.map +1 -1
- package/build/modules/connections/services/DidCommConnectionService.d.mts +3 -3
- package/build/modules/connections/services/DidCommConnectionService.d.mts.map +1 -1
- package/build/modules/connections/services/DidCommConnectionService.d.ts +3 -3
- package/build/modules/connections/services/DidCommConnectionService.d.ts.map +1 -1
- package/build/modules/connections/services/DidCommConnectionService.js +13 -13
- package/build/modules/connections/services/DidCommConnectionService.mjs +13 -13
- package/build/modules/connections/services/DidCommConnectionService.mjs.map +1 -1
- package/build/modules/connections/services/DidCommDidRotateService.d.mts +2 -2
- package/build/modules/connections/services/DidCommDidRotateService.d.mts.map +1 -1
- package/build/modules/connections/services/DidCommDidRotateService.d.ts +2 -2
- package/build/modules/connections/services/DidCommDidRotateService.d.ts.map +1 -1
- package/build/modules/connections/services/DidCommDidRotateService.js +8 -8
- package/build/modules/connections/services/DidCommDidRotateService.mjs +8 -8
- package/build/modules/connections/services/DidCommDidRotateService.mjs.map +1 -1
- package/build/modules/connections/services/DidCommTrustPingService.d.mts.map +1 -1
- package/build/modules/connections/services/DidCommTrustPingService.d.ts.map +1 -1
- package/build/modules/connections/services/DidCommTrustPingService.js +1 -1
- package/build/modules/connections/services/DidCommTrustPingService.mjs +1 -1
- package/build/modules/connections/services/DidCommTrustPingService.mjs.map +1 -1
- package/build/modules/connections/services/helpers.js +1 -1
- package/build/modules/connections/services/helpers.mjs +1 -1
- package/build/modules/connections/services/helpers.mjs.map +1 -1
- package/build/modules/credentials/DidCommCredentialsApi.d.mts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsApi.d.ts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsApi.js +2 -2
- package/build/modules/credentials/DidCommCredentialsApi.mjs +2 -2
- package/build/modules/credentials/DidCommCredentialsApi.mjs.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModule.d.mts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModule.d.ts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModule.js +2 -2
- package/build/modules/credentials/DidCommCredentialsModule.mjs +2 -2
- package/build/modules/credentials/DidCommCredentialsModule.mjs.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModuleConfig.d.mts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModuleConfig.d.ts.map +1 -1
- package/build/modules/credentials/DidCommCredentialsModuleConfig.mjs.map +1 -1
- package/build/modules/credentials/formats/DidCommCredentialFormatServiceOptions.d.mts +1 -1
- package/build/modules/credentials/formats/DidCommCredentialFormatServiceOptions.d.ts +1 -1
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +3 -3
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.mjs +2 -2
- package/build/modules/credentials/formats/index.js +2 -2
- package/build/modules/credentials/formats/index.mjs +2 -2
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetail.js +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetail.mjs +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetailOptions.js +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetailOptions.mjs +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.d.mts.map +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.d.ts.map +1 -1
- package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.mjs.map +1 -1
- package/build/modules/credentials/index.js +5 -5
- package/build/modules/credentials/index.mjs +5 -5
- package/build/modules/credentials/models/DidCommCredentialFormatSpec.js +3 -3
- package/build/modules/credentials/models/DidCommCredentialFormatSpec.mjs +2 -2
- package/build/modules/credentials/models/DidCommCredentialPreviewAttribute.js +3 -3
- package/build/modules/credentials/models/DidCommCredentialPreviewAttribute.mjs +2 -2
- package/build/modules/credentials/models/DidCommRevocationNotification.js +1 -1
- package/build/modules/credentials/models/DidCommRevocationNotification.mjs +1 -1
- package/build/modules/credentials/models/index.js +3 -3
- package/build/modules/credentials/models/index.mjs +3 -3
- package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.mts +1 -1
- package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.mts.map +1 -1
- package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.ts +1 -1
- package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.ts.map +1 -1
- package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.mjs.map +1 -1
- package/build/modules/credentials/protocol/DidCommCredentialProtocol.d.mts +1 -1
- package/build/modules/credentials/protocol/DidCommCredentialProtocol.d.ts +1 -1
- package/build/modules/credentials/protocol/DidCommCredentialProtocolOptions.d.mts +1 -1
- package/build/modules/credentials/protocol/DidCommCredentialProtocolOptions.d.ts +1 -1
- package/build/modules/credentials/protocol/index.js +1 -1
- package/build/modules/credentials/protocol/index.mjs +1 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/DidCommRevocationNotificationV1Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/DidCommRevocationNotificationV2Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV1Message.js +4 -4
- package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV1Message.mjs +3 -3
- package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV2Message.js +4 -4
- package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV2Message.mjs +3 -3
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.mts +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.mts.map +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.ts +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.ts.map +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.js +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.mjs +1 -1
- package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.js +2 -2
- package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.mjs +2 -2
- package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.mts +2 -2
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.mts.map +1 -1
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.ts +2 -2
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.ts.map +1 -1
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.js +5 -5
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.mjs +5 -5
- package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.mts +1 -1
- package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.mts.map +1 -1
- package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.ts +1 -1
- package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.ts.map +1 -1
- package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommIssueCredentialV2Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.d.mts.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.d.ts.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommProposeCredentialV2Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/DidCommRequestCredentialV2Handler.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/handlers/index.js +1 -1
- package/build/modules/credentials/protocol/v2/handlers/index.mjs +1 -1
- package/build/modules/credentials/protocol/v2/index.js +1 -1
- package/build/modules/credentials/protocol/v2/index.mjs +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2AckMessage.js +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2AckMessage.mjs +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.mts +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.mts.map +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.ts +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.ts.map +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.js +3 -3
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.mjs +2 -2
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.mjs.map +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2ProblemReportMessage.js +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2ProblemReportMessage.mjs +1 -1
- package/build/modules/credentials/protocol/v2/messages/DidCommIssueCredentialV2Message.js +4 -4
- package/build/modules/credentials/protocol/v2/messages/DidCommIssueCredentialV2Message.mjs +3 -3
- package/build/modules/credentials/protocol/v2/messages/DidCommOfferCredentialV2Message.js +4 -4
- package/build/modules/credentials/protocol/v2/messages/DidCommOfferCredentialV2Message.mjs +3 -3
- package/build/modules/credentials/protocol/v2/messages/DidCommProposeCredentialV2Message.js +4 -4
- package/build/modules/credentials/protocol/v2/messages/DidCommProposeCredentialV2Message.mjs +3 -3
- package/build/modules/credentials/protocol/v2/messages/DidCommRequestCredentialV2Message.js +4 -4
- package/build/modules/credentials/protocol/v2/messages/DidCommRequestCredentialV2Message.mjs +3 -3
- package/build/modules/credentials/protocol/v2/messages/index.js +1 -1
- package/build/modules/credentials/protocol/v2/messages/index.mjs +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.mts +2 -2
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.mts.map +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.ts +2 -2
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.ts.map +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.js +2 -2
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.mjs +2 -2
- package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.mjs.map +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.js +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.mjs +1 -1
- package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.mjs.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.mts +3 -3
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.mts.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.ts +3 -3
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.ts.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.js +3 -3
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.mjs +3 -3
- package/build/modules/discover-features/DidCommDiscoverFeaturesApi.mjs.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesEvents.d.mts +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesEvents.d.ts +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesModule.d.mts.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesModule.d.ts.map +1 -1
- package/build/modules/discover-features/DidCommDiscoverFeaturesModule.js +2 -2
- package/build/modules/discover-features/DidCommDiscoverFeaturesModule.mjs +2 -2
- package/build/modules/discover-features/DidCommDiscoverFeaturesModule.mjs.map +1 -1
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.mts +2 -2
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.mts.map +1 -1
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.ts +2 -2
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.ts.map +1 -1
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.js +4 -4
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.mjs +4 -4
- package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.mjs.map +1 -1
- package/build/modules/discover-features/protocol/v1/handlers/DidCommFeaturesQueryMessageHandler.mjs.map +1 -1
- package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesDiscloseMessage.js +3 -3
- package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesDiscloseMessage.mjs +2 -2
- package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.js +1 -1
- package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.mjs +1 -1
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.mts +2 -2
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.mts.map +1 -1
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.ts +2 -2
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.ts.map +1 -1
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.js +2 -2
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.mjs +2 -2
- package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.mjs.map +1 -1
- package/build/modules/discover-features/protocol/v2/handlers/DidCommFeaturesQueriesMessageHandler.mjs.map +1 -1
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesDisclosuresMessage.js +3 -3
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesDisclosuresMessage.mjs +2 -2
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.d.mts.map +1 -1
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.d.ts.map +1 -1
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.js +3 -3
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.mjs +2 -2
- package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.mjs.map +1 -1
- package/build/modules/discover-features/services/DidCommDiscoverFeaturesService.d.mts +1 -1
- package/build/modules/discover-features/services/DidCommDiscoverFeaturesService.d.ts +1 -1
- package/build/modules/index.js +66 -66
- package/build/modules/index.mjs +66 -66
- package/build/modules/message-pickup/DidCommMessagePickupApi.d.mts +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupApi.d.mts.map +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupApi.d.ts +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupApi.d.ts.map +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupApi.js +4 -4
- package/build/modules/message-pickup/DidCommMessagePickupApi.mjs +4 -4
- package/build/modules/message-pickup/DidCommMessagePickupApi.mjs.map +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupModule.d.mts +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupModule.d.mts.map +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupModule.d.ts +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupModule.d.ts.map +1 -1
- package/build/modules/message-pickup/DidCommMessagePickupModule.mjs.map +1 -1
- package/build/modules/message-pickup/index.js +1 -1
- package/build/modules/message-pickup/index.mjs +1 -1
- package/build/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.mts +1 -1
- package/build/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.ts +1 -1
- package/build/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.mts +1 -1
- package/build/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.ts +1 -1
- package/build/modules/message-pickup/protocol/index.js +1 -1
- package/build/modules/message-pickup/protocol/index.mjs +1 -1
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.mts +1 -1
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.mts.map +1 -1
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts +1 -1
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts.map +1 -1
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.js +3 -3
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs +3 -3
- package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v1/handlers/DidCommBatchHandler.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.js +4 -4
- package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.mjs +3 -3
- package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.js +3 -3
- package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.mjs +2 -2
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.mts +2 -2
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.mts.map +1 -1
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts +2 -2
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts.map +1 -1
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.js +5 -5
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.mjs +5 -5
- package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v2/handlers/DidCommMessageDeliveryV2Handler.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v2/handlers/DidCommStatusV2Handler.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +1 -1
- package/build/modules/message-pickup/protocol/v2/handlers/index.mjs +1 -1
- package/build/modules/message-pickup/protocol/v2/index.js +1 -1
- package/build/modules/message-pickup/protocol/v2/index.mjs +1 -1
- package/build/modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.js +4 -4
- package/build/modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.mjs +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js +4 -4
- package/build/modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.d.mts.map +1 -1
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.d.ts.map +1 -1
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.js +4 -4
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs.map +1 -1
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessagesReceivedV2Message.js +4 -4
- package/build/modules/message-pickup/protocol/v2/messages/DidCommMessagesReceivedV2Message.mjs +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusRequestV2Message.js +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusRequestV2Message.mjs +2 -2
- package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusV2Message.js +4 -4
- package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusV2Message.mjs +3 -3
- package/build/modules/message-pickup/protocol/v2/messages/index.js +1 -1
- package/build/modules/message-pickup/protocol/v2/messages/index.mjs +1 -1
- package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.d.mts.map +1 -1
- package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.d.ts.map +1 -1
- package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.js +1 -1
- package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.mjs +1 -1
- package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.mjs.map +1 -1
- package/build/modules/oob/DidCommOutOfBandApi.d.mts +4 -4
- package/build/modules/oob/DidCommOutOfBandApi.d.mts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandApi.d.ts +4 -4
- package/build/modules/oob/DidCommOutOfBandApi.d.ts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandApi.js +16 -16
- package/build/modules/oob/DidCommOutOfBandApi.mjs +16 -16
- package/build/modules/oob/DidCommOutOfBandApi.mjs.map +1 -1
- package/build/modules/oob/DidCommOutOfBandModule.d.mts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandModule.d.ts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandModule.js +3 -3
- package/build/modules/oob/DidCommOutOfBandModule.mjs +3 -3
- package/build/modules/oob/DidCommOutOfBandModule.mjs.map +1 -1
- package/build/modules/oob/DidCommOutOfBandService.d.mts +2 -2
- package/build/modules/oob/DidCommOutOfBandService.d.mts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandService.d.ts +2 -2
- package/build/modules/oob/DidCommOutOfBandService.d.ts.map +1 -1
- package/build/modules/oob/DidCommOutOfBandService.js +6 -6
- package/build/modules/oob/DidCommOutOfBandService.mjs +6 -6
- package/build/modules/oob/DidCommOutOfBandService.mjs.map +1 -1
- package/build/modules/oob/converters.js +1 -1
- package/build/modules/oob/converters.mjs +1 -1
- package/build/modules/oob/converters.mjs.map +1 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.d.mts.map +1 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.d.ts.map +1 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.js +1 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.mjs +1 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.mjs.map +1 -1
- package/build/modules/oob/domain/index.js +2 -2
- package/build/modules/oob/domain/index.mjs +2 -2
- package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.js +1 -1
- package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.mjs +1 -1
- package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.mjs.map +1 -1
- package/build/modules/oob/helpers.mjs.map +1 -1
- package/build/modules/oob/index.js +3 -3
- package/build/modules/oob/index.mjs +3 -3
- package/build/modules/oob/messages/DidCommHandshakeReuseAcceptedMessage.js +1 -1
- package/build/modules/oob/messages/DidCommHandshakeReuseAcceptedMessage.mjs +1 -1
- package/build/modules/oob/messages/DidCommHandshakeReuseMessage.js +1 -1
- package/build/modules/oob/messages/DidCommHandshakeReuseMessage.mjs +1 -1
- package/build/modules/oob/messages/DidCommOutOfBandInvitation.d.mts.map +1 -1
- package/build/modules/oob/messages/DidCommOutOfBandInvitation.d.ts.map +1 -1
- package/build/modules/oob/messages/DidCommOutOfBandInvitation.js +6 -6
- package/build/modules/oob/messages/DidCommOutOfBandInvitation.mjs +6 -6
- package/build/modules/oob/messages/DidCommOutOfBandInvitation.mjs.map +1 -1
- package/build/modules/oob/messages/index.js +1 -1
- package/build/modules/oob/messages/index.mjs +1 -1
- package/build/modules/oob/repository/DidCommOutOfBandRecord.d.mts.map +1 -1
- package/build/modules/oob/repository/DidCommOutOfBandRecord.d.ts.map +1 -1
- package/build/modules/oob/repository/DidCommOutOfBandRecord.js +2 -2
- package/build/modules/oob/repository/DidCommOutOfBandRecord.mjs +2 -2
- package/build/modules/oob/repository/DidCommOutOfBandRecord.mjs.map +1 -1
- package/build/modules/oob/repository/DidCommOutOfBandRepository.js +2 -2
- package/build/modules/oob/repository/DidCommOutOfBandRepository.mjs +2 -2
- package/build/modules/oob/repository/DidCommOutOfBandRepository.mjs.map +1 -1
- package/build/modules/proofs/DidCommProofsApi.d.mts.map +1 -1
- package/build/modules/proofs/DidCommProofsApi.d.ts.map +1 -1
- package/build/modules/proofs/DidCommProofsApi.js +3 -3
- package/build/modules/proofs/DidCommProofsApi.mjs +3 -3
- package/build/modules/proofs/DidCommProofsApi.mjs.map +1 -1
- package/build/modules/proofs/DidCommProofsApiOptions.d.mts +1 -1
- package/build/modules/proofs/DidCommProofsApiOptions.d.ts +1 -1
- package/build/modules/proofs/DidCommProofsModule.d.mts +1 -1
- package/build/modules/proofs/DidCommProofsModule.d.mts.map +1 -1
- package/build/modules/proofs/DidCommProofsModule.d.ts +1 -1
- package/build/modules/proofs/DidCommProofsModule.d.ts.map +1 -1
- package/build/modules/proofs/DidCommProofsModule.js +1 -1
- package/build/modules/proofs/DidCommProofsModule.mjs +1 -1
- package/build/modules/proofs/DidCommProofsModule.mjs.map +1 -1
- package/build/modules/proofs/DidCommProofsModuleConfig.d.mts.map +1 -1
- package/build/modules/proofs/DidCommProofsModuleConfig.d.ts.map +1 -1
- package/build/modules/proofs/DidCommProofsModuleConfig.mjs.map +1 -1
- package/build/modules/proofs/formats/DidCommProofFormatServiceOptions.d.mts +1 -1
- package/build/modules/proofs/formats/DidCommProofFormatServiceOptions.d.ts +1 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.d.mts.map +1 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.d.ts.map +1 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.mjs.map +1 -1
- package/build/modules/proofs/index.js +11 -11
- package/build/modules/proofs/index.mjs +11 -11
- package/build/modules/proofs/models/DidCommProofFormatSpec.js +3 -3
- package/build/modules/proofs/models/DidCommProofFormatSpec.mjs +2 -2
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.mts +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.mts.map +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.ts +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.ts.map +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.js +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.mjs +1 -1
- package/build/modules/proofs/protocol/DidCommBaseProofProtocol.mjs.map +1 -1
- package/build/modules/proofs/protocol/DidCommProofProtocol.d.mts +1 -1
- package/build/modules/proofs/protocol/DidCommProofProtocol.d.ts +1 -1
- package/build/modules/proofs/protocol/DidCommProofProtocolOptions.d.mts +1 -1
- package/build/modules/proofs/protocol/DidCommProofProtocolOptions.d.ts +1 -1
- package/build/modules/proofs/protocol/index.js +1 -1
- package/build/modules/proofs/protocol/index.mjs +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.js +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.mjs +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.mts +4 -4
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.mts.map +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.ts +4 -4
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.ts.map +1 -1
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.js +12 -12
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.mjs +12 -12
- package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.mts +1 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.mts.map +1 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +1 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts.map +1 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.js +1 -1
- package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.mjs +1 -1
- package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/handlers/DidCommProposePresentationV2Handler.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/handlers/DidCommRequestPresentationV2Handler.mjs.map +1 -1
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2AckMessage.js +1 -1
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2AckMessage.mjs +1 -1
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2Message.js +4 -4
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2Message.mjs +3 -3
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2ProblemReportMessage.js +1 -1
- package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2ProblemReportMessage.mjs +1 -1
- package/build/modules/proofs/protocol/v2/messages/DidCommProposePresentationV2Message.js +4 -4
- package/build/modules/proofs/protocol/v2/messages/DidCommProposePresentationV2Message.mjs +3 -3
- package/build/modules/proofs/protocol/v2/messages/DidCommRequestPresentationV2Message.js +4 -4
- package/build/modules/proofs/protocol/v2/messages/DidCommRequestPresentationV2Message.mjs +3 -3
- package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.mts +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.mts.map +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.ts +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.ts.map +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRecord.mjs.map +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRepository.js +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRepository.mjs +1 -1
- package/build/modules/proofs/repository/DidCommProofExchangeRepository.mjs.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientApi.d.mts +3 -3
- package/build/modules/routing/DidCommMediationRecipientApi.d.mts.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientApi.d.ts +3 -3
- package/build/modules/routing/DidCommMediationRecipientApi.d.ts.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientApi.js +8 -8
- package/build/modules/routing/DidCommMediationRecipientApi.mjs +8 -8
- package/build/modules/routing/DidCommMediationRecipientApi.mjs.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientModule.d.mts.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientModule.d.ts.map +1 -1
- package/build/modules/routing/DidCommMediationRecipientModule.js +4 -4
- package/build/modules/routing/DidCommMediationRecipientModule.mjs +4 -4
- package/build/modules/routing/DidCommMediationRecipientModule.mjs.map +1 -1
- package/build/modules/routing/DidCommMediatorApi.d.mts +1 -1
- package/build/modules/routing/DidCommMediatorApi.d.mts.map +1 -1
- package/build/modules/routing/DidCommMediatorApi.d.ts +1 -1
- package/build/modules/routing/DidCommMediatorApi.d.ts.map +1 -1
- package/build/modules/routing/DidCommMediatorApi.js +2 -2
- package/build/modules/routing/DidCommMediatorApi.mjs +2 -2
- package/build/modules/routing/DidCommMediatorApi.mjs.map +1 -1
- package/build/modules/routing/DidCommMediatorModule.d.mts.map +1 -1
- package/build/modules/routing/DidCommMediatorModule.d.ts.map +1 -1
- package/build/modules/routing/DidCommMediatorModule.js +7 -7
- package/build/modules/routing/DidCommMediatorModule.mjs +7 -7
- package/build/modules/routing/DidCommMediatorModule.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommForwardHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommKeylistUpdateHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommKeylistUpdateResponseHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommMediationDenyHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommMediationGrantHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/DidCommMediationRequestHandler.mjs.map +1 -1
- package/build/modules/routing/handlers/index.js +1 -1
- package/build/modules/routing/handlers/index.mjs +1 -1
- package/build/modules/routing/index.js +4 -4
- package/build/modules/routing/index.mjs +4 -4
- package/build/modules/routing/messages/DidCommForwardMessage.js +3 -3
- package/build/modules/routing/messages/DidCommForwardMessage.mjs +2 -2
- package/build/modules/routing/messages/DidCommKeylistUpdateMessage.js +3 -3
- package/build/modules/routing/messages/DidCommKeylistUpdateMessage.mjs +2 -2
- package/build/modules/routing/messages/DidCommKeylistUpdateResponseMessage.js +3 -3
- package/build/modules/routing/messages/DidCommKeylistUpdateResponseMessage.mjs +2 -2
- package/build/modules/routing/messages/DidCommMediationDenyMessage.js +1 -1
- package/build/modules/routing/messages/DidCommMediationDenyMessage.mjs +1 -1
- package/build/modules/routing/messages/DidCommMediationGrantMessage.js +3 -3
- package/build/modules/routing/messages/DidCommMediationGrantMessage.mjs +2 -2
- package/build/modules/routing/messages/DidCommMediationRequestMessage.js +1 -1
- package/build/modules/routing/messages/DidCommMediationRequestMessage.mjs +1 -1
- package/build/modules/routing/messages/index.js +1 -1
- package/build/modules/routing/messages/index.mjs +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.d.mts +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.d.mts.map +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.d.ts +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.d.ts.map +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.js +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.mjs +1 -1
- package/build/modules/routing/repository/DidCommMediationRecord.mjs.map +1 -1
- package/build/modules/routing/repository/DidCommMediationRepository.js +1 -1
- package/build/modules/routing/repository/DidCommMediationRepository.mjs +1 -1
- package/build/modules/routing/repository/DidCommMediationRepository.mjs.map +1 -1
- package/build/modules/routing/repository/DidCommMediatorRoutingRepository.js +1 -1
- package/build/modules/routing/repository/DidCommMediatorRoutingRepository.mjs +1 -1
- package/build/modules/routing/repository/DidCommMediatorRoutingRepository.mjs.map +1 -1
- package/build/modules/routing/services/DidCommMediationRecipientService.d.mts +2 -2
- package/build/modules/routing/services/DidCommMediationRecipientService.d.mts.map +1 -1
- package/build/modules/routing/services/DidCommMediationRecipientService.d.ts +2 -2
- package/build/modules/routing/services/DidCommMediationRecipientService.d.ts.map +1 -1
- package/build/modules/routing/services/DidCommMediationRecipientService.js +4 -4
- package/build/modules/routing/services/DidCommMediationRecipientService.mjs +4 -4
- package/build/modules/routing/services/DidCommMediationRecipientService.mjs.map +1 -1
- package/build/modules/routing/services/DidCommMediatorService.d.mts.map +1 -1
- package/build/modules/routing/services/DidCommMediatorService.d.ts.map +1 -1
- package/build/modules/routing/services/DidCommMediatorService.js +3 -3
- package/build/modules/routing/services/DidCommMediatorService.mjs +3 -3
- package/build/modules/routing/services/DidCommMediatorService.mjs.map +1 -1
- package/build/modules/routing/services/DidCommRoutingService.d.mts.map +1 -1
- package/build/modules/routing/services/DidCommRoutingService.d.ts.map +1 -1
- package/build/modules/routing/services/DidCommRoutingService.js +1 -1
- package/build/modules/routing/services/DidCommRoutingService.mjs +1 -1
- package/build/modules/routing/services/DidCommRoutingService.mjs.map +1 -1
- package/build/repository/DidCommMessageRecord.d.mts.map +1 -1
- package/build/repository/DidCommMessageRecord.d.ts.map +1 -1
- package/build/repository/DidCommMessageRecord.mjs.map +1 -1
- package/build/repository/DidCommMessageRepository.d.mts.map +1 -1
- package/build/repository/DidCommMessageRepository.d.ts.map +1 -1
- package/build/repository/DidCommMessageRepository.js +1 -1
- package/build/repository/DidCommMessageRepository.mjs +1 -1
- package/build/repository/DidCommMessageRepository.mjs.map +1 -1
- package/build/repository/index.js +1 -1
- package/build/repository/index.mjs +1 -1
- package/build/services/DidCommDocumentService.d.mts.map +1 -1
- package/build/services/DidCommDocumentService.d.ts.map +1 -1
- package/build/services/DidCommDocumentService.js +1 -1
- package/build/services/DidCommDocumentService.mjs +1 -1
- package/build/services/DidCommDocumentService.mjs.map +1 -1
- package/build/transport/DidCommHttpOutboundTransport.d.mts.map +1 -1
- package/build/transport/DidCommHttpOutboundTransport.d.ts.map +1 -1
- package/build/transport/DidCommHttpOutboundTransport.js +3 -3
- package/build/transport/DidCommHttpOutboundTransport.mjs +3 -3
- package/build/transport/DidCommHttpOutboundTransport.mjs.map +1 -1
- package/build/transport/DidCommWsOutboundTransport.d.mts.map +1 -1
- package/build/transport/DidCommWsOutboundTransport.d.ts.map +1 -1
- package/build/transport/DidCommWsOutboundTransport.mjs.map +1 -1
- package/build/transport/index.js +2 -2
- package/build/transport/index.mjs +2 -2
- package/build/transport/queue/DidCommQueueTransportRepository.d.mts +1 -1
- package/build/transport/queue/DidCommQueueTransportRepository.d.ts +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.d.mts +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.d.mts.map +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.d.ts +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.d.ts.map +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.js +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.mjs +1 -1
- package/build/transport/queue/InMemoryQueueTransportRepository.mjs.map +1 -1
- package/build/transport/queue/index.js +1 -1
- package/build/transport/queue/index.mjs +1 -1
- package/build/updates/0.1-0.2/connection.js +3 -3
- package/build/updates/0.1-0.2/connection.mjs +3 -3
- package/build/updates/0.1-0.2/connection.mjs.map +1 -1
- package/build/updates/0.1-0.2/credential.js +1 -1
- package/build/updates/0.1-0.2/credential.mjs +1 -1
- package/build/updates/0.1-0.2/credential.mjs.map +1 -1
- package/build/updates/0.2-0.3/proof.js +1 -1
- package/build/updates/0.2-0.3/proof.mjs +1 -1
- package/build/updates/0.2-0.3/proof.mjs.map +1 -1
- package/build/updates/0.4-0.5/credentialExchangeRecord.js +2 -2
- package/build/updates/0.4-0.5/credentialExchangeRecord.mjs +2 -2
- package/build/updates/0.4-0.5/credentialExchangeRecord.mjs.map +1 -1
- package/build/updates/0.4-0.5/proofExchangeRecord.js +2 -2
- package/build/updates/0.4-0.5/proofExchangeRecord.mjs +2 -2
- package/build/util/DidCommLinkedAttachment.js +3 -3
- package/build/util/DidCommLinkedAttachment.mjs +2 -2
- package/build/util/JWE.mjs.map +1 -1
- package/build/util/attachment.d.mts.map +1 -1
- package/build/util/attachment.d.ts.map +1 -1
- package/build/util/attachment.mjs.map +1 -1
- package/build/util/messageType.d.mts +37 -1
- package/build/util/messageType.d.mts.map +1 -1
- package/build/util/messageType.d.ts +37 -1
- package/build/util/messageType.d.ts.map +1 -1
- package/build/util/messageType.js +4 -4
- package/build/util/messageType.mjs +4 -4
- package/build/util/messageType.mjs.map +1 -1
- package/build/util/parseInvitation.d.mts +8 -1
- package/build/util/parseInvitation.d.mts.map +1 -1
- package/build/util/parseInvitation.d.ts +8 -1
- package/build/util/parseInvitation.d.ts.map +1 -1
- package/build/util/parseInvitation.js +6 -5
- package/build/util/parseInvitation.mjs +7 -7
- package/build/util/parseInvitation.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupApi.mjs","names":["DidCommMessagePickupApi","stop$: Subject<boolean>","logger: Logger","protocol"],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupApi.ts"],"sourcesContent":["import type {\n DeliverMessagesFromQueueOptions,\n DeliverMessagesFromQueueReturnType,\n DeliverMessagesOptions,\n DeliverMessagesReturnType,\n PickupMessagesOptions,\n PickupMessagesReturnType,\n QueueMessageOptions,\n QueueMessageReturnType,\n SetLiveDeliveryModeOptions,\n SetLiveDeliveryModeReturnType,\n} from './DidCommMessagePickupApiOptions'\nimport type { MessagePickupCompletedEvent } from './DidCommMessagePickupEvents'\nimport type { DidCommMessagePickupSession, DidCommMessagePickupSessionRole } from './DidCommMessagePickupSession'\nimport type { DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol } from './protocol'\nimport type { DidCommMessagePickupProtocol } from './protocol/DidCommMessagePickupProtocol'\n\nimport {\n AgentContext,\n CredoError,\n EventEmitter,\n InjectionSymbols,\n type Logger,\n inject,\n injectable,\n} from '@credo-ts/core'\nimport { ReplaySubject, Subject, filter, first, firstValueFrom, takeUntil, timeout } from 'rxjs'\n\nimport { DidCommMessageSender } from '../../DidCommMessageSender'\nimport { DidCommOutboundMessageContext } from '../../models'\nimport { DidCommConnectionService } from '../connections/services'\n\nimport { DidCommModuleConfig } from '../../DidCommModuleConfig'\nimport { DidCommMessagePickupEventTypes } from './DidCommMessagePickupEvents'\nimport { DidCommMessagePickupModuleConfig } from './DidCommMessagePickupModuleConfig'\nimport { DidCommMessagePickupSessionService } from './services/DidCommMessagePickupSessionService'\n\nexport interface DidCommMessagePickupApi<MPPs extends DidCommMessagePickupProtocol[]> {\n queueMessage(options: QueueMessageOptions): Promise<QueueMessageReturnType>\n pickupMessages(options: PickupMessagesOptions<MPPs>): Promise<PickupMessagesReturnType>\n getLiveModeSession(options: {\n connectionId: string\n role?: DidCommMessagePickupSessionRole\n }): Promise<DidCommMessagePickupSession | undefined>\n deliverMessages(options: DeliverMessagesOptions): Promise<DeliverMessagesReturnType>\n deliverMessagesFromQueue(options: DeliverMessagesFromQueueOptions): Promise<DeliverMessagesFromQueueReturnType>\n setLiveDeliveryMode(options: SetLiveDeliveryModeOptions): Promise<SetLiveDeliveryModeReturnType>\n}\n\n@injectable()\n// biome-ignore lint/suspicious/noUnsafeDeclarationMerging: <explanation>\nexport class DidCommMessagePickupApi<\n MPPs extends DidCommMessagePickupProtocol[] = [DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol],\n> implements DidCommMessagePickupApi<MPPs>\n{\n public config: DidCommMessagePickupModuleConfig<MPPs>\n\n private messageSender: DidCommMessageSender\n private agentContext: AgentContext\n private eventEmitter: EventEmitter\n private connectionService: DidCommConnectionService\n private messagePickupSessionService: DidCommMessagePickupSessionService\n private logger: Logger\n private stop$: Subject<boolean>\n\n public constructor(\n messageSender: DidCommMessageSender,\n agentContext: AgentContext,\n connectionService: DidCommConnectionService,\n eventEmitter: EventEmitter,\n messagePickupSessionService: DidCommMessagePickupSessionService,\n config: DidCommMessagePickupModuleConfig<MPPs>,\n @inject(InjectionSymbols.Stop$) stop$: Subject<boolean>,\n @inject(InjectionSymbols.Logger) logger: Logger\n ) {\n this.messageSender = messageSender\n this.connectionService = connectionService\n this.agentContext = agentContext\n this.eventEmitter = eventEmitter\n this.config = config\n this.messagePickupSessionService = messagePickupSessionService\n this.stop$ = stop$\n this.logger = logger\n }\n\n private getProtocol<MPP extends MPPs[number]['version']>(protocolVersion: MPP): DidCommMessagePickupProtocol {\n const protocol = this.config.protocols.find((protocol) => protocol.version === protocolVersion)\n\n if (!protocol) {\n throw new CredoError(`No message pickup protocol registered for protocol version ${protocolVersion}`)\n }\n\n return protocol\n }\n\n /**\n * Add an encrypted message to the message pickup queue\n *\n * @param options: connectionId associated to the message and the encrypted message itself\n */\n public async queueMessage(options: QueueMessageOptions): Promise<QueueMessageReturnType> {\n this.logger.debug('Queuing message...')\n const { connectionId, message, recipientDids } = options\n const connectionRecord = await this.connectionService.getById(this.agentContext, connectionId)\n\n const queueTransportRepository =\n this.agentContext.dependencyManager.resolve(DidCommModuleConfig).queueTransportRepository\n\n await queueTransportRepository.addMessage(this.agentContext, {\n connectionId: connectionRecord.id,\n recipientDids,\n payload: message,\n })\n }\n\n /**\n * Get current active live mode message pickup session for a given connection. Undefined if no active session found\n *\n * @param options connection id and optional role\n * @returns live mode session\n */\n public async getLiveModeSession(options: { connectionId: string; role?: DidCommMessagePickupSessionRole }) {\n const { connectionId, role } = options\n return this.messagePickupSessionService.getLiveSessionByConnectionId(this.agentContext, { connectionId, role })\n }\n\n /**\n * Deliver specific messages to an active live mode pickup session through message pickup protocol.\n *\n * This will deliver the messages regardless of the state of the message pickup queue, meaning that\n * any message stuck there should be sent separately (e.g. using deliverQU).\n *\n * @param options: pickup session id and the messages to deliver\n */\n public async deliverMessages(options: DeliverMessagesOptions) {\n const { pickupSessionId, messages } = options\n\n const session = this.messagePickupSessionService.getLiveSession(this.agentContext, pickupSessionId)\n\n if (!session) {\n throw new CredoError(`No active live mode session found with id ${pickupSessionId}`)\n }\n\n const connectionRecord = await this.connectionService.getById(this.agentContext, session.connectionId)\n\n const protocol = this.getProtocol(session.protocolVersion)\n\n const createDeliveryReturn = await protocol.createDeliveryMessage(this.agentContext, {\n connectionRecord,\n messages,\n })\n\n if (createDeliveryReturn) {\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(createDeliveryReturn.message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'] } }\n )\n }\n }\n\n /**\n * Deliver messages in the Message Pickup Queue for a given live mode session and key (if specified).\n *\n * This will retrieve messages up to 'batchSize' messages from the queue and deliver it through the\n * corresponding Message Pickup protocol. If there are more than 'batchSize' messages in the queue,\n * the recipient may request remaining messages after receiving the first batch of messages.\n *\n */\n public async deliverMessagesFromQueue(options: DeliverMessagesFromQueueOptions) {\n this.logger.debug('Delivering queued messages')\n\n const { pickupSessionId, recipientDid: recipientKey, batchSize } = options\n\n const session = this.messagePickupSessionService.getLiveSession(this.agentContext, pickupSessionId)\n\n if (!session) {\n throw new CredoError(`No active live mode session found with id ${pickupSessionId}`)\n }\n const connectionRecord = await this.connectionService.getById(this.agentContext, session.connectionId)\n\n const protocol = this.getProtocol(session.protocolVersion)\n\n const deliverMessagesReturn = await protocol.createDeliveryMessage(this.agentContext, {\n connectionRecord,\n recipientKey,\n batchSize,\n })\n\n if (deliverMessagesReturn) {\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(deliverMessagesReturn.message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'] } }\n )\n }\n }\n\n /**\n * Pickup queued messages from a message holder. It attempts to retrieve all current messages from the\n * queue, receiving up to `batchSize` messages per batch retrieval.\n *\n * By default, this method only waits until the initial pick-up request is sent. Use `options.awaitCompletion`\n * if you want to wait until all messages are effectively retrieved.\n *\n * @param options connectionId, protocol version to use and batch size, awaitCompletion,\n * awaitCompletionTimeoutMs\n */\n public async pickupMessages(options: PickupMessagesOptions<MPPs>): Promise<PickupMessagesReturnType> {\n const connectionRecord = await this.connectionService.getById(this.agentContext, options.connectionId)\n\n const protocol = this.getProtocol(options.protocolVersion)\n const { message } = await protocol.createPickupMessage(this.agentContext, {\n connectionRecord,\n batchSize: options.batchSize,\n recipientDid: options.recipientDid,\n })\n\n const outboundMessageContext = new DidCommOutboundMessageContext(message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n })\n\n const replaySubject = new ReplaySubject(1)\n\n if (options.awaitCompletion) {\n this.eventEmitter\n .observable<MessagePickupCompletedEvent>(DidCommMessagePickupEventTypes.MessagePickupCompleted)\n .pipe(\n // Stop when the agent shuts down\n takeUntil(this.stop$),\n // filter by connection id\n filter((e) => e.payload.connection.id === connectionRecord.id),\n // Only wait for first event that matches the criteria\n first(),\n // If we don't receive all messages within timeoutMs miliseconds (no response, not supported, etc...) error\n timeout({\n first: options.awaitCompletionTimeoutMs ?? 10000,\n meta: 'DidCommMessagePickupApi.pickupMessages',\n })\n )\n .subscribe(replaySubject)\n }\n\n // For picking up messages we prefer a long-lived transport session, so we will set a higher priority to\n // WebSocket endpoints. However, it is not extrictly required.\n await this.messageSender.sendMessage(outboundMessageContext, { transportPriority: { schemes: ['wss', 'ws'] } })\n\n if (options.awaitCompletion) {\n await firstValueFrom(replaySubject)\n }\n }\n\n /**\n * Enable or disable Live Delivery mode as a recipient. Depending on the message pickup protocol used,\n * after receiving a response from the mediator the agent might retrieve any pending message.\n *\n * @param options connectionId, protocol version to use and boolean to enable/disable Live Mode\n */\n public async setLiveDeliveryMode(options: SetLiveDeliveryModeOptions): Promise<SetLiveDeliveryModeReturnType> {\n const connectionRecord = await this.connectionService.getById(this.agentContext, options.connectionId)\n const protocol = this.getProtocol(options.protocolVersion)\n const { message } = await protocol.setLiveDeliveryMode(this.agentContext, {\n connectionRecord,\n liveDelivery: options.liveDelivery,\n })\n\n // Live mode requires a long-lived transport session, so we'll require WebSockets to send this message\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'], restrictive: options.liveDelivery } }\n )\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmDO,oCAAMA,0BAGb;CAWE,AAAO,YACL,eACA,cACA,mBACA,cACA,6BACA,QACA,AAAgCC,OAChC,AAAiCC,QACjC;AACA,OAAK,gBAAgB;AACrB,OAAK,oBAAoB;AACzB,OAAK,eAAe;AACpB,OAAK,eAAe;AACpB,OAAK,SAAS;AACd,OAAK,8BAA8B;AACnC,OAAK,QAAQ;AACb,OAAK,SAAS;;CAGhB,AAAQ,YAAiD,iBAAoD;EAC3G,MAAM,WAAW,KAAK,OAAO,UAAU,MAAM,eAAaC,WAAS,YAAY,gBAAgB;AAE/F,MAAI,CAAC,SACH,OAAM,IAAI,WAAW,8DAA8D,kBAAkB;AAGvG,SAAO;;;;;;;CAQT,MAAa,aAAa,SAA+D;AACvF,OAAK,OAAO,MAAM,qBAAqB;EACvC,MAAM,EAAE,cAAc,SAAS,kBAAkB;EACjD,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,aAAa;AAK9F,QAFE,KAAK,aAAa,kBAAkB,QAAQ,oBAAoB,CAAC,yBAEpC,WAAW,KAAK,cAAc;GAC3D,cAAc,iBAAiB;GAC/B;GACA,SAAS;GACV,CAAC;;;;;;;;CASJ,MAAa,mBAAmB,SAA2E;EACzG,MAAM,EAAE,cAAc,SAAS;AAC/B,SAAO,KAAK,4BAA4B,6BAA6B,KAAK,cAAc;GAAE;GAAc;GAAM,CAAC;;;;;;;;;;CAWjH,MAAa,gBAAgB,SAAiC;EAC5D,MAAM,EAAE,iBAAiB,aAAa;EAEtC,MAAM,UAAU,KAAK,4BAA4B,eAAe,KAAK,cAAc,gBAAgB;AAEnG,MAAI,CAAC,QACH,OAAM,IAAI,WAAW,6CAA6C,kBAAkB;EAGtF,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAItG,MAAM,uBAAuB,MAFZ,KAAK,YAAY,QAAQ,gBAAgB,CAEd,sBAAsB,KAAK,cAAc;GACnF;GACA;GACD,CAAC;AAEF,MAAI,qBACF,OAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,qBAAqB,SAAS;GAC9D,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAClD;;;;;;;;;;CAYL,MAAa,yBAAyB,SAA0C;AAC9E,OAAK,OAAO,MAAM,6BAA6B;EAE/C,MAAM,EAAE,iBAAiB,cAAc,cAAc,cAAc;EAEnE,MAAM,UAAU,KAAK,4BAA4B,eAAe,KAAK,cAAc,gBAAgB;AAEnG,MAAI,CAAC,QACH,OAAM,IAAI,WAAW,6CAA6C,kBAAkB;EAEtF,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAItG,MAAM,wBAAwB,MAFb,KAAK,YAAY,QAAQ,gBAAgB,CAEb,sBAAsB,KAAK,cAAc;GACpF;GACA;GACA;GACD,CAAC;AAEF,MAAI,sBACF,OAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,sBAAsB,SAAS;GAC/D,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAClD;;;;;;;;;;;;CAcL,MAAa,eAAe,SAAyE;EACnG,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAGtG,MAAM,EAAE,YAAY,MADH,KAAK,YAAY,QAAQ,gBAAgB,CACvB,oBAAoB,KAAK,cAAc;GACxE;GACA,WAAW,QAAQ;GACnB,cAAc,QAAQ;GACvB,CAAC;EAEF,MAAM,yBAAyB,IAAI,8BAA8B,SAAS;GACxE,cAAc,KAAK;GACnB,YAAY;GACb,CAAC;EAEF,MAAM,gBAAgB,IAAI,cAAc,EAAE;AAE1C,MAAI,QAAQ,gBACV,MAAK,aACF,WAAwC,+BAA+B,uBAAuB,CAC9F,KAEC,UAAU,KAAK,MAAM,EAErB,QAAQ,MAAM,EAAE,QAAQ,WAAW,OAAO,iBAAiB,GAAG,EAE9D,OAAO,EAEP,QAAQ;GACN,OAAO,QAAQ,4BAA4B;GAC3C,MAAM;GACP,CAAC,CACH,CACA,UAAU,cAAc;AAK7B,QAAM,KAAK,cAAc,YAAY,wBAAwB,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;AAE/G,MAAI,QAAQ,gBACV,OAAM,eAAe,cAAc;;;;;;;;CAUvC,MAAa,oBAAoB,SAA6E;EAC5G,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAEtG,MAAM,EAAE,YAAY,MADH,KAAK,YAAY,QAAQ,gBAAgB,CACvB,oBAAoB,KAAK,cAAc;GACxE;GACA,cAAc,QAAQ;GACvB,CAAC;AAGF,QAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,SAAS;GACzC,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB;GAAE,SAAS,CAAC,OAAO,KAAK;GAAE,aAAa,QAAQ;GAAc,EAAE,CACrF;;;;CArOJ,YAAY;oBAuBR,OAAO,iBAAiB,MAAM;oBAC9B,OAAO,iBAAiB,OAAO"}
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupApi.mjs","names":["DidCommMessagePickupApi","stop$: Subject<boolean>","logger: Logger","protocol"],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupApi.ts"],"sourcesContent":["import {\n AgentContext,\n CredoError,\n EventEmitter,\n InjectionSymbols,\n inject,\n injectable,\n type Logger,\n} from '@credo-ts/core'\nimport { filter, first, firstValueFrom, ReplaySubject, Subject, takeUntil, timeout } from 'rxjs'\nimport { DidCommMessageSender } from '../../DidCommMessageSender'\nimport { DidCommModuleConfig } from '../../DidCommModuleConfig'\nimport { DidCommOutboundMessageContext } from '../../models'\nimport { DidCommConnectionService } from '../connections/services'\nimport type {\n DeliverMessagesFromQueueOptions,\n DeliverMessagesFromQueueReturnType,\n DeliverMessagesOptions,\n DeliverMessagesReturnType,\n PickupMessagesOptions,\n PickupMessagesReturnType,\n QueueMessageOptions,\n QueueMessageReturnType,\n SetLiveDeliveryModeOptions,\n SetLiveDeliveryModeReturnType,\n} from './DidCommMessagePickupApiOptions'\nimport type { MessagePickupCompletedEvent } from './DidCommMessagePickupEvents'\nimport { DidCommMessagePickupEventTypes } from './DidCommMessagePickupEvents'\nimport { DidCommMessagePickupModuleConfig } from './DidCommMessagePickupModuleConfig'\nimport type { DidCommMessagePickupSession, DidCommMessagePickupSessionRole } from './DidCommMessagePickupSession'\nimport type { DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol } from './protocol'\nimport type { DidCommMessagePickupProtocol } from './protocol/DidCommMessagePickupProtocol'\nimport { DidCommMessagePickupSessionService } from './services/DidCommMessagePickupSessionService'\n\nexport interface DidCommMessagePickupApi<MPPs extends DidCommMessagePickupProtocol[]> {\n queueMessage(options: QueueMessageOptions): Promise<QueueMessageReturnType>\n pickupMessages(options: PickupMessagesOptions<MPPs>): Promise<PickupMessagesReturnType>\n getLiveModeSession(options: {\n connectionId: string\n role?: DidCommMessagePickupSessionRole\n }): Promise<DidCommMessagePickupSession | undefined>\n deliverMessages(options: DeliverMessagesOptions): Promise<DeliverMessagesReturnType>\n deliverMessagesFromQueue(options: DeliverMessagesFromQueueOptions): Promise<DeliverMessagesFromQueueReturnType>\n setLiveDeliveryMode(options: SetLiveDeliveryModeOptions): Promise<SetLiveDeliveryModeReturnType>\n}\n\n@injectable()\n// biome-ignore lint/suspicious/noUnsafeDeclarationMerging: no explanation\nexport class DidCommMessagePickupApi<\n MPPs extends DidCommMessagePickupProtocol[] = [DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol],\n> implements DidCommMessagePickupApi<MPPs>\n{\n public config: DidCommMessagePickupModuleConfig<MPPs>\n\n private messageSender: DidCommMessageSender\n private agentContext: AgentContext\n private eventEmitter: EventEmitter\n private connectionService: DidCommConnectionService\n private messagePickupSessionService: DidCommMessagePickupSessionService\n private logger: Logger\n private stop$: Subject<boolean>\n\n public constructor(\n messageSender: DidCommMessageSender,\n agentContext: AgentContext,\n connectionService: DidCommConnectionService,\n eventEmitter: EventEmitter,\n messagePickupSessionService: DidCommMessagePickupSessionService,\n config: DidCommMessagePickupModuleConfig<MPPs>,\n @inject(InjectionSymbols.Stop$) stop$: Subject<boolean>,\n @inject(InjectionSymbols.Logger) logger: Logger\n ) {\n this.messageSender = messageSender\n this.connectionService = connectionService\n this.agentContext = agentContext\n this.eventEmitter = eventEmitter\n this.config = config\n this.messagePickupSessionService = messagePickupSessionService\n this.stop$ = stop$\n this.logger = logger\n }\n\n private getProtocol<MPP extends MPPs[number]['version']>(protocolVersion: MPP): DidCommMessagePickupProtocol {\n const protocol = this.config.protocols.find((protocol) => protocol.version === protocolVersion)\n\n if (!protocol) {\n throw new CredoError(`No message pickup protocol registered for protocol version ${protocolVersion}`)\n }\n\n return protocol\n }\n\n /**\n * Add an encrypted message to the message pickup queue\n *\n * @param options: connectionId associated to the message and the encrypted message itself\n */\n public async queueMessage(options: QueueMessageOptions): Promise<QueueMessageReturnType> {\n this.logger.debug('Queuing message...')\n const { connectionId, message, recipientDids } = options\n const connectionRecord = await this.connectionService.getById(this.agentContext, connectionId)\n\n const queueTransportRepository =\n this.agentContext.dependencyManager.resolve(DidCommModuleConfig).queueTransportRepository\n\n await queueTransportRepository.addMessage(this.agentContext, {\n connectionId: connectionRecord.id,\n recipientDids,\n payload: message,\n })\n }\n\n /**\n * Get current active live mode message pickup session for a given connection. Undefined if no active session found\n *\n * @param options connection id and optional role\n * @returns live mode session\n */\n public async getLiveModeSession(options: { connectionId: string; role?: DidCommMessagePickupSessionRole }) {\n const { connectionId, role } = options\n return this.messagePickupSessionService.getLiveSessionByConnectionId(this.agentContext, { connectionId, role })\n }\n\n /**\n * Deliver specific messages to an active live mode pickup session through message pickup protocol.\n *\n * This will deliver the messages regardless of the state of the message pickup queue, meaning that\n * any message stuck there should be sent separately (e.g. using deliverQU).\n *\n * @param options: pickup session id and the messages to deliver\n */\n public async deliverMessages(options: DeliverMessagesOptions) {\n const { pickupSessionId, messages } = options\n\n const session = this.messagePickupSessionService.getLiveSession(this.agentContext, pickupSessionId)\n\n if (!session) {\n throw new CredoError(`No active live mode session found with id ${pickupSessionId}`)\n }\n\n const connectionRecord = await this.connectionService.getById(this.agentContext, session.connectionId)\n\n const protocol = this.getProtocol(session.protocolVersion)\n\n const createDeliveryReturn = await protocol.createDeliveryMessage(this.agentContext, {\n connectionRecord,\n messages,\n })\n\n if (createDeliveryReturn) {\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(createDeliveryReturn.message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'] } }\n )\n }\n }\n\n /**\n * Deliver messages in the Message Pickup Queue for a given live mode session and key (if specified).\n *\n * This will retrieve messages up to 'batchSize' messages from the queue and deliver it through the\n * corresponding Message Pickup protocol. If there are more than 'batchSize' messages in the queue,\n * the recipient may request remaining messages after receiving the first batch of messages.\n *\n */\n public async deliverMessagesFromQueue(options: DeliverMessagesFromQueueOptions) {\n this.logger.debug('Delivering queued messages')\n\n const { pickupSessionId, recipientDid: recipientKey, batchSize } = options\n\n const session = this.messagePickupSessionService.getLiveSession(this.agentContext, pickupSessionId)\n\n if (!session) {\n throw new CredoError(`No active live mode session found with id ${pickupSessionId}`)\n }\n const connectionRecord = await this.connectionService.getById(this.agentContext, session.connectionId)\n\n const protocol = this.getProtocol(session.protocolVersion)\n\n const deliverMessagesReturn = await protocol.createDeliveryMessage(this.agentContext, {\n connectionRecord,\n recipientKey,\n batchSize,\n })\n\n if (deliverMessagesReturn) {\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(deliverMessagesReturn.message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'] } }\n )\n }\n }\n\n /**\n * Pickup queued messages from a message holder. It attempts to retrieve all current messages from the\n * queue, receiving up to `batchSize` messages per batch retrieval.\n *\n * By default, this method only waits until the initial pick-up request is sent. Use `options.awaitCompletion`\n * if you want to wait until all messages are effectively retrieved.\n *\n * @param options connectionId, protocol version to use and batch size, awaitCompletion,\n * awaitCompletionTimeoutMs\n */\n public async pickupMessages(options: PickupMessagesOptions<MPPs>): Promise<PickupMessagesReturnType> {\n const connectionRecord = await this.connectionService.getById(this.agentContext, options.connectionId)\n\n const protocol = this.getProtocol(options.protocolVersion)\n const { message } = await protocol.createPickupMessage(this.agentContext, {\n connectionRecord,\n batchSize: options.batchSize,\n recipientDid: options.recipientDid,\n })\n\n const outboundMessageContext = new DidCommOutboundMessageContext(message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n })\n\n const replaySubject = new ReplaySubject(1)\n\n if (options.awaitCompletion) {\n this.eventEmitter\n .observable<MessagePickupCompletedEvent>(DidCommMessagePickupEventTypes.MessagePickupCompleted)\n .pipe(\n // Stop when the agent shuts down\n takeUntil(this.stop$),\n // filter by connection id\n filter((e) => e.payload.connection.id === connectionRecord.id),\n // Only wait for first event that matches the criteria\n first(),\n // If we don't receive all messages within timeoutMs miliseconds (no response, not supported, etc...) error\n timeout({\n first: options.awaitCompletionTimeoutMs ?? 10000,\n meta: 'DidCommMessagePickupApi.pickupMessages',\n })\n )\n .subscribe(replaySubject)\n }\n\n // For picking up messages we prefer a long-lived transport session, so we will set a higher priority to\n // WebSocket endpoints. However, it is not extrictly required.\n await this.messageSender.sendMessage(outboundMessageContext, { transportPriority: { schemes: ['wss', 'ws'] } })\n\n if (options.awaitCompletion) {\n await firstValueFrom(replaySubject)\n }\n }\n\n /**\n * Enable or disable Live Delivery mode as a recipient. Depending on the message pickup protocol used,\n * after receiving a response from the mediator the agent might retrieve any pending message.\n *\n * @param options connectionId, protocol version to use and boolean to enable/disable Live Mode\n */\n public async setLiveDeliveryMode(options: SetLiveDeliveryModeOptions): Promise<SetLiveDeliveryModeReturnType> {\n const connectionRecord = await this.connectionService.getById(this.agentContext, options.connectionId)\n const protocol = this.getProtocol(options.protocolVersion)\n const { message } = await protocol.setLiveDeliveryMode(this.agentContext, {\n connectionRecord,\n liveDelivery: options.liveDelivery,\n })\n\n // Live mode requires a long-lived transport session, so we'll require WebSockets to send this message\n await this.messageSender.sendMessage(\n new DidCommOutboundMessageContext(message, {\n agentContext: this.agentContext,\n connection: connectionRecord,\n }),\n { transportPriority: { schemes: ['wss', 'ws'], restrictive: options.liveDelivery } }\n )\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgDO,oCAAMA,0BAGb;CAWE,AAAO,YACL,eACA,cACA,mBACA,cACA,6BACA,QACA,AAAgCC,OAChC,AAAiCC,QACjC;AACA,OAAK,gBAAgB;AACrB,OAAK,oBAAoB;AACzB,OAAK,eAAe;AACpB,OAAK,eAAe;AACpB,OAAK,SAAS;AACd,OAAK,8BAA8B;AACnC,OAAK,QAAQ;AACb,OAAK,SAAS;;CAGhB,AAAQ,YAAiD,iBAAoD;EAC3G,MAAM,WAAW,KAAK,OAAO,UAAU,MAAM,eAAaC,WAAS,YAAY,gBAAgB;AAE/F,MAAI,CAAC,SACH,OAAM,IAAI,WAAW,8DAA8D,kBAAkB;AAGvG,SAAO;;;;;;;CAQT,MAAa,aAAa,SAA+D;AACvF,OAAK,OAAO,MAAM,qBAAqB;EACvC,MAAM,EAAE,cAAc,SAAS,kBAAkB;EACjD,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,aAAa;AAK9F,QAFE,KAAK,aAAa,kBAAkB,QAAQ,oBAAoB,CAAC,yBAEpC,WAAW,KAAK,cAAc;GAC3D,cAAc,iBAAiB;GAC/B;GACA,SAAS;GACV,CAAC;;;;;;;;CASJ,MAAa,mBAAmB,SAA2E;EACzG,MAAM,EAAE,cAAc,SAAS;AAC/B,SAAO,KAAK,4BAA4B,6BAA6B,KAAK,cAAc;GAAE;GAAc;GAAM,CAAC;;;;;;;;;;CAWjH,MAAa,gBAAgB,SAAiC;EAC5D,MAAM,EAAE,iBAAiB,aAAa;EAEtC,MAAM,UAAU,KAAK,4BAA4B,eAAe,KAAK,cAAc,gBAAgB;AAEnG,MAAI,CAAC,QACH,OAAM,IAAI,WAAW,6CAA6C,kBAAkB;EAGtF,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAItG,MAAM,uBAAuB,MAFZ,KAAK,YAAY,QAAQ,gBAAgB,CAEd,sBAAsB,KAAK,cAAc;GACnF;GACA;GACD,CAAC;AAEF,MAAI,qBACF,OAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,qBAAqB,SAAS;GAC9D,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAClD;;;;;;;;;;CAYL,MAAa,yBAAyB,SAA0C;AAC9E,OAAK,OAAO,MAAM,6BAA6B;EAE/C,MAAM,EAAE,iBAAiB,cAAc,cAAc,cAAc;EAEnE,MAAM,UAAU,KAAK,4BAA4B,eAAe,KAAK,cAAc,gBAAgB;AAEnG,MAAI,CAAC,QACH,OAAM,IAAI,WAAW,6CAA6C,kBAAkB;EAEtF,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAItG,MAAM,wBAAwB,MAFb,KAAK,YAAY,QAAQ,gBAAgB,CAEb,sBAAsB,KAAK,cAAc;GACpF;GACA;GACA;GACD,CAAC;AAEF,MAAI,sBACF,OAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,sBAAsB,SAAS;GAC/D,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAClD;;;;;;;;;;;;CAcL,MAAa,eAAe,SAAyE;EACnG,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAGtG,MAAM,EAAE,YAAY,MADH,KAAK,YAAY,QAAQ,gBAAgB,CACvB,oBAAoB,KAAK,cAAc;GACxE;GACA,WAAW,QAAQ;GACnB,cAAc,QAAQ;GACvB,CAAC;EAEF,MAAM,yBAAyB,IAAI,8BAA8B,SAAS;GACxE,cAAc,KAAK;GACnB,YAAY;GACb,CAAC;EAEF,MAAM,gBAAgB,IAAI,cAAc,EAAE;AAE1C,MAAI,QAAQ,gBACV,MAAK,aACF,WAAwC,+BAA+B,uBAAuB,CAC9F,KAEC,UAAU,KAAK,MAAM,EAErB,QAAQ,MAAM,EAAE,QAAQ,WAAW,OAAO,iBAAiB,GAAG,EAE9D,OAAO,EAEP,QAAQ;GACN,OAAO,QAAQ,4BAA4B;GAC3C,MAAM;GACP,CAAC,CACH,CACA,UAAU,cAAc;AAK7B,QAAM,KAAK,cAAc,YAAY,wBAAwB,EAAE,mBAAmB,EAAE,SAAS,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;AAE/G,MAAI,QAAQ,gBACV,OAAM,eAAe,cAAc;;;;;;;;CAUvC,MAAa,oBAAoB,SAA6E;EAC5G,MAAM,mBAAmB,MAAM,KAAK,kBAAkB,QAAQ,KAAK,cAAc,QAAQ,aAAa;EAEtG,MAAM,EAAE,YAAY,MADH,KAAK,YAAY,QAAQ,gBAAgB,CACvB,oBAAoB,KAAK,cAAc;GACxE;GACA,cAAc,QAAQ;GACvB,CAAC;AAGF,QAAM,KAAK,cAAc,YACvB,IAAI,8BAA8B,SAAS;GACzC,cAAc,KAAK;GACnB,YAAY;GACb,CAAC,EACF,EAAE,mBAAmB;GAAE,SAAS,CAAC,OAAO,KAAK;GAAE,aAAa,QAAQ;GAAc,EAAE,CACrF;;;;CArOJ,YAAY;oBAuBR,OAAO,iBAAiB,MAAM;oBAC9B,OAAO,iBAAiB,OAAO"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DidCommMessagePickupProtocol } from "./protocol/DidCommMessagePickupProtocol.mjs";
|
|
2
|
+
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./DidCommMessagePickupModuleConfig.mjs";
|
|
2
3
|
import { DidCommMessagePickupV1Protocol } from "./protocol/v1/DidCommMessagePickupV1Protocol.mjs";
|
|
3
4
|
import { DidCommMessagePickupV2Protocol } from "./protocol/v2/DidCommMessagePickupV2Protocol.mjs";
|
|
4
|
-
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./DidCommMessagePickupModuleConfig.mjs";
|
|
5
5
|
import { DidCommMessagePickupApi } from "./DidCommMessagePickupApi.mjs";
|
|
6
6
|
import { AgentContext, ApiModule, Constructor, DependencyManager, Optional } from "@credo-ts/core";
|
|
7
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupModule.d.mts","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupModule.d.mts","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAaA;AAAgD,KAApC,oCAAA,GAAoC,CAAI,8BAAJ,EAAoC,8BAApC,CAAA;AAAI,KAGxC,iCAHwC,CAAA,+BAGyB,4BAHzB,EAAA,CAAA,GAG2D,QAH3D,CAIlD,uCAJkD,CAIV,sBAJU,CAAA,EAAA,WAAA,CAAA;AAAgC,cAQvE,0BARuE,CAAA,+BASnD,4BATmD,EAAA,GASlB,oCATkB,CAAA,YAUvE,SAVuE,CAAA;EAA8B,SAAA,MAAA,EAYxF,gCAZwF,CAYvD,sBAZuD,CAAA;EAGtG,SAAA,GAAA,EAYW,WAZX,CAYuB,uBAZU,CAYc,sBAZd,CAAA,CAAA;EAAA,WAAA,CAAA,MAAA,CAAA,EAcf,iCAde,CAcmB,sBAdnB,CAAA;;;;UAAkE,CAAA,iBAAA,EAwB1E,iBAxB0E,CAAA,EAAA,IAAA;EAAQ,UAAA,CAAA,YAAA,EAgC/E,YAhC+E,CAAA,EAgChE,OAhCgE,CAAA,IAAA,CAAA;EAK1G,mBAAA,CAAA,YAA0B,EAqCU,YArCV,CAAA,EAqCyB,OArCzB,CAAA,IAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DidCommMessagePickupProtocol } from "./protocol/DidCommMessagePickupProtocol.js";
|
|
2
|
+
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./DidCommMessagePickupModuleConfig.js";
|
|
2
3
|
import { DidCommMessagePickupV1Protocol } from "./protocol/v1/DidCommMessagePickupV1Protocol.js";
|
|
3
4
|
import { DidCommMessagePickupV2Protocol } from "./protocol/v2/DidCommMessagePickupV2Protocol.js";
|
|
4
|
-
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./DidCommMessagePickupModuleConfig.js";
|
|
5
5
|
import { DidCommMessagePickupApi } from "./DidCommMessagePickupApi.js";
|
|
6
6
|
import { AgentContext, ApiModule, Constructor, DependencyManager, Optional } from "@credo-ts/core";
|
|
7
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupModule.d.ts","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupModule.d.ts","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAaA;AAAgD,KAApC,oCAAA,GAAoC,CAAI,8BAAJ,EAAoC,8BAApC,CAAA;AAAI,KAGxC,iCAHwC,CAAA,+BAGyB,4BAHzB,EAAA,CAAA,GAG2D,QAH3D,CAIlD,uCAJkD,CAIV,sBAJU,CAAA,EAAA,WAAA,CAAA;AAAgC,cAQvE,0BARuE,CAAA,+BASnD,4BATmD,EAAA,GASlB,oCATkB,CAAA,YAUvE,SAVuE,CAAA;EAA8B,SAAA,MAAA,EAYxF,gCAZwF,CAYvD,sBAZuD,CAAA;EAGtG,SAAA,GAAA,EAYW,WAZX,CAYuB,uBAZU,CAYc,sBAZd,CAAA,CAAA;EAAA,WAAA,CAAA,MAAA,CAAA,EAcf,iCAde,CAcmB,sBAdnB,CAAA;;;;UAAkE,CAAA,iBAAA,EAwB1E,iBAxB0E,CAAA,EAAA,IAAA;EAAQ,UAAA,CAAA,YAAA,EAgC/E,YAhC+E,CAAA,EAgChE,OAhCgE,CAAA,IAAA,CAAA;EAK1G,mBAAA,CAAA,YAA0B,EAqCU,YArCV,CAAA,EAqCyB,OArCzB,CAAA,IAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupModule.mjs","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":["import type { AgentContext, ApiModule, Constructor, DependencyManager, Optional } from '@credo-ts/core'\nimport
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupModule.mjs","names":[],"sources":["../../../src/modules/message-pickup/DidCommMessagePickupModule.ts"],"sourcesContent":["import type { AgentContext, ApiModule, Constructor, DependencyManager, Optional } from '@credo-ts/core'\nimport { DidCommFeatureRegistry } from '../../DidCommFeatureRegistry'\nimport { DidCommMessageHandlerRegistry } from '../../DidCommMessageHandlerRegistry'\nimport { DidCommMessagePickupApi } from './DidCommMessagePickupApi'\nimport type { DidCommMessagePickupModuleConfigOptions } from './DidCommMessagePickupModuleConfig'\nimport { DidCommMessagePickupModuleConfig } from './DidCommMessagePickupModuleConfig'\nimport { DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol } from './protocol'\nimport type { DidCommMessagePickupProtocol } from './protocol/DidCommMessagePickupProtocol'\nimport { DidCommMessagePickupSessionService } from './services'\n\n/**\n * Default protocols that will be registered if the `protocols` property is not configured.\n */\nexport type DefaultDidCommMessagePickupProtocols = [DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol]\n\n// MessagePickupModuleOptions makes the protocols property optional from the config, as it will set it when not provided.\nexport type DidCommMessagePickupModuleOptions<MessagePickupProtocols extends DidCommMessagePickupProtocol[]> = Optional<\n DidCommMessagePickupModuleConfigOptions<MessagePickupProtocols>,\n 'protocols'\n>\n\nexport class DidCommMessagePickupModule<\n MessagePickupProtocols extends DidCommMessagePickupProtocol[] = DefaultDidCommMessagePickupProtocols,\n> implements ApiModule\n{\n public readonly config: DidCommMessagePickupModuleConfig<MessagePickupProtocols>\n\n // Infer Api type from the config\n public readonly api: Constructor<DidCommMessagePickupApi<MessagePickupProtocols>> = DidCommMessagePickupApi\n\n public constructor(config?: DidCommMessagePickupModuleOptions<MessagePickupProtocols>) {\n this.config = new DidCommMessagePickupModuleConfig({\n ...config,\n protocols: config?.protocols ?? [new DidCommMessagePickupV1Protocol(), new DidCommMessagePickupV2Protocol()],\n }) as DidCommMessagePickupModuleConfig<MessagePickupProtocols>\n }\n\n /**\n * Registers the dependencies of the message pickup answer module on the dependency manager.\n */\n public register(dependencyManager: DependencyManager) {\n // Config\n dependencyManager.registerInstance(DidCommMessagePickupModuleConfig, this.config)\n\n // Services\n dependencyManager.registerSingleton(DidCommMessagePickupSessionService)\n }\n\n public async initialize(agentContext: AgentContext): Promise<void> {\n // Protocol needs to register feature registry items and handlers\n const messageHandlerRegistry = agentContext.dependencyManager.resolve(DidCommMessageHandlerRegistry)\n const featureRegistry = agentContext.dependencyManager.resolve(DidCommFeatureRegistry)\n\n for (const protocol of this.config.protocols) {\n protocol.register(messageHandlerRegistry, featureRegistry)\n }\n }\n\n public async onInitializeContext(agentContext: AgentContext): Promise<void> {\n // We only support initialization of message pickup for the root agent\n if (!agentContext.isRootAgentContext) return\n\n // FIXME: this does not take into account multi-tenant agents, need to think how to separate based on context\n const messagePickupSessionService = agentContext.dependencyManager.resolve(DidCommMessagePickupSessionService)\n messagePickupSessionService.start(agentContext)\n }\n}\n"],"mappings":";;;;;;;;;;;AAqBA,IAAa,6BAAb,MAGA;CAME,AAAO,YAAY,QAAoE;OAFvE,MAAoE;AAGlF,OAAK,SAAS,IAAI,iCAAiC;GACjD,GAAG;GACH,WAAW,QAAQ,aAAa,CAAC,IAAI,gCAAgC,EAAE,IAAI,gCAAgC,CAAC;GAC7G,CAAC;;;;;CAMJ,AAAO,SAAS,mBAAsC;AAEpD,oBAAkB,iBAAiB,kCAAkC,KAAK,OAAO;AAGjF,oBAAkB,kBAAkB,mCAAmC;;CAGzE,MAAa,WAAW,cAA2C;EAEjE,MAAM,yBAAyB,aAAa,kBAAkB,QAAQ,8BAA8B;EACpG,MAAM,kBAAkB,aAAa,kBAAkB,QAAQ,uBAAuB;AAEtF,OAAK,MAAM,YAAY,KAAK,OAAO,UACjC,UAAS,SAAS,wBAAwB,gBAAgB;;CAI9D,MAAa,oBAAoB,cAA2C;AAE1E,MAAI,CAAC,aAAa,mBAAoB;AAItC,EADoC,aAAa,kBAAkB,QAAQ,mCAAmC,CAClF,MAAM,aAAa"}
|
|
@@ -10,8 +10,8 @@ const require_DidCommDeliveryRequestV2Message = require('./protocol/v2/messages/
|
|
|
10
10
|
const require_DidCommLiveDeliveryChangeV2Message = require('./protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
11
11
|
const require_DidCommMessageDeliveryV2Message = require('./protocol/v2/messages/DidCommMessageDeliveryV2Message.js');
|
|
12
12
|
const require_DidCommMessagesReceivedV2Message = require('./protocol/v2/messages/DidCommMessagesReceivedV2Message.js');
|
|
13
|
-
const require_DidCommStatusV2Message = require('./protocol/v2/messages/DidCommStatusV2Message.js');
|
|
14
13
|
const require_DidCommStatusRequestV2Message = require('./protocol/v2/messages/DidCommStatusRequestV2Message.js');
|
|
14
|
+
const require_DidCommStatusV2Message = require('./protocol/v2/messages/DidCommStatusV2Message.js');
|
|
15
15
|
const require_DidCommMessagePickupV2Protocol = require('./protocol/v2/DidCommMessagePickupV2Protocol.js');
|
|
16
16
|
require('./protocol/index.js');
|
|
17
17
|
const require_DidCommMessagePickupModule = require('./DidCommMessagePickupModule.js');
|
|
@@ -10,8 +10,8 @@ import { DidCommDeliveryRequestV2Message } from "./protocol/v2/messages/DidCommD
|
|
|
10
10
|
import { DidCommLiveDeliveryChangeV2Message } from "./protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
11
11
|
import { DidCommMessageDeliveryV2Message } from "./protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs";
|
|
12
12
|
import { DidCommMessagesReceivedV2Message } from "./protocol/v2/messages/DidCommMessagesReceivedV2Message.mjs";
|
|
13
|
-
import { DidCommStatusV2Message } from "./protocol/v2/messages/DidCommStatusV2Message.mjs";
|
|
14
13
|
import { DidCommStatusRequestV2Message } from "./protocol/v2/messages/DidCommStatusRequestV2Message.mjs";
|
|
14
|
+
import { DidCommStatusV2Message } from "./protocol/v2/messages/DidCommStatusV2Message.mjs";
|
|
15
15
|
import { DidCommMessagePickupV2Protocol } from "./protocol/v2/DidCommMessagePickupV2Protocol.mjs";
|
|
16
16
|
import "./protocol/index.mjs";
|
|
17
17
|
import { DidCommMessagePickupModule } from "./DidCommMessagePickupModule.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../DidCommMessage.mjs";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.mjs";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../DidCommMessageHandlerRegistry.mjs";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "./DidCommMessagePickupProtocolOptions.mjs";
|
|
5
4
|
import { DidCommMessagePickupProtocol } from "./DidCommMessagePickupProtocol.mjs";
|
|
5
|
+
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.mjs";
|
|
6
6
|
import { AgentContext } from "@credo-ts/core";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../DidCommMessage.js";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.js";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../DidCommMessageHandlerRegistry.js";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "./DidCommMessagePickupProtocolOptions.js";
|
|
5
4
|
import { DidCommMessagePickupProtocol } from "./DidCommMessagePickupProtocol.js";
|
|
5
|
+
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.js";
|
|
6
6
|
import { AgentContext } from "@credo-ts/core";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../DidCommMessage.mjs";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.mjs";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../DidCommMessageHandlerRegistry.mjs";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "./DidCommMessagePickupProtocolOptions.mjs";
|
|
4
|
+
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.mjs";
|
|
5
5
|
import { AgentContext } from "@credo-ts/core";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../DidCommMessage.js";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.js";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../DidCommMessageHandlerRegistry.js";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "./DidCommMessagePickupProtocolOptions.js";
|
|
4
|
+
import { DidCommFeatureRegistry } from "../../../DidCommFeatureRegistry.js";
|
|
5
5
|
import { AgentContext } from "@credo-ts/core";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.ts
|
|
@@ -6,7 +6,7 @@ const require_DidCommDeliveryRequestV2Message = require('./v2/messages/DidCommDe
|
|
|
6
6
|
const require_DidCommLiveDeliveryChangeV2Message = require('./v2/messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
7
7
|
const require_DidCommMessageDeliveryV2Message = require('./v2/messages/DidCommMessageDeliveryV2Message.js');
|
|
8
8
|
const require_DidCommMessagesReceivedV2Message = require('./v2/messages/DidCommMessagesReceivedV2Message.js');
|
|
9
|
-
const require_DidCommStatusV2Message = require('./v2/messages/DidCommStatusV2Message.js');
|
|
10
9
|
const require_DidCommStatusRequestV2Message = require('./v2/messages/DidCommStatusRequestV2Message.js');
|
|
10
|
+
const require_DidCommStatusV2Message = require('./v2/messages/DidCommStatusV2Message.js');
|
|
11
11
|
const require_DidCommMessagePickupV2Protocol = require('./v2/DidCommMessagePickupV2Protocol.js');
|
|
12
12
|
require('./v2/index.js');
|
|
@@ -6,7 +6,7 @@ import { DidCommDeliveryRequestV2Message } from "./v2/messages/DidCommDeliveryRe
|
|
|
6
6
|
import { DidCommLiveDeliveryChangeV2Message } from "./v2/messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
7
7
|
import { DidCommMessageDeliveryV2Message } from "./v2/messages/DidCommMessageDeliveryV2Message.mjs";
|
|
8
8
|
import { DidCommMessagesReceivedV2Message } from "./v2/messages/DidCommMessagesReceivedV2Message.mjs";
|
|
9
|
-
import { DidCommStatusV2Message } from "./v2/messages/DidCommStatusV2Message.mjs";
|
|
10
9
|
import { DidCommStatusRequestV2Message } from "./v2/messages/DidCommStatusRequestV2Message.mjs";
|
|
10
|
+
import { DidCommStatusV2Message } from "./v2/messages/DidCommStatusV2Message.mjs";
|
|
11
11
|
import { DidCommMessagePickupV2Protocol } from "./v2/DidCommMessagePickupV2Protocol.mjs";
|
|
12
12
|
import "./v2/index.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../../DidCommMessage.mjs";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.mjs";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../../DidCommMessageHandlerRegistry.mjs";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolReturnType } from "../DidCommMessagePickupProtocolOptions.mjs";
|
|
5
4
|
import { DidCommBaseMessagePickupProtocol } from "../DidCommBaseMessagePickupProtocol.mjs";
|
|
@@ -7,6 +6,7 @@ import { DidCommBatchMessage } from "./messages/DidCommBatchMessage.mjs";
|
|
|
7
6
|
import { DidCommBatchPickupMessage } from "./messages/DidCommBatchPickupMessage.mjs";
|
|
8
7
|
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.mjs";
|
|
9
8
|
import { DidCommInboundMessageContext } from "../../../../models/DidCommInboundMessageContext.mjs";
|
|
9
|
+
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.mjs";
|
|
10
10
|
import { AgentContext } from "@credo-ts/core";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupV1Protocol.d.mts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupV1Protocol.d.mts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAyBa,8BAAA,SAAuC,gCAAA;;;AADpD;EAC4C,SAAA,OAAA,EAAA,IAAA;;;;UAyB/B,CAAA,sBAAA,EAfe,6BAef,EAAA,eAAA,EAdQ,sBAcR,CAAA,EAAA,IAAA;qBACiC,CAAA,YAAA,EAF5B,YAE4B,EAAA,OAAA,EADjC,6BACiC,CAAA,EAAzC,OAAyC,CAAjC,gCAAiC,CAAA,cAAA,CAAA,CAAA;uBAAjC,CAAA,YAAA,EAaK,YAbL,EAAA,OAAA,EAcA,8BAdA,CAAA,EAeR,OAfQ,CAeA,iCAfA,CAekC,cAflC,CAAA,GAAA,SAAA,CAAA;qBAAR,CAAA,CAAA,EA+CiC,OA/CjC,CA+CyC,qCA/CzC,CA+C+E,cA/C/E,CAAA,CAAA;oBAaa,CAAA,cAAA,EAsCgC,4BAtChC,CAsC6D,yBAtC7D,CAAA,CAAA,EAsCuF,OAtCvF,CAsCuF,6BAtCvF,CAsCuF,mBAtCvF,CAAA,CAAA;cACL,CAAA,cAAA,EAoE+B,4BApE/B,CAoE4D,mBApE5D,CAAA,CAAA,EAoEgF,OApEhF,CAoEgF,cApEhF,GAAA,IAAA,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../../DidCommMessage.js";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.js";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../../DidCommMessageHandlerRegistry.js";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolReturnType } from "../DidCommMessagePickupProtocolOptions.js";
|
|
5
4
|
import { DidCommBaseMessagePickupProtocol } from "../DidCommBaseMessagePickupProtocol.js";
|
|
@@ -7,6 +6,7 @@ import { DidCommBatchMessage } from "./messages/DidCommBatchMessage.js";
|
|
|
7
6
|
import { DidCommBatchPickupMessage } from "./messages/DidCommBatchPickupMessage.js";
|
|
8
7
|
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.js";
|
|
9
8
|
import { DidCommInboundMessageContext } from "../../../../models/DidCommInboundMessageContext.js";
|
|
9
|
+
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.js";
|
|
10
10
|
import { AgentContext } from "@credo-ts/core";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupV1Protocol.d.ts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupV1Protocol.d.ts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAyBa,8BAAA,SAAuC,gCAAA;;;AADpD;EAC4C,SAAA,OAAA,EAAA,IAAA;;;;UAyB/B,CAAA,sBAAA,EAfe,6BAef,EAAA,eAAA,EAdQ,sBAcR,CAAA,EAAA,IAAA;qBACiC,CAAA,YAAA,EAF5B,YAE4B,EAAA,OAAA,EADjC,6BACiC,CAAA,EAAzC,OAAyC,CAAjC,gCAAiC,CAAA,cAAA,CAAA,CAAA;uBAAjC,CAAA,YAAA,EAaK,YAbL,EAAA,OAAA,EAcA,8BAdA,CAAA,EAeR,OAfQ,CAeA,iCAfA,CAekC,cAflC,CAAA,GAAA,SAAA,CAAA;qBAAR,CAAA,CAAA,EA+CiC,OA/CjC,CA+CyC,qCA/CzC,CA+C+E,cA/C/E,CAAA,CAAA;oBAaa,CAAA,cAAA,EAsCgC,4BAtChC,CAsC6D,yBAtC7D,CAAA,CAAA,EAsCuF,OAtCvF,CAsCuF,6BAtCvF,CAsCuF,mBAtCvF,CAAA,CAAA;cACL,CAAA,cAAA,EAoE+B,4BApE/B,CAoE4D,mBApE5D,CAAA,CAAA,EAoEgF,OApEhF,CAoEgF,cApEhF,GAAA,IAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.js');
|
|
2
2
|
const require_decorate = require('../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.js');
|
|
3
|
-
const require_DidCommProtocol = require('../../../../models/features/DidCommProtocol.js');
|
|
4
|
-
const require_DidCommOutboundMessageContext = require('../../../../models/DidCommOutboundMessageContext.js');
|
|
5
|
-
require('../../../../models/index.js');
|
|
6
3
|
const require_DidCommEvents = require('../../../../DidCommEvents.js');
|
|
7
4
|
const require_DidCommModuleConfig = require('../../../../DidCommModuleConfig.js');
|
|
5
|
+
const require_DidCommOutboundMessageContext = require('../../../../models/DidCommOutboundMessageContext.js');
|
|
6
|
+
const require_DidCommProtocol = require('../../../../models/features/DidCommProtocol.js');
|
|
7
|
+
require('../../../../models/index.js');
|
|
8
8
|
const require_DidCommMessagePickupEvents = require('../../DidCommMessagePickupEvents.js');
|
|
9
9
|
const require_DidCommMessagePickupModuleConfig = require('../../DidCommMessagePickupModuleConfig.js');
|
|
10
10
|
const require_DidCommBaseMessagePickupProtocol = require('../DidCommBaseMessagePickupProtocol.js');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
|
|
2
|
-
import { DidCommProtocol } from "../../../../models/features/DidCommProtocol.mjs";
|
|
3
|
-
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.mjs";
|
|
4
|
-
import "../../../../models/index.mjs";
|
|
5
2
|
import { DidCommEventTypes } from "../../../../DidCommEvents.mjs";
|
|
6
3
|
import { DidCommModuleConfig } from "../../../../DidCommModuleConfig.mjs";
|
|
4
|
+
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.mjs";
|
|
5
|
+
import { DidCommProtocol } from "../../../../models/features/DidCommProtocol.mjs";
|
|
6
|
+
import "../../../../models/index.mjs";
|
|
7
7
|
import { DidCommMessagePickupEventTypes } from "../../DidCommMessagePickupEvents.mjs";
|
|
8
8
|
import { DidCommMessagePickupModuleConfig } from "../../DidCommMessagePickupModuleConfig.mjs";
|
|
9
9
|
import { DidCommBaseMessagePickupProtocol } from "../DidCommBaseMessagePickupProtocol.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupV1Protocol.mjs","names":["DidCommMessagePickupV1Protocol"],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":["import type { AgentContext } from '@credo-ts/core'\nimport
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupV1Protocol.mjs","names":["DidCommMessagePickupV1Protocol"],"sources":["../../../../../src/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.ts"],"sourcesContent":["import type { AgentContext } from '@credo-ts/core'\nimport { CredoError, EventEmitter, injectable } from '@credo-ts/core'\nimport type { DidCommMessageReceivedEvent } from '../../../../DidCommEvents'\nimport { DidCommEventTypes } from '../../../../DidCommEvents'\nimport type { DidCommFeatureRegistry } from '../../../../DidCommFeatureRegistry'\nimport type { DidCommMessage } from '../../../../DidCommMessage'\nimport type { DidCommMessageHandlerRegistry } from '../../../../DidCommMessageHandlerRegistry'\nimport { DidCommModuleConfig } from '../../../../DidCommModuleConfig'\nimport type { DidCommInboundMessageContext } from '../../../../models'\nimport { DidCommOutboundMessageContext, DidCommProtocol } from '../../../../models'\nimport type { MessagePickupCompletedEvent } from '../../DidCommMessagePickupEvents'\nimport { DidCommMessagePickupEventTypes } from '../../DidCommMessagePickupEvents'\nimport { DidCommMessagePickupModuleConfig } from '../../DidCommMessagePickupModuleConfig'\nimport { DidCommBaseMessagePickupProtocol } from '../DidCommBaseMessagePickupProtocol'\nimport type {\n DeliverMessagesProtocolOptions,\n DeliverMessagesProtocolReturnType,\n PickupMessagesProtocolOptions,\n PickupMessagesProtocolReturnType,\n SetLiveDeliveryModeProtocolReturnType,\n} from '../DidCommMessagePickupProtocolOptions'\nimport { DidCommBatchHandler, DidCommBatchPickupHandler } from './handlers'\nimport { DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchPickupMessage } from './messages'\n\n@injectable()\nexport class DidCommMessagePickupV1Protocol extends DidCommBaseMessagePickupProtocol {\n /**\n * The version of the message pickup protocol this class supports\n */\n public readonly version = 'v1' as const\n\n /**\n * Registers the protocol implementation (handlers, feature registry) on the agent.\n */\n public register(\n messageHandlerRegistry: DidCommMessageHandlerRegistry,\n featureRegistry: DidCommFeatureRegistry\n ): void {\n messageHandlerRegistry.registerMessageHandlers([new DidCommBatchPickupHandler(this), new DidCommBatchHandler(this)])\n\n featureRegistry.register(\n new DidCommProtocol({\n id: 'https://didcomm.org/messagepickup/1.0',\n roles: ['message_holder', 'recipient', 'batch_sender', 'batch_recipient'],\n })\n )\n }\n\n public async createPickupMessage(\n agentContext: AgentContext,\n options: PickupMessagesProtocolOptions\n ): Promise<PickupMessagesProtocolReturnType<DidCommMessage>> {\n const { connectionRecord, batchSize } = options\n connectionRecord.assertReady()\n\n const config = agentContext.dependencyManager.resolve(DidCommMessagePickupModuleConfig)\n const message = new DidCommBatchPickupMessage({\n batchSize: batchSize ?? config.maximumBatchSize,\n })\n\n return { message }\n }\n\n public async createDeliveryMessage(\n agentContext: AgentContext,\n options: DeliverMessagesProtocolOptions\n ): Promise<DeliverMessagesProtocolReturnType<DidCommMessage> | undefined> {\n const { connectionRecord, batchSize, messages } = options\n connectionRecord.assertReady()\n\n const queueTransportRepository =\n agentContext.dependencyManager.resolve(DidCommModuleConfig).queueTransportRepository\n\n const messagesToDeliver =\n messages ??\n (await queueTransportRepository.takeFromQueue(agentContext, {\n connectionId: connectionRecord.id,\n limit: batchSize, // TODO: Define as config parameter for message holder side\n deleteMessages: true,\n }))\n\n const batchMessages = messagesToDeliver.map(\n (msg) =>\n new DidCommBatchMessageMessage({\n id: msg.id,\n message: msg.encryptedMessage,\n })\n )\n\n if (messagesToDeliver.length > 0) {\n const message = new DidCommBatchMessage({\n messages: batchMessages,\n })\n\n return { message }\n }\n }\n\n public async setLiveDeliveryMode(): Promise<SetLiveDeliveryModeProtocolReturnType<DidCommMessage>> {\n throw new CredoError('Live Delivery mode not supported in Message Pickup V1 protocol')\n }\n\n public async processBatchPickup(messageContext: DidCommInboundMessageContext<DidCommBatchPickupMessage>) {\n // Assert ready connection\n const connection = messageContext.assertReadyConnection()\n\n const { message, agentContext } = messageContext\n\n const queueTransportRepository =\n agentContext.dependencyManager.resolve(DidCommModuleConfig).queueTransportRepository\n\n const messages = await queueTransportRepository.takeFromQueue(agentContext, {\n connectionId: connection.id,\n limit: message.batchSize,\n deleteMessages: true,\n })\n\n const batchMessages = messages.map(\n (msg) =>\n new DidCommBatchMessageMessage({\n id: msg.id,\n message: msg.encryptedMessage,\n })\n )\n\n const batchMessage = new DidCommBatchMessage({\n messages: batchMessages,\n threadId: message.threadId,\n })\n\n return new DidCommOutboundMessageContext(batchMessage, { agentContext: messageContext.agentContext, connection })\n }\n\n public async processBatch(messageContext: DidCommInboundMessageContext<DidCommBatchMessage>) {\n const { message: batchMessage, agentContext } = messageContext\n const { messages } = batchMessage\n\n const connection = messageContext.assertReadyConnection()\n\n const eventEmitter = messageContext.agentContext.dependencyManager.resolve(EventEmitter)\n\n for (const message of messages) {\n eventEmitter.emit<DidCommMessageReceivedEvent>(messageContext.agentContext, {\n type: DidCommEventTypes.DidCommMessageReceived,\n payload: {\n message: message.message,\n contextCorrelationId: messageContext.agentContext.contextCorrelationId,\n },\n })\n }\n\n // A Batch message without messages at all means that we are done with the\n // message pickup process (Note: this is not optimal since we'll always doing an extra\n // Batch Pickup. However, it is safer and should be faster than waiting an entire loop\n // interval to retrieve more messages)\n if (messages.length === 0) {\n eventEmitter.emit<MessagePickupCompletedEvent>(messageContext.agentContext, {\n type: DidCommMessagePickupEventTypes.MessagePickupCompleted,\n payload: {\n connection,\n threadId: batchMessage.threadId,\n },\n })\n return null\n }\n\n return (await this.createPickupMessage(agentContext, { connectionRecord: connection })).message\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAyBO,2CAAMA,yCAAuC,iCAAiC;;;OAInE,UAAU;;;;;CAK1B,AAAO,SACL,wBACA,iBACM;AACN,yBAAuB,wBAAwB,CAAC,IAAI,0BAA0B,KAAK,EAAE,IAAI,oBAAoB,KAAK,CAAC,CAAC;AAEpH,kBAAgB,SACd,IAAI,gBAAgB;GAClB,IAAI;GACJ,OAAO;IAAC;IAAkB;IAAa;IAAgB;IAAkB;GAC1E,CAAC,CACH;;CAGH,MAAa,oBACX,cACA,SAC2D;EAC3D,MAAM,EAAE,kBAAkB,cAAc;AACxC,mBAAiB,aAAa;EAE9B,MAAM,SAAS,aAAa,kBAAkB,QAAQ,iCAAiC;AAKvF,SAAO,EAAE,SAJO,IAAI,0BAA0B,EAC5C,WAAW,aAAa,OAAO,kBAChC,CAAC,EAEgB;;CAGpB,MAAa,sBACX,cACA,SACwE;EACxE,MAAM,EAAE,kBAAkB,WAAW,aAAa;AAClD,mBAAiB,aAAa;EAE9B,MAAM,2BACJ,aAAa,kBAAkB,QAAQ,oBAAoB,CAAC;EAE9D,MAAM,oBACJ,YACC,MAAM,yBAAyB,cAAc,cAAc;GAC1D,cAAc,iBAAiB;GAC/B,OAAO;GACP,gBAAgB;GACjB,CAAC;EAEJ,MAAM,gBAAgB,kBAAkB,KACrC,QACC,IAAI,2BAA2B;GAC7B,IAAI,IAAI;GACR,SAAS,IAAI;GACd,CAAC,CACL;AAED,MAAI,kBAAkB,SAAS,EAK7B,QAAO,EAAE,SAJO,IAAI,oBAAoB,EACtC,UAAU,eACX,CAAC,EAEgB;;CAItB,MAAa,sBAAsF;AACjG,QAAM,IAAI,WAAW,iEAAiE;;CAGxF,MAAa,mBAAmB,gBAAyE;EAEvG,MAAM,aAAa,eAAe,uBAAuB;EAEzD,MAAM,EAAE,SAAS,iBAAiB;AAwBlC,SAAO,IAAI,8BALU,IAAI,oBAAoB;GAC3C,WAfe,MAFf,aAAa,kBAAkB,QAAQ,oBAAoB,CAAC,yBAEd,cAAc,cAAc;IAC1E,cAAc,WAAW;IACzB,OAAO,QAAQ;IACf,gBAAgB;IACjB,CAAC,EAE6B,KAC5B,QACC,IAAI,2BAA2B;IAC7B,IAAI,IAAI;IACR,SAAS,IAAI;IACd,CAAC,CACL;GAIC,UAAU,QAAQ;GACnB,CAAC,EAEqD;GAAE,cAAc,eAAe;GAAc;GAAY,CAAC;;CAGnH,MAAa,aAAa,gBAAmE;EAC3F,MAAM,EAAE,SAAS,cAAc,iBAAiB;EAChD,MAAM,EAAE,aAAa;EAErB,MAAM,aAAa,eAAe,uBAAuB;EAEzD,MAAM,eAAe,eAAe,aAAa,kBAAkB,QAAQ,aAAa;AAExF,OAAK,MAAM,WAAW,SACpB,cAAa,KAAkC,eAAe,cAAc;GAC1E,MAAM,kBAAkB;GACxB,SAAS;IACP,SAAS,QAAQ;IACjB,sBAAsB,eAAe,aAAa;IACnD;GACF,CAAC;AAOJ,MAAI,SAAS,WAAW,GAAG;AACzB,gBAAa,KAAkC,eAAe,cAAc;IAC1E,MAAM,+BAA+B;IACrC,SAAS;KACP;KACA,UAAU,aAAa;KACxB;IACF,CAAC;AACF,UAAO;;AAGT,UAAQ,MAAM,KAAK,oBAAoB,cAAc,EAAE,kBAAkB,YAAY,CAAC,EAAE;;;6CA9I3F,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommBatchHandler.mjs","names":[],"sources":["../../../../../../src/modules/message-pickup/protocol/v1/handlers/DidCommBatchHandler.ts"],"sourcesContent":["import type { DidCommMessageHandler, DidCommMessageHandlerInboundMessage } from '../../../../../handlers'\nimport
|
|
1
|
+
{"version":3,"file":"DidCommBatchHandler.mjs","names":[],"sources":["../../../../../../src/modules/message-pickup/protocol/v1/handlers/DidCommBatchHandler.ts"],"sourcesContent":["import type { DidCommMessageHandler, DidCommMessageHandlerInboundMessage } from '../../../../../handlers'\nimport { DidCommOutboundMessageContext } from '../../../../../models'\nimport type { DidCommMessagePickupV1Protocol } from '../DidCommMessagePickupV1Protocol'\nimport { DidCommBatchMessage } from '../messages'\n\nexport class DidCommBatchHandler implements DidCommMessageHandler {\n public supportedMessages = [DidCommBatchMessage]\n private messagePickupProtocol: DidCommMessagePickupV1Protocol\n\n public constructor(messagePickupProtocol: DidCommMessagePickupV1Protocol) {\n this.messagePickupProtocol = messagePickupProtocol\n }\n\n public async handle(messageContext: DidCommMessageHandlerInboundMessage<DidCommBatchHandler>) {\n const connection = messageContext.assertReadyConnection()\n const batchRequestMessage = await this.messagePickupProtocol.processBatch(messageContext)\n\n if (batchRequestMessage) {\n return new DidCommOutboundMessageContext(batchRequestMessage, {\n agentContext: messageContext.agentContext,\n connection,\n })\n }\n }\n}\n"],"mappings":";;;;;;AAKA,IAAa,sBAAb,MAAkE;CAIhE,AAAO,YAAY,uBAAuD;OAHnE,oBAAoB,CAAC,oBAAoB;AAI9C,OAAK,wBAAwB;;CAG/B,MAAa,OAAO,gBAA0E;EAC5F,MAAM,aAAa,eAAe,uBAAuB;EACzD,MAAM,sBAAsB,MAAM,KAAK,sBAAsB,aAAa,eAAe;AAEzF,MAAI,oBACF,QAAO,IAAI,8BAA8B,qBAAqB;GAC5D,cAAc,eAAe;GAC7B;GACD,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
|
|
2
|
-
const require_decorateMetadata = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
|
|
3
2
|
const require_decorate = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.js');
|
|
4
|
-
const require_BaseDidCommMessage = require('../../../../../BaseDidCommMessage.js');
|
|
5
3
|
const require_messageType = require('../../../../../util/messageType.js');
|
|
4
|
+
const require_decorateMetadata = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
|
|
5
|
+
const require_BaseDidCommMessage = require('../../../../../BaseDidCommMessage.js');
|
|
6
6
|
const require_DidCommMessage = require('../../../../../DidCommMessage.js');
|
|
7
7
|
let __credo_ts_core = require("@credo-ts/core");
|
|
8
8
|
__credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
|
|
9
|
-
let class_transformer = require("class-transformer");
|
|
10
|
-
class_transformer = require_rolldown_runtime.__toESM(class_transformer);
|
|
11
9
|
let class_validator = require("class-validator");
|
|
12
10
|
class_validator = require_rolldown_runtime.__toESM(class_validator);
|
|
11
|
+
let class_transformer = require("class-transformer");
|
|
12
|
+
class_transformer = require_rolldown_runtime.__toESM(class_transformer);
|
|
13
13
|
|
|
14
14
|
//#region src/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.ts
|
|
15
15
|
var DidCommBatchMessageMessage = class {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
|
|
2
1
|
import { __decorate } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
|
|
3
|
-
import { MessageIdRegExp } from "../../../../../BaseDidCommMessage.mjs";
|
|
4
2
|
import { IsValidMessageType, parseMessageType } from "../../../../../util/messageType.mjs";
|
|
3
|
+
import { __decorateMetadata } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
|
|
4
|
+
import { MessageIdRegExp } from "../../../../../BaseDidCommMessage.mjs";
|
|
5
5
|
import { DidCommMessage } from "../../../../../DidCommMessage.mjs";
|
|
6
6
|
import { utils } from "@credo-ts/core";
|
|
7
|
-
import { Expose, Type } from "class-transformer";
|
|
8
7
|
import { IsArray, IsInstance, IsObject, Matches, ValidateNested } from "class-validator";
|
|
8
|
+
import { Expose, Type } from "class-transformer";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.ts
|
|
11
11
|
var DidCommBatchMessageMessage = class {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
|
|
2
|
-
const require_decorateMetadata = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
|
|
3
2
|
const require_decorate = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.js');
|
|
4
3
|
const require_messageType = require('../../../../../util/messageType.js');
|
|
4
|
+
const require_decorateMetadata = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
|
|
5
5
|
const require_DidCommMessage = require('../../../../../DidCommMessage.js');
|
|
6
|
-
let class_transformer = require("class-transformer");
|
|
7
|
-
class_transformer = require_rolldown_runtime.__toESM(class_transformer);
|
|
8
6
|
let class_validator = require("class-validator");
|
|
9
7
|
class_validator = require_rolldown_runtime.__toESM(class_validator);
|
|
8
|
+
let class_transformer = require("class-transformer");
|
|
9
|
+
class_transformer = require_rolldown_runtime.__toESM(class_transformer);
|
|
10
10
|
|
|
11
11
|
//#region src/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.ts
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
|
|
2
1
|
import { __decorate } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
|
|
3
2
|
import { IsValidMessageType, parseMessageType } from "../../../../../util/messageType.mjs";
|
|
3
|
+
import { __decorateMetadata } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
|
|
4
4
|
import { DidCommMessage } from "../../../../../DidCommMessage.mjs";
|
|
5
|
-
import { Expose } from "class-transformer";
|
|
6
5
|
import { IsInt } from "class-validator";
|
|
6
|
+
import { Expose } from "class-transformer";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.ts
|
|
9
9
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../../DidCommMessage.mjs";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.mjs";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../../DidCommMessageHandlerRegistry.mjs";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "../DidCommMessagePickupProtocolOptions.mjs";
|
|
5
4
|
import { DidCommBaseMessagePickupProtocol } from "../DidCommBaseMessagePickupProtocol.mjs";
|
|
@@ -7,10 +6,11 @@ import { DidCommDeliveryRequestV2Message } from "./messages/DidCommDeliveryReque
|
|
|
7
6
|
import { DidCommLiveDeliveryChangeV2Message } from "./messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
8
7
|
import { DidCommMessageDeliveryV2Message } from "./messages/DidCommMessageDeliveryV2Message.mjs";
|
|
9
8
|
import { DidCommMessagesReceivedV2Message } from "./messages/DidCommMessagesReceivedV2Message.mjs";
|
|
10
|
-
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.mjs";
|
|
11
9
|
import { DidCommStatusRequestV2Message } from "./messages/DidCommStatusRequestV2Message.mjs";
|
|
10
|
+
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.mjs";
|
|
12
11
|
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.mjs";
|
|
13
12
|
import { DidCommInboundMessageContext } from "../../../../models/DidCommInboundMessageContext.mjs";
|
|
13
|
+
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.mjs";
|
|
14
14
|
import { AgentContext } from "@credo-ts/core";
|
|
15
15
|
|
|
16
16
|
//#region src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupV2Protocol.d.mts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupV2Protocol.d.mts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;cA8Ca,8BAAA,SAAuC,gCAAA;;;;;;;AADpD;EAC4C,QAAA,CAAA,sBAAA,EAUhB,6BAVgB,EAAA,eAAA,EAWvB,sBAXuB,CAAA,EAAA,IAAA;qBAUhB,CAAA,aAAA,EAqBT,YArBS,EAAA,OAAA,EAsBf,6BAtBe,CAAA,EAuBvB,OAvBuB,CAuBf,gCAvBe,CAuBkB,cAvBlB,CAAA,CAAA;uBACP,CAAA,YAAA,EAkCH,YAlCG,EAAA,OAAA,EAmCR,8BAnCQ,CAAA,EAoChB,OApCgB,CAoCR,iCApCQ,CAoC0B,cApC1B,CAAA,GAAA,SAAA,CAAA;qBAoBF,CAAA,aAAA,EAuDA,YAvDA,EAAA,OAAA,EAwDN,kCAxDM,CAAA,EAyDd,OAzDc,CAyDN,qCAzDM,CAyDgC,cAzDhC,CAAA,CAAA;sBACN,CAAA,cAAA,EAkEuC,4BAlEvC,CAkEoE,6BAlEpE,CAAA,CAAA,EAkEkG,OAlElG,CAkEkG,6BAlElG,CAkEkG,sBAlElG,CAAA,CAAA;wBACiC,CAAA,cAAA,EAyFQ,4BAzFR,CAyFqC,+BAzFrC,CAAA,CAAA,EAyFqE,OAzFrE,CAyFqE,6BAzFrE,CAyFqE,sBAzFrE,GAyFqE,+BAzFrE,CAAA,CAAA;yBAAjC,CAAA,cAAA,EAwI0C,4BAxI1C,CAwIuE,gCAxIvE,CAAA,CAAA,EAwIwG,OAxIxG,CAwIwG,6BAxIxG,CAwIwG,sBAxIxG,CAAA,CAAA;eAAR,CAAA,cAAA,EAqKwC,4BArKxC,CAqKqE,sBArKrE,CAAA,CAAA,EAqK4F,OArK5F,CAqK4F,+BArK5F,GAAA,IAAA,CAAA;2BAYa,CAAA,cAAA,EA6LE,4BA7LF,CA6L+B,kCA7L/B,CAAA,CAAA,EA6LkE,OA7LlE,CA6LkE,6BA7LlE,CA6LkE,sBA7LlE,CAAA,CAAA;iBACL,CAAA,cAAA,EA6NkC,4BA7NlC,CA6N+D,+BA7N/D,CAAA,CAAA,EA6N+F,OA7N/F,CA6N+F,gCA7N/F,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DidCommMessage } from "../../../../DidCommMessage.js";
|
|
2
|
-
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.js";
|
|
3
2
|
import { DidCommMessageHandlerRegistry } from "../../../../DidCommMessageHandlerRegistry.js";
|
|
4
3
|
import { DeliverMessagesProtocolOptions, DeliverMessagesProtocolReturnType, PickupMessagesProtocolOptions, PickupMessagesProtocolReturnType, SetLiveDeliveryModeProtocolOptions, SetLiveDeliveryModeProtocolReturnType } from "../DidCommMessagePickupProtocolOptions.js";
|
|
5
4
|
import { DidCommBaseMessagePickupProtocol } from "../DidCommBaseMessagePickupProtocol.js";
|
|
@@ -7,10 +6,11 @@ import { DidCommDeliveryRequestV2Message } from "./messages/DidCommDeliveryReque
|
|
|
7
6
|
import { DidCommLiveDeliveryChangeV2Message } from "./messages/DidCommLiveDeliveryChangeV2Message.js";
|
|
8
7
|
import { DidCommMessageDeliveryV2Message } from "./messages/DidCommMessageDeliveryV2Message.js";
|
|
9
8
|
import { DidCommMessagesReceivedV2Message } from "./messages/DidCommMessagesReceivedV2Message.js";
|
|
10
|
-
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.js";
|
|
11
9
|
import { DidCommStatusRequestV2Message } from "./messages/DidCommStatusRequestV2Message.js";
|
|
10
|
+
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.js";
|
|
12
11
|
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.js";
|
|
13
12
|
import { DidCommInboundMessageContext } from "../../../../models/DidCommInboundMessageContext.js";
|
|
13
|
+
import { DidCommFeatureRegistry } from "../../../../DidCommFeatureRegistry.js";
|
|
14
14
|
import { AgentContext } from "@credo-ts/core";
|
|
15
15
|
|
|
16
16
|
//#region src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommMessagePickupV2Protocol.d.ts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommMessagePickupV2Protocol.d.ts","names":[],"sources":["../../../../../src/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;cA8Ca,8BAAA,SAAuC,gCAAA;;;;;;;AADpD;EAC4C,QAAA,CAAA,sBAAA,EAUhB,6BAVgB,EAAA,eAAA,EAWvB,sBAXuB,CAAA,EAAA,IAAA;qBAUhB,CAAA,aAAA,EAqBT,YArBS,EAAA,OAAA,EAsBf,6BAtBe,CAAA,EAuBvB,OAvBuB,CAuBf,gCAvBe,CAuBkB,cAvBlB,CAAA,CAAA;uBACP,CAAA,YAAA,EAkCH,YAlCG,EAAA,OAAA,EAmCR,8BAnCQ,CAAA,EAoChB,OApCgB,CAoCR,iCApCQ,CAoC0B,cApC1B,CAAA,GAAA,SAAA,CAAA;qBAoBF,CAAA,aAAA,EAuDA,YAvDA,EAAA,OAAA,EAwDN,kCAxDM,CAAA,EAyDd,OAzDc,CAyDN,qCAzDM,CAyDgC,cAzDhC,CAAA,CAAA;sBACN,CAAA,cAAA,EAkEuC,4BAlEvC,CAkEoE,6BAlEpE,CAAA,CAAA,EAkEkG,OAlElG,CAkEkG,6BAlElG,CAkEkG,sBAlElG,CAAA,CAAA;wBACiC,CAAA,cAAA,EAyFQ,4BAzFR,CAyFqC,+BAzFrC,CAAA,CAAA,EAyFqE,OAzFrE,CAyFqE,6BAzFrE,CAyFqE,sBAzFrE,GAyFqE,+BAzFrE,CAAA,CAAA;yBAAjC,CAAA,cAAA,EAwI0C,4BAxI1C,CAwIuE,gCAxIvE,CAAA,CAAA,EAwIwG,OAxIxG,CAwIwG,6BAxIxG,CAwIwG,sBAxIxG,CAAA,CAAA;eAAR,CAAA,cAAA,EAqKwC,4BArKxC,CAqKqE,sBArKrE,CAAA,CAAA,EAqK4F,OArK5F,CAqK4F,+BArK5F,GAAA,IAAA,CAAA;2BAYa,CAAA,cAAA,EA6LE,4BA7LF,CA6L+B,kCA7L/B,CAAA,CAAA,EA6LkE,OA7LlE,CA6LkE,6BA7LlE,CA6LkE,sBA7LlE,CAAA,CAAA;iBACL,CAAA,cAAA,EA6NkC,4BA7NlC,CA6N+D,+BA7N/D,CAAA,CAAA,EA6N+F,OA7N/F,CA6N+F,gCA7N/F,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.js');
|
|
2
2
|
const require_decorate = require('../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.js');
|
|
3
|
+
const require_DidCommEvents = require('../../../../DidCommEvents.js');
|
|
4
|
+
const require_DidCommModuleConfig = require('../../../../DidCommModuleConfig.js');
|
|
3
5
|
const require_DidCommAttachment = require('../../../../decorators/attachment/DidCommAttachment.js');
|
|
4
6
|
const require_DidCommProblemReportError = require('../../../../errors/problem-reports/DidCommProblemReportError.js');
|
|
5
7
|
require('../../../../errors/index.js');
|
|
6
|
-
const require_DidCommProtocol = require('../../../../models/features/DidCommProtocol.js');
|
|
7
8
|
const require_DidCommOutboundMessageContext = require('../../../../models/DidCommOutboundMessageContext.js');
|
|
9
|
+
const require_DidCommProtocol = require('../../../../models/features/DidCommProtocol.js');
|
|
8
10
|
require('../../../../models/index.js');
|
|
9
|
-
const require_DidCommEvents = require('../../../../DidCommEvents.js');
|
|
10
|
-
const require_DidCommModuleConfig = require('../../../../DidCommModuleConfig.js');
|
|
11
11
|
const require_DidCommMessagePickupEvents = require('../../DidCommMessagePickupEvents.js');
|
|
12
12
|
const require_DidCommMessagePickupModuleConfig = require('../../DidCommMessagePickupModuleConfig.js');
|
|
13
13
|
const require_DidCommMessagePickupSessionService = require('../../services/DidCommMessagePickupSessionService.js');
|
|
@@ -19,15 +19,15 @@ const require_DidCommDeliveryRequestV2Message = require('./messages/DidCommDeliv
|
|
|
19
19
|
const require_DidCommLiveDeliveryChangeV2Message = require('./messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
20
20
|
const require_DidCommMessageDeliveryV2Message = require('./messages/DidCommMessageDeliveryV2Message.js');
|
|
21
21
|
const require_DidCommMessagesReceivedV2Message = require('./messages/DidCommMessagesReceivedV2Message.js');
|
|
22
|
-
const require_DidCommStatusV2Message = require('./messages/DidCommStatusV2Message.js');
|
|
23
22
|
const require_DidCommStatusRequestV2Message = require('./messages/DidCommStatusRequestV2Message.js');
|
|
23
|
+
const require_DidCommStatusV2Message = require('./messages/DidCommStatusV2Message.js');
|
|
24
24
|
require('./messages/index.js');
|
|
25
25
|
const require_DidCommDeliveryRequestV2Handler = require('./handlers/DidCommDeliveryRequestV2Handler.js');
|
|
26
26
|
const require_DidCommLiveDeliveryChangeV2Handler = require('./handlers/DidCommLiveDeliveryChangeV2Handler.js');
|
|
27
27
|
const require_DidCommMessageDeliveryV2Handler = require('./handlers/DidCommMessageDeliveryV2Handler.js');
|
|
28
28
|
const require_DidCommMessagesReceivedV2Handler = require('./handlers/DidCommMessagesReceivedV2Handler.js');
|
|
29
|
-
const require_DidCommStatusV2Handler = require('./handlers/DidCommStatusV2Handler.js');
|
|
30
29
|
const require_DidCommStatusRequestV2Handler = require('./handlers/DidCommStatusRequestV2Handler.js');
|
|
30
|
+
const require_DidCommStatusV2Handler = require('./handlers/DidCommStatusV2Handler.js');
|
|
31
31
|
require('./handlers/index.js');
|
|
32
32
|
let __credo_ts_core = require("@credo-ts/core");
|
|
33
33
|
__credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
|
|
2
|
+
import { DidCommEventTypes } from "../../../../DidCommEvents.mjs";
|
|
3
|
+
import { DidCommModuleConfig } from "../../../../DidCommModuleConfig.mjs";
|
|
2
4
|
import { DidCommAttachment } from "../../../../decorators/attachment/DidCommAttachment.mjs";
|
|
3
5
|
import { DidCommProblemReportError } from "../../../../errors/problem-reports/DidCommProblemReportError.mjs";
|
|
4
6
|
import "../../../../errors/index.mjs";
|
|
5
|
-
import { DidCommProtocol } from "../../../../models/features/DidCommProtocol.mjs";
|
|
6
7
|
import { DidCommOutboundMessageContext } from "../../../../models/DidCommOutboundMessageContext.mjs";
|
|
8
|
+
import { DidCommProtocol } from "../../../../models/features/DidCommProtocol.mjs";
|
|
7
9
|
import "../../../../models/index.mjs";
|
|
8
|
-
import { DidCommEventTypes } from "../../../../DidCommEvents.mjs";
|
|
9
|
-
import { DidCommModuleConfig } from "../../../../DidCommModuleConfig.mjs";
|
|
10
10
|
import { DidCommMessagePickupEventTypes } from "../../DidCommMessagePickupEvents.mjs";
|
|
11
11
|
import { DidCommMessagePickupModuleConfig } from "../../DidCommMessagePickupModuleConfig.mjs";
|
|
12
12
|
import { DidCommMessagePickupSessionService } from "../../services/DidCommMessagePickupSessionService.mjs";
|
|
@@ -18,15 +18,15 @@ import { DidCommDeliveryRequestV2Message } from "./messages/DidCommDeliveryReque
|
|
|
18
18
|
import { DidCommLiveDeliveryChangeV2Message } from "./messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
19
19
|
import { DidCommMessageDeliveryV2Message } from "./messages/DidCommMessageDeliveryV2Message.mjs";
|
|
20
20
|
import { DidCommMessagesReceivedV2Message } from "./messages/DidCommMessagesReceivedV2Message.mjs";
|
|
21
|
-
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.mjs";
|
|
22
21
|
import { DidCommStatusRequestV2Message } from "./messages/DidCommStatusRequestV2Message.mjs";
|
|
22
|
+
import { DidCommStatusV2Message } from "./messages/DidCommStatusV2Message.mjs";
|
|
23
23
|
import "./messages/index.mjs";
|
|
24
24
|
import { DidCommDeliveryRequestV2Handler } from "./handlers/DidCommDeliveryRequestV2Handler.mjs";
|
|
25
25
|
import { DidCommLiveDeliveryChangeV2Handler } from "./handlers/DidCommLiveDeliveryChangeV2Handler.mjs";
|
|
26
26
|
import { DidCommMessageDeliveryV2Handler } from "./handlers/DidCommMessageDeliveryV2Handler.mjs";
|
|
27
27
|
import { DidCommMessagesReceivedV2Handler } from "./handlers/DidCommMessagesReceivedV2Handler.mjs";
|
|
28
|
-
import { DidCommStatusV2Handler } from "./handlers/DidCommStatusV2Handler.mjs";
|
|
29
28
|
import { DidCommStatusRequestV2Handler } from "./handlers/DidCommStatusRequestV2Handler.mjs";
|
|
29
|
+
import { DidCommStatusV2Handler } from "./handlers/DidCommStatusV2Handler.mjs";
|
|
30
30
|
import "./handlers/index.mjs";
|
|
31
31
|
import { EventEmitter, injectable, verkeyToDidKey } from "@credo-ts/core";
|
|
32
32
|
|