nyx-bot-client 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/@types/BackgroundFillSolid.ts +1 -1
  2. package/@types/BackgroundTypePattern.ts +2 -2
  3. package/@types/BackgroundTypeWallpaper.ts +2 -2
  4. package/@types/BotAccessSettings.ts +18 -0
  5. package/@types/ChatMemberRestricted.ts +5 -0
  6. package/@types/ChatPermissions.ts +8 -1
  7. package/@types/ExternalReplyInfo.ts +6 -0
  8. package/@types/ForumTopic.ts +1 -1
  9. package/@types/ForumTopicCreated.ts +1 -1
  10. package/@types/Giveaway.ts +2 -2
  11. package/@types/GiveawayCompleted.ts +3 -3
  12. package/@types/InlineQueryResultArticle.ts +3 -3
  13. package/@types/InlineQueryResultGif.ts +1 -1
  14. package/@types/InlineQueryResultMpeg4Gif.ts +1 -1
  15. package/@types/InlineQueryResultVenue.ts +5 -0
  16. package/@types/InputInvoiceMessageContent.ts +1 -1
  17. package/@types/InputMedia.ts +4 -1
  18. package/@types/InputMediaLivePhoto.ts +54 -0
  19. package/@types/InputMediaLocation.ts +26 -0
  20. package/@types/InputMediaSticker.ts +26 -0
  21. package/@types/InputMediaVenue.ts +52 -0
  22. package/@types/InputPaidMedia.ts +6 -1
  23. package/@types/InputPaidMediaLivePhoto.ts +29 -0
  24. package/@types/InputPollMedia.ts +33 -0
  25. package/@types/InputPollOption.ts +6 -1
  26. package/@types/InputPollOptionMedia.ts +30 -0
  27. package/@types/KeyboardButtonRequestChat.ts +2 -2
  28. package/@types/LivePhoto.ts +51 -0
  29. package/@types/Message.ts +25 -0
  30. package/@types/MessageReactionUpdated.ts +2 -2
  31. package/@types/OrderInfo.ts +1 -1
  32. package/@types/OwnedGiftUnique.ts +2 -2
  33. package/@types/PaidMedia.ts +8 -2
  34. package/@types/PaidMediaLivePhoto.ts +18 -0
  35. package/@types/PaidMediaVideo.ts +1 -1
  36. package/@types/PaidMessagePriceChanged.ts +4 -8
  37. package/@types/Poll.ts +23 -1
  38. package/@types/PollAnswer.ts +2 -2
  39. package/@types/PollMedia.ts +63 -0
  40. package/@types/PollOption.ts +6 -1
  41. package/@types/ReplyKeyboardMarkup.ts +1 -1
  42. package/@types/ReplyParameters.ts +2 -2
  43. package/@types/SentGuestMessage.ts +11 -0
  44. package/@types/SentWebAppMessage.ts +1 -1
  45. package/@types/SwitchInlineQueryChosenChat.ts +1 -1
  46. package/@types/TextQuote.ts +2 -2
  47. package/@types/Update.ts +6 -0
  48. package/@types/User.ts +6 -2
  49. package/@types/WebhookInfo.ts +1 -1
  50. package/@types/index.ts +12 -0
  51. package/biome.json +1 -1
  52. package/bun.lock +20 -20
  53. package/package.json +7 -7
  54. package/utils/methods.ts +140 -0
@@ -19,12 +19,12 @@ export type MessageReactionUpdated = {
19
19
  /**
20
20
  * Optional. The user that changed the reaction, if the user isn't anonymous
21
21
  */
22
- user: User;
22
+ user?: User;
23
23
 
24
24
  /**
25
25
  * Optional. The chat on behalf of which the reaction was changed, if the user is anonymous
26
26
  */
27
- actor_chat: Chat;
27
+ actor_chat?: Chat;
28
28
 
29
29
  /**
30
30
  * Date of the change in Unix time
@@ -24,5 +24,5 @@ export type OrderInfo = {
24
24
  /**
25
25
  * Optional. User shipping address
26
26
  */
27
- shipping_address: ShippingAddress;
27
+ shipping_address?: ShippingAddress;
28
28
  };
