@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.
Files changed (868) hide show
  1. package/build/BaseDidCommMessage.d.mts.map +1 -1
  2. package/build/BaseDidCommMessage.d.ts.map +1 -1
  3. package/build/BaseDidCommMessage.js +3 -3
  4. package/build/BaseDidCommMessage.mjs +2 -2
  5. package/build/BaseDidCommMessage.mjs.map +1 -1
  6. package/build/DidCommApi.d.mts +6 -10
  7. package/build/DidCommApi.d.mts.map +1 -1
  8. package/build/DidCommApi.d.ts +6 -10
  9. package/build/DidCommApi.d.ts.map +1 -1
  10. package/build/DidCommApi.js +16 -21
  11. package/build/DidCommApi.mjs +16 -21
  12. package/build/DidCommApi.mjs.map +1 -1
  13. package/build/DidCommDispatcher.d.mts.map +1 -1
  14. package/build/DidCommDispatcher.d.ts.map +1 -1
  15. package/build/DidCommDispatcher.js +7 -7
  16. package/build/DidCommDispatcher.mjs +7 -7
  17. package/build/DidCommDispatcher.mjs.map +1 -1
  18. package/build/DidCommEnvelopeService.d.mts.map +1 -1
  19. package/build/DidCommEnvelopeService.d.ts.map +1 -1
  20. package/build/DidCommEnvelopeService.js +5 -5
  21. package/build/DidCommEnvelopeService.mjs +5 -5
  22. package/build/DidCommEnvelopeService.mjs.map +1 -1
  23. package/build/DidCommFeatureRegistry.d.mts.map +1 -1
  24. package/build/DidCommFeatureRegistry.d.ts.map +1 -1
  25. package/build/DidCommFeatureRegistry.mjs.map +1 -1
  26. package/build/DidCommMessage.d.mts +1 -1
  27. package/build/DidCommMessage.d.mts.map +1 -1
  28. package/build/DidCommMessage.d.ts +1 -1
  29. package/build/DidCommMessage.d.ts.map +1 -1
  30. package/build/DidCommMessage.js +2 -2
  31. package/build/DidCommMessage.mjs +2 -2
  32. package/build/DidCommMessage.mjs.map +1 -1
  33. package/build/DidCommMessageHandlerRegistry.d.mts.map +1 -1
  34. package/build/DidCommMessageHandlerRegistry.d.ts.map +1 -1
  35. package/build/DidCommMessageHandlerRegistry.mjs.map +1 -1
  36. package/build/DidCommMessageReceiver.d.mts +1 -6
  37. package/build/DidCommMessageReceiver.d.mts.map +1 -1
  38. package/build/DidCommMessageReceiver.d.ts +1 -6
  39. package/build/DidCommMessageReceiver.d.ts.map +1 -1
  40. package/build/DidCommMessageReceiver.js +9 -21
  41. package/build/DidCommMessageReceiver.mjs +9 -21
  42. package/build/DidCommMessageReceiver.mjs.map +1 -1
  43. package/build/DidCommMessageSender.d.mts +1 -6
  44. package/build/DidCommMessageSender.d.mts.map +1 -1
  45. package/build/DidCommMessageSender.d.ts +1 -6
  46. package/build/DidCommMessageSender.d.ts.map +1 -1
  47. package/build/DidCommMessageSender.js +17 -29
  48. package/build/DidCommMessageSender.mjs +17 -29
  49. package/build/DidCommMessageSender.mjs.map +1 -1
  50. package/build/DidCommModule.d.mts +1 -1
  51. package/build/DidCommModule.d.mts.map +1 -1
  52. package/build/DidCommModule.d.ts +1 -1
  53. package/build/DidCommModule.d.ts.map +1 -1
  54. package/build/DidCommModule.js +9 -12
  55. package/build/DidCommModule.mjs +9 -12
  56. package/build/DidCommModule.mjs.map +1 -1
  57. package/build/DidCommModuleConfig.d.mts +14 -2
  58. package/build/DidCommModuleConfig.d.mts.map +1 -1
  59. package/build/DidCommModuleConfig.d.ts +14 -2
  60. package/build/DidCommModuleConfig.d.ts.map +1 -1
  61. package/build/DidCommModuleConfig.js +15 -1
  62. package/build/DidCommModuleConfig.mjs +15 -1
  63. package/build/DidCommModuleConfig.mjs.map +1 -1
  64. package/build/DidCommTransportService.d.mts.map +1 -1
  65. package/build/DidCommTransportService.d.ts.map +1 -1
  66. package/build/DidCommTransportService.js +1 -1
  67. package/build/DidCommTransportService.mjs +1 -1
  68. package/build/DidCommTransportService.mjs.map +1 -1
  69. package/build/decorators/ack/AckDecorator.js +1 -1
  70. package/build/decorators/ack/AckDecorator.mjs +1 -1
  71. package/build/decorators/ack/AckDecoratorExtension.js +3 -3
  72. package/build/decorators/ack/AckDecoratorExtension.mjs +2 -2
  73. package/build/decorators/ack/AckDecoratorExtension.mjs.map +1 -1
  74. package/build/decorators/attachment/AttachmentExtension.js +3 -3
  75. package/build/decorators/attachment/AttachmentExtension.mjs +2 -2
  76. package/build/decorators/attachment/AttachmentExtension.mjs.map +1 -1
  77. package/build/decorators/attachment/DidCommAttachment.js +3 -3
  78. package/build/decorators/attachment/DidCommAttachment.mjs +2 -2
  79. package/build/decorators/attachment/DidCommAttachment.mjs.map +1 -1
  80. package/build/decorators/l10n/L10nDecoratorExtension.js +3 -3
  81. package/build/decorators/l10n/L10nDecoratorExtension.mjs +2 -2
  82. package/build/decorators/l10n/L10nDecoratorExtension.mjs.map +1 -1
  83. package/build/decorators/service/ServiceDecorator.js +1 -1
  84. package/build/decorators/service/ServiceDecorator.mjs +1 -1
  85. package/build/decorators/service/ServiceDecoratorExtension.js +3 -3
  86. package/build/decorators/service/ServiceDecoratorExtension.mjs +2 -2
  87. package/build/decorators/service/ServiceDecoratorExtension.mjs.map +1 -1
  88. package/build/decorators/signature/SignatureDecorator.js +4 -4
  89. package/build/decorators/signature/SignatureDecorator.mjs +3 -3
  90. package/build/decorators/thread/ThreadDecorator.js +3 -3
  91. package/build/decorators/thread/ThreadDecorator.mjs +2 -2
  92. package/build/decorators/thread/ThreadDecoratorExtension.js +3 -3
  93. package/build/decorators/thread/ThreadDecoratorExtension.mjs +2 -2
  94. package/build/decorators/thread/ThreadDecoratorExtension.mjs.map +1 -1
  95. package/build/decorators/timing/TimingDecorator.js +3 -3
  96. package/build/decorators/timing/TimingDecorator.mjs +2 -2
  97. package/build/decorators/timing/TimingDecoratorExtension.js +3 -3
  98. package/build/decorators/timing/TimingDecoratorExtension.mjs +2 -2
  99. package/build/decorators/timing/TimingDecoratorExtension.mjs.map +1 -1
  100. package/build/decorators/transport/TransportDecorator.js +3 -3
  101. package/build/decorators/transport/TransportDecorator.mjs +2 -2
  102. package/build/decorators/transport/TransportDecoratorExtension.js +3 -3
  103. package/build/decorators/transport/TransportDecoratorExtension.mjs +2 -2
  104. package/build/decorators/transport/TransportDecoratorExtension.mjs.map +1 -1
  105. package/build/errors/MessageSendingError.d.mts.map +1 -1
  106. package/build/errors/MessageSendingError.d.ts.map +1 -1
  107. package/build/errors/MessageSendingError.mjs.map +1 -1
  108. package/build/errors/index.js +1 -1
  109. package/build/errors/index.mjs +1 -1
  110. package/build/getDidCommOutboundMessageContext.d.mts.map +1 -1
  111. package/build/getDidCommOutboundMessageContext.d.ts.map +1 -1
  112. package/build/getDidCommOutboundMessageContext.js +6 -6
  113. package/build/getDidCommOutboundMessageContext.mjs +6 -6
  114. package/build/getDidCommOutboundMessageContext.mjs.map +1 -1
  115. package/build/handlers/DidCommMessageHandlerMiddleware.mjs.map +1 -1
  116. package/build/index.d.mts +99 -99
  117. package/build/index.d.ts +99 -99
  118. package/build/index.js +114 -112
  119. package/build/index.mjs +108 -108
  120. package/build/messages/common/DidCommAckMessage.js +1 -1
  121. package/build/messages/common/DidCommAckMessage.mjs +1 -1
  122. package/build/messages/problem-reports/DidCommProblemReportMessage.js +3 -3
  123. package/build/messages/problem-reports/DidCommProblemReportMessage.mjs +2 -2
  124. package/build/models/DidCommInboundMessageContext.d.mts.map +1 -1
  125. package/build/models/DidCommInboundMessageContext.d.ts.map +1 -1
  126. package/build/models/DidCommInboundMessageContext.mjs.map +1 -1
  127. package/build/models/DidCommOutboundMessageContext.d.mts.map +1 -1
  128. package/build/models/DidCommOutboundMessageContext.d.ts.map +1 -1
  129. package/build/models/DidCommOutboundMessageContext.mjs.map +1 -1
  130. package/build/models/features/DidCommFeature.js +3 -3
  131. package/build/models/features/DidCommFeature.mjs +2 -2
  132. package/build/models/features/DidCommFeatureQuery.js +3 -3
  133. package/build/models/features/DidCommFeatureQuery.mjs +2 -2
  134. package/build/models/features/DidCommProtocol.d.mts.map +1 -1
  135. package/build/models/features/DidCommProtocol.d.ts.map +1 -1
  136. package/build/models/features/DidCommProtocol.js +1 -1
  137. package/build/models/features/DidCommProtocol.mjs +1 -1
  138. package/build/models/features/DidCommProtocol.mjs.map +1 -1
  139. package/build/models/index.js +3 -3
  140. package/build/models/index.mjs +3 -3
  141. package/build/modules/basic-messages/DidCommBasicMessagesApi.d.mts +1 -1
  142. package/build/modules/basic-messages/DidCommBasicMessagesApi.d.mts.map +1 -1
  143. package/build/modules/basic-messages/DidCommBasicMessagesApi.d.ts +1 -1
  144. package/build/modules/basic-messages/DidCommBasicMessagesApi.d.ts.map +1 -1
  145. package/build/modules/basic-messages/DidCommBasicMessagesApi.js +2 -2
  146. package/build/modules/basic-messages/DidCommBasicMessagesApi.mjs +2 -2
  147. package/build/modules/basic-messages/DidCommBasicMessagesApi.mjs.map +1 -1
  148. package/build/modules/basic-messages/DidCommBasicMessagesModule.d.mts.map +1 -1
  149. package/build/modules/basic-messages/DidCommBasicMessagesModule.d.ts.map +1 -1
  150. package/build/modules/basic-messages/DidCommBasicMessagesModule.js +2 -2
  151. package/build/modules/basic-messages/DidCommBasicMessagesModule.mjs +2 -2
  152. package/build/modules/basic-messages/DidCommBasicMessagesModule.mjs.map +1 -1
  153. package/build/modules/basic-messages/handlers/BasicMessageHandler.mjs.map +1 -1
  154. package/build/modules/basic-messages/index.js +2 -2
  155. package/build/modules/basic-messages/index.mjs +2 -2
  156. package/build/modules/basic-messages/messages/DidCommBasicMessage.js +3 -3
  157. package/build/modules/basic-messages/messages/DidCommBasicMessage.mjs +2 -2
  158. package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.d.mts.map +1 -1
  159. package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.d.ts.map +1 -1
  160. package/build/modules/basic-messages/repository/DidCommBasicMessageRecord.mjs.map +1 -1
  161. package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.js +1 -1
  162. package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.mjs +1 -1
  163. package/build/modules/basic-messages/repository/DidCommBasicMessageRepository.mjs.map +1 -1
  164. package/build/modules/basic-messages/services/DidCommBasicMessageService.d.mts.map +1 -1
  165. package/build/modules/basic-messages/services/DidCommBasicMessageService.d.ts.map +1 -1
  166. package/build/modules/basic-messages/services/DidCommBasicMessageService.js +4 -4
  167. package/build/modules/basic-messages/services/DidCommBasicMessageService.mjs +4 -4
  168. package/build/modules/basic-messages/services/DidCommBasicMessageService.mjs.map +1 -1
  169. package/build/modules/connections/DidCommConnectionsApi.d.mts +3 -3
  170. package/build/modules/connections/DidCommConnectionsApi.d.mts.map +1 -1
  171. package/build/modules/connections/DidCommConnectionsApi.d.ts +3 -3
  172. package/build/modules/connections/DidCommConnectionsApi.d.ts.map +1 -1
  173. package/build/modules/connections/DidCommConnectionsApi.js +5 -5
  174. package/build/modules/connections/DidCommConnectionsApi.mjs +5 -5
  175. package/build/modules/connections/DidCommConnectionsApi.mjs.map +1 -1
  176. package/build/modules/connections/DidCommConnectionsModule.d.mts.map +1 -1
  177. package/build/modules/connections/DidCommConnectionsModule.d.ts.map +1 -1
  178. package/build/modules/connections/DidCommConnectionsModule.js +20 -20
  179. package/build/modules/connections/DidCommConnectionsModule.mjs +20 -20
  180. package/build/modules/connections/DidCommConnectionsModule.mjs.map +1 -1
  181. package/build/modules/connections/DidExchangeProtocol.d.mts +2 -4
  182. package/build/modules/connections/DidExchangeProtocol.d.mts.map +1 -1
  183. package/build/modules/connections/DidExchangeProtocol.d.ts +2 -4
  184. package/build/modules/connections/DidExchangeProtocol.d.ts.map +1 -1
  185. package/build/modules/connections/DidExchangeProtocol.js +11 -15
  186. package/build/modules/connections/DidExchangeProtocol.mjs +11 -15
  187. package/build/modules/connections/DidExchangeProtocol.mjs.map +1 -1
  188. package/build/modules/connections/DidExchangeStateMachine.js +1 -1
  189. package/build/modules/connections/DidExchangeStateMachine.mjs +1 -1
  190. package/build/modules/connections/DidExchangeStateMachine.mjs.map +1 -1
  191. package/build/modules/connections/errors/ConnectionProblemReportError.d.mts +1 -1
  192. package/build/modules/connections/errors/ConnectionProblemReportError.d.mts.map +1 -1
  193. package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +1 -1
  194. package/build/modules/connections/errors/ConnectionProblemReportError.d.ts.map +1 -1
  195. package/build/modules/connections/errors/ConnectionProblemReportError.mjs.map +1 -1
  196. package/build/modules/connections/errors/DidExchangeProblemReportError.d.mts +1 -1
  197. package/build/modules/connections/errors/DidExchangeProblemReportError.d.mts.map +1 -1
  198. package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +1 -1
  199. package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts.map +1 -1
  200. package/build/modules/connections/errors/DidExchangeProblemReportError.mjs.map +1 -1
  201. package/build/modules/connections/handlers/DidCommAckMessageHandler.d.mts.map +1 -1
  202. package/build/modules/connections/handlers/DidCommAckMessageHandler.d.ts.map +1 -1
  203. package/build/modules/connections/handlers/DidCommAckMessageHandler.mjs.map +1 -1
  204. package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.d.mts.map +1 -1
  205. package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.d.ts.map +1 -1
  206. package/build/modules/connections/handlers/DidCommConnectionProblemReportHandler.mjs.map +1 -1
  207. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.mts +1 -1
  208. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.mts.map +1 -1
  209. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.ts +1 -1
  210. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.d.ts.map +1 -1
  211. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.js +4 -4
  212. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.mjs +4 -4
  213. package/build/modules/connections/handlers/DidCommConnectionRequestHandler.mjs.map +1 -1
  214. package/build/modules/connections/handlers/DidCommConnectionResponseHandler.d.mts.map +1 -1
  215. package/build/modules/connections/handlers/DidCommConnectionResponseHandler.d.ts.map +1 -1
  216. package/build/modules/connections/handlers/DidCommConnectionResponseHandler.js +3 -3
  217. package/build/modules/connections/handlers/DidCommConnectionResponseHandler.mjs +3 -3
  218. package/build/modules/connections/handlers/DidCommConnectionResponseHandler.mjs.map +1 -1
  219. package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.d.mts.map +1 -1
  220. package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.d.ts.map +1 -1
  221. package/build/modules/connections/handlers/DidCommDidExchangeCompleteHandler.mjs.map +1 -1
  222. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.mts +1 -1
  223. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.mts.map +1 -1
  224. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.ts +1 -1
  225. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.d.ts.map +1 -1
  226. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.js +4 -4
  227. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.mjs +4 -4
  228. package/build/modules/connections/handlers/DidCommDidExchangeRequestHandler.mjs.map +1 -1
  229. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.mts +1 -1
  230. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.mts.map +1 -1
  231. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.ts +1 -1
  232. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.d.ts.map +1 -1
  233. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.js +4 -4
  234. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.mjs +4 -4
  235. package/build/modules/connections/handlers/DidCommDidExchangeResponseHandler.mjs.map +1 -1
  236. package/build/modules/connections/handlers/DidCommDidRotateAckHandler.d.mts.map +1 -1
  237. package/build/modules/connections/handlers/DidCommDidRotateAckHandler.d.ts.map +1 -1
  238. package/build/modules/connections/handlers/DidCommDidRotateAckHandler.mjs.map +1 -1
  239. package/build/modules/connections/handlers/DidCommDidRotateHandler.d.mts +3 -5
  240. package/build/modules/connections/handlers/DidCommDidRotateHandler.d.mts.map +1 -1
  241. package/build/modules/connections/handlers/DidCommDidRotateHandler.d.ts +3 -5
  242. package/build/modules/connections/handlers/DidCommDidRotateHandler.d.ts.map +1 -1
  243. package/build/modules/connections/handlers/DidCommDidRotateHandler.js +1 -2
  244. package/build/modules/connections/handlers/DidCommDidRotateHandler.mjs +1 -2
  245. package/build/modules/connections/handlers/DidCommDidRotateHandler.mjs.map +1 -1
  246. package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.d.mts.map +1 -1
  247. package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.d.ts.map +1 -1
  248. package/build/modules/connections/handlers/DidCommDidRotateProblemReportHandler.mjs.map +1 -1
  249. package/build/modules/connections/handlers/DidCommHangupHandler.d.mts.map +1 -1
  250. package/build/modules/connections/handlers/DidCommHangupHandler.d.ts.map +1 -1
  251. package/build/modules/connections/handlers/DidCommHangupHandler.mjs.map +1 -1
  252. package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.d.mts.map +1 -1
  253. package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.d.ts.map +1 -1
  254. package/build/modules/connections/handlers/DidCommTrustPingMessageHandler.mjs.map +1 -1
  255. package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.d.mts.map +1 -1
  256. package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.d.ts.map +1 -1
  257. package/build/modules/connections/handlers/DidCommTrustPingResponseMessageHandler.mjs.map +1 -1
  258. package/build/modules/connections/handlers/index.js +5 -5
  259. package/build/modules/connections/handlers/index.mjs +5 -5
  260. package/build/modules/connections/index.js +23 -23
  261. package/build/modules/connections/index.mjs +23 -23
  262. package/build/modules/connections/messages/DidCommConnectionInvitationMessage.d.mts.map +1 -1
  263. package/build/modules/connections/messages/DidCommConnectionInvitationMessage.d.ts.map +1 -1
  264. package/build/modules/connections/messages/DidCommConnectionInvitationMessage.js +4 -4
  265. package/build/modules/connections/messages/DidCommConnectionInvitationMessage.mjs +4 -4
  266. package/build/modules/connections/messages/DidCommConnectionInvitationMessage.mjs.map +1 -1
  267. package/build/modules/connections/messages/DidCommConnectionProblemReportMessage.js +1 -1
  268. package/build/modules/connections/messages/DidCommConnectionProblemReportMessage.mjs +1 -1
  269. package/build/modules/connections/messages/DidCommConnectionRequestMessage.d.mts.map +1 -1
  270. package/build/modules/connections/messages/DidCommConnectionRequestMessage.d.ts.map +1 -1
  271. package/build/modules/connections/messages/DidCommConnectionRequestMessage.js +4 -4
  272. package/build/modules/connections/messages/DidCommConnectionRequestMessage.mjs +3 -3
  273. package/build/modules/connections/messages/DidCommConnectionRequestMessage.mjs.map +1 -1
  274. package/build/modules/connections/messages/DidCommConnectionResponseMessage.js +3 -3
  275. package/build/modules/connections/messages/DidCommConnectionResponseMessage.mjs +2 -2
  276. package/build/modules/connections/messages/DidCommDidExchangeCompleteMessage.js +1 -1
  277. package/build/modules/connections/messages/DidCommDidExchangeCompleteMessage.mjs +1 -1
  278. package/build/modules/connections/messages/DidCommDidExchangeProblemReportMessage.js +1 -1
  279. package/build/modules/connections/messages/DidCommDidExchangeProblemReportMessage.mjs +1 -1
  280. package/build/modules/connections/messages/DidCommDidExchangeRequestMessage.js +4 -4
  281. package/build/modules/connections/messages/DidCommDidExchangeRequestMessage.mjs +3 -3
  282. package/build/modules/connections/messages/DidCommDidExchangeResponseMessage.js +4 -4
  283. package/build/modules/connections/messages/DidCommDidExchangeResponseMessage.mjs +3 -3
  284. package/build/modules/connections/messages/DidCommDidRotateAckMessage.js +1 -1
  285. package/build/modules/connections/messages/DidCommDidRotateAckMessage.mjs +1 -1
  286. package/build/modules/connections/messages/DidCommDidRotateMessage.js +3 -3
  287. package/build/modules/connections/messages/DidCommDidRotateMessage.mjs +2 -2
  288. package/build/modules/connections/messages/DidCommDidRotateProblemReportMessage.js +1 -1
  289. package/build/modules/connections/messages/DidCommDidRotateProblemReportMessage.mjs +1 -1
  290. package/build/modules/connections/messages/DidCommHangupMessage.js +1 -1
  291. package/build/modules/connections/messages/DidCommHangupMessage.mjs +1 -1
  292. package/build/modules/connections/messages/DidCommTrustPingMessage.d.mts.map +1 -1
  293. package/build/modules/connections/messages/DidCommTrustPingMessage.d.ts.map +1 -1
  294. package/build/modules/connections/messages/DidCommTrustPingMessage.js +3 -3
  295. package/build/modules/connections/messages/DidCommTrustPingMessage.mjs +2 -2
  296. package/build/modules/connections/messages/DidCommTrustPingMessage.mjs.map +1 -1
  297. package/build/modules/connections/messages/DidCommTrustPingResponseMessage.d.mts.map +1 -1
  298. package/build/modules/connections/messages/DidCommTrustPingResponseMessage.d.ts.map +1 -1
  299. package/build/modules/connections/messages/DidCommTrustPingResponseMessage.js +1 -1
  300. package/build/modules/connections/messages/DidCommTrustPingResponseMessage.mjs +1 -1
  301. package/build/modules/connections/messages/DidCommTrustPingResponseMessage.mjs.map +1 -1
  302. package/build/modules/connections/messages/index.js +7 -7
  303. package/build/modules/connections/messages/index.mjs +7 -7
  304. package/build/modules/connections/models/DidCommConnection.js +3 -3
  305. package/build/modules/connections/models/DidCommConnection.mjs +2 -2
  306. package/build/modules/connections/models/did/DidDoc.d.mts.map +1 -1
  307. package/build/modules/connections/models/did/DidDoc.d.ts.map +1 -1
  308. package/build/modules/connections/models/did/DidDoc.js +3 -3
  309. package/build/modules/connections/models/did/DidDoc.mjs +2 -2
  310. package/build/modules/connections/models/did/DidDoc.mjs.map +1 -1
  311. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +1 -1
  312. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.mjs +1 -1
  313. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +3 -3
  314. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.mjs +2 -2
  315. package/build/modules/connections/models/did/authentication/index.d.mts.map +1 -1
  316. package/build/modules/connections/models/did/authentication/index.d.ts.map +1 -1
  317. package/build/modules/connections/models/did/authentication/index.mjs.map +1 -1
  318. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +3 -3
  319. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.mjs +2 -2
  320. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +3 -3
  321. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.mjs +2 -2
  322. package/build/modules/connections/models/did/publicKey/PublicKey.js +1 -1
  323. package/build/modules/connections/models/did/publicKey/PublicKey.mjs +1 -1
  324. package/build/modules/connections/models/did/publicKey/RsaSig2018.js +3 -3
  325. package/build/modules/connections/models/did/publicKey/RsaSig2018.mjs +2 -2
  326. package/build/modules/connections/models/did/publicKey/index.mjs.map +1 -1
  327. package/build/modules/connections/models/index.js +1 -1
  328. package/build/modules/connections/models/index.mjs +1 -1
  329. package/build/modules/connections/repository/DidCommConnectionRecord.d.mts +1 -1
  330. package/build/modules/connections/repository/DidCommConnectionRecord.d.mts.map +1 -1
  331. package/build/modules/connections/repository/DidCommConnectionRecord.d.ts +1 -1
  332. package/build/modules/connections/repository/DidCommConnectionRecord.d.ts.map +1 -1
  333. package/build/modules/connections/repository/DidCommConnectionRecord.js +1 -1
  334. package/build/modules/connections/repository/DidCommConnectionRecord.mjs +1 -1
  335. package/build/modules/connections/repository/DidCommConnectionRecord.mjs.map +1 -1
  336. package/build/modules/connections/repository/DidCommConnectionRepository.js +2 -2
  337. package/build/modules/connections/repository/DidCommConnectionRepository.mjs +2 -2
  338. package/build/modules/connections/repository/DidCommConnectionRepository.mjs.map +1 -1
  339. package/build/modules/connections/services/DidCommConnectionService.d.mts +3 -3
  340. package/build/modules/connections/services/DidCommConnectionService.d.mts.map +1 -1
  341. package/build/modules/connections/services/DidCommConnectionService.d.ts +3 -3
  342. package/build/modules/connections/services/DidCommConnectionService.d.ts.map +1 -1
  343. package/build/modules/connections/services/DidCommConnectionService.js +13 -13
  344. package/build/modules/connections/services/DidCommConnectionService.mjs +13 -13
  345. package/build/modules/connections/services/DidCommConnectionService.mjs.map +1 -1
  346. package/build/modules/connections/services/DidCommDidRotateService.d.mts +2 -2
  347. package/build/modules/connections/services/DidCommDidRotateService.d.mts.map +1 -1
  348. package/build/modules/connections/services/DidCommDidRotateService.d.ts +2 -2
  349. package/build/modules/connections/services/DidCommDidRotateService.d.ts.map +1 -1
  350. package/build/modules/connections/services/DidCommDidRotateService.js +8 -8
  351. package/build/modules/connections/services/DidCommDidRotateService.mjs +8 -8
  352. package/build/modules/connections/services/DidCommDidRotateService.mjs.map +1 -1
  353. package/build/modules/connections/services/DidCommTrustPingService.d.mts.map +1 -1
  354. package/build/modules/connections/services/DidCommTrustPingService.d.ts.map +1 -1
  355. package/build/modules/connections/services/DidCommTrustPingService.js +1 -1
  356. package/build/modules/connections/services/DidCommTrustPingService.mjs +1 -1
  357. package/build/modules/connections/services/DidCommTrustPingService.mjs.map +1 -1
  358. package/build/modules/connections/services/helpers.js +1 -1
  359. package/build/modules/connections/services/helpers.mjs +1 -1
  360. package/build/modules/connections/services/helpers.mjs.map +1 -1
  361. package/build/modules/credentials/DidCommCredentialsApi.d.mts.map +1 -1
  362. package/build/modules/credentials/DidCommCredentialsApi.d.ts.map +1 -1
  363. package/build/modules/credentials/DidCommCredentialsApi.js +2 -2
  364. package/build/modules/credentials/DidCommCredentialsApi.mjs +2 -2
  365. package/build/modules/credentials/DidCommCredentialsApi.mjs.map +1 -1
  366. package/build/modules/credentials/DidCommCredentialsModule.d.mts.map +1 -1
  367. package/build/modules/credentials/DidCommCredentialsModule.d.ts.map +1 -1
  368. package/build/modules/credentials/DidCommCredentialsModule.js +2 -2
  369. package/build/modules/credentials/DidCommCredentialsModule.mjs +2 -2
  370. package/build/modules/credentials/DidCommCredentialsModule.mjs.map +1 -1
  371. package/build/modules/credentials/DidCommCredentialsModuleConfig.d.mts.map +1 -1
  372. package/build/modules/credentials/DidCommCredentialsModuleConfig.d.ts.map +1 -1
  373. package/build/modules/credentials/DidCommCredentialsModuleConfig.mjs.map +1 -1
  374. package/build/modules/credentials/formats/DidCommCredentialFormatServiceOptions.d.mts +1 -1
  375. package/build/modules/credentials/formats/DidCommCredentialFormatServiceOptions.d.ts +1 -1
  376. package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +3 -3
  377. package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.mjs +2 -2
  378. package/build/modules/credentials/formats/index.js +2 -2
  379. package/build/modules/credentials/formats/index.mjs +2 -2
  380. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetail.js +1 -1
  381. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetail.mjs +1 -1
  382. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetailOptions.js +1 -1
  383. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetailOptions.mjs +1 -1
  384. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.d.mts.map +1 -1
  385. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.d.ts.map +1 -1
  386. package/build/modules/credentials/formats/jsonld/DidCommJsonLdCredentialFormatService.mjs.map +1 -1
  387. package/build/modules/credentials/index.js +5 -5
  388. package/build/modules/credentials/index.mjs +5 -5
  389. package/build/modules/credentials/models/DidCommCredentialFormatSpec.js +3 -3
  390. package/build/modules/credentials/models/DidCommCredentialFormatSpec.mjs +2 -2
  391. package/build/modules/credentials/models/DidCommCredentialPreviewAttribute.js +3 -3
  392. package/build/modules/credentials/models/DidCommCredentialPreviewAttribute.mjs +2 -2
  393. package/build/modules/credentials/models/DidCommRevocationNotification.js +1 -1
  394. package/build/modules/credentials/models/DidCommRevocationNotification.mjs +1 -1
  395. package/build/modules/credentials/models/index.js +3 -3
  396. package/build/modules/credentials/models/index.mjs +3 -3
  397. package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.mts +1 -1
  398. package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.mts.map +1 -1
  399. package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.ts +1 -1
  400. package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.d.ts.map +1 -1
  401. package/build/modules/credentials/protocol/DidCommBaseCredentialProtocol.mjs.map +1 -1
  402. package/build/modules/credentials/protocol/DidCommCredentialProtocol.d.mts +1 -1
  403. package/build/modules/credentials/protocol/DidCommCredentialProtocol.d.ts +1 -1
  404. package/build/modules/credentials/protocol/DidCommCredentialProtocolOptions.d.mts +1 -1
  405. package/build/modules/credentials/protocol/DidCommCredentialProtocolOptions.d.ts +1 -1
  406. package/build/modules/credentials/protocol/index.js +1 -1
  407. package/build/modules/credentials/protocol/index.mjs +1 -1
  408. package/build/modules/credentials/protocol/revocation-notification/handlers/DidCommRevocationNotificationV1Handler.mjs.map +1 -1
  409. package/build/modules/credentials/protocol/revocation-notification/handlers/DidCommRevocationNotificationV2Handler.mjs.map +1 -1
  410. package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV1Message.js +4 -4
  411. package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV1Message.mjs +3 -3
  412. package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV2Message.js +4 -4
  413. package/build/modules/credentials/protocol/revocation-notification/messages/DidCommRevocationNotificationV2Message.mjs +3 -3
  414. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.mts +1 -1
  415. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.mts.map +1 -1
  416. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.ts +1 -1
  417. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.d.ts.map +1 -1
  418. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.js +1 -1
  419. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.mjs +1 -1
  420. package/build/modules/credentials/protocol/revocation-notification/services/DidCommRevocationNotificationService.mjs.map +1 -1
  421. package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.js +2 -2
  422. package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.mjs +2 -2
  423. package/build/modules/credentials/protocol/v2/DidCommCredentialFormatCoordinator.mjs.map +1 -1
  424. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.mts +2 -2
  425. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.mts.map +1 -1
  426. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.ts +2 -2
  427. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.d.ts.map +1 -1
  428. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.js +5 -5
  429. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.mjs +5 -5
  430. package/build/modules/credentials/protocol/v2/DidCommCredentialV2Protocol.mjs.map +1 -1
  431. package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.mts +1 -1
  432. package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.mts.map +1 -1
  433. package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.ts +1 -1
  434. package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.d.ts.map +1 -1
  435. package/build/modules/credentials/protocol/v2/errors/DidCommCredentialV2ProblemReportError.mjs.map +1 -1
  436. package/build/modules/credentials/protocol/v2/handlers/DidCommIssueCredentialV2Handler.mjs.map +1 -1
  437. package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.d.mts.map +1 -1
  438. package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.d.ts.map +1 -1
  439. package/build/modules/credentials/protocol/v2/handlers/DidCommOfferCredentialV2Handler.mjs.map +1 -1
  440. package/build/modules/credentials/protocol/v2/handlers/DidCommProposeCredentialV2Handler.mjs.map +1 -1
  441. package/build/modules/credentials/protocol/v2/handlers/DidCommRequestCredentialV2Handler.mjs.map +1 -1
  442. package/build/modules/credentials/protocol/v2/handlers/index.js +1 -1
  443. package/build/modules/credentials/protocol/v2/handlers/index.mjs +1 -1
  444. package/build/modules/credentials/protocol/v2/index.js +1 -1
  445. package/build/modules/credentials/protocol/v2/index.mjs +1 -1
  446. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2AckMessage.js +1 -1
  447. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2AckMessage.mjs +1 -1
  448. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.mts +1 -1
  449. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.mts.map +1 -1
  450. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.ts +1 -1
  451. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.d.ts.map +1 -1
  452. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.js +3 -3
  453. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.mjs +2 -2
  454. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2Preview.mjs.map +1 -1
  455. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2ProblemReportMessage.js +1 -1
  456. package/build/modules/credentials/protocol/v2/messages/DidCommCredentialV2ProblemReportMessage.mjs +1 -1
  457. package/build/modules/credentials/protocol/v2/messages/DidCommIssueCredentialV2Message.js +4 -4
  458. package/build/modules/credentials/protocol/v2/messages/DidCommIssueCredentialV2Message.mjs +3 -3
  459. package/build/modules/credentials/protocol/v2/messages/DidCommOfferCredentialV2Message.js +4 -4
  460. package/build/modules/credentials/protocol/v2/messages/DidCommOfferCredentialV2Message.mjs +3 -3
  461. package/build/modules/credentials/protocol/v2/messages/DidCommProposeCredentialV2Message.js +4 -4
  462. package/build/modules/credentials/protocol/v2/messages/DidCommProposeCredentialV2Message.mjs +3 -3
  463. package/build/modules/credentials/protocol/v2/messages/DidCommRequestCredentialV2Message.js +4 -4
  464. package/build/modules/credentials/protocol/v2/messages/DidCommRequestCredentialV2Message.mjs +3 -3
  465. package/build/modules/credentials/protocol/v2/messages/index.js +1 -1
  466. package/build/modules/credentials/protocol/v2/messages/index.mjs +1 -1
  467. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.mts +2 -2
  468. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.mts.map +1 -1
  469. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.ts +2 -2
  470. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.d.ts.map +1 -1
  471. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.js +2 -2
  472. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.mjs +2 -2
  473. package/build/modules/credentials/repository/DidCommCredentialExchangeRecord.mjs.map +1 -1
  474. package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.js +1 -1
  475. package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.mjs +1 -1
  476. package/build/modules/credentials/repository/DidCommCredentialExchangeRepository.mjs.map +1 -1
  477. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.mts +3 -3
  478. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.mts.map +1 -1
  479. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.ts +3 -3
  480. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.d.ts.map +1 -1
  481. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.js +3 -3
  482. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.mjs +3 -3
  483. package/build/modules/discover-features/DidCommDiscoverFeaturesApi.mjs.map +1 -1
  484. package/build/modules/discover-features/DidCommDiscoverFeaturesEvents.d.mts +1 -1
  485. package/build/modules/discover-features/DidCommDiscoverFeaturesEvents.d.ts +1 -1
  486. package/build/modules/discover-features/DidCommDiscoverFeaturesModule.d.mts.map +1 -1
  487. package/build/modules/discover-features/DidCommDiscoverFeaturesModule.d.ts.map +1 -1
  488. package/build/modules/discover-features/DidCommDiscoverFeaturesModule.js +2 -2
  489. package/build/modules/discover-features/DidCommDiscoverFeaturesModule.mjs +2 -2
  490. package/build/modules/discover-features/DidCommDiscoverFeaturesModule.mjs.map +1 -1
  491. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.mts +2 -2
  492. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.mts.map +1 -1
  493. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.ts +2 -2
  494. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.d.ts.map +1 -1
  495. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.js +4 -4
  496. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.mjs +4 -4
  497. package/build/modules/discover-features/protocol/v1/DidCommDiscoverFeaturesV1Service.mjs.map +1 -1
  498. package/build/modules/discover-features/protocol/v1/handlers/DidCommFeaturesQueryMessageHandler.mjs.map +1 -1
  499. package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesDiscloseMessage.js +3 -3
  500. package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesDiscloseMessage.mjs +2 -2
  501. package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.js +1 -1
  502. package/build/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.mjs +1 -1
  503. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.mts +2 -2
  504. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.mts.map +1 -1
  505. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.ts +2 -2
  506. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.d.ts.map +1 -1
  507. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.js +2 -2
  508. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.mjs +2 -2
  509. package/build/modules/discover-features/protocol/v2/DidCommDiscoverFeaturesV2Service.mjs.map +1 -1
  510. package/build/modules/discover-features/protocol/v2/handlers/DidCommFeaturesQueriesMessageHandler.mjs.map +1 -1
  511. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesDisclosuresMessage.js +3 -3
  512. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesDisclosuresMessage.mjs +2 -2
  513. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.d.mts.map +1 -1
  514. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.d.ts.map +1 -1
  515. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.js +3 -3
  516. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.mjs +2 -2
  517. package/build/modules/discover-features/protocol/v2/messages/DidCommFeaturesQueriesMessage.mjs.map +1 -1
  518. package/build/modules/discover-features/services/DidCommDiscoverFeaturesService.d.mts +1 -1
  519. package/build/modules/discover-features/services/DidCommDiscoverFeaturesService.d.ts +1 -1
  520. package/build/modules/index.js +66 -66
  521. package/build/modules/index.mjs +66 -66
  522. package/build/modules/message-pickup/DidCommMessagePickupApi.d.mts +1 -1
  523. package/build/modules/message-pickup/DidCommMessagePickupApi.d.mts.map +1 -1
  524. package/build/modules/message-pickup/DidCommMessagePickupApi.d.ts +1 -1
  525. package/build/modules/message-pickup/DidCommMessagePickupApi.d.ts.map +1 -1
  526. package/build/modules/message-pickup/DidCommMessagePickupApi.js +4 -4
  527. package/build/modules/message-pickup/DidCommMessagePickupApi.mjs +4 -4
  528. package/build/modules/message-pickup/DidCommMessagePickupApi.mjs.map +1 -1
  529. package/build/modules/message-pickup/DidCommMessagePickupModule.d.mts +1 -1
  530. package/build/modules/message-pickup/DidCommMessagePickupModule.d.mts.map +1 -1
  531. package/build/modules/message-pickup/DidCommMessagePickupModule.d.ts +1 -1
  532. package/build/modules/message-pickup/DidCommMessagePickupModule.d.ts.map +1 -1
  533. package/build/modules/message-pickup/DidCommMessagePickupModule.mjs.map +1 -1
  534. package/build/modules/message-pickup/index.js +1 -1
  535. package/build/modules/message-pickup/index.mjs +1 -1
  536. package/build/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.mts +1 -1
  537. package/build/modules/message-pickup/protocol/DidCommBaseMessagePickupProtocol.d.ts +1 -1
  538. package/build/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.mts +1 -1
  539. package/build/modules/message-pickup/protocol/DidCommMessagePickupProtocol.d.ts +1 -1
  540. package/build/modules/message-pickup/protocol/index.js +1 -1
  541. package/build/modules/message-pickup/protocol/index.mjs +1 -1
  542. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.mts +1 -1
  543. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.mts.map +1 -1
  544. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts +1 -1
  545. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.d.ts.map +1 -1
  546. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.js +3 -3
  547. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs +3 -3
  548. package/build/modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs.map +1 -1
  549. package/build/modules/message-pickup/protocol/v1/handlers/DidCommBatchHandler.mjs.map +1 -1
  550. package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.js +4 -4
  551. package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.mjs +3 -3
  552. package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.js +3 -3
  553. package/build/modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.mjs +2 -2
  554. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.mts +2 -2
  555. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.mts.map +1 -1
  556. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts +2 -2
  557. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.d.ts.map +1 -1
  558. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.js +5 -5
  559. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.mjs +5 -5
  560. package/build/modules/message-pickup/protocol/v2/DidCommMessagePickupV2Protocol.mjs.map +1 -1
  561. package/build/modules/message-pickup/protocol/v2/handlers/DidCommMessageDeliveryV2Handler.mjs.map +1 -1
  562. package/build/modules/message-pickup/protocol/v2/handlers/DidCommStatusV2Handler.mjs.map +1 -1
  563. package/build/modules/message-pickup/protocol/v2/handlers/index.js +1 -1
  564. package/build/modules/message-pickup/protocol/v2/handlers/index.mjs +1 -1
  565. package/build/modules/message-pickup/protocol/v2/index.js +1 -1
  566. package/build/modules/message-pickup/protocol/v2/index.mjs +1 -1
  567. package/build/modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.js +4 -4
  568. package/build/modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.mjs +3 -3
  569. package/build/modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js +4 -4
  570. package/build/modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs +3 -3
  571. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.d.mts.map +1 -1
  572. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.d.ts.map +1 -1
  573. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.js +4 -4
  574. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs +3 -3
  575. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs.map +1 -1
  576. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessagesReceivedV2Message.js +4 -4
  577. package/build/modules/message-pickup/protocol/v2/messages/DidCommMessagesReceivedV2Message.mjs +3 -3
  578. package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusRequestV2Message.js +3 -3
  579. package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusRequestV2Message.mjs +2 -2
  580. package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusV2Message.js +4 -4
  581. package/build/modules/message-pickup/protocol/v2/messages/DidCommStatusV2Message.mjs +3 -3
  582. package/build/modules/message-pickup/protocol/v2/messages/index.js +1 -1
  583. package/build/modules/message-pickup/protocol/v2/messages/index.mjs +1 -1
  584. package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.d.mts.map +1 -1
  585. package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.d.ts.map +1 -1
  586. package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.js +1 -1
  587. package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.mjs +1 -1
  588. package/build/modules/message-pickup/services/DidCommMessagePickupSessionService.mjs.map +1 -1
  589. package/build/modules/oob/DidCommOutOfBandApi.d.mts +4 -4
  590. package/build/modules/oob/DidCommOutOfBandApi.d.mts.map +1 -1
  591. package/build/modules/oob/DidCommOutOfBandApi.d.ts +4 -4
  592. package/build/modules/oob/DidCommOutOfBandApi.d.ts.map +1 -1
  593. package/build/modules/oob/DidCommOutOfBandApi.js +16 -16
  594. package/build/modules/oob/DidCommOutOfBandApi.mjs +16 -16
  595. package/build/modules/oob/DidCommOutOfBandApi.mjs.map +1 -1
  596. package/build/modules/oob/DidCommOutOfBandModule.d.mts.map +1 -1
  597. package/build/modules/oob/DidCommOutOfBandModule.d.ts.map +1 -1
  598. package/build/modules/oob/DidCommOutOfBandModule.js +3 -3
  599. package/build/modules/oob/DidCommOutOfBandModule.mjs +3 -3
  600. package/build/modules/oob/DidCommOutOfBandModule.mjs.map +1 -1
  601. package/build/modules/oob/DidCommOutOfBandService.d.mts +2 -2
  602. package/build/modules/oob/DidCommOutOfBandService.d.mts.map +1 -1
  603. package/build/modules/oob/DidCommOutOfBandService.d.ts +2 -2
  604. package/build/modules/oob/DidCommOutOfBandService.d.ts.map +1 -1
  605. package/build/modules/oob/DidCommOutOfBandService.js +6 -6
  606. package/build/modules/oob/DidCommOutOfBandService.mjs +6 -6
  607. package/build/modules/oob/DidCommOutOfBandService.mjs.map +1 -1
  608. package/build/modules/oob/converters.js +1 -1
  609. package/build/modules/oob/converters.mjs +1 -1
  610. package/build/modules/oob/converters.mjs.map +1 -1
  611. package/build/modules/oob/domain/OutOfBandDidCommService.d.mts.map +1 -1
  612. package/build/modules/oob/domain/OutOfBandDidCommService.d.ts.map +1 -1
  613. package/build/modules/oob/domain/OutOfBandDidCommService.js +1 -1
  614. package/build/modules/oob/domain/OutOfBandDidCommService.mjs +1 -1
  615. package/build/modules/oob/domain/OutOfBandDidCommService.mjs.map +1 -1
  616. package/build/modules/oob/domain/index.js +2 -2
  617. package/build/modules/oob/domain/index.mjs +2 -2
  618. package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.js +1 -1
  619. package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.mjs +1 -1
  620. package/build/modules/oob/handlers/DidCommHandshakeReuseHandler.mjs.map +1 -1
  621. package/build/modules/oob/helpers.mjs.map +1 -1
  622. package/build/modules/oob/index.js +3 -3
  623. package/build/modules/oob/index.mjs +3 -3
  624. package/build/modules/oob/messages/DidCommHandshakeReuseAcceptedMessage.js +1 -1
  625. package/build/modules/oob/messages/DidCommHandshakeReuseAcceptedMessage.mjs +1 -1
  626. package/build/modules/oob/messages/DidCommHandshakeReuseMessage.js +1 -1
  627. package/build/modules/oob/messages/DidCommHandshakeReuseMessage.mjs +1 -1
  628. package/build/modules/oob/messages/DidCommOutOfBandInvitation.d.mts.map +1 -1
  629. package/build/modules/oob/messages/DidCommOutOfBandInvitation.d.ts.map +1 -1
  630. package/build/modules/oob/messages/DidCommOutOfBandInvitation.js +6 -6
  631. package/build/modules/oob/messages/DidCommOutOfBandInvitation.mjs +6 -6
  632. package/build/modules/oob/messages/DidCommOutOfBandInvitation.mjs.map +1 -1
  633. package/build/modules/oob/messages/index.js +1 -1
  634. package/build/modules/oob/messages/index.mjs +1 -1
  635. package/build/modules/oob/repository/DidCommOutOfBandRecord.d.mts.map +1 -1
  636. package/build/modules/oob/repository/DidCommOutOfBandRecord.d.ts.map +1 -1
  637. package/build/modules/oob/repository/DidCommOutOfBandRecord.js +2 -2
  638. package/build/modules/oob/repository/DidCommOutOfBandRecord.mjs +2 -2
  639. package/build/modules/oob/repository/DidCommOutOfBandRecord.mjs.map +1 -1
  640. package/build/modules/oob/repository/DidCommOutOfBandRepository.js +2 -2
  641. package/build/modules/oob/repository/DidCommOutOfBandRepository.mjs +2 -2
  642. package/build/modules/oob/repository/DidCommOutOfBandRepository.mjs.map +1 -1
  643. package/build/modules/proofs/DidCommProofsApi.d.mts.map +1 -1
  644. package/build/modules/proofs/DidCommProofsApi.d.ts.map +1 -1
  645. package/build/modules/proofs/DidCommProofsApi.js +3 -3
  646. package/build/modules/proofs/DidCommProofsApi.mjs +3 -3
  647. package/build/modules/proofs/DidCommProofsApi.mjs.map +1 -1
  648. package/build/modules/proofs/DidCommProofsApiOptions.d.mts +1 -1
  649. package/build/modules/proofs/DidCommProofsApiOptions.d.ts +1 -1
  650. package/build/modules/proofs/DidCommProofsModule.d.mts +1 -1
  651. package/build/modules/proofs/DidCommProofsModule.d.mts.map +1 -1
  652. package/build/modules/proofs/DidCommProofsModule.d.ts +1 -1
  653. package/build/modules/proofs/DidCommProofsModule.d.ts.map +1 -1
  654. package/build/modules/proofs/DidCommProofsModule.js +1 -1
  655. package/build/modules/proofs/DidCommProofsModule.mjs +1 -1
  656. package/build/modules/proofs/DidCommProofsModule.mjs.map +1 -1
  657. package/build/modules/proofs/DidCommProofsModuleConfig.d.mts.map +1 -1
  658. package/build/modules/proofs/DidCommProofsModuleConfig.d.ts.map +1 -1
  659. package/build/modules/proofs/DidCommProofsModuleConfig.mjs.map +1 -1
  660. package/build/modules/proofs/formats/DidCommProofFormatServiceOptions.d.mts +1 -1
  661. package/build/modules/proofs/formats/DidCommProofFormatServiceOptions.d.ts +1 -1
  662. package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.d.mts.map +1 -1
  663. package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.d.ts.map +1 -1
  664. package/build/modules/proofs/formats/dif-presentation-exchange/DidCommDifPresentationExchangeProofFormatService.mjs.map +1 -1
  665. package/build/modules/proofs/index.js +11 -11
  666. package/build/modules/proofs/index.mjs +11 -11
  667. package/build/modules/proofs/models/DidCommProofFormatSpec.js +3 -3
  668. package/build/modules/proofs/models/DidCommProofFormatSpec.mjs +2 -2
  669. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.mts +1 -1
  670. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.mts.map +1 -1
  671. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.ts +1 -1
  672. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.d.ts.map +1 -1
  673. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.js +1 -1
  674. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.mjs +1 -1
  675. package/build/modules/proofs/protocol/DidCommBaseProofProtocol.mjs.map +1 -1
  676. package/build/modules/proofs/protocol/DidCommProofProtocol.d.mts +1 -1
  677. package/build/modules/proofs/protocol/DidCommProofProtocol.d.ts +1 -1
  678. package/build/modules/proofs/protocol/DidCommProofProtocolOptions.d.mts +1 -1
  679. package/build/modules/proofs/protocol/DidCommProofProtocolOptions.d.ts +1 -1
  680. package/build/modules/proofs/protocol/index.js +1 -1
  681. package/build/modules/proofs/protocol/index.mjs +1 -1
  682. package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.js +1 -1
  683. package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.mjs +1 -1
  684. package/build/modules/proofs/protocol/v2/DidCommProofFormatCoordinator.mjs.map +1 -1
  685. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.mts +4 -4
  686. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.mts.map +1 -1
  687. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.ts +4 -4
  688. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.d.ts.map +1 -1
  689. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.js +12 -12
  690. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.mjs +12 -12
  691. package/build/modules/proofs/protocol/v2/DidCommProofV2Protocol.mjs.map +1 -1
  692. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.mts +1 -1
  693. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.mts.map +1 -1
  694. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +1 -1
  695. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts.map +1 -1
  696. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.mjs.map +1 -1
  697. package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.js +1 -1
  698. package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.mjs +1 -1
  699. package/build/modules/proofs/protocol/v2/handlers/DidCommPresentationV2Handler.mjs.map +1 -1
  700. package/build/modules/proofs/protocol/v2/handlers/DidCommProposePresentationV2Handler.mjs.map +1 -1
  701. package/build/modules/proofs/protocol/v2/handlers/DidCommRequestPresentationV2Handler.mjs.map +1 -1
  702. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2AckMessage.js +1 -1
  703. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2AckMessage.mjs +1 -1
  704. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2Message.js +4 -4
  705. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2Message.mjs +3 -3
  706. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2ProblemReportMessage.js +1 -1
  707. package/build/modules/proofs/protocol/v2/messages/DidCommPresentationV2ProblemReportMessage.mjs +1 -1
  708. package/build/modules/proofs/protocol/v2/messages/DidCommProposePresentationV2Message.js +4 -4
  709. package/build/modules/proofs/protocol/v2/messages/DidCommProposePresentationV2Message.mjs +3 -3
  710. package/build/modules/proofs/protocol/v2/messages/DidCommRequestPresentationV2Message.js +4 -4
  711. package/build/modules/proofs/protocol/v2/messages/DidCommRequestPresentationV2Message.mjs +3 -3
  712. package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.mts +1 -1
  713. package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.mts.map +1 -1
  714. package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.ts +1 -1
  715. package/build/modules/proofs/repository/DidCommProofExchangeRecord.d.ts.map +1 -1
  716. package/build/modules/proofs/repository/DidCommProofExchangeRecord.mjs.map +1 -1
  717. package/build/modules/proofs/repository/DidCommProofExchangeRepository.js +1 -1
  718. package/build/modules/proofs/repository/DidCommProofExchangeRepository.mjs +1 -1
  719. package/build/modules/proofs/repository/DidCommProofExchangeRepository.mjs.map +1 -1
  720. package/build/modules/routing/DidCommMediationRecipientApi.d.mts +3 -3
  721. package/build/modules/routing/DidCommMediationRecipientApi.d.mts.map +1 -1
  722. package/build/modules/routing/DidCommMediationRecipientApi.d.ts +3 -3
  723. package/build/modules/routing/DidCommMediationRecipientApi.d.ts.map +1 -1
  724. package/build/modules/routing/DidCommMediationRecipientApi.js +8 -8
  725. package/build/modules/routing/DidCommMediationRecipientApi.mjs +8 -8
  726. package/build/modules/routing/DidCommMediationRecipientApi.mjs.map +1 -1
  727. package/build/modules/routing/DidCommMediationRecipientModule.d.mts.map +1 -1
  728. package/build/modules/routing/DidCommMediationRecipientModule.d.ts.map +1 -1
  729. package/build/modules/routing/DidCommMediationRecipientModule.js +4 -4
  730. package/build/modules/routing/DidCommMediationRecipientModule.mjs +4 -4
  731. package/build/modules/routing/DidCommMediationRecipientModule.mjs.map +1 -1
  732. package/build/modules/routing/DidCommMediatorApi.d.mts +1 -1
  733. package/build/modules/routing/DidCommMediatorApi.d.mts.map +1 -1
  734. package/build/modules/routing/DidCommMediatorApi.d.ts +1 -1
  735. package/build/modules/routing/DidCommMediatorApi.d.ts.map +1 -1
  736. package/build/modules/routing/DidCommMediatorApi.js +2 -2
  737. package/build/modules/routing/DidCommMediatorApi.mjs +2 -2
  738. package/build/modules/routing/DidCommMediatorApi.mjs.map +1 -1
  739. package/build/modules/routing/DidCommMediatorModule.d.mts.map +1 -1
  740. package/build/modules/routing/DidCommMediatorModule.d.ts.map +1 -1
  741. package/build/modules/routing/DidCommMediatorModule.js +7 -7
  742. package/build/modules/routing/DidCommMediatorModule.mjs +7 -7
  743. package/build/modules/routing/DidCommMediatorModule.mjs.map +1 -1
  744. package/build/modules/routing/handlers/DidCommForwardHandler.mjs.map +1 -1
  745. package/build/modules/routing/handlers/DidCommKeylistUpdateHandler.mjs.map +1 -1
  746. package/build/modules/routing/handlers/DidCommKeylistUpdateResponseHandler.mjs.map +1 -1
  747. package/build/modules/routing/handlers/DidCommMediationDenyHandler.mjs.map +1 -1
  748. package/build/modules/routing/handlers/DidCommMediationGrantHandler.mjs.map +1 -1
  749. package/build/modules/routing/handlers/DidCommMediationRequestHandler.mjs.map +1 -1
  750. package/build/modules/routing/handlers/index.js +1 -1
  751. package/build/modules/routing/handlers/index.mjs +1 -1
  752. package/build/modules/routing/index.js +4 -4
  753. package/build/modules/routing/index.mjs +4 -4
  754. package/build/modules/routing/messages/DidCommForwardMessage.js +3 -3
  755. package/build/modules/routing/messages/DidCommForwardMessage.mjs +2 -2
  756. package/build/modules/routing/messages/DidCommKeylistUpdateMessage.js +3 -3
  757. package/build/modules/routing/messages/DidCommKeylistUpdateMessage.mjs +2 -2
  758. package/build/modules/routing/messages/DidCommKeylistUpdateResponseMessage.js +3 -3
  759. package/build/modules/routing/messages/DidCommKeylistUpdateResponseMessage.mjs +2 -2
  760. package/build/modules/routing/messages/DidCommMediationDenyMessage.js +1 -1
  761. package/build/modules/routing/messages/DidCommMediationDenyMessage.mjs +1 -1
  762. package/build/modules/routing/messages/DidCommMediationGrantMessage.js +3 -3
  763. package/build/modules/routing/messages/DidCommMediationGrantMessage.mjs +2 -2
  764. package/build/modules/routing/messages/DidCommMediationRequestMessage.js +1 -1
  765. package/build/modules/routing/messages/DidCommMediationRequestMessage.mjs +1 -1
  766. package/build/modules/routing/messages/index.js +1 -1
  767. package/build/modules/routing/messages/index.mjs +1 -1
  768. package/build/modules/routing/repository/DidCommMediationRecord.d.mts +1 -1
  769. package/build/modules/routing/repository/DidCommMediationRecord.d.mts.map +1 -1
  770. package/build/modules/routing/repository/DidCommMediationRecord.d.ts +1 -1
  771. package/build/modules/routing/repository/DidCommMediationRecord.d.ts.map +1 -1
  772. package/build/modules/routing/repository/DidCommMediationRecord.js +1 -1
  773. package/build/modules/routing/repository/DidCommMediationRecord.mjs +1 -1
  774. package/build/modules/routing/repository/DidCommMediationRecord.mjs.map +1 -1
  775. package/build/modules/routing/repository/DidCommMediationRepository.js +1 -1
  776. package/build/modules/routing/repository/DidCommMediationRepository.mjs +1 -1
  777. package/build/modules/routing/repository/DidCommMediationRepository.mjs.map +1 -1
  778. package/build/modules/routing/repository/DidCommMediatorRoutingRepository.js +1 -1
  779. package/build/modules/routing/repository/DidCommMediatorRoutingRepository.mjs +1 -1
  780. package/build/modules/routing/repository/DidCommMediatorRoutingRepository.mjs.map +1 -1
  781. package/build/modules/routing/services/DidCommMediationRecipientService.d.mts +2 -2
  782. package/build/modules/routing/services/DidCommMediationRecipientService.d.mts.map +1 -1
  783. package/build/modules/routing/services/DidCommMediationRecipientService.d.ts +2 -2
  784. package/build/modules/routing/services/DidCommMediationRecipientService.d.ts.map +1 -1
  785. package/build/modules/routing/services/DidCommMediationRecipientService.js +4 -4
  786. package/build/modules/routing/services/DidCommMediationRecipientService.mjs +4 -4
  787. package/build/modules/routing/services/DidCommMediationRecipientService.mjs.map +1 -1
  788. package/build/modules/routing/services/DidCommMediatorService.d.mts.map +1 -1
  789. package/build/modules/routing/services/DidCommMediatorService.d.ts.map +1 -1
  790. package/build/modules/routing/services/DidCommMediatorService.js +3 -3
  791. package/build/modules/routing/services/DidCommMediatorService.mjs +3 -3
  792. package/build/modules/routing/services/DidCommMediatorService.mjs.map +1 -1
  793. package/build/modules/routing/services/DidCommRoutingService.d.mts.map +1 -1
  794. package/build/modules/routing/services/DidCommRoutingService.d.ts.map +1 -1
  795. package/build/modules/routing/services/DidCommRoutingService.js +1 -1
  796. package/build/modules/routing/services/DidCommRoutingService.mjs +1 -1
  797. package/build/modules/routing/services/DidCommRoutingService.mjs.map +1 -1
  798. package/build/repository/DidCommMessageRecord.d.mts.map +1 -1
  799. package/build/repository/DidCommMessageRecord.d.ts.map +1 -1
  800. package/build/repository/DidCommMessageRecord.mjs.map +1 -1
  801. package/build/repository/DidCommMessageRepository.d.mts.map +1 -1
  802. package/build/repository/DidCommMessageRepository.d.ts.map +1 -1
  803. package/build/repository/DidCommMessageRepository.js +1 -1
  804. package/build/repository/DidCommMessageRepository.mjs +1 -1
  805. package/build/repository/DidCommMessageRepository.mjs.map +1 -1
  806. package/build/repository/index.js +1 -1
  807. package/build/repository/index.mjs +1 -1
  808. package/build/services/DidCommDocumentService.d.mts.map +1 -1
  809. package/build/services/DidCommDocumentService.d.ts.map +1 -1
  810. package/build/services/DidCommDocumentService.js +1 -1
  811. package/build/services/DidCommDocumentService.mjs +1 -1
  812. package/build/services/DidCommDocumentService.mjs.map +1 -1
  813. package/build/transport/DidCommHttpOutboundTransport.d.mts.map +1 -1
  814. package/build/transport/DidCommHttpOutboundTransport.d.ts.map +1 -1
  815. package/build/transport/DidCommHttpOutboundTransport.js +3 -3
  816. package/build/transport/DidCommHttpOutboundTransport.mjs +3 -3
  817. package/build/transport/DidCommHttpOutboundTransport.mjs.map +1 -1
  818. package/build/transport/DidCommWsOutboundTransport.d.mts.map +1 -1
  819. package/build/transport/DidCommWsOutboundTransport.d.ts.map +1 -1
  820. package/build/transport/DidCommWsOutboundTransport.mjs.map +1 -1
  821. package/build/transport/index.js +2 -2
  822. package/build/transport/index.mjs +2 -2
  823. package/build/transport/queue/DidCommQueueTransportRepository.d.mts +1 -1
  824. package/build/transport/queue/DidCommQueueTransportRepository.d.ts +1 -1
  825. package/build/transport/queue/InMemoryQueueTransportRepository.d.mts +1 -1
  826. package/build/transport/queue/InMemoryQueueTransportRepository.d.mts.map +1 -1
  827. package/build/transport/queue/InMemoryQueueTransportRepository.d.ts +1 -1
  828. package/build/transport/queue/InMemoryQueueTransportRepository.d.ts.map +1 -1
  829. package/build/transport/queue/InMemoryQueueTransportRepository.js +1 -1
  830. package/build/transport/queue/InMemoryQueueTransportRepository.mjs +1 -1
  831. package/build/transport/queue/InMemoryQueueTransportRepository.mjs.map +1 -1
  832. package/build/transport/queue/index.js +1 -1
  833. package/build/transport/queue/index.mjs +1 -1
  834. package/build/updates/0.1-0.2/connection.js +3 -3
  835. package/build/updates/0.1-0.2/connection.mjs +3 -3
  836. package/build/updates/0.1-0.2/connection.mjs.map +1 -1
  837. package/build/updates/0.1-0.2/credential.js +1 -1
  838. package/build/updates/0.1-0.2/credential.mjs +1 -1
  839. package/build/updates/0.1-0.2/credential.mjs.map +1 -1
  840. package/build/updates/0.2-0.3/proof.js +1 -1
  841. package/build/updates/0.2-0.3/proof.mjs +1 -1
  842. package/build/updates/0.2-0.3/proof.mjs.map +1 -1
  843. package/build/updates/0.4-0.5/credentialExchangeRecord.js +2 -2
  844. package/build/updates/0.4-0.5/credentialExchangeRecord.mjs +2 -2
  845. package/build/updates/0.4-0.5/credentialExchangeRecord.mjs.map +1 -1
  846. package/build/updates/0.4-0.5/proofExchangeRecord.js +2 -2
  847. package/build/updates/0.4-0.5/proofExchangeRecord.mjs +2 -2
  848. package/build/util/DidCommLinkedAttachment.js +3 -3
  849. package/build/util/DidCommLinkedAttachment.mjs +2 -2
  850. package/build/util/JWE.mjs.map +1 -1
  851. package/build/util/attachment.d.mts.map +1 -1
  852. package/build/util/attachment.d.ts.map +1 -1
  853. package/build/util/attachment.mjs.map +1 -1
  854. package/build/util/messageType.d.mts +37 -1
  855. package/build/util/messageType.d.mts.map +1 -1
  856. package/build/util/messageType.d.ts +37 -1
  857. package/build/util/messageType.d.ts.map +1 -1
  858. package/build/util/messageType.js +4 -4
  859. package/build/util/messageType.mjs +4 -4
  860. package/build/util/messageType.mjs.map +1 -1
  861. package/build/util/parseInvitation.d.mts +8 -1
  862. package/build/util/parseInvitation.d.mts.map +1 -1
  863. package/build/util/parseInvitation.d.ts +8 -1
  864. package/build/util/parseInvitation.d.ts.map +1 -1
  865. package/build/util/parseInvitation.js +6 -5
  866. package/build/util/parseInvitation.mjs +7 -7
  867. package/build/util/parseInvitation.mjs.map +1 -1
  868. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDidCommMessage.d.mts","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":[],"mappings":";;;;;cAYa,kBAAA;;;wBAQkB"}
