Skip to content

Commit

Permalink
Merge pull request #42 from itsMapleLeaf/changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMapleLeaf authored Oct 28, 2023
2 parents 44795cd + a713f17 commit a00fbc0
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 40 deletions.
5 changes: 0 additions & 5 deletions .changeset/five-wolves-destroy.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/many-pets-melt.md

This file was deleted.

35 changes: 35 additions & 0 deletions packages/reacord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/reacord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions packages/website/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# website

## 0.4.7

### Patch Changes

- Updated dependencies [11153df]
- Updated dependencies [fb0a997]
- [email protected]

## 0.4.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "website",
"version": "0.4.6",
"version": "0.4.7",
"private": true,
"sideEffects": false,
"scripts": {
Expand Down

0 comments on commit a00fbc0

Please sign in to comment.