@spectrum-ts/telegram 8.2.2 → 9.0.0

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 +4 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -763,7 +763,10 @@ const send = async ({ space, content, config }) => {
763
763
  case "poll_option":
764
764
  case "effect":
765
765
  case "rename":
766
- case "avatar": throw UnsupportedError.content(content.type, TELEGRAM_PLATFORM);
766
+ case "avatar":
767
+ case "addMember":
768
+ case "removeMember":
769
+ case "leaveSpace": throw UnsupportedError.content(content.type, TELEGRAM_PLATFORM);
767
770
  default: return await sendContent(client, space, content);
768
771
  }
769
772
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-ts/telegram",
3
- "version": "8.2.2",
3
+ "version": "9.0.0",
4
4
  "description": "Telegram provider for spectrum-ts.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "zod": "^4.2.1"
37
37
  },
38
38
  "peerDependencies": {
39
- "@spectrum-ts/core": "^8.0.0",
39
+ "@spectrum-ts/core": "^9.0.0",
40
40
  "typescript": "^5 || ^6.0.0"
41
41
  },
42
42
  "license": "MIT"