@mtkruto/node 0.1.119 → 0.1.121

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 (627) hide show
  1. package/esm/0_deps.d.ts +3 -3
  2. package/esm/0_deps.js +3 -3
  3. package/esm/2_tl.d.ts +3 -3
  4. package/esm/2_tl.js +3 -3
  5. package/esm/3_errors.d.ts +509 -509
  6. package/esm/3_errors.js +509 -509
  7. package/esm/4_constants.d.ts +2 -2
  8. package/esm/4_constants.js +2 -2
  9. package/esm/4_errors.d.ts +7 -7
  10. package/esm/4_errors.js +6 -6
  11. package/esm/_dnt.shims.js +0 -1
  12. package/esm/client/0_password.d.ts +2 -2
  13. package/esm/client/0_password.js +4 -4
  14. package/esm/client/0_utilities.d.ts +3 -3
  15. package/esm/client/0_utilities.js +1 -2
  16. package/esm/client/2_client_plain.js +20 -20
  17. package/esm/client/5_client.d.ts +20 -6
  18. package/esm/client/5_client.js +313 -256
  19. package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  20. package/esm/storage/0_storage.d.ts +5 -5
  21. package/esm/tl/1_tl_object.d.ts +4 -0
  22. package/esm/tl/1_tl_object.js +13 -4
  23. package/esm/tl/2_types.d.ts +11384 -6448
  24. package/esm/tl/2_types.js +16321 -10139
  25. package/esm/tl/3_functions.d.ts +6773 -2401
  26. package/esm/tl/3_functions.js +9440 -3368
  27. package/esm/tl/3_utilities.d.ts +2 -2
  28. package/esm/tl/3_utilities.js +4 -4
  29. package/esm/tl/6_message.d.ts +1 -1
  30. package/esm/tl/6_message.js +1 -1
  31. package/esm/types/0__file_id.js +1 -2
  32. package/esm/types/0_audio.js +1 -1
  33. package/esm/types/0_chat_administrator_rights.d.ts +3 -3
  34. package/esm/types/0_chat_administrator_rights.js +20 -20
  35. package/esm/types/0_chat_photo.js +8 -8
  36. package/esm/types/0_contact.js +4 -4
  37. package/esm/types/0_force_reply.d.ts +1 -1
  38. package/esm/types/0_location.js +4 -4
  39. package/esm/types/0_mask_position.d.ts +2 -2
  40. package/esm/types/0_message_entity.d.ts +3 -3
  41. package/esm/types/0_message_entity.js +8 -8
  42. package/esm/types/0_poll_option.d.ts +2 -2
  43. package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
  44. package/esm/types/0_restriction_reason.d.ts +2 -2
  45. package/esm/types/0_thumbnail.js +3 -3
  46. package/esm/types/0_venue.js +3 -3
  47. package/esm/types/0_voice.js +1 -1
  48. package/esm/types/1_animation.js +2 -2
  49. package/esm/types/1_bot_command_scope.d.ts +1 -2
  50. package/esm/types/1_bot_command_scope.js +1 -1
  51. package/esm/types/1_chat.js +9 -9
  52. package/esm/types/1_document.js +2 -2
  53. package/esm/types/1_input_invoice_message_content.d.ts +1 -1
  54. package/esm/types/1_keyboard_button.d.ts +3 -3
  55. package/esm/types/1_keyboard_button.js +35 -35
  56. package/esm/types/1_photo.js +1 -1
  57. package/esm/types/1_poll.js +6 -6
  58. package/esm/types/1_sticker.js +3 -3
  59. package/esm/types/1_user.js +6 -6
  60. package/esm/types/1_video.js +1 -1
  61. package/esm/types/2_game.js +3 -3
  62. package/esm/types/2_inline_keyboard_button.d.ts +3 -3
  63. package/esm/types/2_inline_keyboard_button.js +9 -9
  64. package/esm/types/2_inline_query.js +8 -8
  65. package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
  66. package/esm/types/2_reply_keyboard_markup.js +2 -2
  67. package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
  68. package/esm/types/3_message.d.ts +4 -4
  69. package/esm/types/3_message.js +64 -64
  70. package/esm/types/4_callback_query.js +6 -6
  71. package/esm/types/4_reply_markup.d.ts +1 -1
  72. package/esm/types/5_inline_query_result.d.ts +1 -2
  73. package/esm/types/5_inline_query_result.js +30 -30
  74. package/package.json +13 -12
  75. package/script/0_deps.d.ts +3 -3
  76. package/script/0_deps.js +3 -3
  77. package/script/2_tl.d.ts +3 -3
  78. package/script/2_tl.js +5 -15
  79. package/script/3_errors.d.ts +509 -509
  80. package/script/3_errors.js +509 -509
  81. package/script/4_constants.d.ts +2 -2
  82. package/script/4_constants.js +2 -2
  83. package/script/4_errors.d.ts +7 -7
  84. package/script/4_errors.js +6 -6
  85. package/script/_dnt.shims.js +0 -1
  86. package/script/client/0_password.d.ts +2 -2
  87. package/script/client/0_password.js +4 -4
  88. package/script/client/0_utilities.d.ts +3 -3
  89. package/script/client/0_utilities.js +1 -2
  90. package/script/client/2_client_plain.js +20 -20
  91. package/script/client/5_client.d.ts +20 -6
  92. package/script/client/5_client.js +312 -255
  93. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
  94. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  95. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
  96. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
  97. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
  98. package/script/storage/0_storage.d.ts +5 -5
  99. package/script/storage/0_utilities.js +1 -1
  100. package/script/tl/1_tl_object.d.ts +4 -0
  101. package/script/tl/1_tl_object.js +14 -5
  102. package/script/tl/2_types.d.ts +11384 -6448
  103. package/script/tl/2_types.js +18030 -11825
  104. package/script/tl/3_functions.d.ts +6773 -2401
  105. package/script/tl/3_functions.js +10051 -3994
  106. package/script/tl/3_utilities.d.ts +2 -2
  107. package/script/tl/3_utilities.js +7 -30
  108. package/script/tl/6_message.d.ts +1 -1
  109. package/script/tl/6_message.js +4 -4
  110. package/script/types/0__file_id.js +4 -4
  111. package/script/types/0_audio.js +1 -1
  112. package/script/types/0_chat_administrator_rights.d.ts +3 -3
  113. package/script/types/0_chat_administrator_rights.js +20 -20
  114. package/script/types/0_chat_photo.js +8 -8
  115. package/script/types/0_contact.js +4 -4
  116. package/script/types/0_force_reply.d.ts +1 -1
  117. package/script/types/0_location.js +4 -4
  118. package/script/types/0_mask_position.d.ts +2 -2
  119. package/script/types/0_message_entity.d.ts +3 -3
  120. package/script/types/0_message_entity.js +8 -8
  121. package/script/types/0_poll_option.d.ts +2 -2
  122. package/script/types/0_reply_keyboard_remove.d.ts +1 -1
  123. package/script/types/0_restriction_reason.d.ts +2 -2
  124. package/script/types/0_thumbnail.js +3 -3
  125. package/script/types/0_venue.js +3 -3
  126. package/script/types/0_voice.js +1 -1
  127. package/script/types/1_animation.js +2 -2
  128. package/script/types/1_bot_command_scope.d.ts +1 -2
  129. package/script/types/1_bot_command_scope.js +1 -1
  130. package/script/types/1_chat.js +9 -9
  131. package/script/types/1_document.js +2 -2
  132. package/script/types/1_input_invoice_message_content.d.ts +1 -1
  133. package/script/types/1_keyboard_button.d.ts +3 -3
  134. package/script/types/1_keyboard_button.js +35 -35
  135. package/script/types/1_photo.js +1 -1
  136. package/script/types/1_poll.js +6 -6
  137. package/script/types/1_sticker.js +3 -3
  138. package/script/types/1_user.js +6 -6
  139. package/script/types/1_video.js +1 -1
  140. package/script/types/2_game.js +3 -3
  141. package/script/types/2_inline_keyboard_button.d.ts +3 -3
  142. package/script/types/2_inline_keyboard_button.js +9 -9
  143. package/script/types/2_inline_query.js +8 -8
  144. package/script/types/2_reply_keyboard_markup.d.ts +1 -1
  145. package/script/types/2_reply_keyboard_markup.js +2 -2
  146. package/script/types/3_inline_keyboard_markup.d.ts +1 -1
  147. package/script/types/3_message.d.ts +4 -4
  148. package/script/types/3_message.js +64 -64
  149. package/script/types/4_callback_query.js +6 -6
  150. package/script/types/4_reply_markup.d.ts +1 -1
  151. package/script/types/5_inline_query_result.d.ts +1 -2
  152. package/script/types/5_inline_query_result.js +30 -30
  153. package/esm/_dnt.test_shims.d.ts +0 -10
  154. package/esm/client/0_password_test.d.ts +0 -1
  155. package/esm/client/0_utilities_test.d.ts +0 -1
  156. package/esm/storage/0_utilities_test.d.ts +0 -1
  157. package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
  158. package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
  159. package/esm/tl/1_tl_object_test.d.ts +0 -1
  160. package/esm/tl/2_types_test.d.ts +0 -1
  161. package/esm/tl/3_deserialize_test.d.ts +0 -1
  162. package/esm/tl/3_functions_test.d.ts +0 -1
  163. package/esm/tl/6_message_test.d.ts +0 -1
  164. package/esm/utilities/0_base64_test.d.ts +0 -1
  165. package/esm/utilities/0_bigint_test.d.ts +0 -1
  166. package/esm/utilities/0_buffer_test.d.ts +0 -1
  167. package/esm/utilities/0_rle_test.d.ts +0 -1
  168. package/script/_dnt.test_shims.d.ts +0 -10
  169. package/script/client/0_password_test.d.ts +0 -1
  170. package/script/client/0_utilities_test.d.ts +0 -1
  171. package/script/storage/0_utilities_test.d.ts +0 -1
  172. package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
  173. package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
  174. package/script/tl/1_tl_object_test.d.ts +0 -1
  175. package/script/tl/2_types_test.d.ts +0 -1
  176. package/script/tl/3_deserialize_test.d.ts +0 -1
  177. package/script/tl/3_functions_test.d.ts +0 -1
  178. package/script/tl/6_message_test.d.ts +0 -1
  179. package/script/utilities/0_base64_test.d.ts +0 -1
  180. package/script/utilities/0_bigint_test.d.ts +0 -1
  181. package/script/utilities/0_buffer_test.d.ts +0 -1
  182. package/script/utilities/0_rle_test.d.ts +0 -1
  183. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  184. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  185. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  186. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
  187. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  188. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  189. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  404. /package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  405. /package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
  406. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  407. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  408. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  409. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  411. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  413. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  415. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  417. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  419. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  421. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  423. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  425. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  427. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  429. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  431. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  433. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  435. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  437. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  439. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  441. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  443. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  446. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  448. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  450. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  452. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  454. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  456. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  458. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  460. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  462. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  464. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  466. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  468. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  470. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  472. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  474. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  476. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  478. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  480. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  482. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  484. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  486. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  488. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  490. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  492. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  494. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  496. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  498. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  500. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  502. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  504. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  506. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  508. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  510. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  512. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  514. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  516. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  518. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  520. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  522. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  524. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  526. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  528. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  530. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  532. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  534. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  536. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  538. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  540. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  542. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  544. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  546. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  548. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  550. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  552. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  554. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  556. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  558. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  560. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  562. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  564. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  566. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  568. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  570. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  572. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  574. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  576. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  578. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  580. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  582. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  584. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  586. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  588. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  590. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  592. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  594. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  596. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  598. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  599. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  600. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  602. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  604. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  606. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  608. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  609. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  610. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  612. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  614. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  616. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  618. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  620. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  621. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  622. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  623. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  624. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  625. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  626. /package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  627. /package/script/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