1
+ {"version":3,"file":"BaseDidCommMessage.d.mts","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":[],"mappings":";;;;;cAWa,kBAAA;;;wBAQkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDidCommMessage.d.ts","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":[],"mappings":";;;;;cAYa,kBAAA;;;wBAQkB"}
1
+ {"version":3,"file":"BaseDidCommMessage.d.ts","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":[],"mappings":";;;;;cAWa,kBAAA;;;wBAQkB"}
@@ -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');
3
+ const require_decorateMetadata = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
4
4
  let __credo_ts_core = require("@credo-ts/core");
5
5
  __credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
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/BaseDidCommMessage.ts
12
12
  const MessageIdRegExp = /[-_./a-zA-Z0-9]{8,64}/;
@@ -1,8 +1,8 @@
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";
2
+ import { __decorateMetadata } from "./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
3
3
  import { utils } from "@credo-ts/core";
4
- import { Expose } from "class-transformer";
5
4
  import { Matches } from "class-validator";
5
+ import { Expose } from "class-transformer";
6
6
 
7
7
  //#region src/BaseDidCommMessage.ts
8
8
  const MessageIdRegExp = /[-_./a-zA-Z0-9]{8,64}/;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDidCommMessage.mjs","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":["import type { Constructor } from '@credo-ts/core'\nimport type { ParsedMessageType } from './util/messageType'\n\nimport { utils } from '@credo-ts/core'\nimport { Expose } from 'class-transformer'\nimport { Matches } from 'class-validator'\n\nexport const MessageIdRegExp = /[-_./a-zA-Z0-9]{8,64}/\nexport const MessageTypeRegExp = /(.*?)([a-zA-Z0-9._-]+)\\/(\\d[^/]*)\\/([a-zA-Z0-9._-]+)$/\n\nexport type BaseMessageConstructor = Constructor<BaseDidCommMessage>\n\nexport class BaseDidCommMessage {\n @Matches(MessageIdRegExp)\n @Expose({ name: '@id' })\n public id!: string\n\n @Expose({ name: '@type' })\n @Matches(MessageTypeRegExp)\n public readonly type!: string\n public static readonly type: ParsedMessageType\n\n public generateId() {\n return utils.uuid()\n }\n}\n"],"mappings":";;;;;;;AAOA,MAAa,kBAAkB;AAC/B,MAAa,oBAAoB;AAIjC,IAAa,qBAAb,MAAgC;CAU9B,AAAO,aAAa;AAClB,SAAO,MAAM,MAAM;;;;CAVpB,QAAQ,gBAAgB;CACxB,OAAO,EAAE,MAAM,OAAO,CAAC;;;;CAGvB,OAAO,EAAE,MAAM,SAAS,CAAC;CACzB,QAAQ,kBAAkB"}
