Version Packages

This commit is contained in:
github-actions[bot]
2023-10-28 19:49:36 +00:00
parent 44795cd7cc
commit a713f17a5c
6 changed files with 45 additions and 40 deletions

View File

@@ -1,5 +0,0 @@
---
"reacord": minor
---
breaking: more descriptive component event types

View File

@@ -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.

View File

@@ -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

View File

@@ -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",

View File

@@ -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

View File

@@ -1,7 +1,7 @@
{
"type": "module",
"name": "website",
"version": "0.4.6",
"version": "0.4.7",
"private": true,
"sideEffects": false,
"scripts": {