@nextclaw/channel-runtime 0.1.5 → 0.1.6

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 (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -363,9 +363,8 @@ var DiscordChannel = class extends BaseChannel {
363
363
  ...attachmentIssues.length ? { attachment_issues: attachmentIssues } : {}
364
364
  }
365
365
  });
366
- } catch (err) {
366
+ } finally {
367
367
  this.stopTyping(channelId);
368
- throw err;
369
368
  }
370
369
  }
371
370
  resolveProxyAgent() {
@@ -2549,9 +2548,8 @@ Just send me a text message to chat!`;
2549
2548
  is_bot: sender.isBot,
2550
2549
  is_group: message.chat.type !== "private"
2551
2550
  });
2552
- } catch (err) {
2551
+ } finally {
2553
2552
  this.stopTyping(chatId);
2554
- throw err;
2555
2553
  }
2556
2554
  }
2557
2555
  async dispatchToBus(senderId, chatId, content, attachments, metadata) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/channel-runtime",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "description": "Runtime implementations for NextClaw builtin channel plugins.",
6
6
  "type": "module",