@@ -1,4 +1,4 @@
1
- import type { Gift, User } from "./";
1
+ import type { UniqueGift, User } from "./";
2
2
 
3
3
  /**
4
4
  * ## OwnedGiftUnique
@@ -14,7 +14,7 @@ export type OwnedGiftUnique = {
14
14
  /**
15
15
  * Information about the unique gift
16
16
  */
17
- gift: Gift;
17
+ gift: UniqueGift;
18
18
 
19
19
  /**
20
20
  * Optional. Unique identifier of the gift for the bot; for gifts received on behalf of business accounts only
@@ -1,3 +1,4 @@
1
+ import type { PaidMediaLivePhoto } from "./PaidMediaLivePhoto";
1
2
  import type { PaidMediaPhoto } from "./PaidMediaPhoto";
2
3
  import type { PaidMediaPreview } from "./PaidMediaPreview";
3
4
  import type { PaidMediaVideo } from "./PaidMediaVideo";
@@ -5,9 +6,14 @@ import type { PaidMediaVideo } from "./PaidMediaVideo";
5
6
  /**
6
7
  * ## PaidMedia
7
8
  * This object describes paid media. Currently, it can be one of
8
- * - PaidMediaPreview
9
+ * - PaidMediaLivePhoto
9
10
  * - PaidMediaPhoto
11
+ * - PaidMediaPreview
10
12
  * - PaidMediaVideo
11
13
  * @see https://core.telegram.org/bots/api#paidmedia
12
14
  */
13
- export type PaidMedia = PaidMediaPreview | PaidMediaPhoto | PaidMediaVideo;
15
+ export type PaidMedia =
16
+ | PaidMediaLivePhoto
17
+ | PaidMediaPhoto
18
+ | PaidMediaPreview
19
+ | PaidMediaVideo;
@@ -0,0 +1,18 @@
1
+ import type { LivePhoto } from "./LivePhoto";
2
+
3
+ /**
4
+ * ## PaidMediaLivePhoto
5
+ * The paid media is a live photo.
6
+ * @see https://core.telegram.org/bots/api#paidmedialivephoto
7
+ */
8
+ export type PaidMediaLivePhoto = {
9
+ /**
10
+ * Type of the paid media, always “live_photo”
11
+ */
12
+ type: "live_photo";
13
+
14
+ /**
15
+ * The photo
16
+ */
17
+ live_photo: LivePhoto;
18
+ };
@@ -14,5 +14,5 @@ export type PaidMediaVideo = {
14
14
  /**
15
15
  * The video
16
16
  */
17
- photo: Video[];
17
+ video: Video;
18
18
  };
@@ -1,16 +1,12 @@
1
1
  /**
2
2
  * ## PaidMessagePriceChanged
3
- * This object represents a service message about a change in the price for paid messages in a chat.
3
+ * Describes a service message about a change in the price of paid messages within a chat.
4
4
  * @see https://core.telegram.org/bots/api#paidmessagepricechanged
5
5
  */
6
6
  export type PaidMessagePriceChanged = {
7
7
  /**
8
- * New price for paid messages in the chat, in the smallest units of the currency (integer, not float). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json for the number of digits past the decimal point for each currency (https://core.telegram.org/bots/payments/currencies.json), it may be different for each currency.
8
+ * The new number of Telegram Stars that must be paid by non-administrator users of the supergroup chat for each
9
+ * sent message
9
10
  */
10
- amount: number;
11
-
12
- /**
13
- * Three-letter ISO 4217 currency code
14
- */
15
- currency: string;
11
+ paid_message_star_count: number;
16
12
  };
package/@types/Poll.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { MessageEntity, PollOption } from "./";
1
+ import type { MessageEntity, PollMedia, PollOption } from "./";
2
2
 
3
3
  /**
4
4
  * ## Poll
@@ -57,6 +57,18 @@ export type Poll = {
57
57
  */
58
58
  allows_revoting: boolean;
59
59
 