1
+ {"version":3,"file":"BaseDidCommMessage.mjs","names":[],"sources":["../src/BaseDidCommMessage.ts"],"sourcesContent":["import type { Constructor } from '@credo-ts/core'\nimport { utils } from '@credo-ts/core'\nimport { Expose } from 'class-transformer'\nimport { Matches } from 'class-validator'\nimport type { ParsedMessageType } from './util/messageType'\n\nexport const MessageIdRegExp = /[-_./a-zA-Z0-9]{8,64}/\nexport const MessageTypeRegExp = /(.*?)([a-zA-Z0-9._-]+)\\/(\\d[^/]*)\\/([a-zA-Z0-9._-]+)$/\n\nexport type BaseMessageConstructor = Constructor<BaseDidCommMessage>\n\nexport class BaseDidCommMessage {\n @Matches(MessageIdRegExp)\n @Expose({ name: '@id' })\n public id!: string\n\n @Expose({ name: '@type' })\n @Matches(MessageTypeRegExp)\n public readonly type!: string\n public static readonly type: ParsedMessageType\n\n public generateId() {\n return utils.uuid()\n }\n}\n"],"mappings":";;;;;;;AAMA,MAAa,kBAAkB;AAC/B,MAAa,oBAAoB;AAIjC,IAAa,qBAAb,MAAgC;CAU9B,AAAO,aAAa;AAClB,SAAO,MAAM,MAAM;;;;CAVpB,QAAQ,gBAAgB;CACxB,OAAO,EAAE,MAAM,OAAO,CAAC;;;;CAGvB,OAAO,EAAE,MAAM,SAAS,CAAC;CACzB,QAAQ,kBAAkB"}
@@ -1,33 +1,31 @@
1
1
  import { DidCommMessageHandler } from "./handlers/DidCommMessageHandler.mjs";
