fix: jsonrpc: typescript client: fix types of events in event emitter (#4373)

* fix: jsonrpc: typescript client: fix types of events in event emitter

* add ts ignore to remove ts error (when building in ts5)

doing the types right via casting is to complicated IMO and has no real benefit here.
This commit is contained in:
Simon Laux
2023-05-09 11:57:49 +02:00
committed by GitHub
parent e50d7724e3
commit a0c51b3c3a
2 changed files with 18 additions and 19 deletions

View File

@@ -9,10 +9,13 @@
- BREAKING: jsonrpc:
- `get_chatlist_items_by_entries` now takes only chatids instead of `ChatListEntries`
- `get_chatlist_entries` now returns `Vec<u32>` of chatids instead of `ChatListEntries`
- `Event`: `context_id` property is now called `contextId`
- JSON-RPC: add API to get reactions outside the message snapshot
### Fixes
- Make the bots automatically accept group chat contact requests. #4377
### Fixes
- jsonrpc: typescript client: fix types of events in event emitter
## [1.114.0] - 2023-04-24