diff --git a/.changeset/five-wolves-destroy.md b/.changeset/five-wolves-destroy.md deleted file mode 100644 index 4490d47..0000000 --- a/.changeset/five-wolves-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"reacord": minor ---- - -breaking: more descriptive component event types diff --git a/.changeset/many-pets-melt.md b/.changeset/many-pets-melt.md deleted file mode 100644 index b8a8763..0000000 --- a/.changeset/many-pets-melt.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"reacord": minor ---- - -add new descriptive adapter methods - -The reacord instance names have been updated, and the old names are now deprecated. - -- `send` -> `createChannelMessage` -- `reply` -> `createInteractionReply` - -These new methods also accept discord JS options. Usage example: - -```ts -// can accept either a channel object or a channel ID -reacord.createChannelMessage(channel) -reacord.createChannelMessage(channel, { - tts: true, -}) -reacord.createChannelMessage(channel, { - reply: { - messageReference: "123456789012345678", - failIfNotExists: false, - }, -}) - -reacord.createInteractionReply(interaction) -reacord.createInteractionReply(interaction, { - ephemeral: true, -}) -``` - -These new methods replace the old ones, which are now deprecated. diff --git a/packages/reacord/CHANGELOG.md b/packages/reacord/CHANGELOG.md index c5c70de..2634646 100644 --- a/packages/reacord/CHANGELOG.md +++ b/packages/reacord/CHANGELOG.md @@ -1,5 +1,40 @@ # reacord +## 0.6.0 + +### Minor Changes + +- 11153df: breaking: more descriptive component event types +- fb0a997: add new descriptive adapter methods + + The reacord instance names have been updated, and the old names are now deprecated. + + - `send` -> `createChannelMessage` + - `reply` -> `createInteractionReply` + + These new methods also accept discord JS options. Usage example: + + ```ts + // can accept either a channel object or a channel ID + reacord.createChannelMessage(channel) + reacord.createChannelMessage(channel, { + tts: true, + }) + reacord.createChannelMessage(channel, { + reply: { + messageReference: "123456789012345678", + failIfNotExists: false, + }, + }) + + reacord.createInteractionReply(interaction) + reacord.createInteractionReply(interaction, { + ephemeral: true, + }) + ``` + + These new methods replace the old ones, which are now deprecated. + ## 0.5.5 ### Patch Changes diff --git a/packages/reacord/package.json b/packages/reacord/package.json index be3eb71..d3b5f8d 100644 --- a/packages/reacord/package.json +++ b/packages/reacord/package.json @@ -2,7 +2,7 @@ "name": "reacord", "type": "module", "description": "Create interactive Discord messages using React.", - "version": "0.5.5", + "version": "0.6.0", "homepage": "https://reacord.mapleleaf.dev", "repository": "https://github.com/itsMapleLeaf/reacord.git", "changelog": "https://github.com/itsMapleLeaf/reacord/releases", diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index 1d4fd7c..258d2ca 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -1,5 +1,13 @@ # website +## 0.4.7 + +### Patch Changes + +- Updated dependencies [11153df] +- Updated dependencies [fb0a997] + - reacord@0.6.0 + ## 0.4.6 ### Patch Changes diff --git a/packages/website/package.json b/packages/website/package.json index 9b01322..e58ea26 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "website", - "version": "0.4.6", + "version": "0.4.7", "private": true, "sideEffects": false, "scripts": {