mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-08-27 07:21:21 -04:00
[PR #114] [CLOSED] BREAKING: remove solid.js dependency and redo collection interface #116
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/114
Author: @williamhorning
Created: 3/14/2025
Status: ❌ Closed
Base:
main← Head:bye-bye-solid📝 Commits (8)
02a5413BREAKING CHANGE: remove solid.js dependency and redo collection interface78e7367remove solid.js from package.json7b3899eMerge remote-tracking branch 'upstream/main' into bye-bye-solid6738be5fix lockfilea354071quick little fixb2008e9Merge branch 'main' into bye-bye-solid1747142Merge branch 'main' into bye-bye-solidc3547dafix lockfile📊 Changes
33 files changed (+383 additions, -709 deletions)
View changed files
📝
.vscode/settings.json(+4 -1)📝
eslint.config.js(+0 -2)📝
package.json(+1 -5)📝
pnpm-lock.yaml(+9 -140)📝
src/Client.ts(+15 -24)📝
src/classes/Channel.ts(+27 -38)📝
src/classes/ChannelUnread.ts(+1 -3)📝
src/classes/ChannelWebhook.ts(+1 -1)📝
src/classes/MFA.ts(+17 -11)📝
src/classes/Message.ts(+1 -3)📝
src/classes/PublicInvite.ts(+9 -13)📝
src/classes/Server.ts(+42 -56)📝
src/classes/Session.ts(+1 -1)📝
src/classes/User.ts(+1 -1)📝
src/collections/BotCollection.ts(+4 -10)📝
src/collections/ChannelCollection.ts(+2 -5)📝
src/collections/ChannelUnreadCollection.ts(+9 -11)📝
src/collections/ChannelWebhookCollection.ts(+2 -2)📝
src/collections/Collection.ts(+87 -132)📝
src/collections/EmojiCollection.ts(+2 -2)...and 13 more files
📄 Description
this removes all of the
solid.jsdependencies from revolt.js. the majority of the consumers of the library are bots which don't need or use any of these primitives. this does break frontend, though, so don't merge this right away please🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.