@mtkruto/node 0.1.118 → 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 (633) 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/3_types.d.ts +4 -0
  18. package/esm/client/4_composer.d.ts +5 -1
  19. package/esm/client/4_composer.js +37 -13
  20. package/esm/client/5_client.d.ts +24 -7
  21. package/esm/client/5_client.js +381 -258
  22. package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  23. package/esm/storage/0_storage.d.ts +5 -5
  24. package/esm/tl/1_tl_object.d.ts +4 -0
  25. package/esm/tl/1_tl_object.js +13 -4
  26. package/esm/tl/2_types.d.ts +11384 -6448
  27. package/esm/tl/2_types.js +16321 -10139
  28. package/esm/tl/3_functions.d.ts +6773 -2401
  29. package/esm/tl/3_functions.js +9440 -3368
  30. package/esm/tl/3_utilities.d.ts +2 -2
  31. package/esm/tl/3_utilities.js +4 -4
  32. package/esm/tl/6_message.d.ts +1 -1
  33. package/esm/tl/6_message.js +1 -1
  34. package/esm/types/0__file_id.js +1 -2
  35. package/esm/types/0_audio.js +1 -1
  36. package/esm/types/0_chat_administrator_rights.d.ts +3 -3
  37. package/esm/types/0_chat_administrator_rights.js +20 -20
  38. package/esm/types/0_chat_photo.js +8 -8
  39. package/esm/types/0_contact.js +4 -4
  40. package/esm/types/0_force_reply.d.ts +1 -1
  41. package/esm/types/0_location.js +4 -4
  42. package/esm/types/0_mask_position.d.ts +2 -2
  43. package/esm/types/0_message_entity.d.ts +3 -3
  44. package/esm/types/0_message_entity.js +8 -8
  45. package/esm/types/0_poll_option.d.ts +2 -2
  46. package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
  47. package/esm/types/0_restriction_reason.d.ts +2 -2
  48. package/esm/types/0_thumbnail.js +3 -3
  49. package/esm/types/0_venue.js +3 -3
  50. package/esm/types/0_voice.js +1 -1
  51. package/esm/types/1_animation.js +2 -2
  52. package/esm/types/1_bot_command_scope.d.ts +1 -2
  53. package/esm/types/1_bot_command_scope.js +1 -1
  54. package/esm/types/1_chat.js +9 -9
  55. package/esm/types/1_document.js +2 -2
  56. package/esm/types/1_input_invoice_message_content.d.ts +1 -1
  57. package/esm/types/1_keyboard_button.d.ts +3 -3
  58. package/esm/types/1_keyboard_button.js +35 -35
  59. package/esm/types/1_photo.js +1 -1
  60. package/esm/types/1_poll.js +6 -6
  61. package/esm/types/1_sticker.js +3 -3
  62. package/esm/types/1_user.js +6 -6
  63. package/esm/types/1_video.js +1 -1
  64. package/esm/types/2_game.js +3 -3
  65. package/esm/types/2_inline_keyboard_button.d.ts +3 -3
  66. package/esm/types/2_inline_keyboard_button.js +9 -9
  67. package/esm/types/2_inline_query.js +8 -8
  68. package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
  69. package/esm/types/2_reply_keyboard_markup.js +2 -2
  70. package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
  71. package/esm/types/3_message.d.ts +4 -4
  72. package/esm/types/3_message.js +64 -64
  73. package/esm/types/4_callback_query.js +6 -6
  74. package/esm/types/4_reply_markup.d.ts +1 -1
  75. package/esm/types/5_inline_query_result.d.ts +1 -2
  76. package/esm/types/5_inline_query_result.js +30 -30
  77. package/package.json +13 -12
  78. package/script/0_deps.d.ts +3 -3
  79. package/script/0_deps.js +3 -3
  80. package/script/2_tl.d.ts +3 -3
  81. package/script/2_tl.js +5 -15
  82. package/script/3_errors.d.ts +509 -509
  83. package/script/3_errors.js +509 -509
  84. package/script/4_constants.d.ts +2 -2
  85. package/script/4_constants.js +2 -2
  86. package/script/4_errors.d.ts +7 -7
  87. package/script/4_errors.js +6 -6
  88. package/script/_dnt.shims.js +0 -1
  89. package/script/client/0_password.d.ts +2 -2
  90. package/script/client/0_password.js +4 -4
  91. package/script/client/0_utilities.d.ts +3 -3
  92. package/script/client/0_utilities.js +1 -2
  93. package/script/client/2_client_plain.js +20 -20
  94. package/script/client/3_types.d.ts +4 -0
  95. package/script/client/4_composer.d.ts +5 -1
  96. package/script/client/4_composer.js +37 -13
  97. package/script/client/5_client.d.ts +24 -7
  98. package/script/client/5_client.js +380 -257
  99. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
  100. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  101. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
  102. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
  103. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
  104. package/script/storage/0_storage.d.ts +5 -5
  105. package/script/storage/0_utilities.js +1 -1
  106. package/script/tl/1_tl_object.d.ts +4 -0
  107. package/script/tl/1_tl_object.js +14 -5
  108. package/script/tl/2_types.d.ts +11384 -6448
  109. package/script/tl/2_types.js +18030 -11825
  110. package/script/tl/3_functions.d.ts +6773 -2401
  111. package/script/tl/3_functions.js +10051 -3994
  112. package/script/tl/3_utilities.d.ts +2 -2
  113. package/script/tl/3_utilities.js +7 -30
  114. package/script/tl/6_message.d.ts +1 -1
  115. package/script/tl/6_message.js +4 -4
  116. package/script/types/0__file_id.js +4 -4
  117. package/script/types/0_audio.js +1 -1
  118. package/script/types/0_chat_administrator_rights.d.ts +3 -3
  119. package/script/types/0_chat_administrator_rights.js +20 -20
  120. package/script/types/0_chat_photo.js +8 -8
  121. package/script/types/0_contact.js +4 -4
  122. package/script/types/0_force_reply.d.ts +1 -1
  123. package/script/types/0_location.js +4 -4
  124. package/script/types/0_mask_position.d.ts +2 -2
  125. package/script/types/0_message_entity.d.ts +3 -3
  126. package/script/types/0_message_entity.js +8 -8
  127. package/script/types/0_poll_option.d.ts +2 -2
  128. package/script/types/0_reply_keyboard_remove.d.ts +1 -1
  129. package/script/types/0_restriction_reason.d.ts +2 -2
  130. package/script/types/0_thumbnail.js +3 -3
  131. package/script/types/0_venue.js +3 -3
  132. package/script/types/0_voice.js +1 -1
  133. package/script/types/1_animation.js +2 -2
  134. package/script/types/1_bot_command_scope.d.ts +1 -2
  135. package/script/types/1_bot_command_scope.js +1 -1
  136. package/script/types/1_chat.js +9 -9
  137. package/script/types/1_document.js +2 -2
  138. package/script/types/1_input_invoice_message_content.d.ts +1 -1
  139. package/script/types/1_keyboard_button.d.ts +3 -3
  140. package/script/types/1_keyboard_button.js +35 -35
  141. package/script/types/1_photo.js +1 -1
  142. package/script/types/1_poll.js +6 -6
  143. package/script/types/1_sticker.js +3 -3
  144. package/script/types/1_user.js +6 -6
  145. package/script/types/1_video.js +1 -1
  146. package/script/types/2_game.js +3 -3
  147. package/script/types/2_inline_keyboard_button.d.ts +3 -3
  148. package/script/types/2_inline_keyboard_button.js +9 -9
  149. package/script/types/2_inline_query.js +8 -8
  150. package/script/types/2_reply_keyboard_markup.d.ts +1 -1
  151. package/script/types/2_reply_keyboard_markup.js +2 -2
  152. package/script/types/3_inline_keyboard_markup.d.ts +1 -1
  153. package/script/types/3_message.d.ts +4 -4
  154. package/script/types/3_message.js +64 -64
  155. package/script/types/4_callback_query.js +6 -6
  156. package/script/types/4_reply_markup.d.ts +1 -1
  157. package/script/types/5_inline_query_result.d.ts +1 -2
  158. package/script/types/5_inline_query_result.js +30 -30
  159. package/esm/_dnt.test_shims.d.ts +0 -10
  160. package/esm/client/0_password_test.d.ts +0 -1
  161. package/esm/client/0_utilities_test.d.ts +0 -1
  162. package/esm/storage/0_utilities_test.d.ts +0 -1
  163. package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
  164. package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
  165. package/esm/tl/1_tl_object_test.d.ts +0 -1
  166. package/esm/tl/2_types_test.d.ts +0 -1
  167. package/esm/tl/3_deserialize_test.d.ts +0 -1
  168. package/esm/tl/3_functions_test.d.ts +0 -1
  169. package/esm/tl/6_message_test.d.ts +0 -1
  170. package/esm/utilities/0_base64_test.d.ts +0 -1
  171. package/esm/utilities/0_bigint_test.d.ts +0 -1
  172. package/esm/utilities/0_buffer_test.d.ts +0 -1
  173. package/esm/utilities/0_rle_test.d.ts +0 -1
  174. package/script/_dnt.test_shims.d.ts +0 -10
  175. package/script/client/0_password_test.d.ts +0 -1
  176. package/script/client/0_utilities_test.d.ts +0 -1
  177. package/script/storage/0_utilities_test.d.ts +0 -1
  178. package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
  179. package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
  180. package/script/tl/1_tl_object_test.d.ts +0 -1
  181. package/script/tl/2_types_test.d.ts +0 -1
  182. package/script/tl/3_deserialize_test.d.ts +0 -1
  183. package/script/tl/3_functions_test.d.ts +0 -1
  184. package/script/tl/6_message_test.d.ts +0 -1
  185. package/script/utilities/0_base64_test.d.ts +0 -1
  186. package/script/utilities/0_bigint_test.d.ts +0 -1
  187. package/script/utilities/0_buffer_test.d.ts +0 -1
  188. package/script/utilities/0_rle_test.d.ts +0 -1
  189. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  404. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  410. /package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  411. /package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
  412. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  414. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  417. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  419. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  421. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  423. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  425. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  427. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  429. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  431. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  433. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  435. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  437. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  439. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  441. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  443. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  445. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  447. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  449. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  452. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  454. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  456. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  458. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  460. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  462. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  464. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  466. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  468. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  470. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  472. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  474. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  476. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  478. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  480. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  482. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  484. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  486. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  488. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  490. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  492. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  494. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  496. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  498. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  500. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  502. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  504. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  506. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  508. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  510. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  512. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  514. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  516. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  518. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  520. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  522. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  524. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  526. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  528. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  530. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  532. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  534. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  536. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  538. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  540. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  542. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  544. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  546. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  548. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  550. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  552. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  554. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  556. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  558. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  560. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  562. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  564. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  566. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  568. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  570. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  572. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  574. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  576. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  578. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  580. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  582. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  584. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  586. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  588. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  590. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  592. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  594. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  596. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  598. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  599. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  600. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  602. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  604. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  606. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  608. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  609. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  610. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  612. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  614. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  616. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  618. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  620. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  621. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  622. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  623. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  624. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  625. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  626. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  627. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  628. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  629. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  630. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  631. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  632. /package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  633. /package/script/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
@@ -4,8 +4,8 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
4
4
  export declare const PUBLIC_KEYS: PublicKeys;
5
5
  export declare const VECTOR_CONSTRUCTOR = 481674261;
6
6
  export declare const INITIAL_DC: DC;
7
- export declare const LAYER = 166;
8
- export declare const APP_VERSION = "MTKruto 0.1.118";
7
+ export declare const LAYER = 167;
8
+ export declare const APP_VERSION = "MTKruto 0.1.121";
9
9
  export declare const DEVICE_MODEL: string;
10
10
  export declare const LANG_CODE: string;
11
11
  export declare const LANG_PACK = "";
@@ -53,8 +53,8 @@ export const PUBLIC_KEYS = Object.freeze([
53
53
  ]);
54
54
  export const VECTOR_CONSTRUCTOR = 0x1CB5C415;
55
55
  export const INITIAL_DC = "2";
56
- export const LAYER = 166;
57
- export const APP_VERSION = "MTKruto 0.1.118";
56
+ export const LAYER = 167;
57
+ export const APP_VERSION = "MTKruto 0.1.121";
58
58
  // @ts-ignore: lib
59
59
  export const DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
60
60
  export const LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
package/esm/4_errors.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { types } from "./2_tl.js";
2
2
  export * from "./3_errors.js";
