@mtcute/core 0.19.0 → 0.19.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 (592) hide show
  1. package/client.cjs +12 -4
  2. package/client.js +10 -2
  3. package/highlevel/base.cjs +3 -3
  4. package/highlevel/base.d.cts +1 -1
  5. package/highlevel/base.d.ts +1 -1
  6. package/highlevel/base.js +1 -1
  7. package/highlevel/client.d.cts +55 -0
  8. package/highlevel/client.d.ts +55 -0
  9. package/highlevel/client.types.d.cts +1 -1
  10. package/highlevel/client.types.d.ts +1 -1
  11. package/highlevel/managers/app-config-manager.cjs +2 -2
  12. package/highlevel/managers/timers.cjs +2 -2
  13. package/highlevel/methods/auth/check-password.cjs +2 -2
  14. package/highlevel/methods/auth/get-password-hint.cjs +2 -2
  15. package/highlevel/methods/auth/log-out.cjs +2 -2
  16. package/highlevel/methods/auth/recover-password.cjs +2 -2
  17. package/highlevel/methods/auth/resend-code.cjs +2 -2
  18. package/highlevel/methods/auth/run.cjs +2 -2
  19. package/highlevel/methods/auth/send-code.cjs +3 -3
  20. package/highlevel/methods/auth/send-code.js +1 -1
  21. package/highlevel/methods/auth/send-recovery-code.cjs +2 -2
  22. package/highlevel/methods/auth/sign-in-bot.cjs +3 -3
  23. package/highlevel/methods/auth/sign-in-bot.js +1 -1
  24. package/highlevel/methods/auth/sign-in-qr.cjs +13 -10
  25. package/highlevel/methods/auth/sign-in-qr.js +11 -8
  26. package/highlevel/methods/auth/sign-in.cjs +2 -2
  27. package/highlevel/methods/auth/start-test.cjs +2 -2
  28. package/highlevel/methods/auth/start.cjs +2 -2
  29. package/highlevel/methods/auth/utils.cjs +2 -2
  30. package/highlevel/methods/bots/answer-callback-query.cjs +2 -2
  31. package/highlevel/methods/bots/answer-inline-query.cjs +2 -2
  32. package/highlevel/methods/bots/answer-pre-checkout-query.cjs +2 -2
  33. package/highlevel/methods/bots/delete-my-commands.cjs +2 -2
  34. package/highlevel/methods/bots/get-bot-info.cjs +2 -2
  35. package/highlevel/methods/bots/get-bot-menu-button.cjs +2 -2
  36. package/highlevel/methods/bots/get-callback-answer.cjs +2 -2
  37. package/highlevel/methods/bots/get-game-high-scores.cjs +2 -2
  38. package/highlevel/methods/bots/get-my-commands.cjs +2 -2
  39. package/highlevel/methods/bots/normalize-command-scope.cjs +2 -2
  40. package/highlevel/methods/bots/open-webview.cjs +2 -2
  41. package/highlevel/methods/bots/prepare-inline-message.cjs +2 -2
  42. package/highlevel/methods/bots/set-bot-info.cjs +2 -2
  43. package/highlevel/methods/bots/set-bot-menu-button.cjs +2 -2
  44. package/highlevel/methods/bots/set-game-score.cjs +2 -2
  45. package/highlevel/methods/bots/set-my-commands.cjs +2 -2
  46. package/highlevel/methods/bots/set-my-default-rights.cjs +2 -2
  47. package/highlevel/methods/bots/toggle-emoji-status-permission.cjs +2 -2
  48. package/highlevel/methods/chats/add-chat-members.cjs +2 -2
  49. package/highlevel/methods/chats/archive-chats.cjs +2 -2
  50. package/highlevel/methods/chats/ban-chat-member.cjs +2 -2
  51. package/highlevel/methods/chats/batched-queries.cjs +2 -2
  52. package/highlevel/methods/chats/create-channel.cjs +2 -2
  53. package/highlevel/methods/chats/create-group.cjs +2 -2
  54. package/highlevel/methods/chats/create-supergroup.cjs +2 -2
  55. package/highlevel/methods/chats/delete-channel.cjs +2 -2
  56. package/highlevel/methods/chats/delete-chat-photo.cjs +2 -2
  57. package/highlevel/methods/chats/delete-group.cjs +2 -2
  58. package/highlevel/methods/chats/delete-history.cjs +2 -2
  59. package/highlevel/methods/chats/delete-user-history.cjs +2 -2
  60. package/highlevel/methods/chats/edit-admin-rights.cjs +2 -2
  61. package/highlevel/methods/chats/get-chat-event-log.cjs +2 -2
  62. package/highlevel/methods/chats/get-chat-member.cjs +2 -2
  63. package/highlevel/methods/chats/get-chat-members.cjs +2 -2
  64. package/highlevel/methods/chats/get-chat-preview.cjs +2 -2
  65. package/highlevel/methods/chats/get-chat.cjs +2 -2
  66. package/highlevel/methods/chats/get-full-chat.cjs +2 -2
  67. package/highlevel/methods/chats/get-full-user.cjs +2 -2
  68. package/highlevel/methods/chats/get-nearby-chats.cjs +2 -2
  69. package/highlevel/methods/chats/get-similar-channels.cjs +2 -2
  70. package/highlevel/methods/chats/get-user.cjs +2 -2
  71. package/highlevel/methods/chats/iter-chat-event-log.cjs +2 -2
  72. package/highlevel/methods/chats/iter-chat-members.cjs +2 -2
  73. package/highlevel/methods/chats/join-chat.cjs +2 -2
  74. package/highlevel/methods/chats/kick-chat-member.cjs +2 -2
  75. package/highlevel/methods/chats/leave-chat.cjs +2 -2
  76. package/highlevel/methods/chats/mark-chat-unread.cjs +2 -2
  77. package/highlevel/methods/chats/open-chat.cjs +2 -2
  78. package/highlevel/methods/chats/reorder-usernames.cjs +2 -2
  79. package/highlevel/methods/chats/restrict-chat-member.cjs +2 -2
  80. package/highlevel/methods/chats/save-draft.cjs +2 -2
  81. package/highlevel/methods/chats/set-chat-color.cjs +2 -2
  82. package/highlevel/methods/chats/set-chat-default-permissions.cjs +2 -2
  83. package/highlevel/methods/chats/set-chat-description.cjs +2 -2
  84. package/highlevel/methods/chats/set-chat-photo.cjs +2 -2
  85. package/highlevel/methods/chats/set-chat-title.cjs +2 -2
  86. package/highlevel/methods/chats/set-chat-ttl.cjs +2 -2
  87. package/highlevel/methods/chats/set-chat-username.cjs +2 -2
  88. package/highlevel/methods/chats/set-slow-mode.cjs +2 -2
  89. package/highlevel/methods/chats/toggle-content-protection.cjs +2 -2
  90. package/highlevel/methods/chats/toggle-fragment-username.cjs +2 -2
  91. package/highlevel/methods/chats/toggle-join-requests.cjs +2 -2
  92. package/highlevel/methods/chats/toggle-join-to-send.cjs +2 -2
  93. package/highlevel/methods/chats/unarchive-chats.cjs +2 -2
  94. package/highlevel/methods/chats/unban-chat-member.cjs +2 -2
  95. package/highlevel/methods/contacts/add-contact.cjs +2 -2
  96. package/highlevel/methods/contacts/delete-contacts.cjs +2 -2
  97. package/highlevel/methods/contacts/get-contacts.cjs +2 -2
  98. package/highlevel/methods/contacts/import-contacts.cjs +2 -2
  99. package/highlevel/methods/dialogs/create-folder.cjs +2 -2
  100. package/highlevel/methods/dialogs/delete-folder.cjs +2 -2
  101. package/highlevel/methods/dialogs/edit-folder.cjs +3 -3
  102. package/highlevel/methods/dialogs/edit-folder.js +1 -1
  103. package/highlevel/methods/dialogs/find-dialogs.cjs +2 -2
  104. package/highlevel/methods/dialogs/find-folder.cjs +3 -3
  105. package/highlevel/methods/dialogs/find-folder.js +1 -1
  106. package/highlevel/methods/dialogs/get-chatlist-preview.cjs +2 -2
  107. package/highlevel/methods/dialogs/get-folders.cjs +3 -3
  108. package/highlevel/methods/dialogs/get-folders.js +1 -1
  109. package/highlevel/methods/dialogs/get-peer-dialogs.cjs +2 -2
  110. package/highlevel/methods/dialogs/iter-dialogs.cjs +3 -3
  111. package/highlevel/methods/dialogs/iter-dialogs.js +1 -1
  112. package/highlevel/methods/dialogs/join-chatlist.cjs +2 -2
  113. package/highlevel/methods/dialogs/set-folders-order.cjs +2 -2
  114. package/highlevel/methods/files/download-buffer.cjs +2 -2
  115. package/highlevel/methods/files/download-iterable.cjs +2 -2
  116. package/highlevel/methods/files/download-stream.cjs +2 -2
  117. package/highlevel/methods/files/normalize-file-to-document.cjs +2 -2
  118. package/highlevel/methods/files/normalize-input-file.cjs +2 -2
  119. package/highlevel/methods/files/normalize-input-media.cjs +2 -2
  120. package/highlevel/methods/files/upload-file.cjs +2 -2
  121. package/highlevel/methods/files/upload-media.cjs +2 -2
  122. package/highlevel/methods/forums/create-forum-topic.cjs +2 -2
  123. package/highlevel/methods/forums/delete-forum-topic-history.cjs +2 -2
  124. package/highlevel/methods/forums/edit-forum-topic.cjs +2 -2
  125. package/highlevel/methods/forums/get-forum-topics-by-id.cjs +2 -2
  126. package/highlevel/methods/forums/get-forum-topics.cjs +2 -2
  127. package/highlevel/methods/forums/iter-forum-topics.cjs +2 -2
  128. package/highlevel/methods/forums/reorder-pinned-forum-topics.cjs +2 -2
  129. package/highlevel/methods/forums/toggle-forum-topic-closed.cjs +2 -2
  130. package/highlevel/methods/forums/toggle-forum-topic-pinned.cjs +2 -2
  131. package/highlevel/methods/forums/toggle-forum.cjs +2 -2
  132. package/highlevel/methods/forums/toggle-general-topic-hidden.cjs +2 -2
  133. package/highlevel/methods/invite-links/create-invite-link.cjs +2 -2
  134. package/highlevel/methods/invite-links/edit-invite-link.cjs +2 -2
  135. package/highlevel/methods/invite-links/export-invite-link.cjs +2 -2
  136. package/highlevel/methods/invite-links/get-invite-link-members.cjs +2 -2
  137. package/highlevel/methods/invite-links/get-invite-link.cjs +2 -2
  138. package/highlevel/methods/invite-links/get-invite-links.cjs +2 -2
  139. package/highlevel/methods/invite-links/get-primary-invite-link.cjs +2 -2
  140. package/highlevel/methods/invite-links/hide-all-join-requests.cjs +2 -2
  141. package/highlevel/methods/invite-links/hide-join-request.cjs +2 -2
  142. package/highlevel/methods/invite-links/iter-invite-link-members.cjs +2 -2
  143. package/highlevel/methods/invite-links/iter-invite-links.cjs +2 -2
  144. package/highlevel/methods/invite-links/revoke-invite-link.cjs +2 -2
  145. package/highlevel/methods/messages/_business-connection.cjs +2 -2
  146. package/highlevel/methods/messages/close-poll.cjs +2 -2
  147. package/highlevel/methods/messages/delete-messages.cjs +2 -2
  148. package/highlevel/methods/messages/delete-scheduled-messages.cjs +2 -2
  149. package/highlevel/methods/messages/edit-inline-message.cjs +2 -2
  150. package/highlevel/methods/messages/edit-message.cjs +2 -2
  151. package/highlevel/methods/messages/find-in-update.cjs +2 -2
  152. package/highlevel/methods/messages/forward-messages.cjs +2 -2
  153. package/highlevel/methods/messages/get-all-scheduled-messages.cjs +2 -2
  154. package/highlevel/methods/messages/get-available-effects.cjs +2 -2
  155. package/highlevel/methods/messages/get-callback-query-message.cjs +2 -2
  156. package/highlevel/methods/messages/get-discussion-message.cjs +2 -2
  157. package/highlevel/methods/messages/get-fact-check.cjs +2 -2
  158. package/highlevel/methods/messages/get-history.cjs +2 -2
  159. package/highlevel/methods/messages/get-message-by-link.cjs +2 -2
  160. package/highlevel/methods/messages/get-message-group.cjs +2 -2
  161. package/highlevel/methods/messages/get-message-reactions.cjs +2 -2
  162. package/highlevel/methods/messages/get-messages-unsafe.cjs +2 -2
  163. package/highlevel/methods/messages/get-messages.cjs +2 -2
  164. package/highlevel/methods/messages/get-reaction-users.cjs +2 -2
  165. package/highlevel/methods/messages/get-reply-to.cjs +2 -2
  166. package/highlevel/methods/messages/get-scheduled-messages.cjs +2 -2
  167. package/highlevel/methods/messages/iter-history.cjs +2 -2
  168. package/highlevel/methods/messages/iter-reaction-users.cjs +2 -2
  169. package/highlevel/methods/messages/iter-search-global.cjs +2 -2
  170. package/highlevel/methods/messages/iter-search-messages.cjs +2 -2
  171. package/highlevel/methods/messages/pin-message.cjs +2 -2
  172. package/highlevel/methods/messages/read-history.cjs +3 -5
  173. package/highlevel/methods/messages/read-history.js +1 -3
  174. package/highlevel/methods/messages/read-reactions.cjs +2 -2
  175. package/highlevel/methods/messages/search-global.cjs +2 -2
  176. package/highlevel/methods/messages/search-hashtag.cjs +2 -2
  177. package/highlevel/methods/messages/search-messages.cjs +2 -2
  178. package/highlevel/methods/messages/send-answer.cjs +2 -2
  179. package/highlevel/methods/messages/send-comment.cjs +2 -2
  180. package/highlevel/methods/messages/send-common.cjs +2 -2
  181. package/highlevel/methods/messages/send-copy-group.cjs +2 -2
  182. package/highlevel/methods/messages/send-copy.cjs +2 -2
  183. package/highlevel/methods/messages/send-media-group.cjs +2 -2
  184. package/highlevel/methods/messages/send-media.cjs +2 -2
  185. package/highlevel/methods/messages/send-paid-reaction.cjs +2 -2
  186. package/highlevel/methods/messages/send-quote.cjs +2 -2
  187. package/highlevel/methods/messages/send-reaction.cjs +2 -2
  188. package/highlevel/methods/messages/send-reply.cjs +2 -2
  189. package/highlevel/methods/messages/send-scheduled.cjs +2 -2
  190. package/highlevel/methods/messages/send-text.cjs +2 -2
  191. package/highlevel/methods/messages/send-typing.cjs +2 -2
  192. package/highlevel/methods/messages/send-vote.cjs +2 -2
  193. package/highlevel/methods/messages/set-typing.cjs +2 -2
  194. package/highlevel/methods/messages/translate-message.cjs +2 -2
  195. package/highlevel/methods/messages/translate-text.cjs +2 -2
  196. package/highlevel/methods/messages/unpin-all-messages.cjs +2 -2
  197. package/highlevel/methods/messages/unpin-message.cjs +2 -2
  198. package/highlevel/methods/misc/chain-id.cjs +2 -2
  199. package/highlevel/methods/misc/get-collectible-info.cjs +2 -2
  200. package/highlevel/methods/misc/init-takeout-session.cjs +2 -2
  201. package/highlevel/methods/misc/normalize-privacy-rules.cjs +2 -2
  202. package/highlevel/methods/misc/normalize-text.cjs +2 -2
  203. package/highlevel/methods/misc/with-params.cjs +2 -2
  204. package/highlevel/methods/password/change-cloud-password.cjs +2 -2
  205. package/highlevel/methods/password/enable-cloud-password.cjs +2 -2
  206. package/highlevel/methods/password/password-email.cjs +2 -2
  207. package/highlevel/methods/password/remove-cloud-password.cjs +2 -2
  208. package/highlevel/methods/premium/accept-star-gift.cjs +3 -8
  209. package/highlevel/methods/premium/accept-star-gift.d.cts +4 -2
  210. package/highlevel/methods/premium/accept-star-gift.d.ts +4 -2
  211. package/highlevel/methods/premium/accept-star-gift.js +1 -6
  212. package/highlevel/methods/premium/apply-boost.cjs +2 -2
  213. package/highlevel/methods/premium/can-apply-boost.cjs +2 -2
  214. package/highlevel/methods/premium/create-business-chat-link.cjs +2 -2
  215. package/highlevel/methods/premium/edit-business-chat-link.cjs +2 -2
  216. package/highlevel/methods/premium/get-boost-stats.cjs +2 -2
  217. package/highlevel/methods/premium/get-boosts.cjs +2 -2
  218. package/highlevel/methods/premium/get-business-chat-links.cjs +2 -2
  219. package/highlevel/methods/premium/get-business-connection.cjs +2 -2
  220. package/highlevel/methods/premium/get-my-boost-slots.cjs +2 -2
  221. package/highlevel/methods/premium/get-star-gift-options.cjs +9 -3
  222. package/highlevel/methods/premium/get-star-gift-options.js +7 -1
  223. package/highlevel/methods/premium/get-star-gifts.cjs +2 -2
  224. package/highlevel/methods/premium/get-stars-transactions.cjs +2 -2
  225. package/highlevel/methods/premium/iter-boosters.cjs +2 -2
  226. package/highlevel/methods/premium/iter-star-gifts.cjs +2 -2
  227. package/highlevel/methods/premium/iter-stars-transactions.cjs +2 -2
  228. package/highlevel/methods/premium/send-star-gift.cjs +12 -4
  229. package/highlevel/methods/premium/send-star-gift.d.cts +2 -0
  230. package/highlevel/methods/premium/send-star-gift.d.ts +2 -0
  231. package/highlevel/methods/premium/send-star-gift.js +10 -2
  232. package/highlevel/methods/premium/set-business-intro.cjs +2 -2
  233. package/highlevel/methods/premium/set-business-work-hours.cjs +2 -2
  234. package/highlevel/methods/premium/transfer-star-gift.cjs +31 -0
  235. package/highlevel/methods/premium/transfer-star-gift.d.cts +24 -0
  236. package/highlevel/methods/premium/transfer-star-gift.d.ts +24 -0
  237. package/highlevel/methods/premium/transfer-star-gift.js +26 -0
  238. package/highlevel/methods/premium/upgrade-star-gift.cjs +30 -0
  239. package/highlevel/methods/premium/upgrade-star-gift.d.cts +26 -0
  240. package/highlevel/methods/premium/upgrade-star-gift.d.ts +26 -0
  241. package/highlevel/methods/premium/upgrade-star-gift.js +25 -0
  242. package/highlevel/methods/stickers/_utils.cjs +2 -2
  243. package/highlevel/methods/stickers/add-sticker-to-set.cjs +2 -2
  244. package/highlevel/methods/stickers/create-sticker-set.cjs +2 -2
  245. package/highlevel/methods/stickers/delete-sticker-from-set.cjs +2 -2
  246. package/highlevel/methods/stickers/get-custom-emojis.cjs +2 -2
  247. package/highlevel/methods/stickers/get-installed-stickers.cjs +2 -2
  248. package/highlevel/methods/stickers/get-my-sticker-sets.cjs +2 -2
  249. package/highlevel/methods/stickers/get-sticker-set.cjs +2 -2
  250. package/highlevel/methods/stickers/move-sticker-in-set.cjs +2 -2
  251. package/highlevel/methods/stickers/replace-sticker-in-set.cjs +2 -2
  252. package/highlevel/methods/stickers/set-chat-sticker-set.cjs +2 -2
  253. package/highlevel/methods/stickers/set-sticker-set-thumb.cjs +2 -2
  254. package/highlevel/methods/stories/can-send-story.cjs +2 -2
  255. package/highlevel/methods/stories/delete-stories.cjs +2 -2
  256. package/highlevel/methods/stories/edit-story.cjs +2 -2
  257. package/highlevel/methods/stories/find-in-update.cjs +2 -2
  258. package/highlevel/methods/stories/get-all-stories.cjs +2 -2
  259. package/highlevel/methods/stories/get-peer-stories.cjs +2 -2
  260. package/highlevel/methods/stories/get-profile-stories.cjs +2 -2
  261. package/highlevel/methods/stories/get-stories-by-id.cjs +2 -2
  262. package/highlevel/methods/stories/get-stories-interactions.cjs +2 -2
  263. package/highlevel/methods/stories/get-story-link.cjs +2 -2
  264. package/highlevel/methods/stories/get-story-viewers.cjs +2 -2
  265. package/highlevel/methods/stories/hide-my-stories-views.cjs +2 -2
  266. package/highlevel/methods/stories/increment-stories-views.cjs +2 -2
  267. package/highlevel/methods/stories/iter-all-stories.cjs +2 -2
  268. package/highlevel/methods/stories/iter-profile-stories.cjs +2 -2
  269. package/highlevel/methods/stories/iter-story-viewers.cjs +2 -2
  270. package/highlevel/methods/stories/read-stories.cjs +2 -2
  271. package/highlevel/methods/stories/send-story-reaction.cjs +2 -2
  272. package/highlevel/methods/stories/send-story.cjs +2 -2
  273. package/highlevel/methods/stories/toggle-peer-stories-archived.cjs +2 -2
  274. package/highlevel/methods/stories/toggle-stories-pinned.cjs +2 -2
  275. package/highlevel/methods/users/block-user.cjs +2 -2
  276. package/highlevel/methods/users/delete-profile-photos.cjs +2 -2
  277. package/highlevel/methods/users/edit-close-friends.cjs +2 -2
  278. package/highlevel/methods/users/get-common-chats.cjs +2 -2
  279. package/highlevel/methods/users/get-global-ttl.cjs +2 -2
  280. package/highlevel/methods/users/get-me.cjs +2 -2
  281. package/highlevel/methods/users/get-my-username.cjs +2 -2
  282. package/highlevel/methods/users/get-profile-photo.cjs +2 -2
  283. package/highlevel/methods/users/get-profile-photos.cjs +2 -2
  284. package/highlevel/methods/users/get-users.cjs +2 -2
  285. package/highlevel/methods/users/is-peer-available.cjs +2 -2
  286. package/highlevel/methods/users/iter-profile-photos.cjs +2 -2
  287. package/highlevel/methods/users/resolve-peer-many.cjs +2 -2
  288. package/highlevel/methods/users/resolve-peer.cjs +2 -2
  289. package/highlevel/methods/users/set-emoji-status.cjs +2 -2
  290. package/highlevel/methods/users/set-global-ttl.cjs +2 -2
  291. package/highlevel/methods/users/set-my-birthday.cjs +2 -2
  292. package/highlevel/methods/users/set-my-profile-photo.cjs +2 -2
  293. package/highlevel/methods/users/set-my-username.cjs +2 -2
  294. package/highlevel/methods/users/set-online.cjs +2 -2
  295. package/highlevel/methods/users/unblock-user.cjs +2 -2
  296. package/highlevel/methods/users/update-profile.cjs +2 -2
  297. package/highlevel/methods.d.cts +2 -0
  298. package/highlevel/methods.d.ts +2 -0
  299. package/highlevel/storage/service/current-user.cjs +2 -2
  300. package/highlevel/storage/service/peers.cjs +2 -2
  301. package/highlevel/storage/service/ref-messages.cjs +2 -2
  302. package/highlevel/storage/service/updates.cjs +2 -2
  303. package/highlevel/storage/storage.cjs +2 -2
  304. package/highlevel/types/auth/sent-code.cjs +2 -2
  305. package/highlevel/types/bots/command-scope/inner.cjs +2 -2
  306. package/highlevel/types/bots/game-high-score.cjs +2 -2
  307. package/highlevel/types/bots/inline-message/factories.cjs +2 -2
  308. package/highlevel/types/bots/inline-result/factories.cjs +2 -2
  309. package/highlevel/types/bots/keyboards/builder.cjs +2 -2
  310. package/highlevel/types/bots/keyboards/factories.cjs +2 -2
  311. package/highlevel/types/bots/webview.cjs +2 -2
  312. package/highlevel/types/conversation.cjs +2 -2
  313. package/highlevel/types/errors.cjs +2 -2
  314. package/highlevel/types/files/file-location.cjs +2 -2
  315. package/highlevel/types/files/uploaded-file.cjs +2 -2
  316. package/highlevel/types/files/web-document.cjs +2 -2
  317. package/highlevel/types/index.d.cts +0 -1
  318. package/highlevel/types/index.d.ts +0 -1
  319. package/highlevel/types/media/audio.cjs +2 -2
  320. package/highlevel/types/media/contact.cjs +2 -2
  321. package/highlevel/types/media/dice.cjs +2 -2
  322. package/highlevel/types/media/document-utils.cjs +2 -2
  323. package/highlevel/types/media/document.cjs +2 -2
  324. package/highlevel/types/media/extended-media.cjs +2 -2
  325. package/highlevel/types/media/game.cjs +2 -2
  326. package/highlevel/types/media/input-media/factories.cjs +2 -2
  327. package/highlevel/types/media/invoice.cjs +2 -2
  328. package/highlevel/types/media/location.cjs +2 -2
  329. package/highlevel/types/media/paid-media.cjs +2 -2
  330. package/highlevel/types/media/photo.cjs +2 -2
  331. package/highlevel/types/media/poll.cjs +2 -2
  332. package/highlevel/types/media/sticker.cjs +2 -2
  333. package/highlevel/types/media/story.cjs +2 -2
  334. package/highlevel/types/media/thumbnail.cjs +2 -2
  335. package/highlevel/types/media/venue.cjs +2 -2
  336. package/highlevel/types/media/video.cjs +2 -2
  337. package/highlevel/types/media/voice.cjs +2 -2
  338. package/highlevel/types/media/web-page.cjs +2 -2
  339. package/highlevel/types/messages/dialog.cjs +5 -3
  340. package/highlevel/types/messages/dialog.js +3 -1
  341. package/highlevel/types/messages/draft-message.cjs +2 -2
  342. package/highlevel/types/messages/fact-check.cjs +2 -2
  343. package/highlevel/types/messages/input-message-id.cjs +2 -2
  344. package/highlevel/types/messages/message-action.cjs +11 -6
  345. package/highlevel/types/messages/message-action.d.cts +14 -3
  346. package/highlevel/types/messages/message-action.d.ts +14 -3
  347. package/highlevel/types/messages/message-action.js +9 -4
  348. package/highlevel/types/messages/message-effect.cjs +2 -2
  349. package/highlevel/types/messages/message-entity.cjs +2 -2
  350. package/highlevel/types/messages/message-forward.cjs +2 -2
  351. package/highlevel/types/messages/message-media.cjs +2 -2
  352. package/highlevel/types/messages/message-reactions.cjs +2 -2
  353. package/highlevel/types/messages/message-replies.cjs +2 -2
  354. package/highlevel/types/messages/message.cjs +13 -3
  355. package/highlevel/types/messages/message.d.cts +7 -0
  356. package/highlevel/types/messages/message.d.ts +7 -0
  357. package/highlevel/types/messages/message.js +11 -1
  358. package/highlevel/types/messages/replied-message.cjs +2 -2
  359. package/highlevel/types/messages/search-filters.cjs +2 -2
  360. package/highlevel/types/misc/collectible-info.cjs +2 -2
  361. package/highlevel/types/misc/entities.cjs +2 -2
  362. package/highlevel/types/misc/input-privacy-rule/allow.cjs +2 -2
  363. package/highlevel/types/misc/input-privacy-rule/bundle.cjs +2 -2
  364. package/highlevel/types/misc/input-privacy-rule/disallow.cjs +2 -2
  365. package/highlevel/types/misc/sticker-set.cjs +2 -2
  366. package/highlevel/types/misc/takeout-session.cjs +2 -2
  367. package/highlevel/types/peers/bot-info.cjs +5 -2
  368. package/highlevel/types/peers/bot-info.d.cts +1 -0
  369. package/highlevel/types/peers/bot-info.d.ts +1 -0
  370. package/highlevel/types/peers/bot-info.js +3 -0
  371. package/highlevel/types/peers/bot-verification.cjs +27 -0
  372. package/highlevel/types/peers/bot-verification.d.cts +12 -0
  373. package/highlevel/types/peers/bot-verification.d.ts +12 -0
  374. package/highlevel/types/peers/bot-verification.js +22 -0
  375. package/highlevel/types/peers/chat-colors.cjs +2 -2
  376. package/highlevel/types/peers/chat-event/actions.cjs +2 -2
  377. package/highlevel/types/peers/chat-event/filters.cjs +2 -2
  378. package/highlevel/types/peers/chat-event/index.cjs +2 -2
  379. package/highlevel/types/peers/chat-invite-link-member.cjs +2 -2
  380. package/highlevel/types/peers/chat-invite-link.cjs +2 -2
  381. package/highlevel/types/peers/chat-location.cjs +2 -2
  382. package/highlevel/types/peers/chat-member.cjs +2 -2
  383. package/highlevel/types/peers/chat-permissions.cjs +2 -2
  384. package/highlevel/types/peers/chat-photo.cjs +2 -2
  385. package/highlevel/types/peers/chat-preview.cjs +10 -2
  386. package/highlevel/types/peers/chat-preview.d.cts +6 -0
  387. package/highlevel/types/peers/chat-preview.d.ts +6 -0
  388. package/highlevel/types/peers/chat-preview.js +8 -0
  389. package/highlevel/types/peers/chat.cjs +10 -2
  390. package/highlevel/types/peers/chat.d.cts +5 -0
  391. package/highlevel/types/peers/chat.d.ts +5 -0
  392. package/highlevel/types/peers/chat.js +8 -0
  393. package/highlevel/types/peers/chatlist-preview.cjs +3 -3
  394. package/highlevel/types/peers/chatlist-preview.d.cts +2 -1
  395. package/highlevel/types/peers/chatlist-preview.d.ts +2 -1
  396. package/highlevel/types/peers/chatlist-preview.js +1 -1
  397. package/highlevel/types/peers/forum-topic.cjs +2 -2
  398. package/highlevel/types/peers/full-chat.cjs +10 -3
  399. package/highlevel/types/peers/full-chat.d.cts +3 -0
  400. package/highlevel/types/peers/full-chat.d.ts +3 -0
  401. package/highlevel/types/peers/full-chat.js +8 -1
  402. package/highlevel/types/peers/full-user.cjs +10 -3
  403. package/highlevel/types/peers/full-user.d.cts +3 -0
  404. package/highlevel/types/peers/full-user.d.ts +3 -0
  405. package/highlevel/types/peers/full-user.js +8 -1
  406. package/highlevel/types/peers/index.d.cts +1 -0
  407. package/highlevel/types/peers/index.d.ts +1 -0
  408. package/highlevel/types/peers/peer.cjs +2 -2
  409. package/highlevel/types/peers/peers-index.cjs +2 -2
  410. package/highlevel/types/peers/user.cjs +9 -2
  411. package/highlevel/types/peers/user.d.cts +5 -0
  412. package/highlevel/types/peers/user.d.ts +5 -0
  413. package/highlevel/types/peers/user.js +7 -0
  414. package/highlevel/types/premium/boost-slot.cjs +2 -2
  415. package/highlevel/types/premium/boost-stats.cjs +2 -2
  416. package/highlevel/types/premium/boost.cjs +2 -2
  417. package/highlevel/types/premium/business-account.cjs +2 -2
  418. package/highlevel/types/premium/business-chat-link.cjs +2 -2
  419. package/highlevel/types/premium/business-connection.cjs +2 -2
  420. package/highlevel/types/premium/business-intro.cjs +2 -2
  421. package/highlevel/types/premium/business-location.cjs +2 -2
  422. package/highlevel/types/premium/business-work-hours.cjs +2 -2
  423. package/highlevel/types/premium/index.d.cts +1 -0
  424. package/highlevel/types/premium/index.d.ts +1 -0
  425. package/highlevel/types/premium/stars-gift-unique.cjs +148 -0
  426. package/highlevel/types/premium/stars-gift-unique.d.cts +70 -0
  427. package/highlevel/types/premium/stars-gift-unique.d.ts +70 -0
  428. package/highlevel/types/premium/stars-gift-unique.js +143 -0
  429. package/highlevel/types/premium/stars-gift.cjs +33 -4
  430. package/highlevel/types/premium/stars-gift.d.cts +19 -4
  431. package/highlevel/types/premium/stars-gift.d.ts +19 -4
  432. package/highlevel/types/premium/stars-gift.js +31 -2
  433. package/highlevel/types/premium/stars-status.cjs +2 -2
  434. package/highlevel/types/premium/stars-transaction.cjs +34 -17
  435. package/highlevel/types/premium/stars-transaction.d.cts +15 -0
  436. package/highlevel/types/premium/stars-transaction.d.ts +15 -0
  437. package/highlevel/types/premium/stars-transaction.js +32 -15
  438. package/highlevel/types/reactions/emoji-status.cjs +2 -2
  439. package/highlevel/types/reactions/peer-reaction.cjs +2 -2
  440. package/highlevel/types/reactions/reaction-count.cjs +2 -2
  441. package/highlevel/types/reactions/types.cjs +2 -2
  442. package/highlevel/types/stories/all-stories.cjs +2 -2
  443. package/highlevel/types/stories/interactive/base.cjs +2 -2
  444. package/highlevel/types/stories/interactive/channel-post.cjs +2 -2
  445. package/highlevel/types/stories/interactive/index.cjs +2 -2
  446. package/highlevel/types/stories/interactive/input.cjs +2 -2
  447. package/highlevel/types/stories/interactive/location.cjs +2 -2
  448. package/highlevel/types/stories/interactive/reaction.cjs +2 -2
  449. package/highlevel/types/stories/interactive/url.cjs +2 -2
  450. package/highlevel/types/stories/interactive/venue.cjs +2 -2
  451. package/highlevel/types/stories/interactive/weather.cjs +2 -2
  452. package/highlevel/types/stories/peer-stories.cjs +2 -2
  453. package/highlevel/types/stories/stealth-mode.cjs +2 -2
  454. package/highlevel/types/stories/story-interactions.cjs +2 -2
  455. package/highlevel/types/stories/story-viewer.cjs +2 -2
  456. package/highlevel/types/stories/story.cjs +2 -2
  457. package/highlevel/types/updates/bot-chat-join-request.cjs +2 -2
  458. package/highlevel/types/updates/bot-reaction.cjs +2 -2
  459. package/highlevel/types/updates/bot-stopped.cjs +2 -2
  460. package/highlevel/types/updates/business-message.cjs +2 -3
  461. package/highlevel/types/updates/business-message.d.cts +0 -1
  462. package/highlevel/types/updates/business-message.d.ts +0 -1
  463. package/highlevel/types/updates/business-message.js +0 -1
  464. package/highlevel/types/updates/callback-query.cjs +2 -2
  465. package/highlevel/types/updates/chat-join-request.cjs +2 -2
  466. package/highlevel/types/updates/chat-member-update.cjs +2 -2
  467. package/highlevel/types/updates/chosen-inline-result.cjs +2 -2
  468. package/highlevel/types/updates/delete-business-message-update.cjs +2 -2
  469. package/highlevel/types/updates/delete-message-update.cjs +2 -2
  470. package/highlevel/types/updates/delete-story-update.cjs +2 -2
  471. package/highlevel/types/updates/history-read-update.cjs +2 -2
  472. package/highlevel/types/updates/inline-query.cjs +2 -2
  473. package/highlevel/types/updates/parse-update.cjs +2 -2
  474. package/highlevel/types/updates/poll-update.cjs +2 -2
  475. package/highlevel/types/updates/poll-vote.cjs +2 -2
  476. package/highlevel/types/updates/pre-checkout-query.cjs +2 -2
  477. package/highlevel/types/updates/story-update.cjs +2 -2
  478. package/highlevel/types/updates/user-status-update.cjs +2 -2
  479. package/highlevel/types/updates/user-typing-update.cjs +2 -2
  480. package/highlevel/updates/manager.cjs +2 -2
  481. package/highlevel/updates/parsed.cjs +2 -2
  482. package/highlevel/updates/types.cjs +2 -2
  483. package/highlevel/updates/utils.cjs +2 -2
  484. package/highlevel/utils/convert-file-id.cjs +2 -2
  485. package/highlevel/utils/entities.cjs +2 -2
  486. package/highlevel/utils/file-type.cjs +2 -2
  487. package/highlevel/utils/file-utils.cjs +2 -2
  488. package/highlevel/utils/inline-utils.cjs +2 -2
  489. package/highlevel/utils/inspectable.cjs +2 -2
  490. package/highlevel/utils/memoize.cjs +2 -2
  491. package/highlevel/utils/misc-utils.cjs +2 -2
  492. package/highlevel/utils/peer-utils.cjs +2 -2
  493. package/highlevel/utils/query-batcher.cjs +2 -2
  494. package/highlevel/utils/rps-meter.cjs +2 -2
  495. package/highlevel/utils/stream-utils.cjs +2 -2
  496. package/highlevel/utils/string-session.cjs +2 -2
  497. package/highlevel/utils/voice-utils.cjs +2 -2
  498. package/highlevel/worker/app-config.cjs +2 -2
  499. package/highlevel/worker/errors.cjs +2 -2
  500. package/highlevel/worker/invoker.cjs +2 -2
  501. package/highlevel/worker/port.cjs +4 -4
  502. package/highlevel/worker/port.d.cts +1 -1
  503. package/highlevel/worker/port.d.ts +1 -1
  504. package/highlevel/worker/port.js +2 -2
  505. package/highlevel/worker/protocol.cjs +2 -2
  506. package/highlevel/worker/storage.cjs +2 -2
  507. package/highlevel/worker/worker.cjs +2 -2
  508. package/index.cjs +9 -5
  509. package/index.js +7 -3
  510. package/methods.cjs +6 -2
  511. package/methods.js +4 -0
  512. package/network/auth-key.cjs +2 -2
  513. package/network/authorization.cjs +2 -2
  514. package/network/client.cjs +2 -2
  515. package/network/config-manager.cjs +2 -2
  516. package/network/middlewares/bundle.cjs +2 -2
  517. package/network/middlewares/default.cjs +2 -2
  518. package/network/middlewares/flood-waiter.cjs +2 -2
  519. package/network/middlewares/internal-errors.cjs +2 -2
  520. package/network/middlewares/on-error.cjs +2 -2
  521. package/network/middlewares/on-method.cjs +2 -2
  522. package/network/mtproto-session.cjs +2 -2
  523. package/network/mtproxy/_fake-tls.cjs +2 -2
  524. package/network/mtproxy/index.cjs +2 -2
  525. package/network/multi-session-connection.cjs +2 -2
  526. package/network/network-manager.cjs +3 -3
  527. package/network/network-manager.js +1 -1
  528. package/network/persistent-connection.cjs +2 -2
  529. package/network/server-salt.cjs +2 -2
  530. package/network/session-connection.cjs +2 -2
  531. package/network/transports/abstract.cjs +2 -2
  532. package/network/transports/intermediate.cjs +2 -2
  533. package/network/transports/obfuscated.cjs +2 -2
  534. package/package.json +4 -5
  535. package/storage/driver.cjs +2 -2
  536. package/storage/memory/driver.cjs +2 -2
  537. package/storage/memory/index.cjs +2 -2
  538. package/storage/memory/repository/auth-keys.cjs +2 -2
  539. package/storage/memory/repository/kv.cjs +2 -2
  540. package/storage/memory/repository/peers.cjs +2 -2
  541. package/storage/memory/repository/ref-messages.cjs +2 -2
  542. package/storage/service/auth-keys.cjs +2 -2
  543. package/storage/service/base.cjs +2 -2
  544. package/storage/service/default-dcs.cjs +2 -2
  545. package/storage/service/future-salts.cjs +2 -2
  546. package/storage/sqlite/driver.cjs +2 -2
  547. package/storage/sqlite/index.cjs +2 -2
  548. package/storage/sqlite/repository/auth-keys.cjs +2 -2
  549. package/storage/sqlite/repository/kv.cjs +2 -2
  550. package/storage/sqlite/repository/peers.cjs +2 -2
  551. package/storage/sqlite/repository/ref-messages.cjs +2 -2
  552. package/storage/storage.cjs +2 -2
  553. package/types/errors.cjs +2 -2
  554. package/types/utils.cjs +2 -2
  555. package/utils/abort-signal.cjs +2 -2
  556. package/utils/bigint-utils.cjs +2 -2
  557. package/utils/binary/asn1-parser.cjs +2 -2
  558. package/utils/crypto/abstract.cjs +2 -2
  559. package/utils/crypto/factorization.cjs +2 -2
  560. package/utils/crypto/keys.cjs +2 -2
  561. package/utils/crypto/miller-rabin.cjs +2 -2
  562. package/utils/crypto/mtproto.cjs +2 -2
  563. package/utils/crypto/password.cjs +2 -2
  564. package/utils/dcs.cjs +2 -2
  565. package/utils/early-timer.cjs +2 -2
  566. package/utils/error-reporting.cjs +2 -2
  567. package/utils/function-utils.cjs +2 -2
  568. package/utils/linked-list.cjs +2 -2
  569. package/utils/links/bots.cjs +2 -2
  570. package/utils/links/bundle.cjs +2 -2
  571. package/utils/links/calls.cjs +2 -2
  572. package/utils/links/chat.cjs +2 -2
  573. package/utils/links/common.cjs +2 -2
  574. package/utils/links/misc.cjs +2 -2
  575. package/utils/links/proxy.cjs +2 -2
  576. package/utils/links/stickers.cjs +2 -2
  577. package/utils/links/user.cjs +2 -2
  578. package/utils/logger.cjs +2 -2
  579. package/utils/long-utils.cjs +2 -2
  580. package/utils/misc-utils.cjs +2 -2
  581. package/utils/peer-utils.cjs +2 -2
  582. package/utils/sorted-array.cjs +2 -2
  583. package/utils/tl-json.cjs +2 -2
  584. package/utils/type-assertions.cjs +2 -2
  585. package/utils.cjs +2 -2
  586. package/worker.cjs +2 -2
  587. package/highlevel/types/calls/discard-reason.cjs +0 -38
  588. package/highlevel/types/calls/discard-reason.d.cts +0 -13
  589. package/highlevel/types/calls/discard-reason.d.ts +0 -13
  590. package/highlevel/types/calls/discard-reason.js +0 -33
  591. package/highlevel/types/calls/index.d.cts +0 -1
  592. package/highlevel/types/calls/index.d.ts +0 -1
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -10,7 +10,6 @@ class BusinessMessage extends message.Message {
10
10
  constructor(update, _peers) {
11
11
  super(update.message, _peers);
12
12
  this.update = update;
13
- this._peers = _peers;
14
13
  }
15
14
  /**
16
15
  * Unique identifier of the business connection from which the message was received.
@@ -6,7 +6,6 @@ import { Message } from '../messages/message.js';
6
6
  */
7
7
  export declare class BusinessMessage extends Message {
8
8
  readonly update: tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage;
9
- readonly _peers: PeersIndex;
10
9
  constructor(update: tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage, _peers: PeersIndex);
11
10
  /**
12
11
  * Unique identifier of the business connection from which the message was received.
@@ -6,7 +6,6 @@ import { Message } from '../messages/message.js';
6
6
  */
7
7
  export declare class BusinessMessage extends Message {
8
8
  readonly update: tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage;
9
- readonly _peers: PeersIndex;
10
9
  constructor(update: tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage, _peers: PeersIndex);
11
10
  /**
12
11
  * Unique identifier of the business connection from which the message was received.
@@ -3,7 +3,6 @@ class BusinessMessage extends Message$2 {
3
3
  constructor(update, _peers) {
4
4
  super(update.message, _peers);
5
5
  this.update = update;
6
- this._peers = _peers;
7
6
  }
8
7
  /**
9
8
  * Unique identifier of the business connection from which the message was received.
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
@@ -34,7 +34,7 @@ class TelegramWorkerPort {
34
34
  this.importSession = bind("importSession");
35
35
  this.exportSession = bind("exportSession");
36
36
  this.handleClientUpdate = bind("handleClientUpdate", true);
37
- this.getApiCrenetials = bind("getApiCrenetials");
37
+ this.getApiCredentials = bind("getApiCredentials");
38
38
  this.getPoolSize = bind("getPoolSize");
39
39
  this.getPrimaryDcId = bind("getPrimaryDcId");
40
40
  this.changePrimaryDc = bind("changePrimaryDc");
@@ -68,7 +68,7 @@ class TelegramWorkerPort {
68
68
  importSession;
69
69
  exportSession;
70
70
  handleClientUpdate;
71
- getApiCrenetials;
71
+ getApiCredentials;
72
72
  getPoolSize;
73
73
  getPrimaryDcId;
74
74
  changePrimaryDc;
@@ -33,7 +33,7 @@ export declare abstract class TelegramWorkerPort<Custom extends WorkerCustomMeth
33
33
  readonly importSession: ITelegramClient['importSession'];
34
34
  readonly exportSession: ITelegramClient['exportSession'];
35
35
  readonly handleClientUpdate: ITelegramClient['handleClientUpdate'];
36
- readonly getApiCrenetials: ITelegramClient['getApiCrenetials'];
36
+ readonly getApiCredentials: ITelegramClient['getApiCredentials'];
37
37
  readonly getPoolSize: ITelegramClient['getPoolSize'];
38
38
  readonly getPrimaryDcId: ITelegramClient['getPrimaryDcId'];
39
39
  readonly changePrimaryDc: ITelegramClient['changePrimaryDc'];
@@ -33,7 +33,7 @@ export declare abstract class TelegramWorkerPort<Custom extends WorkerCustomMeth
33
33
  readonly importSession: ITelegramClient['importSession'];
34
34
  readonly exportSession: ITelegramClient['exportSession'];
35
35
  readonly handleClientUpdate: ITelegramClient['handleClientUpdate'];
36
- readonly getApiCrenetials: ITelegramClient['getApiCrenetials'];
36
+ readonly getApiCredentials: ITelegramClient['getApiCredentials'];
37
37
  readonly getPoolSize: ITelegramClient['getPoolSize'];
38
38
  readonly getPrimaryDcId: ITelegramClient['getPrimaryDcId'];
39
39
  readonly changePrimaryDc: ITelegramClient['changePrimaryDc'];
@@ -27,7 +27,7 @@ class TelegramWorkerPort {
27
27
  this.importSession = bind("importSession");
28
28
  this.exportSession = bind("exportSession");
29
29
  this.handleClientUpdate = bind("handleClientUpdate", true);
30
- this.getApiCrenetials = bind("getApiCrenetials");
30
+ this.getApiCredentials = bind("getApiCredentials");
31
31
  this.getPoolSize = bind("getPoolSize");
32
32
  this.getPrimaryDcId = bind("getPrimaryDcId");
33
33
  this.changePrimaryDc = bind("changePrimaryDc");
@@ -61,7 +61,7 @@ class TelegramWorkerPort {
61
61
  importSession;
62
62
  exportSession;
63
63
  handleClientUpdate;
64
- getApiCrenetials;
64
+ getApiCredentials;
65
65
  getPoolSize;
66
66
  getPrimaryDcId;
67
67
  changePrimaryDc;
@@ -1,7 +1,7 @@
1
1
  if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
2
2
  globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
3
- console.warn("[mtcute-workspace] CommonJS support is deprecated and will be removed in 0.20.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
- console.warn("[mtcute-workspace] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
3
+ console.warn("[@mtcute/core] CommonJS support is deprecated and will be removed in 0.25.0. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
4
+ console.warn("[@mtcute/core] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
5
5
  }
6
6
  "use strict";
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });