dsh-interconnect 0.11.18 → 0.11.19

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.
@@ -1057,7 +1057,8 @@ var InterconnectService = class extends Service {
1057
1057
  /**
1058
1058
  * Deliver one text message to a live session on a peer instance.
1059
1059
  * @param request - the peer instance id, target session, text, and optional delivery/resume overrides.
1060
- * @returns the peer's answer, or an unreachable result when no link answers.
1060
+ * @returns the peer's answer, an unreachable result when no link answers, or a local
1061
+ * `message-too-large` result when the encoded frame would exceed the link cap.
1061
1062
  */
1062
1063
  async send(request) {
1063
1064
  const payload = {
@@ -1080,7 +1081,9 @@ var InterconnectService = class extends Service {
1080
1081
  * outbound target is the `sender` that session recorded, addressed through
1081
1082
  * this instance's own link to the sender's instance.
1082
1083
  * @param request - the LOCAL replying session id, the reply text, and optional delivery/resume overrides.
1083
- * @returns the recalled sender's answer, or an unreachable result when no link answers.
1084
+ * @returns the recalled sender's answer, an unreachable result when no link answers, or a
1085
+ * local `message-too-large` result when the encoded frame would exceed the link cap; a
1086
+ * local session that recorded no sender answers `no-sender-known` instead.
1084
1087
  */
1085
1088
  async reply(request) {
1086
1089
  const sender = this.senders.get(request.sessionId);