mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-18 16:34:27 -04:00
[PR #123] [MERGED] fix: make ReadyData partial to match event documentation #120
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/123
Author: @amycatgirl
Created: 1/16/2026
Status: ✅ Merged
Merged: 1/16/2026
Merged by: @reeesespuffs
Base:
main← Head:fix/ready-partial📝 Commits (1)
38af805fix: make ReadyData partial to match event documentation📊 Changes
1 file changed (+141 additions, -130 deletions)
View changed files
📝
src/events/v1.ts(+141 -130)📄 Description
See: https://github.com/stoatchat/javascript-client-sdk/pull/122#issuecomment-3759902589
This should actually fix bots crashing when receiving the
Readyevent withoutpolicy_changes, it also makes theReadyDatatype (which contains the field definitions for what the event returns) partial.The reason why there are so many additions is because I ran prettier to format the file
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.