2
2
  import { DidCommMessageHandlerMiddleware } from "./handlers/DidCommMessageHandlerMiddleware.mjs";
3
- import { DidCommOutboundTransport } from "./transport/DidCommOutboundTransport.mjs";
4
3
  import { DidCommBasicMessagesApi } from "./modules/basic-messages/DidCommBasicMessagesApi.mjs";
5
- import { DidCommFeatureRegistry } from "./DidCommFeatureRegistry.mjs";
6
4
  import { DidCommMessageHandlerRegistry } from "./DidCommMessageHandlerRegistry.mjs";
7
5
  import { DidCommCredentialProtocol } from "./modules/credentials/protocol/DidCommCredentialProtocol.mjs";
8
6
  import { DidCommCredentialsModuleConfigOptions } from "./modules/credentials/DidCommCredentialsModuleConfig.mjs";
9
7
  import { DidCommCredentialsApi } from "./modules/credentials/DidCommCredentialsApi.mjs";
10
8
  import { DefaultDidCommCredentialProtocols } from "./modules/credentials/DidCommCredentialsModule.mjs";
11
- import { DidCommDiscoverFeaturesService } from "./modules/discover-features/services/DidCommDiscoverFeaturesService.mjs";
12
9
  import { DidCommDiscoverFeaturesApi } from "./modules/discover-features/DidCommDiscoverFeaturesApi.mjs";