60
+ /**
61
+ * True if voting is limited to users who have been members of the chat where the poll was originally sent for more
62
+ * than 24 hours
63
+ */
64
+ members_only: boolean;
65
+
66
+ /**
67
+ * Optional. A list of two-letter ISO 3166-1 alpha-2 country codes indicating the countries from which users can vote
68
+ * in the poll. If omitted, then users from any country can participate in the poll.
69
+ */
70
+ country_codes?: string[];
71
+
60
72
  /**
61
73
  * Optional. Array of 0-based identifiers of the correct answer options. Available only for polls in quiz mode which
62
74
  * are closed or were sent (not forwarded) by the bot or to the private chat with the bot.
@@ -74,6 +86,11 @@ export type Poll = {
74
86
  */
75
87
  explanation_entities?: MessageEntity[];
76
88
 
89
+ /**
90
+ * Optional. Media added to the quiz explanation
91
+ */
92
+ explanation_media?: PollMedia;
93
+
77
94
  /**
78
95
  * Optional. Amount of time in seconds the poll will be active after creation
79
96
  */
@@ -93,4 +110,9 @@ export type Poll = {
93
110
  * Optional. Special entities like usernames, URLs, bot commands, etc. that appear in the description
94
111
  */
95
112
  description_entities?: MessageEntity[];
113
+
114
+ /**
115
+ * Optional. Media added to the poll description; for polls inside the Message object only
116
+ */
117
+ media?: PollMedia;
96
118
  };