@@ -26,8 +26,8 @@ import { constructReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
26
26
  import { constructInlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
27
27
  const d = debug("types/Message");
28
28
  async function getSender(message_, getEntity) {
29
- if (message_.fromId instanceof types.PeerUser) {
30
- const entity = await getEntity(message_.fromId);
29
+ if (message_.from_id instanceof types.PeerUser) {
30
+ const entity = await getEntity(message_.from_id);
31
31
  if (entity) {
32
32
  return { from: constructUser(entity) };
33
33
  }
@@ -35,8 +35,8 @@ async function getSender(message_, getEntity) {
35
35
  UNREACHABLE();
36
36
  }
37
37
  }
38
- else if (message_.fromId instanceof types.PeerChannel) {
39
- const entity = await getEntity(message_.fromId);
38
+ else if (message_.from_id instanceof types.PeerChannel) {
39
+ const entity = await getEntity(message_.from_id);
40
40
  if (entity) {
41
41
  return { senderChat: constructChat(entity) };
42
42
  }
@@ -46,20 +46,20 @@ async function getSender(message_, getEntity) {
46
46
  }
47
47
  }
48
48
  async function getReply(message_, chat, getMessage) {
49
- if (getMessage && message_.replyTo instanceof types.MessageReplyHeader && message_.replyTo.replyToMsgId) {
49
+ if (getMessage && message_.reply_to instanceof types.MessageReplyHeader && message_.reply_to.reply_to_msg_id) {
50
50
  let isTopicMessage = false;
51
- if (message_.replyTo.forumTopic) {
51
+ if (message_.reply_to.forum_topic) {
52
52
  isTopicMessage = true;
53
53
  }
54
- const replyToMessage = await getMessage(chat.id, message_.replyTo.replyToMsgId);
55
- if (replyToMessage) {
56
- return { replyToMessage, threadId: message_.replyTo.replyToTopId, isTopicMessage };
54
+ const reply_toMessage = await getMessage(chat.id, message_.reply_to.reply_to_msg_id);
55
+ if (reply_toMessage) {
56
+ return { reply_toMessage, threadId: message_.reply_to.reply_to_top_id, isTopicMessage };
57
57
  }
58
58
  else {
59
59
  d("couldn't get replied message");
60
60
  }
61
61
  }
62
- return { replyToMessage: undefined, threadId: undefined, isTopicMessage: undefined };
62
+ return { reply_toMessage: undefined, threadId: undefined, isTopicMessage: undefined };
63
63
  }
64
64
  async function constructServiceMessage(message_, chat, getEntity, getMessage) {
65
65
  const message = {
@@ -73,7 +73,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
73
73
  if (message_.action instanceof types.MessageActionChatAddUser) {
74
74
  message.newChatMembers = [];
75
75
  for (const user_ of message_.action.users) {
76
- const entity = await getEntity(new types.PeerUser({ userId: user_ }));
76
+ const entity = await getEntity(new types.PeerUser({ user_id: user_ }));
77
77
  if (entity) {
78
78
  const user = constructUser(entity);
79
79
  message.newChatMembers.push(user);
@@ -84,7 +84,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
84
84
  }
85
85
  }
86
86
  else if (message_.action instanceof types.MessageActionChatDeleteUser) {
87
- const entity = await getEntity(new types.PeerUser({ userId: message_.action.userId }));
87
+ const entity = await getEntity(new types.PeerUser({ user_id: message_.action.user_id }));
88
88
  if (entity) {
89
89
  const user = constructUser(entity);
90
90
  message.leftChatMember = user;
@@ -106,7 +106,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
106
106
  message.groupCreated = true;
107
107
  message.newChatMembers = [];
108
108
  for (const user_ of message_.action.users) {
109
- const entity = await getEntity(new types.PeerUser({ userId: user_ }));
109
+ const entity = await getEntity(new types.PeerUser({ user_id: user_ }));
110
110
  if (entity) {
111
111
  const user = constructUser(entity);
112
112
  message.newChatMembers.push(user);
@@ -128,18 +128,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
128
128
  }
129
129
  }
130
130
  else if (message_.action instanceof types.MessageActionChatMigrateTo) {
131
- message.chatMigratedTo = ZERO_CHANNEL_ID + Number(-message_.action.channelId);
131
+ message.chatMigratedTo = ZERO_CHANNEL_ID + Number(-message_.action.channel_id);
132
132
  }
133
133
  else if (message_.action instanceof types.MessageActionChannelMigrateFrom) {
134
- message.chatMigratedFrom = Number(-message_.action.chatId);
134
+ message.chatMigratedFrom = Number(-message_.action.chat_id);
135
135
  }
136
136
  else if (message_.action instanceof types.MessageActionPinMessage) {
137
- const { replyToMessage } = await getReply(message_, chat, getMessage);
138
- message.pinnedMessage = replyToMessage;
137
+ const { reply_toMessage } = await getReply(message_, chat, getMessage);
138
+ message.pinnedMessage = reply_toMessage;
139
139
  }
140
140
  else if (message_.action instanceof types.MessageActionRequestedPeer) {
141
141
  const user = message_.action.peer[as](types.PeerUser);
142
- message.userShared = { requestId: message_.action.buttonId, userId: Number(user.userId) };
142
+ message.userShared = { requestId: message_.action.button_id, userId: Number(user.user_id) };
143
143
  }
144
144
  else if (message_.action instanceof types.MessageActionBotAllowed) {
145
145
  const webAppName = message_.action.app ? message_.action.app[as](types.BotApp).title : undefined;
@@ -148,18 +148,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
148
148
  else if (message_.action instanceof types.MessageActionTopicCreate) {
149
149
  message.forumTopicCreated = {
150
150
  name: message_.action.title,
151
- iconColor: "#" + message_.action.iconColor.toString(16).padStart(6, "0"),
152
- iconCutsomEmojiId: message_.action.iconEmojiId ? String(message_.action.iconEmojiId) : undefined,
151
+ iconColor: "#" + message_.action.icon_color.toString(16).padStart(6, "0"),
152
+ iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
153
153
  };
154
154
  }
155
155
  else if (message_.action instanceof types.MessageActionTopicEdit) {
156
156
  if (message_.action.closed) {
157
157
  message.forumTopicClosed = {};
158
158
  }
159
- else if (message_.action.title || message_.action.iconEmojiId) {
159
+ else if (message_.action.title || message_.action.icon_emoji_id) {
160
160
  message.forumTopicEdited = {
161
161
  name: message_.action.title,
162
- iconCutsomEmojiId: message_.action.iconEmojiId ? String(message_.action.iconEmojiId) : undefined,
162
+ iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
163
163
  };
164
164
  }
165
165
  else {
@@ -167,7 +167,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
167
167
  }
168
168
  }
169
169
  else if (message_.action instanceof types.MessageActionGroupCallScheduled) {
170
- message.videoChatScheduled = { startDate: new Date(message_.action.scheduleDate * 1000) };
170
+ message.videoChatScheduled = { startDate: new Date(message_.action.schedule_date * 1000) };
171
171
  }
172
172
  else if (message_.action instanceof types.MessageActionGroupCall) {
173
173
  if (message_.action.duration) {
@@ -188,8 +188,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
188
188
  }
189
189
  let link;
190
190
  let chat_ = null;
191
- if (message_.peerId instanceof types.PeerUser) {
192
- const entity = await getEntity(message_.peerId);
191
+ if (message_.peer_id instanceof types.PeerUser) {
192
+ const entity = await getEntity(message_.peer_id);
193
193
  if (entity) {
194
194
  chat_ = constructChat(entity);
195
195
  }
@@ -197,8 +197,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
197
197
  UNREACHABLE();
198
198
  }
199
199
  }
200
- else if (message_.peerId instanceof types.PeerChat) {
201
- const entity = await getEntity(message_.peerId);
200
+ else if (message_.peer_id instanceof types.PeerChat) {
201
+ const entity = await getEntity(message_.peer_id);
202
202
  if (entity) {
203
203
  chat_ = constructChat(entity);
204
204
  }
@@ -206,9 +206,9 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
206
206
  UNREACHABLE();
207
207
  }
208
208
  }
209
- else if (message_.peerId instanceof types.PeerChannel) {
210
- link = `https://t.me/c/${message_.peerId.channelId}/${message_.id}`;
211
- const entity = await getEntity(message_.peerId);
209
+ else if (message_.peer_id instanceof types.PeerChannel) {
210
+ link = `https://t.me/c/${message_.peer_id.channel_id}/${message_.id}`;
211
+ const entity = await getEntity(message_.peer_id);
212
212
  if (entity) {
213
213
  chat_ = constructChat(entity);
214
214
  }
@@ -237,8 +237,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
237
237
  if (message_.media instanceof types.MessageMediaPhoto || message_.media instanceof types.MessageMediaDocument) {
238
238
  message.hasMediaSpoiler = message_.media.spoiler || false;
239
239
  }
240
- if (message_.groupedId != undefined) {
241
- message.mediaGroupId = String(message_.groupedId);
240
+ if (message_.grouped_id != undefined) {
241
+ message.mediaGroupId = String(message_.grouped_id);
242
242
  }
243
243
  if (message_.message) {
244
244
  if (message_.media == undefined) {
@@ -256,28 +256,28 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
256
256
  message.captionEntities = message_.entities.map(constructMessageEntity).filter((v) => v);
257
257
  }
258
258
  }
259
- if (message_.editDate != undefined) {
260
- message.editDate = new Date(message_.editDate * 1000);
259
+ if (message_.edit_date != undefined) {
260
+ message.editDate = new Date(message_.edit_date * 1000);
261
261
  }
262
- if (message_.replyMarkup) {
263
- if (message_.replyMarkup instanceof types.ReplyKeyboardMarkup) {
264
- message.replyMarkup = constructReplyKeyboardMarkup(message_.replyMarkup);
262
+ if (message_.reply_markup) {
263
+ if (message_.reply_markup instanceof types.ReplyKeyboardMarkup) {
264
+ message.replyMarkup = constructReplyKeyboardMarkup(message_.reply_markup);
265
265
  }
266
- else if (message_.replyMarkup instanceof types.ReplyInlineMarkup) {
267
- message.replyMarkup = constructInlineKeyboardMarkup(message_.replyMarkup);
266
+ else if (message_.reply_markup instanceof types.ReplyInlineMarkup) {
267
+ message.replyMarkup = constructInlineKeyboardMarkup(message_.reply_markup);
268
268
  }
269
- else if (message_.replyMarkup instanceof types.ReplyKeyboardHide) {
270
- message.replyMarkup = constructReplyKeyboardRemove(message_.replyMarkup);
269
+ else if (message_.reply_markup instanceof types.ReplyKeyboardHide) {
270
+ message.replyMarkup = constructReplyKeyboardRemove(message_.reply_markup);
271
271
  }
272
- else if (message_.replyMarkup instanceof types.ReplyKeyboardForceReply) {
273
- message.replyMarkup = constructForceReply(message_.replyMarkup);
272
+ else if (message_.reply_markup instanceof types.ReplyKeyboardForceReply) {
273
+ message.replyMarkup = constructForceReply(message_.reply_markup);
274
274
  }
275
275
  else {
276
276
  UNREACHABLE();
277
277
  }
278
278
  }
279
- if (message_.viaBotId != undefined) {
280
- const viaBot = await getEntity(new types.PeerUser({ userId: message_.viaBotId }));
279
+ if (message_.via_bot_id != undefined) {
280
+ const viaBot = await getEntity(new types.PeerUser({ user_id: message_.via_bot_id }));
281
281
  if (viaBot) {
282
282
  message.viaBot = constructUser(viaBot);
283
283
  }
@@ -285,17 +285,17 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
285
285
  UNREACHABLE();
286
286
  }
287
287
  }
288
- if (message_.postAuthor != undefined) {
289
- message.authorSignature = message_.postAuthor;
288
+ if (message_.post_author != undefined) {
289
+ message.authorSignature = message_.post_author;
290
290
  }
291
- if (message_.fwdFrom instanceof types.MessageFwdHeader) {
292
- message.isAutomaticForward = message_.fwdFrom.savedFromPeer != undefined && message_.fwdFrom.savedFromMsgId != undefined;
293
- message.forwardSenderName = message_.fwdFrom.fromName;
294
- message.forwardId = message_.fwdFrom.channelPost;
295
- message.forwardSignature = message_.fwdFrom.postAuthor;
291
+ if (message_.fwd_from instanceof types.MessageFwdHeader) {
292
+ message.isAutomaticForward = message_.fwd_from.saved_from_peer != undefined && message_.fwd_from.saved_from_msg_id != undefined;
293
+ message.forwardSenderName = message_.fwd_from.from_name;
294
+ message.forwardId = message_.fwd_from.channel_post;
295
+ message.forwardSignature = message_.fwd_from.post_author;
296
296
  message.forwardDate = new Date(message_.date * 1000);
297
- if (message_.fwdFrom.fromId instanceof types.PeerUser) {
298
- const entity = await getEntity(message_.fwdFrom.fromId);
297
+ if (message_.fwd_from.from_id instanceof types.PeerUser) {
298
+ const entity = await getEntity(message_.fwd_from.from_id);
299
299
  if (entity) {
300
300
  message.forwardFrom = constructUser(entity);
301
301
  }
@@ -303,8 +303,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
303
303
  UNREACHABLE();
304
304
  }
305
305
  }
306
- else if (message_.fwdFrom.fromId instanceof types.PeerChat) {
307
- const entity = await getEntity(message_.fwdFrom.fromId);
306
+ else if (message_.fwd_from.from_id instanceof types.PeerChat) {
307
+ const entity = await getEntity(message_.fwd_from.from_id);
308
308
  if (entity) {
309
309
  message.forwardFromChat = constructChat(entity);
310
310
  }
@@ -312,8 +312,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
312
312
  UNREACHABLE();
313
313
  }
314
314
  }
315
- else if (message_.fwdFrom.fromId instanceof types.PeerChannel) {
316
- const entity = await getEntity(message_.fwdFrom.fromId);
315
+ else if (message_.fwd_from.from_id instanceof types.PeerChannel) {
316
+ const entity = await getEntity(message_.fwd_from.from_id);
317
317
  if (entity) {
318
318
  message.forwardFromChat = constructChat(entity);
319
319
  }
@@ -334,10 +334,10 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
334
334
  else if (message_.media instanceof types.MessageMediaDocument) {
335
335
  const { document } = message_.media;
336
336
  if (document instanceof types.Document) {
337
- const getFileId = (type) => new FileID(null, null, type, document.dcId, {
337
+ const getFileId = (type) => new FileID(null, null, type, document.dc_id, {
338
338
  mediaId: document.id,
339
- accessHash: document.accessHash,
340
- fileReference: document.fileReference,
339
+ accessHash: document.access_hash,
340
+ fileReference: document.file_reference,
341
341
  }).encode();
342
342
  const fileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: document.id }).encode();
343
343
  const animated = document.attributes.find((v) => v instanceof types.DocumentAttributeAnimated);
@@ -349,11 +349,11 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
349
349
  message.animation = constructAnimation(document, video, fileName, getFileId(FileType.Animation), fileUniqueId);
350
350
  }
351
351
  else if (video) {
352
- if (video.roundMessage) {
352
+ if (video.round_message) {
353
353
  message.videoNote = constructVideoNote(document, video, getFileId(FileType.VideoNote), fileUniqueId);
354
354
  }
355
355
  else {
356
- message.video = constructVideo(document, video, fileName?.fileName, getFileId(FileType.Video), fileUniqueId);
356
+ message.video = constructVideo(document, video, fileName?.file_name, getFileId(FileType.Video), fileUniqueId);
357
357
  }
358
358
  }
359
359
  else if (audio) {
@@ -371,7 +371,7 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
371
371
  message.document = constructDocument(document, fileName, getFileId(FileType.Document), fileUniqueId);
372
372
  }
373
373
  else {
374
- message.document = constructDocument(document, new types.DocumentAttributeFilename({ fileName: "Unknown" }), getFileId(FileType.Document), fileUniqueId);
374
+ message.document = constructDocument(document, new types.DocumentAttributeFilename({ file_name: "Unknown" }), getFileId(FileType.Document), fileUniqueId);
375
375
  }
376
376
  }
377
377
  }
@@ -2,23 +2,23 @@ import { cleanObject, UNREACHABLE } from "../1_utilities.js";
2
2
  import { peerToChatId, types } from "../2_tl.js";
3
3
  import { constructUser } from "./1_user.js";
4
4
  export async function constructCallbackQuery(callbackQuery, getEntity, getMessage) {
5
- const user_ = await getEntity(new types.PeerUser({ userId: callbackQuery.userId }));
5
+ const user_ = await getEntity(new types.PeerUser({ user_id: callbackQuery.user_id }));
6
6
  if (!user_) {
7
7
  UNREACHABLE();
8
8
  }
9
9
  const user = constructUser(user_);
10
- const id = String(callbackQuery.queryId);
11
- const gameShortName = callbackQuery.gameShortName;
10
+ const id = String(callbackQuery.query_id);
11
+ const gameShortName = callbackQuery.game_short_name;
12
12
  const data = callbackQuery.data !== undefined ? new TextDecoder().decode(callbackQuery.data) : undefined;
13
- const chatInstance = callbackQuery.chatInstance == 0n ? "" : String(callbackQuery.chatInstance);
13
+ const chatInstance = callbackQuery.chat_instance == 0n ? "" : String(callbackQuery.chat_instance);
14
14
  if (callbackQuery instanceof types.UpdateBotCallbackQuery) {
15
- const message = await getMessage(peerToChatId(callbackQuery.peer), Number(callbackQuery.msgId));
15
+ const message = await getMessage(peerToChatId(callbackQuery.peer), Number(callbackQuery.msg_id));
16
16
  if (message == null) {
17
17
  UNREACHABLE();
18
18
  }
19
19
  return cleanObject({ id, from: user, message, chatInstance, data, gameShortName });
20
20
  }
21
21
  else {
22
- return cleanObject({ id, from: user, inlineMessageId: Number(callbackQuery.msgId.id), chatInstance, data, gameShortName });
22
+ return cleanObject({ id, from: user, inlineMessageId: Number(callbackQuery.msg_id.id), chatInstance, data, gameShortName });
23
23
  }
24
24
  }
@@ -4,4 +4,4 @@ import { UsernameResolver } from "./1__getters.js";
4
4
  import { ReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
5
5
  import { InlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
6
6
  export type ReplyMarkup = InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
7
- export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").ReplyKeyboardHide | import("../tl/2_types.js").ReplyKeyboardForceReply | import("../tl/2_types.js").ReplyKeyboardMarkup | import("../tl/2_types.js").ReplyInlineMarkup>;
7
+ export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").ReplyKeyboardHide_ | import("../tl/2_types.js").ReplyKeyboardForceReply_ | import("../tl/2_types.js").ReplyKeyboardMarkup_ | import("../tl/2_types.js").ReplyInlineMarkup_>;
@@ -1,4 +1,3 @@
1
- import { types } from "../2_tl.js";
2
1
  import { MessageEntity } from "./0_message_entity.js";
3
2
  import { ParseMode } from "./0_parse_mode.js";
4
3
  import { UsernameResolver } from "./1__getters.js";
@@ -26,4 +25,4 @@ export type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResult
26
25
  export declare function inlineQueryResultToTlObject(result_: InlineQueryResult, parseText: (text: string, params?: {
27
26
  parseMode?: ParseMode;
28
27
  entities?: MessageEntity[];
29
- }) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<types.InputBotInlineResult | types.InputBotInlineResultDocument>;
28
+ }) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").InputBotInlineResult_ | import("../tl/2_types.js").InputBotInlineResultDocument_>;
@@ -13,7 +13,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
13
13
  document = new types.InputWebDocument({
14
14
  url: result_.audioUrl,
15
15
  size: 0,
16
- mimeType: "audio/mpeg",
16
+ mime_type: "audio/mpeg",
17
17
  attributes: [
18
18
  new types.DocumentAttributeAudio({
19
19
  duration: result_.audioDuration ?? 0,
@@ -32,7 +32,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
32
32
  document = new types.InputWebDocument({
33
33
  url: result_.videoUrl,
34
34
  size: 0,
35
- mimeType: result_.mimeType ?? "video/mp4",
35
+ mime_type: result_.mimeType ?? "video/mp4",
36
36
  attributes: [
37
37
  new types.DocumentAttributeVideo({
38
38
  duration: result_.videoDuration ?? 0,
@@ -50,7 +50,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
50
50
  if ("documentUrl" in result_) {
51
51
  document = new types.InputWebDocument({
52
52
  url: result_.documentUrl,
53
- mimeType: "application/octet-stream",
53
+ mime_type: "application/octet-stream",
54
54
  attributes: [],
55
55
  size: 0,
56
56
  });
@@ -64,7 +64,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
64
64
  document = new types.InputWebDocument({
65
65
  url: result_.gifUrl,
66
66
  size: 0,
67
- mimeType: "image/gif",
67
+ mime_type: "image/gif",
68
68
  attributes: [
69
69
  new types.DocumentAttributeVideo({
70
70
  duration: result_.gifDuration ?? 0,
@@ -83,14 +83,14 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
83
83
  document = new types.InputWebDocument({
84
84
  url: result_.mpeg4Url,
85
85
  size: 0,
86
- mimeType: "video/mp4",
86
+ mime_type: "video/mp4",
87
87
  attributes: [
88
88
  new types.DocumentAttributeVideo({
89
89
  nosound: true,
90
90
  duration: result_.mpeg4Duration ?? 0,
91
91
  w: result_.mpeg4Width ?? 0,
92
92
  h: result_.mpeg4Height ?? 0,
93
- supportsStreaming: true,
93
+ supports_streaming: true,
94
94
  }),
95
95
  ],
96
96
  });
@@ -104,7 +104,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
104
104
  document = new types.InputWebDocument({
105
105
  url: result_.photoUrl,
106
106
  size: 0,
107
- mimeType: "image/jpeg",
107
+ mime_type: "image/jpeg",
108
108
  attributes: [new types.DocumentAttributeImageSize({ w: result_.photoWidth ?? 0, h: result_.photoHeight ?? 0 })],
109
109
  });
110
110
  }
@@ -120,7 +120,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
120
120
  document = new types.InputWebDocument({
121
121
  url: result_.voiceUrl,
122
122
  size: 0,
123
- mimeType: "audio/mpeg",
123
+ mime_type: "audio/mpeg",
124
124
  attributes: [
125
125
  new types.DocumentAttributeAudio({
126
126
  duration: result_.voiceDuration ?? 0,
@@ -139,7 +139,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
139
139
  thumb = new types.InputWebDocument({
140
140
  url: result_.thumbnailUrl,
141
141
  size: 0,
142
- mimeType: "image/jpeg",
142
+ mime_type: "image/jpeg",
143
143
  attributes: [],
144
144
  });
145
145
  }
@@ -155,7 +155,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
155
155
  const sendMessage = new types.InputBotInlineMessageMediaAuto({
156
156
  message,
157
157
  entities,
158
- replyMarkup,
158
+ reply_markup: replyMarkup,
159
159
  });
160
160
  const title = "title" in result_ ? result_.title : undefined;
161
161
  const description = "description" in result_ ? result_.description : undefined;
@@ -167,10 +167,10 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
167
167
  description,
168
168
  thumb: thumb == null ? undefined : thumb,
169
169
  content: document,
170
- sendMessage: new types.InputBotInlineMessageMediaAuto({
170
+ send_message: new types.InputBotInlineMessageMediaAuto({
171
171
  message,
172
172
  entities,
173
- replyMarkup,
173
+ reply_markup: replyMarkup,
174
174
  }),
175
175
  });
176
176
  }
@@ -183,10 +183,10 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
183
183
  description,
184
184
  document: new types.InputDocument({
185
185
  id: fileId.params.mediaId,
186
- accessHash: fileId.params.accessHash,
187
- fileReference: fileId.params.fileReference,
186
+ access_hash: fileId.params.accessHash,
187
+ file_reference: fileId.params.fileReference,
188
188
  }),
189
- sendMessage,
189
+ send_message: sendMessage,
190
190
  });
191
191
  }
192
192
  else if (result_.type == "location") {
@@ -195,16 +195,16 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
195
195
  type,
196
196
  title,
197
197
  description,
198
- sendMessage: new types.InputBotInlineMessageMediaGeo({
199
- geoPoint: new types.InputGeoPoint({
198
+ send_message: new types.InputBotInlineMessageMediaGeo({
199
+ geo_point: new types.InputGeoPoint({
200
200
  lat: result_.latitude,
201
201
  long: result_.longitude,
202
- accuracyRadius: result_.horizontalAccuracy,
202
+ accuracy_radius: result_.horizontalAccuracy,
203
203
  }),
204
204
  heading: result_.heading,
205
205
  period: result_.livePeriod,
206
- proximityNotificationRadius: result_.proximityAlertRadius,
207
- replyMarkup,
206
+ proximity_notification_radius: result_.proximityAlertRadius,
207
+ reply_markup: replyMarkup,
208
208
  }),
209
209
  });
210
210
  }
@@ -214,8 +214,8 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
214
214
  type,
215
215
  title,
216
216
  description,
217
- sendMessage: new types.InputBotInlineMessageGame({
218
- replyMarkup,
217
+ send_message: new types.InputBotInlineMessageGame({
218
+ reply_markup: replyMarkup,
219
219
  }),
220
220
  });
221
221
  }
@@ -229,11 +229,11 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
229
229
  type,
230
230
  title,
231
231
  description,
232
- sendMessage: new types.InputBotInlineMessageText({
232
+ send_message: new types.InputBotInlineMessageText({
233
233
  message,
234
234
  entities,
235
- noWebpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
236
- replyMarkup,
235
+ no_webpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
236
+ reply_markup: replyMarkup,
237
237
  }),
238
238
  });
239
239
  }
@@ -246,14 +246,14 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
246
246
  type,
247
247
  title,
248
248
  description,
249
- sendMessage: new types.InputBotInlineMessageMediaVenue({
250
- geoPoint: new types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
249
+ send_message: new types.InputBotInlineMessageMediaVenue({
250
+ geo_point: new types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
251
251
  address: result_.address,
252
252
  provider: "foursquare",
253
253
  title: result_.title,
254
- venueId: result_.fourSquareId,
255
- venueType: result_.foursquareType,
256
- replyMarkup,
254
+ venue_id: result_.fourSquareId,
255
+ venue_type: result_.foursquareType,
256
+ reply_markup: replyMarkup,
257
257
  }),
258
258
  });
259
259
  }
package/package.json CHANGED
@@ -1,21 +1,15 @@
1
1
  {
2
- "module": "./esm/mod.js",
3
- "main": "./script/mod.js",
4
2
  "name": "@mtkruto/node",
5
- "version": "0.1.119",
3
+ "version": "0.1.121",
6
4
  "description": "MTKruto for Node.js",
7
5
  "author": "Roj <rojvv@icloud.com>",
8
- "license": "LGPL-3.0-or-later",
9
6
  "repository": {
10
7
  "type": "git",
11
8
  "url": "git+https://github.com/MTKruto/MTKruto.git"
12
9
  },
13
- "devDependencies": {
14
- "@types/node": "^18.11.9",
15
- "picocolors": "^1.0.0",
16
- "@types/ws": "^8.5.4",
17
- "@types/object-inspect": "^1.8.1"
18
- },
10
+ "license": "LGPL-3.0-or-later",
11
+ "main": "./script/mod.js",
12
+ "module": "./esm/mod.js",
19
13
  "exports": {
20
14
  ".": {
21
15
  "import": "./esm/mod.js",
@@ -28,8 +22,15 @@
28
22
  "dependencies": {
29
23
  "async-mutex": "0.4.0",
30
24
  "object-inspect": "1.12.3",
31
- "@deno/shim-deno": "~0.16.1",
25
+ "@deno/shim-deno": "~0.17.0",
32
26
  "@deno/shim-crypto": "~0.3.1",
33
27
  "ws": "^8.13.0"
34
- }
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^20.9.0",
31
+ "picocolors": "^1.0.0",
32
+ "@types/ws": "^8.5.4",
33
+ "@types/object-inspect": "^1.8.1"
34
+ },
35
+ "_generatedBy": "dnt@0.39.0"
35
36
  }
@@ -1,6 +1,6 @@
1
- export * from "./deps/deno.land/std@0.207.0/assert/mod.js";
2
- export * as path from "./deps/deno.land/std@0.207.0/path/mod.js";
3
- export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.207.0/encoding/base64.js";
1
+ export * from "./deps/deno.land/std@0.208.0/assert/mod.js";
2
+ export * as path from "./deps/deno.land/std@0.208.0/path/mod.js";
3
+ export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.208.0/encoding/base64.js";
4
4
  export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
5
5
  export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
6
6
  export { Mutex, type MutexInterface } from "async-mutex";
package/script/0_deps.js CHANGED
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.debug = exports.Parser = exports.Mutex = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
30
- __exportStar(require("./deps/deno.land/std@0.207.0/assert/mod.js"), exports);
31
- exports.path = __importStar(require("./deps/deno.land/std@0.207.0/path/mod.js"));
32
- var base64_js_1 = require("./deps/deno.land/std@0.207.0/encoding/base64.js");
30
+ __exportStar(require("./deps/deno.land/std@0.208.0/assert/mod.js"), exports);
31
+ exports.path = __importStar(require("./deps/deno.land/std@0.208.0/path/mod.js"));
32
+ var base64_js_1 = require("./deps/deno.land/std@0.208.0/encoding/base64.js");
33
33
  Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
34
34
  Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
35
35
  var mod_js_1 = require("./deps/deno.land/x/tgcrypto@0.3.3/mod.js");
package/script/2_tl.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export { TLError } from "./tl/0_tl_raw_reader.js";
2
2
  export * from "./tl/1_tl_object.js";
3
- export * as types from "./tl/2_types.js";
4
- export * as functions from "./tl/3_functions.js";
3
+ export { type enums, types } from "./tl/2_types.js";
4
+ export { functions } from "./tl/3_functions.js";
5
5
  export * from "./tl/3_tl_reader.js";
6
6
  export * from "./tl/3_utilities.js";
7
7
  export * from "./tl/4_tl_writer.js";
8
- export * from "./tl/5_rpc_result.js";
8
+ export * from "./tl/4_rpc_result.js";
9
9
  export * from "./tl/6_message.js";
10
10
  export * from "./tl/7_message_container.js";