13
10
  import { DidCommMessagePickupProtocol } from "./modules/message-pickup/protocol/DidCommMessagePickupProtocol.mjs";
14
11
  import { DidCommMessagePickupModuleConfigOptions } from "./modules/message-pickup/DidCommMessagePickupModuleConfig.mjs";
15
12
  import { DidCommMessagePickupApi } from "./modules/message-pickup/DidCommMessagePickupApi.mjs";
16
13
  import { DefaultDidCommMessagePickupProtocols } from "./modules/message-pickup/DidCommMessagePickupModule.mjs";
17
- import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.mjs";
18
14
  import { DidCommOutOfBandApi } from "./modules/oob/DidCommOutOfBandApi.mjs";
19
15
  import { DidCommProofProtocol } from "./modules/proofs/protocol/DidCommProofProtocol.mjs";
20
16
  import { DidCommProofsModuleConfigOptions } from "./modules/proofs/DidCommProofsModuleConfig.mjs";
21
17
  import { DidCommProofsApi } from "./modules/proofs/DidCommProofsApi.mjs";
22
18
  import { DefaultDidCommProofProtocols } from "./modules/proofs/DidCommProofsModule.mjs";
23
- import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.mjs";
24
19
  import { DidCommMediationRecipientApi } from "./modules/routing/DidCommMediationRecipientApi.mjs";
20
+ import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.mjs";
21
+ import { DidCommOutboundTransport } from "./transport/DidCommOutboundTransport.mjs";
25
22
  import { DidCommInboundTransport } from "./transport/DidCommInboundTransport.mjs";
26
23
  import { DidCommModuleConfig, DidCommModuleConfigOptions } from "./DidCommModuleConfig.mjs";
27
- import { DidCommMessageSender } from "./DidCommMessageSender.mjs";
24
+ import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.mjs";
28
25
  import { DidCommOutboundMessageContext } from "./models/DidCommOutboundMessageContext.mjs";
29
26
  import { DidCommInboundMessageContext } from "./models/DidCommInboundMessageContext.mjs";
30
- import { DidCommMessageReceiver } from "./DidCommMessageReceiver.mjs";
27
+ import { DidCommFeatureRegistry } from "./DidCommFeatureRegistry.mjs";
28
+ import { DidCommDiscoverFeaturesService } from "./modules/discover-features/services/DidCommDiscoverFeaturesService.mjs";
31
29
  import { AgentContext } from "@credo-ts/core";
32
30
 
33
31
  //#region src/DidCommApi.d.ts
@@ -35,8 +33,6 @@ type ApiOrUndefined<Config, Api> = Config extends false ? never : Api;
35
33
  declare class DidCommApi<Options extends DidCommModuleConfigOptions> {
36
34
  agentContext: AgentContext;
37
35
  private messageHandlerRegistry;
38
- private messageSender;
39
- private messageReceiver;
40
36
  private featureRegistry;
41
37
  config: DidCommModuleConfig;
42
38
  connections: DidCommConnectionsApi;
@@ -48,7 +44,7 @@ declare class DidCommApi<Options extends DidCommModuleConfigOptions> {
48
44
  basicMessages: ApiOrUndefined<Options['basicMessages'], DidCommBasicMessagesApi>;
49
45
  mediator: ApiOrUndefined<Options['mediator'], DidCommMediatorApi>;
50
46
  mediationRecipient: ApiOrUndefined<Options['mediationRecipient'], DidCommMediationRecipientApi>;
51
- constructor(agentContext: AgentContext, messageHandlerRegistry: DidCommMessageHandlerRegistry, messageSender: DidCommMessageSender, messageReceiver: DidCommMessageReceiver, featureRegistry: DidCommFeatureRegistry, config: DidCommModuleConfig);
47
+ constructor(agentContext: AgentContext, messageHandlerRegistry: DidCommMessageHandlerRegistry, featureRegistry: DidCommFeatureRegistry, config: DidCommModuleConfig);
52
48
  registerInboundTransport(inboundTransport: DidCommInboundTransport): void;
53
49
  unregisterInboundTransport(inboundTransport: DidCommInboundTransport): Promise<void>;
54
50
  get inboundTransports(): DidCommInboundTransport[];
@@ -1 +1 @@
1
- {"version":3,"file":"DidCommApi.d.mts","names":[],"sources":["../src/DidCommApi.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+BK,8BAA8B,+BAA+B;cAGrD,2BAA2B;gBA6Cf;;;;;UAKN;eAjDC;OACR;aACM,2BADN,8BAAA;UAEK,eACb,mBACA,iBACE,0BAA0B,iCAAiC,0BACvD,sCACA;eAIY,eAClB,wBACA,sBACE,+BAA+B,sCAAsC,+BACjE,gDACA;iBAIc,eACpB,0BACA,wBACE,iCAAiC,wCAAwC,kCACrE,wCACA;iBAIc,eAAe,0BAA0B;YAK9C,eAAe,qBAAqB;sBAK1B,eAAe,+BAA+B;4BAIlD,sCACW,8CACT,uCACE,yCACA,gCACV;6CAGiC;EAxD/C,0BAAc,CAAA,gBAAA,EA4DyC,uBA5DzC,CAAA,EA4DgE,OA5DhE,CAAA,IAAA,CAAA;EAAA,IAAA,iBAAA,CAAA,CAAA,EAgEW,uBAhEX,EAAA;2BAAgB,CAAA,iBAAA,EAoEmB,wBApEnB,CAAA,EAAA,IAAA;6BAA+B,CAAA,iBAAA,EAwEJ,wBAxEI,CAAA,EAwEoB,OAxEpB,CAAA,IAAA,CAAA;EAAG,IAAA,kBAAA,CAAA,CAAA,EA4EtC,wBA5EsC,EAAA;EAGxD;;;yBA6CY,CAAA,eAAA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,EAAA,IAAA;MA6Cf,sBAAA,CAAA,CAAA,EAAA,CAAA,CAAA,cAAA,EA0C0E,4BA1C1E,EAAA,GA8CU,OA9CV,CA8CU,6BAAA,GA9CV,SAAA,CAAA,CAAA,GAAA,SAAA;MAGN,yBAAA,CAAA,CAAA,EA+CmB,+BA/CnB,EAAA;;;;;2BA3Cf,CAAA,sBAAA,EAkGuD,qBAlGvD,CAAA,QAAA,CAAA,CAAA,EAAA,IAAA;MAEE,QAAA,CAAA,CAAA,EAoGe,sBApGf;UAA2D,cAAA"}
@@ -1,33 +1,31 @@
1
1
  import { DidCommMessageHandler } from "./handlers/DidCommMessageHandler.js";
2
2
  import { DidCommMessageHandlerMiddleware } from "./handlers/DidCommMessageHandlerMiddleware.js";
3
- import { DidCommOutboundTransport } from "./transport/DidCommOutboundTransport.js";
4
3
  import { DidCommBasicMessagesApi } from "./modules/basic-messages/DidCommBasicMessagesApi.js";
5
- import { DidCommFeatureRegistry } from "./DidCommFeatureRegistry.js";
6
4
  import { DidCommMessageHandlerRegistry } from "./DidCommMessageHandlerRegistry.js";
7
5
  import { DidCommCredentialProtocol } from "./modules/credentials/protocol/DidCommCredentialProtocol.js";
8
6
  import { DidCommCredentialsModuleConfigOptions } from "./modules/credentials/DidCommCredentialsModuleConfig.js";
9
7
  import { DidCommCredentialsApi } from "./modules/credentials/DidCommCredentialsApi.js";
10
8
  import { DefaultDidCommCredentialProtocols } from "./modules/credentials/DidCommCredentialsModule.js";
11
- import { DidCommDiscoverFeaturesService } from "./modules/discover-features/services/DidCommDiscoverFeaturesService.js";
12
9
  import { DidCommDiscoverFeaturesApi } from "./modules/discover-features/DidCommDiscoverFeaturesApi.js";
13
10
  import { DidCommMessagePickupProtocol } from "./modules/message-pickup/protocol/DidCommMessagePickupProtocol.js";
14
11
  import { DidCommMessagePickupModuleConfigOptions } from "./modules/message-pickup/DidCommMessagePickupModuleConfig.js";
15
12
  import { DidCommMessagePickupApi } from "./modules/message-pickup/DidCommMessagePickupApi.js";
16
13
  import { DefaultDidCommMessagePickupProtocols } from "./modules/message-pickup/DidCommMessagePickupModule.js";
17
- import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.js";
18
14
  import { DidCommOutOfBandApi } from "./modules/oob/DidCommOutOfBandApi.js";
19
15
  import { DidCommProofProtocol } from "./modules/proofs/protocol/DidCommProofProtocol.js";
20
16
  import { DidCommProofsModuleConfigOptions } from "./modules/proofs/DidCommProofsModuleConfig.js";
21
17
  import { DidCommProofsApi } from "./modules/proofs/DidCommProofsApi.js";
22
18
  import { DefaultDidCommProofProtocols } from "./modules/proofs/DidCommProofsModule.js";
23
- import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.js";
24
19
  import { DidCommMediationRecipientApi } from "./modules/routing/DidCommMediationRecipientApi.js";
20
+ import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.js";
21
+ import { DidCommOutboundTransport } from "./transport/DidCommOutboundTransport.js";
25
22
  import { DidCommInboundTransport } from "./transport/DidCommInboundTransport.js";
26
23
  import { DidCommModuleConfig, DidCommModuleConfigOptions } from "./DidCommModuleConfig.js";
27
- import { DidCommMessageSender } from "./DidCommMessageSender.js";
24
+ import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.js";
28
25
  import { DidCommOutboundMessageContext } from "./models/DidCommOutboundMessageContext.js";
29
26
  import { DidCommInboundMessageContext } from "./models/DidCommInboundMessageContext.js";
30
- import { DidCommMessageReceiver } from "./DidCommMessageReceiver.js";
27
+ import { DidCommFeatureRegistry } from "./DidCommFeatureRegistry.js";
28
+ import { DidCommDiscoverFeaturesService } from "./modules/discover-features/services/DidCommDiscoverFeaturesService.js";
31
29
  import { AgentContext } from "@credo-ts/core";
32
30
 
33
31
  //#region src/DidCommApi.d.ts
@@ -35,8 +33,6 @@ type ApiOrUndefined<Config, Api> = Config extends false ? never : Api;
35
33
  declare class DidCommApi<Options extends DidCommModuleConfigOptions> {
36
34
  agentContext: AgentContext;
37
35
  private messageHandlerRegistry;
38
- private messageSender;
39
- private messageReceiver;
40
36
  private featureRegistry;
41
37
  config: DidCommModuleConfig;
42
38
  connections: DidCommConnectionsApi;
@@ -48,7 +44,7 @@ declare class DidCommApi<Options extends DidCommModuleConfigOptions> {
48
44
  basicMessages: ApiOrUndefined<Options['basicMessages'], DidCommBasicMessagesApi>;
49
45
  mediator: ApiOrUndefined<Options['mediator'], DidCommMediatorApi>;
50
46
  mediationRecipient: ApiOrUndefined<Options['mediationRecipient'], DidCommMediationRecipientApi>;
51
- constructor(agentContext: AgentContext, messageHandlerRegistry: DidCommMessageHandlerRegistry, messageSender: DidCommMessageSender, messageReceiver: DidCommMessageReceiver, featureRegistry: DidCommFeatureRegistry, config: DidCommModuleConfig);
47
+ constructor(agentContext: AgentContext, messageHandlerRegistry: DidCommMessageHandlerRegistry, featureRegistry: DidCommFeatureRegistry, config: DidCommModuleConfig);
52
48
  registerInboundTransport(inboundTransport: DidCommInboundTransport): void;
53
49
  unregisterInboundTransport(inboundTransport: DidCommInboundTransport): Promise<void>;
54
50
  get inboundTransports(): DidCommInboundTransport[];
@@ -1 +1 @@
1
- {"version":3,"file":"DidCommApi.d.ts","names":[],"sources":["../src/DidCommApi.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+BK,8BAA8B,+BAA+B;cAGrD,2BAA2B;gBA6Cf;;;;;UAKN;eAjDC;OACR;aACM,2BADN,8BAAA;UAEK,eACb,mBACA,iBACE,0BAA0B,iCAAiC,0BACvD,sCACA;eAIY,eAClB,wBACA,sBACE,+BAA+B,sCAAsC,+BACjE,gDACA;iBAIc,eACpB,0BACA,wBACE,iCAAiC,wCAAwC,kCACrE,wCACA;iBAIc,eAAe,0BAA0B;YAK9C,eAAe,qBAAqB;sBAK1B,eAAe,+BAA+B;4BAIlD,sCACW,8CACT,uCACE,yCACA,gCACV;6CAGiC;EAxD/C,0BAAc,CAAA,gBAAA,EA4DyC,uBA5DzC,CAAA,EA4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AAA,iBAAA,EAmEmC,wBAnEnC,CAAA,EAAA,IAAA;EAAA,2BAAA,CAAA,iBAAA,EAuE2C,wBAvE3C,CAAA,EAuEmE,OAvEnE,CAAA,IAAA,CAAA;MAAgB,kBAAA,CAAA,CAAA,EA6EJ,wBA7EI,EAAA;;;AAEnC;EACuB,uBAAA,CAAA,eAAA,EAiF2B,qBAjF3B,EAAA,CAAA,EAAA,IAAA;kCAAiB,CAAA,wBAAA,EAuF4B,+BAvF5B,CAAA,EAAA,IAAA;MA6Cf,sBAAA,CAAA,CAAA,EAAA,CAAA,CAAA,cAAA,EA0C0E,4BA1C1E,EAAA,GA8CU,OA9CV,CA8CU,6BAAA,GA9CV,SAAA,CAAA,CAAA,GAAA,SAAA;MAGN,yBAAA,CAAA,CAAA,EA+CmB,+BA/CnB,EAAA;;;;;2BA3Cf,CAAA,sBAAA,EAkGuD,qBAlGvD,CAAA,QAAA,CAAA,CAAA,EAAA,IAAA;MAEE,QAAA,CAAA,CAAA,EAoGe,sBApGf;UAA2D,cAAA"}
@@ -1,32 +1,28 @@
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_DidCommModuleConfig = require('./DidCommModuleConfig.js');
5
- const require_DidCommMessageSender = require('./DidCommMessageSender.js');
6
- const require_DidCommConnectionsApi = require('./modules/connections/DidCommConnectionsApi.js');
7
3
  const require_DidCommFeatureRegistry = require('./DidCommFeatureRegistry.js');
8
4
  const require_DidCommMessageHandlerRegistry = require('./DidCommMessageHandlerRegistry.js');
5
+ const require_decorateMetadata = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
6
+ const require_DidCommModuleConfig = require('./DidCommModuleConfig.js');
7
+ const require_DidCommConnectionsApi = require('./modules/connections/DidCommConnectionsApi.js');
9
8
  const require_DidCommBasicMessagesApi = require('./modules/basic-messages/DidCommBasicMessagesApi.js');
10
9
  const require_DidCommOutOfBandApi = require('./modules/oob/DidCommOutOfBandApi.js');
11
- const require_DidCommMessagePickupApi = require('./modules/message-pickup/DidCommMessagePickupApi.js');
12
- const require_DidCommMediatorApi = require('./modules/routing/DidCommMediatorApi.js');
13
10
  const require_DidCommDiscoverFeaturesApi = require('./modules/discover-features/DidCommDiscoverFeaturesApi.js');
11
+ const require_DidCommMessagePickupApi = require('./modules/message-pickup/DidCommMessagePickupApi.js');
14
12
  const require_DidCommMediationRecipientApi = require('./modules/routing/DidCommMediationRecipientApi.js');
13
+ const require_DidCommMediatorApi = require('./modules/routing/DidCommMediatorApi.js');
15
14
  const require_DidCommCredentialsApi = require('./modules/credentials/DidCommCredentialsApi.js');
16
15
  const require_DidCommProofsApi = require('./modules/proofs/DidCommProofsApi.js');
17
16
  require('./modules/index.js');
18
- const require_DidCommMessageReceiver = require('./DidCommMessageReceiver.js');
19
17
  let __credo_ts_core = require("@credo-ts/core");
20
18
  __credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
21
19
 
22
20
  //#region src/DidCommApi.ts
23
- var _ref, _ref2, _ref3, _ref4, _ref5, _ref6;
21
+ var _ref, _ref2, _ref3, _ref4;
24
22
  let DidCommApi = class DidCommApi$1 {
25
- constructor(agentContext, messageHandlerRegistry, messageSender, messageReceiver, featureRegistry, config) {
23
+ constructor(agentContext, messageHandlerRegistry, featureRegistry, config) {
26
24
  this.agentContext = agentContext;
27
25
  this.messageHandlerRegistry = messageHandlerRegistry;
28
- this.messageSender = messageSender;
29
- this.messageReceiver = messageReceiver;
30
26
  this.featureRegistry = featureRegistry;
31
27
  this.config = config;
32
28
  this.connections = this.agentContext.resolve(require_DidCommConnectionsApi.DidCommConnectionsApi);
@@ -40,22 +36,23 @@ let DidCommApi = class DidCommApi$1 {
40
36
  this.mediationRecipient = this.apiOrUndefined(this.config.enabledModules.mediationRecipient, require_DidCommMediationRecipientApi.DidCommMediationRecipientApi);
41
37
  }
42
38
  registerInboundTransport(inboundTransport) {
43
- this.messageReceiver.registerInboundTransport(inboundTransport);
39
+ this.config.inboundTransports.push(inboundTransport);
44
40
  }
45
41
  async unregisterInboundTransport(inboundTransport) {
46
- await this.messageReceiver.unregisterInboundTransport(inboundTransport);
42
+ this.config.inboundTransports = this.config.inboundTransports.filter((transport) => transport !== inboundTransport);
43
+ await inboundTransport.stop();
47
44
  }
48
45
  get inboundTransports() {
49
- return this.messageReceiver.inboundTransports;
46
+ return this.config.inboundTransports;
50
47
  }
51
48
  registerOutboundTransport(outboundTransport) {
52
- this.messageSender.registerOutboundTransport(outboundTransport);
49
+ this.config.outboundTransports.push(outboundTransport);
53
50
  }
54
51
  async unregisterOutboundTransport(outboundTransport) {
55
- await this.messageSender.unregisterOutboundTransport(outboundTransport);
52
+ this.config.outboundTransports = this.config.outboundTransports.filter((transport) => transport !== outboundTransport);
56
53
  }
57
54
  get outboundTransports() {
58
- return this.messageSender.outboundTransports;
55
+ return this.config.outboundTransports;
59
56
  }
60
57
  /**
61
58
  * Agent's feature registry
@@ -89,10 +86,8 @@ let DidCommApi = class DidCommApi$1 {
89
86
  DidCommApi = require_decorate.__decorate([(0, __credo_ts_core.injectable)(), require_decorateMetadata.__decorateMetadata("design:paramtypes", [
90
87
  typeof (_ref = typeof __credo_ts_core.AgentContext !== "undefined" && __credo_ts_core.AgentContext) === "function" ? _ref : Object,
91
88
  typeof (_ref2 = typeof require_DidCommMessageHandlerRegistry.DidCommMessageHandlerRegistry !== "undefined" && require_DidCommMessageHandlerRegistry.DidCommMessageHandlerRegistry) === "function" ? _ref2 : Object,
92
- typeof (_ref3 = typeof require_DidCommMessageSender.DidCommMessageSender !== "undefined" && require_DidCommMessageSender.DidCommMessageSender) === "function" ? _ref3 : Object,
93
- typeof (_ref4 = typeof require_DidCommMessageReceiver.DidCommMessageReceiver !== "undefined" && require_DidCommMessageReceiver.DidCommMessageReceiver) === "function" ? _ref4 : Object,
94
- typeof (_ref5 = typeof require_DidCommFeatureRegistry.DidCommFeatureRegistry !== "undefined" && require_DidCommFeatureRegistry.DidCommFeatureRegistry) === "function" ? _ref5 : Object,
95
- typeof (_ref6 = typeof require_DidCommModuleConfig.DidCommModuleConfig !== "undefined" && require_DidCommModuleConfig.DidCommModuleConfig) === "function" ? _ref6 : Object
89
+ typeof (_ref3 = typeof require_DidCommFeatureRegistry.DidCommFeatureRegistry !== "undefined" && require_DidCommFeatureRegistry.DidCommFeatureRegistry) === "function" ? _ref3 : Object,
90
+ typeof (_ref4 = typeof require_DidCommModuleConfig.DidCommModuleConfig !== "undefined" && require_DidCommModuleConfig.DidCommModuleConfig) === "function" ? _ref4 : Object
96
91
  ])], DidCommApi);
97
92
 
98
93
  //#endregion
@@ -1,30 +1,26 @@
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 { DidCommModuleConfig } from "./DidCommModuleConfig.mjs";
4
- import { DidCommMessageSender } from "./DidCommMessageSender.mjs";
5
- import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.mjs";
6
2
  import { DidCommFeatureRegistry } from "./DidCommFeatureRegistry.mjs";
7
3
  import { DidCommMessageHandlerRegistry } from "./DidCommMessageHandlerRegistry.mjs";
4
+ import { __decorateMetadata } from "./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
5
+ import { DidCommModuleConfig } from "./DidCommModuleConfig.mjs";
6
+ import { DidCommConnectionsApi } from "./modules/connections/DidCommConnectionsApi.mjs";
8
7
  import { DidCommBasicMessagesApi } from "./modules/basic-messages/DidCommBasicMessagesApi.mjs";
9
8
  import { DidCommOutOfBandApi } from "./modules/oob/DidCommOutOfBandApi.mjs";
10
- import { DidCommMessagePickupApi } from "./modules/message-pickup/DidCommMessagePickupApi.mjs";
11
- import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.mjs";
12
9
  import { DidCommDiscoverFeaturesApi } from "./modules/discover-features/DidCommDiscoverFeaturesApi.mjs";
10
+ import { DidCommMessagePickupApi } from "./modules/message-pickup/DidCommMessagePickupApi.mjs";
13
11
  import { DidCommMediationRecipientApi } from "./modules/routing/DidCommMediationRecipientApi.mjs";
12
+ import { DidCommMediatorApi } from "./modules/routing/DidCommMediatorApi.mjs";
14
13
  import { DidCommCredentialsApi } from "./modules/credentials/DidCommCredentialsApi.mjs";
15
14
  import { DidCommProofsApi } from "./modules/proofs/DidCommProofsApi.mjs";
16
15
  import "./modules/index.mjs";
17
- import { DidCommMessageReceiver } from "./DidCommMessageReceiver.mjs";
18
16
  import { AgentContext, injectable } from "@credo-ts/core";
19
17
 
20
18
  //#region src/DidCommApi.ts
21
- var _ref, _ref2, _ref3, _ref4, _ref5, _ref6;
19
+ var _ref, _ref2, _ref3, _ref4;
22
20
  let DidCommApi = class DidCommApi$1 {
23
- constructor(agentContext, messageHandlerRegistry, messageSender, messageReceiver, featureRegistry, config) {
21
+ constructor(agentContext, messageHandlerRegistry, featureRegistry, config) {
24
22
  this.agentContext = agentContext;
25
23
  this.messageHandlerRegistry = messageHandlerRegistry;
26
- this.messageSender = messageSender;
27
- this.messageReceiver = messageReceiver;
28
24
  this.featureRegistry = featureRegistry;
29
25
  this.config = config;
30
26
  this.connections = this.agentContext.resolve(DidCommConnectionsApi);
@@ -38,22 +34,23 @@ let DidCommApi = class DidCommApi$1 {
38
34
  this.mediationRecipient = this.apiOrUndefined(this.config.enabledModules.mediationRecipient, DidCommMediationRecipientApi);
39
35
  }
40
36
  registerInboundTransport(inboundTransport) {
41
- this.messageReceiver.registerInboundTransport(inboundTransport);
37
+ this.config.inboundTransports.push(inboundTransport);
42
38
  }
43
39
  async unregisterInboundTransport(inboundTransport) {
44
- await this.messageReceiver.unregisterInboundTransport(inboundTransport);
40
+ this.config.inboundTransports = this.config.inboundTransports.filter((transport) => transport !== inboundTransport);
41
+ await inboundTransport.stop();
45
42
  }
46
43
  get inboundTransports() {
47
- return this.messageReceiver.inboundTransports;
44
+ return this.config.inboundTransports;
48
45
  }
49
46
  registerOutboundTransport(outboundTransport) {
50
- this.messageSender.registerOutboundTransport(outboundTransport);
47
+ this.config.outboundTransports.push(outboundTransport);
51
48
  }
52
49
  async unregisterOutboundTransport(outboundTransport) {
53
- await this.messageSender.unregisterOutboundTransport(outboundTransport);
50
+ this.config.outboundTransports = this.config.outboundTransports.filter((transport) => transport !== outboundTransport);
54
51
  }
55
52
  get outboundTransports() {
56
- return this.messageSender.outboundTransports;
53
+ return this.config.outboundTransports;
57
54
  }
58
55
  /**
59
56
  * Agent's feature registry
@@ -87,10 +84,8 @@ let DidCommApi = class DidCommApi$1 {
87
84
  DidCommApi = __decorate([injectable(), __decorateMetadata("design:paramtypes", [
88
85
  typeof (_ref = typeof AgentContext !== "undefined" && AgentContext) === "function" ? _ref : Object,
89
86
  typeof (_ref2 = typeof DidCommMessageHandlerRegistry !== "undefined" && DidCommMessageHandlerRegistry) === "function" ? _ref2 : Object,
90
- typeof (_ref3 = typeof DidCommMessageSender !== "undefined" && DidCommMessageSender) === "function" ? _ref3 : Object,
91
- typeof (_ref4 = typeof DidCommMessageReceiver !== "undefined" && DidCommMessageReceiver) === "function" ? _ref4 : Object,
92
- typeof (_ref5 = typeof DidCommFeatureRegistry !== "undefined" && DidCommFeatureRegistry) === "function" ? _ref5 : Object,
93
- typeof (_ref6 = typeof DidCommModuleConfig !== "undefined" && DidCommModuleConfig) === "function" ? _ref6 : Object
87
+ typeof (_ref3 = typeof DidCommFeatureRegistry !== "undefined" && DidCommFeatureRegistry) === "function" ? _ref3 : Object,
88
+ typeof (_ref4 = typeof DidCommModuleConfig !== "undefined" && DidCommModuleConfig) === "function" ? _ref4 : Object
94
89
  ])], DidCommApi);
95
90
 
96
91
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"DidCommApi.mjs","names":["DidCommApi","agentContext: AgentContext","messageHandlerRegistry: DidCommMessageHandlerRegistry","messageSender: DidCommMessageSender","messageReceiver: DidCommMessageReceiver","featureRegistry: DidCommFeatureRegistry","config: DidCommModuleConfig"],"sources":["../src/DidCommApi.ts"],"sourcesContent":["import type { DidCommMessageHandler, DidCommMessageHandlerMiddleware } from './handlers'\nimport type { DidCommInboundTransport, DidCommOutboundTransport } from './transport'\n\nimport { AgentContext, type InjectionToken, injectable } from '@credo-ts/core'\n\nimport { DidCommFeatureRegistry } from './DidCommFeatureRegistry'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommMessageReceiver } from './DidCommMessageReceiver'\nimport { DidCommMessageSender } from './DidCommMessageSender'\nimport { DidCommModuleConfig, type DidCommModuleConfigOptions } from './DidCommModuleConfig'\nimport {\n type DefaultDidCommMessagePickupProtocols,\n type DefaultDidCommProofProtocols,\n DidCommBasicMessagesApi,\n DidCommConnectionsApi,\n type DidCommCredentialProtocol,\n DidCommDiscoverFeaturesApi,\n DidCommMessagePickupApi,\n type DidCommMessagePickupModuleConfigOptions,\n type DidCommMessagePickupProtocol,\n DidCommOutOfBandApi,\n type DidCommProofProtocol,\n DidCommProofsApi,\n type DidCommProofsModuleConfigOptions,\n} from './modules'\nimport { DidCommCredentialsApi } from './modules/credentials/DidCommCredentialsApi'\nimport type { DefaultDidCommCredentialProtocols } from './modules/credentials/DidCommCredentialsModule'\nimport type { DidCommCredentialsModuleConfigOptions } from './modules/credentials/DidCommCredentialsModuleConfig'\nimport { DidCommMediationRecipientApi } from './modules/routing/DidCommMediationRecipientApi'\nimport { DidCommMediatorApi } from './modules/routing/DidCommMediatorApi'\n\ntype ApiOrUndefined<Config, Api> = Config extends false ? never : Api\n\n@injectable()\nexport class DidCommApi<Options extends DidCommModuleConfigOptions> {\n public connections = this.agentContext.resolve(DidCommConnectionsApi)\n public oob = this.agentContext.resolve(DidCommOutOfBandApi)\n public discovery = this.agentContext.resolve(DidCommDiscoverFeaturesApi)\n public proofs: ApiOrUndefined<\n Options['proofs'],\n DidCommProofsApi<\n Options['proofs'] extends DidCommProofsModuleConfigOptions<DidCommProofProtocol[]>\n ? Options['proofs']['proofProtocols']\n : DefaultDidCommProofProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.proofs, DidCommProofsApi)\n\n public credentials: ApiOrUndefined<\n Options['credentials'],\n DidCommCredentialsApi<\n Options['credentials'] extends DidCommCredentialsModuleConfigOptions<DidCommCredentialProtocol[]>\n ? Options['credentials']['credentialProtocols']\n : DefaultDidCommCredentialProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.credentials, DidCommCredentialsApi)\n\n public messagePickup: ApiOrUndefined<\n Options['messagePickup'],\n DidCommMessagePickupApi<\n Options['messagePickup'] extends DidCommMessagePickupModuleConfigOptions<DidCommMessagePickupProtocol[]>\n ? Options['messagePickup']['protocols']\n : DefaultDidCommMessagePickupProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.messagePickup, DidCommMessagePickupApi)\n\n public basicMessages: ApiOrUndefined<Options['basicMessages'], DidCommBasicMessagesApi> = this.apiOrUndefined(\n this.config.enabledModules.basicMessages,\n DidCommBasicMessagesApi\n )\n\n public mediator: ApiOrUndefined<Options['mediator'], DidCommMediatorApi> = this.apiOrUndefined(\n this.config.enabledModules.mediator,\n DidCommMediatorApi\n )\n\n public mediationRecipient: ApiOrUndefined<Options['mediationRecipient'], DidCommMediationRecipientApi> =\n this.apiOrUndefined(this.config.enabledModules.mediationRecipient, DidCommMediationRecipientApi)\n\n public constructor(\n public agentContext: AgentContext,\n private messageHandlerRegistry: DidCommMessageHandlerRegistry,\n private messageSender: DidCommMessageSender,\n private messageReceiver: DidCommMessageReceiver,\n private featureRegistry: DidCommFeatureRegistry,\n public config: DidCommModuleConfig\n ) {}\n\n public registerInboundTransport(inboundTransport: DidCommInboundTransport) {\n this.messageReceiver.registerInboundTransport(inboundTransport)\n }\n\n public async unregisterInboundTransport(inboundTransport: DidCommInboundTransport) {\n await this.messageReceiver.unregisterInboundTransport(inboundTransport)\n }\n\n public get inboundTransports() {\n return this.messageReceiver.inboundTransports\n }\n\n public registerOutboundTransport(outboundTransport: DidCommOutboundTransport) {\n this.messageSender.registerOutboundTransport(outboundTransport)\n }\n\n public async unregisterOutboundTransport(outboundTransport: DidCommOutboundTransport) {\n await this.messageSender.unregisterOutboundTransport(outboundTransport)\n }\n\n public get outboundTransports() {\n return this.messageSender.outboundTransports\n }\n\n /**\n * Agent's feature registry\n */\n public registerMessageHandlers(messageHandlers: DidCommMessageHandler[]) {\n for (const messageHandler of messageHandlers) {\n this.messageHandlerRegistry.registerMessageHandler(messageHandler)\n }\n }\n\n public registerMessageHandlerMiddleware(messageHandlerMiddleware: DidCommMessageHandlerMiddleware) {\n this.messageHandlerRegistry.registerMessageHandlerMiddleware(messageHandlerMiddleware)\n }\n\n public get fallbackMessageHandler() {\n return this.messageHandlerRegistry.fallbackMessageHandler\n }\n\n public get messageHandlerMiddlewares() {\n return this.messageHandlerRegistry.messageHandlerMiddlewares\n }\n\n /**\n * Sets the fallback message handler, the message handler that will be called if no handler\n * is registered for an incoming message type.\n */\n public setFallbackMessageHandler(fallbackMessageHandler: DidCommMessageHandler['handle']) {\n this.messageHandlerRegistry.setFallbackMessageHandler(fallbackMessageHandler)\n }\n\n public get features() {\n return this.featureRegistry\n }\n\n private apiOrUndefined(isEnabled: boolean, apiClass: InjectionToken) {\n if (isEnabled) {\n return this.agentContext.resolve(apiClass)\n }\n\n return undefined\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkCO,uBAAMA,aAAuD;CA4ClE,AAAO,YACL,AAAOC,cACP,AAAQC,wBACR,AAAQC,eACR,AAAQC,iBACR,AAAQC,iBACR,AAAOC,QACP;EANO;EACC;EACA;EACA;EACA;EACD;OAjDF,cAAc,KAAK,aAAa,QAAQ,sBAAsB;OAC9D,MAAM,KAAK,aAAa,QAAQ,oBAAoB;OACpD,YAAY,KAAK,aAAa,QAAQ,2BAA2B;OAC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i.mjs","names":["DidCommApi","agentContext: AgentContext","messageHandlerRegistry: DidCommMessageHandlerRegistry","featureRegistry: DidCommFeatureRegistry","config: DidCommModuleConfig"],"sources":["../src/DidCommApi.ts"],"sourcesContent":["import { AgentContext, type InjectionToken, injectable } from '@credo-ts/core'\nimport { DidCommFeatureRegistry } from './DidCommFeatureRegistry'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommModuleConfig, type DidCommModuleConfigOptions } from './DidCommModuleConfig'\nimport type { DidCommMessageHandler, DidCommMessageHandlerMiddleware } from './handlers'\nimport {\n type DefaultDidCommMessagePickupProtocols,\n type DefaultDidCommProofProtocols,\n DidCommBasicMessagesApi,\n DidCommConnectionsApi,\n type DidCommCredentialProtocol,\n DidCommDiscoverFeaturesApi,\n DidCommMessagePickupApi,\n type DidCommMessagePickupModuleConfigOptions,\n type DidCommMessagePickupProtocol,\n DidCommOutOfBandApi,\n type DidCommProofProtocol,\n DidCommProofsApi,\n type DidCommProofsModuleConfigOptions,\n} from './modules'\nimport { DidCommCredentialsApi } from './modules/credentials/DidCommCredentialsApi'\nimport type { DefaultDidCommCredentialProtocols } from './modules/credentials/DidCommCredentialsModule'\nimport type { DidCommCredentialsModuleConfigOptions } from './modules/credentials/DidCommCredentialsModuleConfig'\nimport { DidCommMediationRecipientApi } from './modules/routing/DidCommMediationRecipientApi'\nimport { DidCommMediatorApi } from './modules/routing/DidCommMediatorApi'\nimport type { DidCommInboundTransport, DidCommOutboundTransport } from './transport'\n\ntype ApiOrUndefined<Config, Api> = Config extends false ? never : Api\n\n@injectable()\nexport class DidCommApi<Options extends DidCommModuleConfigOptions> {\n public connections = this.agentContext.resolve(DidCommConnectionsApi)\n public oob = this.agentContext.resolve(DidCommOutOfBandApi)\n public discovery = this.agentContext.resolve(DidCommDiscoverFeaturesApi)\n public proofs: ApiOrUndefined<\n Options['proofs'],\n DidCommProofsApi<\n Options['proofs'] extends DidCommProofsModuleConfigOptions<DidCommProofProtocol[]>\n ? Options['proofs']['proofProtocols']\n : DefaultDidCommProofProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.proofs, DidCommProofsApi)\n\n public credentials: ApiOrUndefined<\n Options['credentials'],\n DidCommCredentialsApi<\n Options['credentials'] extends DidCommCredentialsModuleConfigOptions<DidCommCredentialProtocol[]>\n ? Options['credentials']['credentialProtocols']\n : DefaultDidCommCredentialProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.credentials, DidCommCredentialsApi)\n\n public messagePickup: ApiOrUndefined<\n Options['messagePickup'],\n DidCommMessagePickupApi<\n Options['messagePickup'] extends DidCommMessagePickupModuleConfigOptions<DidCommMessagePickupProtocol[]>\n ? Options['messagePickup']['protocols']\n : DefaultDidCommMessagePickupProtocols\n >\n > = this.apiOrUndefined(this.config.enabledModules.messagePickup, DidCommMessagePickupApi)\n\n public basicMessages: ApiOrUndefined<Options['basicMessages'], DidCommBasicMessagesApi> = this.apiOrUndefined(\n this.config.enabledModules.basicMessages,\n DidCommBasicMessagesApi\n )\n\n public mediator: ApiOrUndefined<Options['mediator'], DidCommMediatorApi> = this.apiOrUndefined(\n this.config.enabledModules.mediator,\n DidCommMediatorApi\n )\n\n public mediationRecipient: ApiOrUndefined<Options['mediationRecipient'], DidCommMediationRecipientApi> =\n this.apiOrUndefined(this.config.enabledModules.mediationRecipient, DidCommMediationRecipientApi)\n\n public constructor(\n public agentContext: AgentContext,\n private messageHandlerRegistry: DidCommMessageHandlerRegistry,\n private featureRegistry: DidCommFeatureRegistry,\n public config: DidCommModuleConfig\n ) {}\n\n public registerInboundTransport(inboundTransport: DidCommInboundTransport) {\n this.config.inboundTransports.push(inboundTransport)\n }\n\n public async unregisterInboundTransport(inboundTransport: DidCommInboundTransport) {\n this.config.inboundTransports = this.config.inboundTransports.filter((transport) => transport !== inboundTransport)\n await inboundTransport.stop()\n }\n\n public get inboundTransports() {\n return this.config.inboundTransports\n }\n\n public registerOutboundTransport(outboundTransport: DidCommOutboundTransport) {\n this.config.outboundTransports.push(outboundTransport)\n }\n\n public async unregisterOutboundTransport(outboundTransport: DidCommOutboundTransport) {\n this.config.outboundTransports = this.config.outboundTransports.filter(\n (transport) => transport !== outboundTransport\n )\n }\n\n public get outboundTransports() {\n return this.config.outboundTransports\n }\n\n /**\n * Agent's feature registry\n */\n public registerMessageHandlers(messageHandlers: DidCommMessageHandler[]) {\n for (const messageHandler of messageHandlers) {\n this.messageHandlerRegistry.registerMessageHandler(messageHandler)\n }\n }\n\n public registerMessageHandlerMiddleware(messageHandlerMiddleware: DidCommMessageHandlerMiddleware) {\n this.messageHandlerRegistry.registerMessageHandlerMiddleware(messageHandlerMiddleware)\n }\n\n public get fallbackMessageHandler() {\n return this.messageHandlerRegistry.fallbackMessageHandler\n }\n\n public get messageHandlerMiddlewares() {\n return this.messageHandlerRegistry.messageHandlerMiddlewares\n }\n\n /**\n * Sets the fallback message handler, the message handler that will be called if no handler\n * is registered for an incoming message type.\n */\n public setFallbackMessageHandler(fallbackMessageHandler: DidCommMessageHandler['handle']) {\n this.messageHandlerRegistry.setFallbackMessageHandler(fallbackMessageHandler)\n }\n\n public get features() {\n return this.featureRegistry\n }\n\n private apiOrUndefined(isEnabled: boolean, apiClass: InjectionToken) {\n if (isEnabled) {\n return this.agentContext.resolve(apiClass)\n }\n\n return undefined\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA8BO,uBAAMA,aAAuD;CA4ClE,AAAO,YACL,AAAOC,cACP,AAAQC,wBACR,AAAQC,iBACR,AAAOC,QACP;EAJO;EACC;EACA;EACD;OA/CF,cAAc,KAAK,aAAa,QAAQ,sBAAsB;OAC9D,MAAM,KAAK,aAAa,QAAQ,oBAAoB;OACpD,YAAY,KAAK,aAAa,QAAQ,2BAA2B;OACjE,SAOH,KAAK,eAAe,KAAK,OAAO,eAAe,QAAQ,iBAAiB;OAErE,cAOH,KAAK,eAAe,KAAK,OAAO,eAAe,aAAa,sBAAsB;OAE/E,gBAOH,KAAK,eAAe,K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ommDispatcher.ts"],"sourcesContent":[],"mappings":";;;;;;cAkBa,iBAAA;;EAAA,QAAA,aAAiB;EAAA,QAAA,YAAA;UAOX,MAAA;aACD,CAAA,aAAA,EADC,oBACD,EAAA,YAAA,EAAA,YAAA,EAAA,sBAAA,EACU,6BADV,EAAA,MAAA,EAE2B,MAF3B;UACU,wBAAA;UACiB,CAAA,cAAA,EAqCL,4BArCK,CAAA,EAqC0B,OArC1B,CAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"DidCommDispatcher.d.mts","names":[],"sources":["../src/DidCommDispatcher.ts"],"sourcesContent":[],"mappings":";;;;;;cAgBa,iBAAA;;EAAA,QAAA,aAAiB;EAAA,QAAA,YAAA;UAOX,MAAA;aACD,CAAA,aAAA,EADC,oBACD,EAAA,YAAA,EAAA,YAAA,EAAA,sBAAA,EACU,6BADV,EAAA,MAAA,EAE2B,MAF3B;UACU,wBAAA;UACiB,CAAA,cAAA,EAqCL,4BArCK,CAAA,EAqC0B,OArC1B,CAAA,IAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DidCommDispatcher.d.ts","names":[],"sources":["../src/DidCommDispatcher.ts"],"sourcesContent":[],"mappings":";;;;;;cAkBa,iBAAA;;EAAA,QAAA,aAAiB;EAAA,QAAA,YAAA;UAOX,MAAA;aACD,CAAA,aAAA,EADC,oBACD,EAAA,YAAA,EAAA,YAAA,EAAA,sBAAA,EACU,6BADV,EAAA,MAAA,EAE2B,MAF3B;UACU,wBAAA;UACiB,CAAA,cAAA,EAqCL,4BArCK,CAAA,EAqC0B,OArC1B,CAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"DidCommDispatcher.d.ts","names":[],"sources":["../src/DidCommDispatcher.ts"],"sourcesContent":[],"mappings":";;;;;;cAgBa,iBAAA;;EAAA,QAAA,aAAiB;EAAA,QAAA,YAAA;UAOX,MAAA;aACD,CAAA,aAAA,EADC,oBACD,EAAA,YAAA,EAAA,YAAA,EAAA,sBAAA,EACU,6BADV,EAAA,MAAA,EAE2B,MAF3B;UACU,wBAAA;UACiB,CAAA,cAAA,EAqCL,4BArCK,CAAA,EAqC0B,OArC1B,CAAA,IAAA,CAAA"}
@@ -1,19 +1,19 @@
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_DidCommMessageHandlerRegistry = require('./DidCommMessageHandlerRegistry.js');
5
+ const require_DidCommEvents = require('./DidCommEvents.js');
6
+ const require_decorateMetadata = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
7
+ const require_decorateParam = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.js');
5
8
  const require_DidCommProblemReportMessage = require('./messages/problem-reports/DidCommProblemReportMessage.js');
6
9
  const require_DidCommProblemReportError = require('./errors/problem-reports/DidCommProblemReportError.js');
7
10
  require('./errors/problem-reports/index.js');
8
- const require_DidCommMessageHandlerMiddleware = require('./handlers/DidCommMessageHandlerMiddleware.js');
9
- require('./messages/index.js');
10
- const require_DidCommProblemReportReason = require('./models/problem-reports/DidCommProblemReportReason.js');
11
11
  const require_DidCommOutboundMessageContext = require('./models/DidCommOutboundMessageContext.js');
12
+ const require_DidCommProblemReportReason = require('./models/problem-reports/DidCommProblemReportReason.js');
12
13
  require('./models/index.js');
13
- const require_DidCommEvents = require('./DidCommEvents.js');
14
- const require_decorateParam = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.js');
15
14
  const require_DidCommMessageSender = require('./DidCommMessageSender.js');
16
- const require_DidCommMessageHandlerRegistry = require('./DidCommMessageHandlerRegistry.js');
15
+ require('./messages/index.js');
16
+ const require_DidCommMessageHandlerMiddleware = require('./handlers/DidCommMessageHandlerMiddleware.js');
17
17
  let __credo_ts_core = require("@credo-ts/core");
18
18
  __credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
19
19
 
@@ -1,18 +1,18 @@
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 { canHandleMessageType, parseMessageType } from "./util/messageType.mjs";
3
+ import { DidCommMessageHandlerRegistry } from "./DidCommMessageHandlerRegistry.mjs";
4
+ import { DidCommEventTypes } from "./DidCommEvents.mjs";
5
+ import { __decorateMetadata } from "./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
6
+ import { __decorateParam } from "./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.mjs";
4
7
  import { DidCommProblemReportMessage } from "./messages/problem-reports/DidCommProblemReportMessage.mjs";
5
8
  import { DidCommProblemReportError } from "./errors/problem-reports/DidCommProblemReportError.mjs";
6
9
  import "./errors/problem-reports/index.mjs";
7
- import { DidCommMessageHandlerMiddlewareRunner } from "./handlers/DidCommMessageHandlerMiddleware.mjs";
8
- import "./messages/index.mjs";
9
- import { DidCommProblemReportReason } from "./models/problem-reports/DidCommProblemReportReason.mjs";
10
10
  import { DidCommOutboundMessageContext } from "./models/DidCommOutboundMessageContext.mjs";
11
+ import { DidCommProblemReportReason } from "./models/problem-reports/DidCommProblemReportReason.mjs";
11
12
  import "./models/index.mjs";
12
- import { DidCommEventTypes } from "./DidCommEvents.mjs";
13
- import { __decorateParam } from "./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.mjs";
14
13
  import { DidCommMessageSender } from "./DidCommMessageSender.mjs";
15
- import { DidCommMessageHandlerRegistry } from "./DidCommMessageHandlerRegistry.mjs";
14
+ import "./messages/index.mjs";
15
+ import { DidCommMessageHandlerMiddlewareRunner } from "./handlers/DidCommMessageHandlerMiddleware.mjs";
16
16
  import { CredoError, EventEmitter, InjectionSymbols, inject, injectable } from "@credo-ts/core";
17
17
 
18
18
  //#region src/DidCommDispatcher.ts
@@ -1 +1 @@
1
- {"version":3,"file":"DidCommDispatcher.mjs","names":["DidCommDispatcher","logger: Logger","outboundMessage: DidCommOutboundMessageContext<DidCommMessage> | undefined"],"sources":["../src/DidCommDispatcher.ts"],"sourcesContent":["import type { DidCommMessageProcessedEvent } from './DidCommEvents'\nimport type { DidCommMessage } from './DidCommMessage'\nimport type { DidCommMessageHandlerMiddleware } from './handlers/DidCommMessageHandlerMiddleware'\nimport type { DidCommInboundMessageContext } from './models/DidCommInboundMessageContext'\n\nimport { CredoError, EventEmitter, InjectionSymbols, type Logger, inject, injectable } from '@credo-ts/core'\n\nimport { DidCommEventTypes } from './DidCommEvents'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommMessageSender } from './DidCommMessageSender'\nimport { DidCommProblemReportError } from './errors/problem-reports'\nimport { DidCommMessageHandlerMiddlewareRunner } from './handlers'\nimport { DidCommProblemReportMessage } from './messages'\nimport { DidCommOutboundMessageContext } from './models'\nimport { DidCommProblemReportReason } from './models/problem-reports'\nimport { canHandleMessageType, parseMessageType } from './util/messageType'\n\n@injectable()\nexport class DidCommDispatcher {\n private messageHandlerRegistry: DidCommMessageHandlerRegistry\n private messageSender: DidCommMessageSender\n private eventEmitter: EventEmitter\n private logger: Logger\n\n public constructor(\n messageSender: DidCommMessageSender,\n eventEmitter: EventEmitter,\n messageHandlerRegistry: DidCommMessageHandlerRegistry,\n @inject(InjectionSymbols.Logger) logger: Logger\n ) {\n this.messageSender = messageSender\n this.eventEmitter = eventEmitter\n this.messageHandlerRegistry = messageHandlerRegistry\n this.logger = logger\n }\n\n private defaultHandlerMiddleware: DidCommMessageHandlerMiddleware = async (inboundMessageContext, next) => {\n let messageHandler = inboundMessageContext.messageHandler\n\n const fallbackMessageHandler =\n inboundMessageContext.agentContext.dependencyManager.resolve(DidCommMessageHandlerRegistry).fallbackMessageHandler\n if (!messageHandler && fallbackMessageHandler) {\n messageHandler = {\n supportedMessages: [],\n handle: fallbackMessageHandler,\n }\n }\n\n if (!messageHandler) {\n throw new DidCommProblemReportError(\n `Error handling message ${inboundMessageContext.message.id} with type ${inboundMessageContext.message.type}. The message type is not supported`,\n {\n problemCode: DidCommProblemReportReason.MessageParseFailure,\n }\n )\n }\n\n const outboundMessage = await messageHandler.handle(inboundMessageContext)\n if (outboundMessage) {\n inboundMessageContext.setResponseMessage(outboundMessage)\n }\n\n await next()\n }\n\n public async dispatch(messageContext: DidCommInboundMessageContext): Promise<void> {\n const { agentContext, connection, senderKey, recipientKey, message, encryptedMessage } = messageContext\n\n // Set default handler if available, middleware can still override the message handler\n const messageHandler = this.messageHandlerRegistry.getHandlerForMessageType(message.type)\n if (messageHandler) {\n messageContext.setMessageHandler(messageHandler)\n }\n\n let outboundMessage: DidCommOutboundMessageContext<DidCommMessage> | undefined\n\n try {\n const messageHandlerMiddlewares =\n agentContext.dependencyManager.resolve(DidCommMessageHandlerRegistry).messageHandlerMiddlewares\n const middlewares = [...messageHandlerMiddlewares, this.defaultHandlerMiddleware]\n await DidCommMessageHandlerMiddlewareRunner.run(middlewares, messageContext)\n\n outboundMessage = messageContext.responseMessage\n } catch (error) {\n const problemReportMessage = error.problemReport\n\n if (problemReportMessage instanceof DidCommProblemReportMessage && messageContext.connection) {\n const messageType = parseMessageType(messageContext.message.type)\n if (canHandleMessageType(DidCommProblemReportMessage, messageType)) {\n throw new CredoError(`Not sending problem report in response to problem report: ${message}`)\n }\n\n const { protocolUri: problemReportProtocolUri } = parseMessageType(problemReportMessage.type)\n const { protocolUri: inboundProtocolUri } = parseMessageType(messageContext.message.type)\n\n // If the inbound protocol uri is the same as the problem report protocol uri, we can see the interaction as the same thread\n // However if it is no the same we should see it as a new thread, where the inbound message `@id` is the parentThreadId\n if (inboundProtocolUri === problemReportProtocolUri) {\n problemReportMessage.setThread({\n threadId: message.threadId,\n })\n } else {\n problemReportMessage.setThread({\n parentThreadId: message.id,\n })\n }\n\n outboundMessage = new DidCommOutboundMessageContext(problemReportMessage, {\n agentContext,\n connection: messageContext.connection,\n inboundMessageContext: messageContext,\n })\n } else {\n this.logger.error(`Error handling message with type ${message.type}`, {\n message: message.toJSON(),\n error,\n senderKey: senderKey?.fingerprint,\n recipientKey: recipientKey?.fingerprint,\n connectionId: connection?.id,\n })\n\n throw error\n }\n }\n\n if (outboundMessage) {\n // set the inbound message context, if not already defined\n if (!outboundMessage.inboundMessageContext) {\n outboundMessage.inboundMessageContext = messageContext\n }\n\n await this.messageSender.sendMessage(outboundMessage)\n }\n\n // Emit event that allows to hook into received messages\n this.eventEmitter.emit<DidCommMessageProcessedEvent>(agentContext, {\n type: DidCommEventTypes.DidCommMessageProcessed,\n payload: {\n message,\n connection,\n receivedAt: messageContext.receivedAt,\n encryptedMessage,\n },\n })\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBO,8BAAMA,oBAAkB;CAM7B,AAAO,YACL,eACA,cACA,wBACA,AAAiCC,QACjC;OAOM,2BAA4D,OAAO,uBAAuB,SAAS;GACzG,IAAI,iBAAiB,sBAAsB;GAE3C,MAAM,yBACJ,sBAAsB,aAAa,kBAAkB,QAAQ,8BAA8B,CAAC;AAC9F,OAAI,CAAC,kBAAkB,uBACrB,kBAAiB;IACf,mBAAmB,EAAE;IACrB,QAAQ;IACT;AAGH,OAAI,CAAC,eACH,OAAM,IAAI,0BACR,0BAA0B,sBAAsB,QAAQ,GAAG,aAAa,sBAAsB,QAAQ,KAAK,sCAC3G,EACE,aAAa,2BAA2B,qBACzC,CACF;GAGH,MAAM,kBAAkB,MAAM,eAAe,OAAO,sBAAsB;AAC1E,OAAI,gBACF,uBAAsB,mBAAmB,gBAAgB;AAG3D,SAAM,MAAM;;AAhCZ,OAAK,gBAAgB;AACrB,OAAK,eAAe;AACpB,OAAK,yBAAyB;AAC9B,OAAK,SAAS;;CAgChB,MAAa,SAAS,gBAA6D;EACjF,MAAM,EAAE,cAAc,YAAY,WAAW,c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BAAiB,OAAO"}
1
+ {"version":3,"file":"DidCommDispatcher.mjs","names":["DidCommDispatcher","logger: Logger","outboundMessage: DidCommOutboundMessageContext<DidCommMessage> | undefined"],"sources":["../src/DidCommDispatcher.ts"],"sourcesContent":["import { CredoError, EventEmitter, InjectionSymbols, inject, injectable, type Logger } from '@credo-ts/core'\nimport type { DidCommMessageProcessedEvent } from './DidCommEvents'\nimport { DidCommEventTypes } from './DidCommEvents'\nimport type { DidCommMessage } from './DidCommMessage'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommMessageSender } from './DidCommMessageSender'\nimport { DidCommProblemReportError } from './errors/problem-reports'\nimport { DidCommMessageHandlerMiddlewareRunner } from './handlers'\nimport type { DidCommMessageHandlerMiddleware } from './handlers/DidCommMessageHandlerMiddleware'\nimport { DidCommProblemReportMessage } from './messages'\nimport { DidCommOutboundMessageContext } from './models'\nimport type { DidCommInboundMessageContext } from './models/DidCommInboundMessageContext'\nimport { DidCommProblemReportReason } from './models/problem-reports'\nimport { canHandleMessageType, parseMessageType } from './util/messageType'\n\n@injectable()\nexport class DidCommDispatcher {\n private messageHandlerRegistry: DidCommMessageHandlerRegistry\n private messageSender: DidCommMessageSender\n private eventEmitter: EventEmitter\n private logger: Logger\n\n public constructor(\n messageSender: DidCommMessageSender,\n eventEmitter: EventEmitter,\n messageHandlerRegistry: DidCommMessageHandlerRegistry,\n @inject(InjectionSymbols.Logger) logger: Logger\n ) {\n this.messageSender = messageSender\n this.eventEmitter = eventEmitter\n this.messageHandlerRegistry = messageHandlerRegistry\n this.logger = logger\n }\n\n private defaultHandlerMiddleware: DidCommMessageHandlerMiddleware = async (inboundMessageContext, next) => {\n let messageHandler = inboundMessageContext.messageHandler\n\n const fallbackMessageHandler =\n inboundMessageContext.agentContext.dependencyManager.resolve(DidCommMessageHandlerRegistry).fallbackMessageHandler\n if (!messageHandler && fallbackMessageHandler) {\n messageHandler = {\n supportedMessages: [],\n handle: fallbackMessageHandler,\n }\n }\n\n if (!messageHandler) {\n throw new DidCommProblemReportError(\n `Error handling message ${inboundMessageContext.message.id} with type ${inboundMessageContext.message.type}. The message type is not supported`,\n {\n problemCode: DidCommProblemReportReason.MessageParseFailure,\n }\n )\n }\n\n const outboundMessage = await messageHandler.handle(inboundMessageContext)\n if (outboundMessage) {\n inboundMessageContext.setResponseMessage(outboundMessage)\n }\n\n await next()\n }\n\n public async dispatch(messageContext: DidCommInboundMessageContext): Promise<void> {\n const { agentContext, connection, senderKey, recipientKey, message, encryptedMessage } = messageContext\n\n // Set default handler if available, middleware can still override the message handler\n const messageHandler = this.messageHandlerRegistry.getHandlerForMessageType(message.type)\n if (messageHandler) {\n messageContext.setMessageHandler(messageHandler)\n }\n\n let outboundMessage: DidCommOutboundMessageContext<DidCommMessage> | undefined\n\n try {\n const messageHandlerMiddlewares =\n agentContext.dependencyManager.resolve(DidCommMessageHandlerRegistry).messageHandlerMiddlewares\n const middlewares = [...messageHandlerMiddlewares, this.defaultHandlerMiddleware]\n await DidCommMessageHandlerMiddlewareRunner.run(middlewares, messageContext)\n\n outboundMessage = messageContext.responseMessage\n } catch (error) {\n const problemReportMessage = error.problemReport\n\n if (problemReportMessage instanceof DidCommProblemReportMessage && messageContext.connection) {\n const messageType = parseMessageType(messageContext.message.type)\n if (canHandleMessageType(DidCommProblemReportMessage, messageType)) {\n throw new CredoError(`Not sending problem report in response to problem report: ${message}`)\n }\n\n const { protocolUri: problemReportProtocolUri } = parseMessageType(problemReportMessage.type)\n const { protocolUri: inboundProtocolUri } = parseMessageType(messageContext.message.type)\n\n // If the inbound protocol uri is the same as the problem report protocol uri, we can see the interaction as the same thread\n // However if it is no the same we should see it as a new thread, where the inbound message `@id` is the parentThreadId\n if (inboundProtocolUri === problemReportProtocolUri) {\n problemReportMessage.setThread({\n threadId: message.threadId,\n })\n } else {\n problemReportMessage.setThread({\n parentThreadId: message.id,\n })\n }\n\n outboundMessage = new DidCommOutboundMessageContext(problemReportMessage, {\n agentContext,\n connection: messageContext.connection,\n inboundMessageContext: messageContext,\n })\n } else {\n this.logger.error(`Error handling message with type ${message.type}`, {\n message: message.toJSON(),\n error,\n senderKey: senderKey?.fingerprint,\n recipientKey: recipientKey?.fingerprint,\n connectionId: connection?.id,\n })\n\n throw error\n }\n }\n\n if (outboundMessage) {\n // set the inbound message context, if not already defined\n if (!outboundMessage.inboundMessageContext) {\n outboundMessage.inboundMessageContext = messageContext\n }\n\n await this.messageSender.sendMessage(outboundMessage)\n }\n\n // Emit event that allows to hook into received messages\n this.eventEmitter.emit<DidCommMessageProcessedEvent>(agentContext, {\n type: DidCommEventTypes.DidCommMessageProcessed,\n payload: {\n message,\n connection,\n receivedAt: messageContext.receivedAt,\n encryptedMessage,\n },\n })\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAgBO,8BAAMA,oBAAkB;CAM7B,AAAO,YACL,eACA,cACA,wBACA,AAAiCC,QACjC;OAOM,2BAA4D,OAAO,uBAAuB,SAAS;GACzG,IAAI,iBAAiB,sBAAsB;GAE3C,MAAM,yBACJ,sBAAsB,aAAa,kBAAkB,QAAQ,8BAA8B,CAAC;AAC9F,OAAI,CAAC,kBAAkB,uBACrB,kBAAiB;IACf,mBAAmB,EAAE;IACrB,QAAQ;IACT;AAGH,OAAI,CAAC,eACH,OAAM,IAAI,0BACR,0BAA0B,sBAAsB,QAAQ,GAAG,aAAa,sBAAsB,QAAQ,KAAK,sCAC3G,EACE,aAAa,2BAA2B,qBACzC,CACF;GAGH,MAAM,kBAAkB,MAAM,eAAe,OAAO,sBAAsB;AAC1E,OAAI,gBACF,uBAAsB,mBAAmB,gBAAgB;AAG3D,SAAM,MAAM;;AAhCZ,OAAK,gBAAgB;AACrB,OAAK,eAAe;AACpB,OAAK,yBAAyB;AAC9B,OAAK,SAAS;;CAgChB,MAAa,SAAS,gBAA6D;EACjF,MAAM,EAAE,cAAc,YAAY,WAAW,cAAc,SAAS,qBAAqB;EAGzF,MAAM,iBAAiB,KAAK,u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CommEnvelopeService.d.mts","names":[],"sources":["../src/DidCommEnvelopeService.ts"],"sourcesContent":[],"mappings":";;;;;;UAwBiB,YAAA;EAAA,aAAA,EACA,GAAA,CAAI,SADQ,CACE,GAAA,CAAI,gBADN,CAAA,EAAA;EAAA,WAAA,EAEd,GAAA,CAAI,SAFU,CAEA,GAAA,CAAI,gBAFJ,CAAA,EAAA;WACM,EAEtB,GAAA,CAAI,SAFkB,CAER,GAAA,CAAI,gBAFI,CAAA,GAAA,IAAA;;AACN,cAKhB,sBAAA,CALoB;UAAd,MAAA;UACY,sBAAA;aAAd,CAAA,MAAA,EAQ6C,MAR7C,EAAA,sBAAA,EAQ6E,sBAR7E;EAAS,QAAA,uBAAA;EAIb,QAAA,uBAAsB;EAAA,WAAA,CAAA,YAAA,EA0NjB,YA1NiB,EAAA,OAAA,EA2NtB,cA3NsB,EAAA,IAAA,EA4NzB,YA5NyB,CAAA,EA6N9B,OA7N8B,CA6NtB,uBA7NsB,CAAA;eAI2B,CAAA,YAAA,EAgQ5C,YAhQ4C,EAAA,gBAAA,EAiQxC,uBAjQwC,CAAA,EAkQzD,OAlQyD,CAkQjD,8BAlQiD,CAAA;UAAgC,+BAAA;;AAuNjF,UA+LI,8BAAA,CA/LJ;kBACH,EA+LU,uBA/LV;WACG,CAAA,EA+LC,GAAA,CAAI,SA/LL,CA+Le,GAAA,CAAI,gBA/LnB,CAAA;cAAR,EAgMW,GAAA,CAAI,SAhMf,CAgMyB,GAAA,CAAI,gBAhM7B,CAAA"}
1
+ {"version":3,"file":"DidCommEnvelopeService.d.mts","names":[],"sources":["../src/DidCommEnvelopeService.ts"],"sourcesContent":[],"mappings":";;;;;;UAuBiB,YAAA;iBACA,GAAA,CAAI,UAAU,GAAA,CAAI;EADlB,WAAA,EAEF,GAAA,CAAI,SAFU,CAEA,GAAA,CAAI,gBAFJ,CAAA,EAAA;EAAA,SAAA,EAGhB,GAAA,CAAI,SAHY,CAGF,GAAA,CAAI,gBAHF,CAAA,GAAA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CAAI,SAhMP,CAgMiB,GAAA,CAAI,gBAhMrB,CAAA"}
@@ -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');
3
+ const require_decorateMetadata = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
4
4
  const require_DidCommModuleConfig = require('./DidCommModuleConfig.js');
5
- const require_decorateParam = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.js');
6
- const require_DidCommDocumentService = require('./services/DidCommDocumentService.js');
7
5
  const require_helpers = require('./modules/connections/services/helpers.js');
8
6
  const require_DidCommOutOfBandRole = require('./modules/oob/domain/DidCommOutOfBandRole.js');
7
+ const require_decorateParam = require('./_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateParam.js');
9
8
  const require_DidCommOutOfBandRepository = require('./modules/oob/repository/DidCommOutOfBandRepository.js');
10
9
  const require_outOfBandRecordMetadataTypes = require('./modules/oob/repository/outOfBandRecordMetadataTypes.js');
11
10
  const require_DidCommForwardMessage = require('./modules/routing/messages/DidCommForwardMessage.js');
12
11
  const require_DidCommMediatorRoutingRepository = require('./modules/routing/repository/DidCommMediatorRoutingRepository.js');
12
+ const require_DidCommDocumentService = require('./services/DidCommDocumentService.js');
13
13
  let __credo_ts_core = require("@credo-ts/core");
14
14
  __credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);
15
15
 
@@ -25,7 +25,7 @@ let DidCommEnvelopeService = class DidCommEnvelopeService$1 {
25
25
  const contentEncryptionKey = kms.randomBytes({ length: 32 });
26
26
  const recipients = [];
27
27
  for (const recipientKey of recipientKeys) {
28
- let encryptedSender = void 0;
28
+ let encryptedSender;
29
29
  if (senderKey) {
30
30
  const { encrypted: encrypted$2 } = await kms.encrypt({
31
31
  key: { keyAgreement: {
@@ -94,7 +94,7 @@ let DidCommEnvelopeService = class DidCommEnvelopeService$1 {
94
94
  }
95
95
  if (!recipientKey || !recipient) throw new __credo_ts_core.CredoError("No corresponding recipient key found");
96
96
  if (alg === "Authcrypt" && (!recipient.header.sender || !recipient.header.iv)) throw new __credo_ts_core.CredoError("Sender and iv header values are required for Authcrypt");
97
- let senderPublicJwk = void 0;
97
+ let senderPublicJwk;
98
98
  if (recipient.header.sender) {
99
99
  const { data } = await kms.decrypt({
100
100
  key: { keyAgreement: {