@@ -14,12 +14,12 @@ export type PollAnswer = {
14
14
  /**
15
15
  * Optional. The chat that changed the answer to the poll, if the voter is anonymous
16
16
  */
17
- voter_chat: Chat;
17
+ voter_chat?: Chat;
18
18
 
19
19
  /**
20
20
  * Optional. The user that changed the answer to the poll, if the voter isn't anonymous
21
21
  */
22
- user: User;
22
+ user?: User;
23
23
 
24
24
  /**
25
25
  * 0-based identifiers of chosen answer options. May be empty if the vote was retracted.
@@ -0,0 +1,63 @@
1
+ import type {
2
+ Animation,
3
+ Audio,
4
+ Document,
5
+ LivePhoto,
6
+ Location,
7
+ PhotoSize,
8
+ Sticker,
9
+ Venue,
10
+ Video,
11
+ } from "./";
12
+
13
+ /**
14
+ * ## PollMedia
15
+ * At most one of the optional fields can be present in any given object.
16
+ * @see https://core.telegram.org/bots/api#pollmedia
17
+ */
18
+ export type PollMedia = {
19
+ /**
20
+ * Optional. Media is an animation, information about the animation
21
+ */
22
+ animation?: Animation;
23
+
24
+ /**
25
+ * Optional. Media is an audio file, information about the file; currently, can't be received in a poll option
26
+ */
27
+ audio?: Audio;
28
+
29
+ /**
30
+ * Optional. Media is a general file, information about the file; currently, can't be received in a poll option
31
+ */
32
+ document?: Document;
33
+
34
+ /**
35
+ * Optional. Media is a live photo, information about the live photo
36
+ */
37
+ live_photo?: LivePhoto;
38
+
39
+ /**
40
+ * Optional. Media is a shared location, information about the location
41
+ */
42
+ location?: Location;
43
+
44
+ /**
45
+ * Optional. Media is a photo, available sizes of the photo
46
+ */
47
+ photo?: PhotoSize[];
48
+
49
+ /**
50
+ * Optional. Media is a sticker, information about the sticker; currently, for poll options only
51
+ */
52
+ sticker?: Sticker;
53
+
54
+ /**
55
+ * Optional. Media is a venue, information about the venue
56
+ */
57
+ venue?: Venue;
58
+
59
+ /**
60
+ * Optional. Media is a video, information about the video
61
+ */
62
+ video?: Video;
63
+ };
@@ -1,4 +1,4 @@
1
- import type { Chat, MessageEntity, User } from "./";
1
+ import type { Chat, MessageEntity, PollMedia, User } from "./";
2
2
 
3
3
  /**
4
4
  * ## PollOption
@@ -22,6 +22,11 @@ export type PollOption = {
22
22
  */
23
23
  text_entities?: MessageEntity[];
24
24
 
25
+ /**
26
+ * Optional. Media added to the poll option
27
+ */
28
+ media?: PollMedia;
29
+
25
30
  /**
26
31
  * Number of users who voted for this option; may be 0 if unknown
27
32
  */
@@ -10,7 +10,7 @@ export type ReplyKeyboardMarkup = {
10
10
  /**
11
11
  * Array of button rows, each represented by an Array of KeyboardButton objects
12
12
  */
13
- keyboard?: KeyboardButton[][];
13
+ keyboard: KeyboardButton[][];
14
14
 
15
15
  /**
16
16
  * Optional. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to false, in
@@ -1,4 +1,4 @@
1
- import type { ParseMode } from "./index";
1
+ import type { MessageEntity, ParseMode } from "./index";
2
2
 
3
3
  /**
4
4
  * ## ReplyParameters
@@ -40,7 +40,7 @@ export type ReplyParameters = {
40
40
  * Optional. A JSON-serialized list of special entities that appear in the quote. It can be specified instead of
41
41
  * quote_parse_mode.
42
42
  */
43
- quote_entities?: string; // todo: JSON Array of MessageEntity
43
+ quote_entities?: MessageEntity[];
44
44
 
45
45
  /**
46
46
  * Optional. Position of the quote in the original message in UTF-16 code units
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ## SentGuestMessage
3
+ * Describes an inline message sent by a guest bot.
4
+ * @see https://core.telegram.org/bots/api#sentguestmessage
5
+ */
6
+ export type SentGuestMessage = {
7
+ /**
8
+ * Identifier of the sent inline message
9
+ */
10
+ inline_message_id: string;
11
+ };
@@ -8,5 +8,5 @@ export type SentWebAppMessage = {
8
8
  * Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the
9
9
  * message.
10
10
  */
11
- inline_message_id: string;
11
+ inline_message_id?: string;
12
12
  };
@@ -9,7 +9,7 @@ export type SwitchInlineQueryChosenChat = {
9
9
  * Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will
10
10
  * be inserted
11
11
  */
12
- query: string;
12
+ query?: string;
13
13
 
14
14
  /**
15
15
  * Optional. True, if private chats with users can be chosen
@@ -15,7 +15,7 @@ export type TextQuote = {
15
15
  * Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough,
16
16
  * spoiler, and custom_emoji entities are kept in quotes.
17
17
  */
18
- entities: MessageEntity[];
18
+ entities?: MessageEntity[];
19
19
 
20
20
  /**
21
21
  * Approximate quote position in the original message in UTF-16 code units as specified by the sender
@@ -26,5 +26,5 @@ export type TextQuote = {
26
26
  * Optional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added
27
27
  * automatically by the server.
28
28
  */
29
- is_manual: boolean;
29
+ is_manual?: true;
30
30
  };
package/@types/Update.ts CHANGED
@@ -67,6 +67,12 @@ export type EventTypes = {
67
67
  */
68
68
  deleted_business_messages: BusinessMessagesDeleted;
69
69
 
70
+ /**
71
+ * New guest message. The bot can use the field Message.guest_query_id and the method answerGuestQuery to send a
72
+ * message in response.
73
+ */
74
+ guest_message: Message;
75
+
70
76
  /**
71
77
  * A reaction to a message was changed by a user. The bot must be an administrator in the chat and must explicitly
72
78
  * specify "message_reaction" in the list of allowed_updates to receive these updates. The update isn't received for
package/@types/User.ts CHANGED
@@ -56,14 +56,18 @@ export type User = {
56
56
  */
57
57
  can_read_all_group_messages?: boolean;
58
58
 
59
+ /**
60
+ * Optional. True, if the bot supports guest queries from chats it is not a member of. Returned only in getMe.
61
+ */
62
+ supports_guest_queries?: boolean;
63
+
59
64
  /**
60
65
  * Optional. True, if the bot supports inline queries. Returned only in getMe.
61
66
  */
62
67
  supports_inline_queries?: boolean;
63
68
 
64
69
  /**
65
- * Optional. True, if the bot can be connected to a Telegram Business account to receive its messages. Returned only
66
- * in getMe.
70
+ * Optional. True, if the bot can be connected to a user account to manage it. Returned only in getMe.
67
71
  */
68
72
  can_connect_to_business?: boolean;
69
73
 
@@ -45,7 +45,7 @@ export type WebhookInfo = {
45
45
  /**
46
46
  * Optional. The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
47
47
  */
48
- max_connections?: string;
48
+ max_connections?: number;
49
49
 
50
50
  /**
51
51
  * Optional. A list of update types the bot is subscribed to. Defaults to all update types except chat_member
package/@types/index.ts CHANGED
@@ -12,6 +12,7 @@ export * from "./BackgroundTypeFill";
12
12
  export * from "./BackgroundTypePattern";
13
13
  export * from "./BackgroundTypeWallpaper";
14
14
  export * from "./Birthdate";
15
+ export * from "./BotAccessSettings";
15
16
  export * from "./BotCommand";
16
17
  export * from "./BotCommandScope";
17
18
  export * from "./BotCommandScopeAllChatAdministrators";
@@ -130,13 +131,20 @@ export * from "./InputMedia";
130
131
  export * from "./InputMediaAnimation";
131
132
  export * from "./InputMediaAudio";
132
133
  export * from "./InputMediaDocument";
134
+ export * from "./InputMediaLivePhoto";
135
+ export * from "./InputMediaLocation";
133
136
  export * from "./InputMediaPhoto";
137
+ export * from "./InputMediaSticker";
138
+ export * from "./InputMediaVenue";
134
139
  export * from "./InputMediaVideo";
135
140
  export * from "./InputMessageContent";
136
141
  export * from "./InputPaidMedia";
142
+ export * from "./InputPaidMediaLivePhoto";
137
143
  export * from "./InputPaidMediaPhoto";
138
144
  export * from "./InputPaidMediaVideo";
145
+ export * from "./InputPollMedia";
139
146
  export * from "./InputPollOption";
147
+ export * from "./InputPollOptionMedia";
140
148
  export * from "./InputProfilePhoto";
141
149
  export * from "./InputProfilePhotoAnimated";
142
150
  export * from "./InputProfilePhotoStatic";
@@ -155,6 +163,7 @@ export * from "./KeyboardButtonRequestManagedBot";
155
163
  export * from "./KeyboardButtonRequestUsers";
156
164
  export * from "./LabeledPrice";
157
165
  export * from "./LinkPreviewOptions";
166
+ export * from "./LivePhoto";
158
167
  export * from "./Location";
159
168
  export * from "./LocationAddress";
160
169
  export * from "./LoginUrl";
@@ -186,6 +195,7 @@ export * from "./PaidMedia";
186
195
  export * from "./PaidMedia";
187
196
  export * from "./PaidMediaInfo";
188
197
  export * from "./PaidMediaInfo";
198
+ export * from "./PaidMediaLivePhoto";
189
199
  export * from "./PaidMediaPhoto";
190
200
  export * from "./PaidMediaPhoto";
191
201
  export * from "./PaidMediaPreview";
@@ -209,6 +219,7 @@ export * from "./PassportFile";
209
219
  export * from "./PhotoSize";
210
220
  export * from "./Poll";
211
221
  export * from "./PollAnswer";
222
+ export * from "./PollMedia";
212
223
  export * from "./PollOption";
213
224
  export * from "./PollOptionAdded";
214
225
  export * from "./PollOptionDeleted";
@@ -230,6 +241,7 @@ export * from "./RevenueWithdrawalState";
230
241
  export * from "./RevenueWithdrawalStateFailed";
231
242
  export * from "./RevenueWithdrawalStatePending";
232
243
  export * from "./RevenueWithdrawalStateSucceeded";
244
+ export * from "./SentGuestMessage";
233
245
  export * from "./SentWebAppMessage";
234
246
  export * from "./SharedUser";
235
247
  export * from "./ShippingAddress";
package/biome.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
3
3
  "formatter": {
4
4
  "enabled": true,
5
5
  "indentStyle": "tab",
package/bun.lock CHANGED
@@ -5,13 +5,13 @@
5
5
  "": {
6
6
  "name": "nyx-bot-client",
7
7
  "dependencies": {
8
- "@biomejs/biome": "^2.4.12",
9
- "@types/node": "^25.6.0",
8
+ "@biomejs/biome": "^2.4.14",
9
+ "@types/node": "^25.6.2",
10
10
  "dotenv": "^17.4.2",
11
- "kysely": "^0.28.16",
12
- "mysql2": "^3.22.1",
13
- "ts-debounce": "^5.0.0",
14
- "zod": "^4.3.6",
11
+ "kysely": "^0.28.17",
12
+ "mysql2": "^3.22.3",
13
+ "ts-debounce": "^5.0.1",
14
+ "zod": "^4.4.3",
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/bun": "latest",
@@ -22,27 +22,27 @@
22
22
  },
23
23
  },
24
24
  "packages": {
25
- "@biomejs/biome": ["@biomejs/biome@2.4.12", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.12", "@biomejs/cli-darwin-x64": "2.4.12", "@biomejs/cli-linux-arm64": "2.4.12", "@biomejs/cli-linux-arm64-musl": "2.4.12", "@biomejs/cli-linux-x64": "2.4.12", "@biomejs/cli-linux-x64-musl": "2.4.12", "@biomejs/cli-win32-arm64": "2.4.12", "@biomejs/cli-win32-x64": "2.4.12" }, "bin": { "biome": "bin/biome" } }, "sha512-Rro7adQl3NLq/zJCIL98eElXKI8eEiBtoeu5TbXF/U3qbjuSc7Jb5rjUbeHHcquDWeSf3HnGP7XI5qGrlRk/pA=="],
25
+ "@biomejs/biome": ["@biomejs/biome@2.4.14", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.14", "@biomejs/cli-darwin-x64": "2.4.14", "@biomejs/cli-linux-arm64": "2.4.14", "@biomejs/cli-linux-arm64-musl": "2.4.14", "@biomejs/cli-linux-x64": "2.4.14", "@biomejs/cli-linux-x64-musl": "2.4.14", "@biomejs/cli-win32-arm64": "2.4.14", "@biomejs/cli-win32-x64": "2.4.14" }, "bin": { "biome": "bin/biome" } }, "sha512-TmAvxOEgrpLypzVGJ8FulIZnlyA9TxrO1hyqYrCz9r+bwma9xXxuLA5IuYnj55XQneFx460KjRbx6SWGLkg3bQ=="],
26
26
 
27
- "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.4.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BnMU4Pc3ciEVteVpZ0BK33MLr7X57F5w1dwDLDn+/iy/yTrA4Q/N2yftidFtsA4vrDh0FMXDpacNV/Tl3fbmng=="],
27
+ "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.4.14", "", { "os": "darwin", "cpu": "arm64" }, "sha512-XvgoE9XOawUOQPdmvs4J7wPhi/DLwSCGks3AlPJDmh34O0awRTqCED1HRcRDdpf1Zrp4us4MGOOdIxNpbqNF5Q=="],
28
28
 
29
- "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.4.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-x9uJ0bI1rJsWICp3VH8w/5PnAVD3A7SqzDpbrfoUQX1QyWrK5jSU4fRLo/wSgGeplCivbxBRKmt5Xq4/nWvq8A=="],
29
+ "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.4.14", "", { "os": "darwin", "cpu": "x64" }, "sha512-jE7hKBCFhOx3uUh+ZkWBfOHxAcILPfhFplNkuID/eZeSTLHzfZzoZxW8fbqY9xXRnPi7jGNAf1iPVR+0yWsM/Q=="],
30
30
 
31
- "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.4.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-tOwuCuZZtKi1jVzbk/5nXmIsziOB6yqN8c9r9QM0EJYPU6DpQWf11uBOSCfFKKM4H3d9ZoarvlgMfbcuD051Pw=="],
31
+ "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.4.14", "", { "os": "linux", "cpu": "arm64" }, "sha512-2TELhZnW5RSLL063l9rc5xLpA0ZIw0Ccwy/0q384rvNAgFw3yI76bd59547yxowdQr5MNPET/xDLrLuvgSeeWQ=="],
32
32
 
33
- "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.4.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-FhfpkAAlKL6kwvcVap0Hgp4AhZmtd3YImg0kK1jd7C/aSoh4SfsB2f++yG1rU0lr8Y5MCFJrcSkmssiL9Xnnig=="],
33
+ "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.4.14", "", { "os": "linux", "cpu": "arm64" }, "sha512-/z+6gqAqqUQTHazwStxSXKHg9b8UvqBmDFRp+c4wYbq2KXhELQDon9EoC9RpmQ8JWkqQx/lIUy/cs+MhzDZp6A=="],
34
34
 
35
- "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.4.12", "", { "os": "linux", "cpu": "x64" }, "sha512-8pFeAnLU9QdW9jCIslB/v82bI0lhBmz2ZAKc8pVMFPO0t0wAHsoEkrUQUbMkIorTRIjbqyNZHA3lEXavsPWYSw=="],
35
+ "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.4.14", "", { "os": "linux", "cpu": "x64" }, "sha512-zHrlQZDBDUz4OLAraYpWKcnLS6HOewBFWYOzY91d1ZjdqZwibOyb6BEu6WuWLugyo0P3riCmsbV9UqV1cSXwQg=="],
36
36
 
37
- "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.4.12", "", { "os": "linux", "cpu": "x64" }, "sha512-dwTIgZrGutzhkQCuvHynCkyW6hJxUuyZqKKO0YNfaS2GUoRO+tOvxXZqZB6SkWAOdfZTzwaw8IEdUnIkHKHoew=="],
37
+ "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.4.14", "", { "os": "linux", "cpu": "x64" }, "sha512-R6BWgJdQOwW9ulJatuTVrQkjnODjqHZkKNOqb1sz++3Noe5LYd0i3PchnOBUCYAPHoPWHhjJqbdZlHEu0hpjdA=="],
38
38
 
39
- "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.4.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-B0DLnx0vA9ya/3v7XyCaP+/lCpnbWbMOfUFFve+xb5OxyYvdHaS55YsSddr228Y+JAFk58agCuZTsqNiw2a6ig=="],
39
+ "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.4.14", "", { "os": "win32", "cpu": "arm64" }, "sha512-M3EH5hqOI/F/FUA2u4xcLoUgmxd218mvuj/6JL7Hv2toQvr2/AdOvKSpGkoRuWFCtQPVa+ZqkEV3Q5xBA9+XSA=="],
40
40
 
41
- "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.4.12", "", { "os": "win32", "cpu": "x64" }, "sha512-yMckRzTyZ83hkk8iDFWswqSdU8tvZxspJKnYNh7JZr/zhZNOlzH13k4ecboU6MurKExCe2HUkH75pGI/O2JwGA=="],
41
+ "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.4.14", "", { "os": "win32", "cpu": "x64" }, "sha512-WL0EG5qE+EAKomGXbf2g6VnSKJhTL3tXC0QRzWRwA5VpjxNYa6H4P7ZWfymbGE4IhZZQi1KXQ2R0YjwInmz2fA=="],
42
42
 
43
43
  "@types/bun": ["@types/bun@1.2.17", "", { "dependencies": { "bun-types": "1.2.17" } }, "sha512-l/BYs/JYt+cXA/0+wUhulYJB6a6p//GTPiJ7nV+QHa8iiId4HZmnu/3J/SowP5g0rTiERY2kfGKXEK5Ehltx4Q=="],
44
44
 
45
- "@types/node": ["@types/node@25.6.0", "", { "dependencies": { "undici-types": "~7.19.0" } }, "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ=="],
45
+ "@types/node": ["@types/node@25.6.2", "", { "dependencies": { "undici-types": "~7.19.0" } }, "sha512-sokuT28dxf9JT5Kady1fsXOvI4HVpjZa95NKT5y9PNTIrs2AsobR4GFAA90ZG8M+nxVRLysCXsVj6eGC7Vbrlw=="],
46
46
 
47
47
  "aws-ssl-profiles": ["aws-ssl-profiles@1.1.2", "", {}, "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g=="],
48
48
 
@@ -58,13 +58,13 @@
58
58
 
59
59
  "is-property": ["is-property@1.0.2", "", {}, "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g=="],
60
60
 
61
- "kysely": ["kysely@0.28.16", "", {}, "sha512-3i5pmOiZvMDj00qhrIVbH0AnioVTx22DMP7Vn5At4yJO46iy+FM8Y/g61ltenLVSo3fiO8h8Q3QOFgf/gQ72ww=="],
61
+ "kysely": ["kysely@0.28.17", "", {}, "sha512-nbD8lB9EB3wNdMhOCdx5Li8DxnLbvKByylRLcJ1h+4SkrowVeECAyZlyiKMThF7xFdRz0jSQ2MoJr+wXux2y0Q=="],
62
62
 
63
63
  "long": ["long@5.3.2", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="],
64
64
 
65
65
  "lru.min": ["lru.min@1.1.4", "", {}, "sha512-DqC6n3QQ77zdFpCMASA1a3Jlb64Hv2N2DciFGkO/4L9+q/IpIAuRlKOvCXabtRW6cQf8usbmM6BE/TOPysCdIA=="],
66
66
 
67
- "mysql2": ["mysql2@3.22.1", "", { "dependencies": { "aws-ssl-profiles": "^1.1.2", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.7.2", "long": "^5.3.2", "lru.min": "^1.1.4", "named-placeholders": "^1.1.6", "sql-escaper": "^1.3.3" }, "peerDependencies": { "@types/node": ">= 8" } }, "sha512-48+9UXehKyxxiP2pqCxUq+MSFvX+v41jwsSpFDQO/jAoFuAELutBGJUhWJnDbe82/OBlIhSBMC82WeonmznT/Q=="],
67
+ "mysql2": ["mysql2@3.22.3", "", { "dependencies": { "aws-ssl-profiles": "^1.1.2", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.7.2", "long": "^5.3.2", "lru.min": "^1.1.4", "named-placeholders": "^1.1.6", "sql-escaper": "^1.3.3" }, "peerDependencies": { "@types/node": ">= 8" } }, "sha512-uWWxvZSRvRhtBdh2CdcuK83YcOfPdmEeEYB069bAmPnV93QApDGVPuvCQOLjlh7tYHEWdgQPrn6kosDxHBVLkA=="],
68
68
 
69
69
  "named-placeholders": ["named-placeholders@1.1.6", "", { "dependencies": { "lru.min": "^1.1.0" } }, "sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w=="],
70
70
 
@@ -72,13 +72,13 @@
72
72
 
73
73
  "sql-escaper": ["sql-escaper@1.3.3", "", {}, "sha512-BsTCV265VpTp8tm1wyIm1xqQCS+Q9NHx2Sr+WcnUrgLrQ6yiDIvHYJV5gHxsj1lMBy2zm5twLaZao8Jd+S8JJw=="],
74
74
 
75
- "ts-debounce": ["ts-debounce@5.0.0", "", {}, "sha512-u0TCPC1koR5OcYC8hUC9ZisNlkxW87VejeoK+qX2in0grK1Dy0Fjlq9diNwHsFZwbFjM5lCTloRPPrs4TcPPug=="],
75
+ "ts-debounce": ["ts-debounce@5.0.1", "", {}, "sha512-HzwqxastMnaSKu96T8S+fRUorxSptTawIc9004Fs6R9MduRo5IqOE6jS2RfJCl4DVwJvxdcYEXg8g5zQCQR0Ow=="],
76
76
 
77
77
  "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
78
78
 
79
79
  "undici-types": ["undici-types@7.19.2", "", {}, "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg=="],
80
80
 
81
- "zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="],
81
+ "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
82
82
 
83
83
  "bun-types/@types/node": ["@types/node@24.0.4", "", { "dependencies": { "undici-types": "~7.8.0" } }, "sha512-ulyqAkrhnuNq9pB76DRBTkcS6YsmDALy6Ua63V8OhrOBgbcYt6IOdzpw5P1+dyRIyMerzLkeYWBeOXPpA9GMAA=="],
84
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nyx-bot-client",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {
@@ -10,12 +10,12 @@
10
10
  "typescript": "^5"
11
11
  },
12
12
  "dependencies": {
13
- "@biomejs/biome": "^2.4.12",
14
- "@types/node": "^25.6.0",
13
+ "@biomejs/biome": "^2.4.14",
14
+ "@types/node": "^25.6.2",
15
15
  "dotenv": "^17.4.2",
16
- "kysely": "^0.28.16",
17
- "mysql2": "^3.22.1",
18
- "ts-debounce": "^5.0.0",
19
- "zod": "^4.3.6"
16
+ "kysely": "^0.28.17",
17
+ "mysql2": "^3.22.3",
18
+ "ts-debounce": "^5.0.1",
19
+ "zod": "^4.4.3"
20
20
  }
21
21
  }