3
- export declare class FloodWait extends types.RPCError {
3
+ export declare class FloodWait extends types.Rpc_error {
4
4
  seconds: number;
5
5
  constructor(params: {
6
- errorCode: number;
7
- errorMessage: string;
6
+ error_code: number;
7
+ error_message: string;
8
8
  });
9
9
  }
10
- export declare class Migrate extends types.RPCError {
10
+ export declare class Migrate extends types.Rpc_error {
11
11
  dc: number;
12
12
  constructor(params: {
13
- errorCode: number;
14
- errorMessage: string;
13
+ error_code: number;
14
+ error_message: string;
15
15
  });
16
16
  }
17
17
  export declare class UserMigrate extends Migrate {
@@ -22,4 +22,4 @@ export declare class FileMigrate extends Migrate {
22
22
  }
23
23
  export declare class StatsMigrate extends Migrate {
24
24
  }
25
- export declare function upgradeInstance(error: types.RPCError): types.RPCError;
25
+ export declare function upgradeInstance(error: types.Rpc_error): import("./tl/2_types.js").Rpc_error_;
package/esm/4_errors.js CHANGED
@@ -2,7 +2,7 @@ import { UNREACHABLE } from "./1_utilities.js";
2
2
  import { map } from "./3_errors.js";
3
3
  import { types } from "./2_tl.js";
4
4
  export * from "./3_errors.js";
5
- export class FloodWait extends types.RPCError {
5
+ export class FloodWait extends types.Rpc_error {
6
6
  constructor(params) {
7
7
  super(params);
8
8
  Object.defineProperty(this, "seconds", {
@@ -11,14 +11,14 @@ export class FloodWait extends types.RPCError {
11
11
  writable: true,
12
12
  value: void 0
13
13
  });
14
- const p = params.errorMessage.split("_");
14
+ const p = params.error_message.split("_");
15
15
  this.seconds = Number(p[p.length - 1]);
16
16
  if (isNaN(this.seconds)) {
17
17
  UNREACHABLE();
18
18
  }
19
19
  }
20
20
  }
21
- export class Migrate extends types.RPCError {
21
+ export class Migrate extends types.Rpc_error {
22
22
  constructor(params) {
23
23
  super(params);
24
24
  Object.defineProperty(this, "dc", {
@@ -27,7 +27,7 @@ export class Migrate extends types.RPCError {
27
27
  writable: true,
28
28
  value: void 0
29
29
  });
30
- const p = params.errorMessage.split("_");
30
+ const p = params.error_message.split("_");
31
31
  this.dc = Number(p[p.length - 1]);
32
32
  if (isNaN(this.dc)) {
33
33
  UNREACHABLE();
@@ -51,12 +51,12 @@ const prefixMap = {
51
51
  };
52
52
  export function upgradeInstance(error) {
53
53
  for (const [k, v] of Object.entries(prefixMap)) {
54
- if (error.errorMessage.startsWith(k)) {
54
+ if (error.error_message.startsWith(k)) {
55
55
  return new v(error);
56
56
  }
57
57
  }
58
58
  for (const [k, v] of Object.entries(map)) {
59
- if (error.errorMessage == k) {
59
+ if (error.error_message == k) {
60
60
  return new v(error);
61
61
  }
62
62
  }
package/esm/_dnt.shims.js CHANGED
@@ -10,7 +10,6 @@ const dntGlobals = {
10
10
  WebSocket,
11
11
  };
12
12
  export const dntGlobalThis = createMergeProxy(globalThis, dntGlobals);
13
- // deno-lint-ignore ban-types
14
13
  function createMergeProxy(baseObj, extObj) {
15
14
  return new Proxy(baseObj, {
16
15
  get(_target, prop, _receiver) {
@@ -1,5 +1,5 @@
1
1
  import { sha256 } from "../1_utilities.js";
2
- import { types } from "../2_tl.js";
2
+ import { enums } from "../2_tl.js";
3
3
  export declare function isSafePrime(primeBytes: Uint8Array, g: number): boolean;
4
4
  export declare const h: typeof sha256;
5
5
  export declare const sh: (data: Uint8Array, salt: Uint8Array) => Promise<Uint8Array>;
@@ -8,4 +8,4 @@ export declare function pbkdf2(password: Uint8Array, salt: Uint8Array, iteration
8
8
  export declare const ph2: (password: Uint8Array, salt1: Uint8Array, salt2: Uint8Array) => Promise<Uint8Array>;
9
9
  export declare function isGoodModExpFirst(modexp: bigint, prime: bigint): boolean;
10
10
  export declare function pad(bigint: number | bigint | Uint8Array): Uint8Array;
11
- export declare function checkPassword(password_: string, ap: types.AccountPassword): Promise<types.InputCheckPasswordSRP>;
11
+ export declare function checkPassword(password_: string, ap: enums.account.Password): Promise<import("../tl/2_types.js").InputCheckPasswordSRP_>;
@@ -69,7 +69,7 @@ export function pad(bigint) {
69
69
  }
70
70
  export async function checkPassword(password_, ap) {
71
71
  const password = new TextEncoder().encode(password_);
72
- const algo = ap.currentAlgo;
72
+ const algo = ap.current_algo;
73
73
  if (!(algo instanceof
74
74
  types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow)) {
75
75
  throw new Error("Unexpected algorithm");
@@ -81,8 +81,8 @@ export async function checkPassword(password_, ap) {
81
81
  if (!isSafePrime(algo.p, g)) {
82
82
  throw new Error("Got unsafe prime");
83
83
  }
84
- const srpB = ap.srpB;
85
- const srpId = ap.srpId;
84
+ const srpB = ap.srp_B;
85
+ const srpId = ap.srp_id;
86
86
  {
87
87
  if (!srpB) {
88
88
  throw new Error("srbB is not set");
@@ -132,7 +132,7 @@ export async function checkPassword(password_, ap) {
132
132
  const hG = await h(pad(g));
133
133
  const m1 = await h(concat((await h(pad(p))).map((v, i) => v ^ hG[i]), await h(salt1), await h(salt2), pad(gA), pad(gB), kA));
134
134
  return new types.InputCheckPasswordSRP({
135
- srpId: srpId,
135
+ srp_id: srpId,
136
136
  A: pad(gA),
137
137
  M1: m1,
138
138
  });
@@ -1,8 +1,8 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums, types } from "../2_tl.js";
2
2
  export declare const resolve: () => Promise<void>;
3
3
  export type With<T, K extends keyof T> = T & Required<Pick<T, K>>;
4
- export declare function isPtsUpdate(v: types.TypeUpdate | types.TypeUpdates): v is types.UpdateShortMessage | types.UpdateShortChatMessage | types.UpdateShortSentMessage | types.UpdateNewMessage | types.UpdateDeleteMessages | types.UpdateReadHistoryInbox | types.UpdateReadHistoryOutbox | types.UpdatePinnedChannelMessages | types.UpdatePinnedMessages | types.UpdateFolderPeers | types.UpdateChannelWebPage | types.UpdateEditMessage | types.UpdateReadMessagesContents | types.UpdateWebPage;
5
- export declare function isChannelPtsUpdate(v: types.TypeUpdate | types.TypeUpdates): v is types.UpdateNewChannelMessage | types.UpdateEditChannelMessage | types.UpdateDeleteChannelMessages;
4
+ export declare function isPtsUpdate(v: enums.Update | enums.Updates): v is types.UpdateShortMessage | types.UpdateShortChatMessage | types.UpdateShortSentMessage | types.UpdateNewMessage | types.UpdateDeleteMessages | types.UpdateReadHistoryInbox | types.UpdateReadHistoryOutbox | types.UpdatePinnedChannelMessages | types.UpdatePinnedMessages | types.UpdateFolderPeers | types.UpdateChannelWebPage | types.UpdateEditMessage | types.UpdateReadMessagesContents | types.UpdateWebPage;
5
+ export declare function isChannelPtsUpdate(v: enums.Update | enums.Updates): v is types.UpdateNewChannelMessage | types.UpdateEditChannelMessage | types.UpdateDeleteChannelMessages;
6
6
  /**
7
7
  * Source to a file. Can be a file ID, file path, URL, or `Uint8Array`.
8
8
  */
@@ -2,7 +2,6 @@ import * as dntShim from "../_dnt.shims.js";
2
2
  import { path } from "../0_deps.js";
3
3
  import { UNREACHABLE } from "../1_utilities.js";
4
4
  import { types } from "../2_tl.js";
5
- import { Username } from "../tl/2_types.js";
6
5
  export const resolve = () => Promise.resolve();
7
6
  export function isPtsUpdate(v) {
8
7
  return v instanceof types.UpdateShortMessage ||
@@ -100,7 +99,7 @@ function validateUsername(string, ignoreAt = false) {
100
99
  throw errInvalidUsername(string);
101
100
  }
102
101
  }
103
- if (string[Username.length - 1] == "_") {
102
+ if (string[string.length - 1] == "_") {
104
103
  throw errInvalidUsername(string);
105
104
  }
106
105
  for (let i = 1; i < string.length; ++i) {
@@ -48,7 +48,7 @@ export class ClientPlain extends ClientAbstract {
48
48
  for (let i = 0; i < 10; i++) {
49
49
  try {
50
50
  d("req_pq_multi [%d]", i + 1);
51
- resPq = await this.invoke(new functions.ReqPQMulti({ nonce }));
51
+ resPq = await this.invoke(new functions.req_pq_multi({ nonce }));
52
52
  assertInstanceOf(resPq, types.ResPQ);
53
53
  assertEquals(resPq.nonce, nonce);
54
54
  d("got res_pq");
@@ -70,7 +70,7 @@ export class ClientPlain extends ClientAbstract {
70
70
  const q = bufferFromBigInt(q_, 4, false, false);
71
71
  let publicKeyFingerprint;
72
72
  let publicKey;
73
- for (const fingerprint of resPq.serverPublicKeyFingerprints) {
73
+ for (const fingerprint of resPq.server_public_key_fingerprints) {
74
74
  const maybePublicKey = __classPrivateFieldGet(this, _ClientPlain_publicKeys, "f").find(([k]) => (k == fingerprint));
75
75
  if (maybePublicKey) {
76
76
  publicKeyFingerprint = fingerprint;
@@ -83,52 +83,52 @@ export class ClientPlain extends ClientAbstract {
83
83
  }
84
84
  const dc = this.dcId;
85
85
  const pq = resPq.pq;
86
- const serverNonce = resPq.serverNonce;
86
+ const serverNonce = resPq.server_nonce;
87
87
  const newNonce = getRandomBigInt(32, false, true);
88
- let encryptedData = await rsaPad(new types.PQInnerDataDC({
88
+ let encryptedData = await rsaPad(new types.P_q_inner_data_dc({
89
89
  pq,
90
90
  p,
91
91
  q,
92
92
  dc,
93
- newNonce,
93
+ new_nonce: newNonce,
94
94
  nonce,
95
- serverNonce,
95
+ server_nonce: serverNonce,
96
96
  })[serialize](), publicKey);
97
- const dhParams = await this.invoke(new functions.ReqDHParams({
97
+ const dhParams = await this.invoke(new functions.req_DH_params({
98
98
  nonce,
99
- serverNonce,
99
+ server_nonce: serverNonce,
100
100
  p,
101
101
  q,
102
- publicKeyFingerprint,
103
- encryptedData,
102
+ public_key_fingerprint: publicKeyFingerprint,
103
+ encrypted_data: encryptedData,
104
104
  }));
105
- assertInstanceOf(dhParams, types.ServerDHParamsOK);
105
+ assertInstanceOf(dhParams, types.Server_DH_params_ok);
106
106
  d("got server_DH_params_ok");
107
107
  const newNonce_ = bufferFromBigInt(newNonce, 32, true, true);
108
108
  const serverNonce_ = bufferFromBigInt(serverNonce, 16, true, true);
109
109
  const tmpAesKey = concat(await sha1(concat(newNonce_, serverNonce_)), (await sha1(concat(serverNonce_, newNonce_))).slice(0, 0 + 12));
110
110
  const tmpAesIv = concat((await sha1(concat(serverNonce_, newNonce_))).slice(12, 12 + 8), await sha1(concat(newNonce_, newNonce_)), newNonce_.slice(0, 0 + 4));
111
- const answerWithHash = ige256Decrypt(dhParams.encryptedAnswer, tmpAesKey, tmpAesIv);
111
+ const answerWithHash = ige256Decrypt(dhParams.encrypted_answer, tmpAesKey, tmpAesIv);
112
112
  const dhInnerData = new TLReader(answerWithHash.slice(20)).readObject();
113
- assertInstanceOf(dhInnerData, types.ServerDHInnerData);
114
- const { g, gA: gA_, dhPrime: dhPrime_ } = dhInnerData;
113
+ assertInstanceOf(dhInnerData, types.Server_DH_inner_data);
114
+ const { g, g_a: gA_, dh_prime: dhPrime_ } = dhInnerData;
115
115
  const gA = bigIntFromBuffer(gA_, false, false);
116
116
  const dhPrime = bigIntFromBuffer(dhPrime_, false, false);
117
117
  const b = getRandomBigInt(256, false, false);
118
118
  const gB = modExp(BigInt(g), b, dhPrime);
119
- const data = new types.ClientDHInnerData({
119
+ const data = new types.Client_DH_inner_data({
120
120
  nonce,
121
- serverNonce,
122
- retryId: 0n,
123
- gB: bufferFromBigInt(gB, 256, false, false),
121
+ server_nonce: serverNonce,
122
+ retry_id: 0n,
123
+ g_b: bufferFromBigInt(gB, 256, false, false),
124
124
  })[serialize]();
125
125
  let dataWithHash = concat(await sha1(data), data);
126
126
  while (dataWithHash.length % 16 != 0) {
127
127
  dataWithHash = concat(dataWithHash, new Uint8Array(1));
128
128
  }
129
129
  encryptedData = ige256Encrypt(dataWithHash, tmpAesKey, tmpAesIv);
130
- const dhGenOk = await this.invoke(new functions.SetClientDHParams({ nonce, serverNonce, encryptedData }));
131
- assertInstanceOf(dhGenOk, types.DHGenOK);
130
+ const dhGenOk = await this.invoke(new functions.set_client_DH_params({ nonce, server_nonce: serverNonce, encrypted_data: encryptedData }));
131
+ assertInstanceOf(dhGenOk, types.Dh_gen_ok);
132
132
  d("got dh_gen_ok");
133
133
  const serverNonceSlice = serverNonce_.slice(0, 8);
134
134
  const salt = newNonce_.slice(0, 0 + 8).map((v, i) => v ^ serverNonceSlice[i]);
@@ -44,6 +44,10 @@ export interface ClientParams extends ClientPlainParams {
44
44
  * Whether to ignore outgoing messages. Defaults to `true` for bots, and `false` for users.
45
45
  */
46
46
  ignoreOutgoing?: boolean;
47
+ /**
48
+ * Default command prefixes. Defaults to `"/"` for bots and `"\"` for users. This option must be set separately for nested composers.
49
+ */
50
+ prefixes?: string | string[];
47
51
  }
48
52
  export interface AnswerCallbackQueryParams {
49
53
  /** A text to be shown to the user. */
@@ -15,6 +15,7 @@ export declare function concat<C extends Update = Update>(left: MiddlewareFn<C>,
15
15
  export declare const skip: MiddlewareFn;
16
16
  export declare class Composer<C extends Update> implements MiddlewareObj<C> {
17
17
  #private;
18
+ set prefixes(value: string | string[]);
18
19
  constructor(...middleware: Middleware<C>[]);
19
20
  middleware(): MiddlewareFn<C>;
20
21
  use(...middleware: Middleware<C>[]): Composer<C>;
@@ -22,6 +23,9 @@ export declare class Composer<C extends Update> implements MiddlewareObj<C> {
22
23
  filter<D extends C>(predicate: (ctx: C) => ctx is D, ...middleware: Middleware<D>[]): Composer<D>;
23
24
  filter(predicate: (ctx: C) => MaybePromise<boolean>, ...middleware: Middleware<C>[]): Composer<C>;
24
25
  on<T extends keyof Update_, F extends string>(filter: T extends FilterableUpdates ? T | [T, F, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F>>[]): Composer<FilterUpdate<C, T, F>>;
25
- command(commands: string | RegExp | (string | RegExp)[], ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "text">>;
26
+ command(commands: string | RegExp | (string | RegExp)[] | {
27
+ names: string | RegExp | (string | RegExp)[];
28
+ prefixes: string | string[];
29
+ }, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "text">>;
26
30
  }
27
31
  export {};
@@ -1,15 +1,15 @@
1
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
+ };
1
6
  var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
7
  if (kind === "m") throw new TypeError("Private method is not writable");
3
8
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
10
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
11
  };
7
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
- };
12
- var _Composer_handle;
12
+ var _Composer_handle, _Composer_prefixes;
13
13
  export function flatten(mw) {
14
14
  return typeof mw === "function" ? mw : (ctx, next) => mw.middleware()(ctx, next);
15
15
  }
@@ -29,8 +29,15 @@ export function concat(left, right) {
29
29
  }
30
30
  export const skip = (_ctx, next) => next();
31
31
  export class Composer {
32
+ set prefixes(value) {
33
+ if (__classPrivateFieldGet(this, _Composer_prefixes, "f") !== undefined) {
34
+ throw new Error("Prefixes already set");
35
+ }
36
+ __classPrivateFieldSet(this, _Composer_prefixes, value, "f");
37
+ }
32
38
  constructor(...middleware) {
33
39
  _Composer_handle.set(this, void 0);
40
+ _Composer_prefixes.set(this, void 0);
34
41
  __classPrivateFieldSet(this, _Composer_handle, middleware.length == 0 ? skip : middleware.map(flatten).reduce(concat), "f");
35
42
  }
36
43
  middleware() {
@@ -80,20 +87,37 @@ export class Composer {
80
87
  }, ...middleawre);
81
88
  }
82
89
  command(commands, ...middleawre) {
83
- const commands_ = Array.isArray(commands) ? commands : [commands];
90
+ const commands__ = typeof commands === "object" && "names" in commands ? commands.names : commands;
91
+ const commands_ = Array.isArray(commands__) ? commands__ : [commands__];
92
+ const prefixes_ = typeof commands === "object" && "prefixes" in commands ? commands.prefixes : (__classPrivateFieldGet(this, _Composer_prefixes, "f") ?? []);
93
+ const prefixes = Array.isArray(prefixes_) ? prefixes_ : [prefixes_];
94
+ for (const left of prefixes) {
95
+ for (const right of prefixes) {
96
+ if (left == right) {
97
+ continue;
98
+ }
99
+ if (left.startsWith(right) || right.startsWith(left)) {
100
+ throw new Error("Intersecting prefixes");
101
+ }
102
+ }
103
+ }
84
104
  return this.on(["message", "text"]).filter((ctx) => {
85
- const botCommand = ctx.message.entities?.find((v) => v.type == "botCommand");
86
- if (!botCommand) {
105
+ const prefixes_ = prefixes.length == 0 ? [!ctx.me?.isBot ? "\\" : "/"] : prefixes;
106
+ if (prefixes_.length == 0) {
107
+ return false;
108
+ }
109
+ const cmd = ctx.message.text.split(/\s/, 1)[0];
110
+ const prefix = prefixes_.find((v) => cmd.startsWith(v));
111
+ if (prefix === undefined) {
87
112
  return false;
88
113
  }
89
- const cmd = ctx.message.text.slice(botCommand.offset, botCommand.offset + botCommand.length);
90
114
  if (cmd.includes("@")) {
91
- const username = cmd.split("@")[1];
115
+ const username = cmd.split("@", 2)[1];
92
116
  if (username.toLowerCase() !== ctx.me.username?.toLowerCase()) {
93
117
  return false;
94
118
  }
95
119
  }
96
- const command_ = cmd.split("@")[0].split("/")[1].toLowerCase();
120
+ const command_ = cmd.split("@", 1)[0].split(prefix, 2)[1].toLowerCase();
97
121
  for (const command of commands_) {
98
122
  if (typeof command === "string" && (command.toLowerCase() == command_)) {
99
123
  return true;
@@ -106,4 +130,4 @@ export class Composer {
106
130
  }, ...middleawre);
107
131
  }
108
132
  }
109
- _Composer_handle = new WeakMap();
133
+ _Composer_handle = new WeakMap(), _Composer_prefixes = new WeakMap();
@@ -12,6 +12,19 @@ declare const getEntity: unique symbol;
12
12
  declare const getStickerSetName: unique symbol;
13
13
  export declare const handleMigrationError: unique symbol;
14
14
  declare const getMessageWithReply: unique symbol;
15
+ type Functions = typeof functions;
16
+ type Keys = keyof Functions;
17
+ type AnyFunc = (...args: any) => any;
18
+ type Promisify<T extends AnyFunc> = (...args: Parameters<T>) => Promise<ReturnType<T>>;
19
+ export type Api = {
20
+ [K in Keys]: Functions[K] extends {
21
+ __F: AnyFunc;
22
+ } ? Promisify<Functions[K]["__F"]> : {
23
+ [K_ in keyof Functions[K]]: Functions[K][K_] extends {
24
+ __F: AnyFunc;
25
+ } ? Promisify<Functions[K][K_]["__F"]> : Functions[K][K_];
26
+ };
27
+ };
15
28
  export interface Context extends Update {
16
29
  /** The client that received the update. */
17
30
  client: Client;
@@ -82,6 +95,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
82
95
  * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
83
96
  */
84
97
  constructor(storage: Storage | null, apiId?: number | null, apiHash?: string | null, params?: ClientParams);
98
+ api: Api;
85
99
  protected stateChangeHandler: (connected: boolean) => void;
86
100
  /**
87
101
  * Sets the DC and resets the auth key stored in the session provider
@@ -115,11 +129,11 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
115
129
  * [1]: https://core.telegram.org/method/initConnection
116
130
  * [2]: https://core.telegram.org/method/updates.getState
117
131
  */
118
- authorize(params?: string | types.AuthExportedAuthorization | AuthorizeUserParams): Promise<void>;
132
+ authorize(params?: string | types.auth.ExportedAuthorization | AuthorizeUserParams): Promise<void>;
119
133
  /**
120
134
  * Same as calling `.connect()` followed by `.authorize(params)` if the session didn't have an auth key.
121
135
  */
122
- start(params?: string | types.AuthExportedAuthorization | AuthorizeUserParams): Promise<void>;
136
+ start(params?: string | types.auth.ExportedAuthorization | AuthorizeUserParams): Promise<void>;
123
137
  /**
124
138
  * Invokes a function waiting and returning its reply if the second parameter is not `true`. Requires the client
125
139
  * to be connected.
@@ -127,8 +141,8 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
127
141
  * @param function_ The function to invoke.
128
142
  */
129
143
  invoke: {
130
- <T extends types.Type | functions.Function<unknown> = functions.Function<unknown>>(function_: T): Promise<T extends functions.Function<unknown> ? T["__R"] : void>;
131
- <T_1 extends types.Type | functions.Function<unknown> = functions.Function<unknown>>(function_: T_1, noWait: true): Promise<void>;
144
+ <T extends import("../tl/2_types.js").Type_ | functions.Function<unknown> = functions.Function<unknown>>(function_: T): Promise<T extends functions.Function<unknown> ? T["__R"] : void>;
145
+ <T_1 extends import("../tl/2_types.js").Type_ | functions.Function<unknown> = functions.Function<unknown>>(function_: T_1, noWait: true): Promise<void>;
132
146
  } & {
133
147
  use: (handler: InvokeErrorHandler<Client<C>>) => void;
134
148
  };
@@ -138,7 +152,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
138
152
  send<T extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>>(function_: T): Promise<void>;
139
153
  checkGap(pts: number, ptsCount: number): Promise<void>;
140
154
  getUserAccessHash(userId: bigint): Promise<bigint>;
141
- getInputPeer(id: ChatID): Promise<types.InputPeerChat | types.InputPeerUser | types.InputPeerChannel>;
155
+ getInputPeer(id: ChatID): Promise<import("../tl/2_types.js").InputPeerChat_ | import("../tl/2_types.js").InputPeerUser_ | import("../tl/2_types.js").InputPeerChannel_>;
142
156
  private [getEntity];
143
157
  private [getEntity];
144
158
  private [getEntity];
@@ -261,7 +275,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
261
275
  * @method
262
276
  * @param contents The contents of the file.
263
277
  */
264
- upload(contents: Uint8Array, params?: UploadParams): Promise<types.InputFile | types.InputFileBig>;
278
+ upload(contents: Uint8Array, params?: UploadParams): Promise<import("../tl/2_types.js").InputFile_ | import("../tl/2_types.js").InputFileBig_>;
265
279
  /**
266
280
  * Set the bot's commands in the given scope and/or language. Bot-only.
267
281
  *
@@ -286,7 +300,10 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
286
300
  filter<D extends C>(predicate: (ctx: C) => ctx is D, ...middleware: Middleware<D>[]): Composer<D>;
287
301
  filter(predicate: (ctx: C) => MaybePromise<boolean>, ...middleware: Middleware<C>[]): Composer<C>;
288
302
  on<T extends keyof Update, F extends string>(filter: T extends FilterableUpdates ? T | [T, F, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F>>[]): Composer<FilterUpdate<C, T, F>>;
289
- command(commands: string | RegExp | (string | RegExp)[], ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "text">>;
303
+ command(commands: string | RegExp | (string | RegExp)[] | {
304
+ names: string | RegExp | (string | RegExp)[];
305
+ prefixes: string | string[];
306
+ }, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "text">>;
290
307
  /**
291
308
  * Set the bot's description in the given language. Bot-only.
292
309
  *