@mtkruto/node 0.1.183 → 0.1.190

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 (526) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +5 -5
  3. package/esm/4_constants.d.ts +1 -1
  4. package/esm/4_constants.js +1 -1
  5. package/esm/client/0_html.js +0 -6
  6. package/esm/client/0_markdown.d.ts +21 -0
  7. package/esm/client/0_markdown.js +321 -0
  8. package/esm/client/0_params.d.ts +16 -0
  9. package/esm/client/1_client_encrypted.js +2 -0
  10. package/esm/client/2_message_manager.d.ts +7 -2
  11. package/esm/client/2_message_manager.js +98 -7
  12. package/esm/client/4_client.d.ts +49 -4
  13. package/esm/client/4_client.js +109 -46
  14. package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_interface.d.ts +13 -1
  15. package/esm/deps/deno.land/{std@0.220.1/path/windows → std@0.221.0/path}/basename.d.ts +9 -0
  16. package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/basename.js +9 -0
  17. package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/format.d.ts +3 -1
  18. package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/format.js +3 -1
  19. package/esm/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  20. package/esm/deps/deno.land/std@0.221.0/path/parse.js +24 -0
  21. package/esm/deps/deno.land/{std@0.220.1/path → std@0.221.0/path/windows}/basename.d.ts +9 -0
  22. package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/basename.js +9 -0
  23. package/esm/storage/0_storage.d.ts +3 -0
  24. package/esm/storage/0_storage.js +26 -11
  25. package/esm/types/0_message_entity.d.ts +1 -0
  26. package/esm/types/0_message_entity.js +34 -0
  27. package/esm/types/0_parse_mode.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/script/0_deps.d.ts +4 -4
  30. package/script/0_deps.js +5 -5
  31. package/script/4_constants.d.ts +1 -1
  32. package/script/4_constants.js +1 -1
  33. package/script/client/0_html.js +0 -6
  34. package/script/client/0_markdown.d.ts +21 -0
  35. package/script/client/0_markdown.js +325 -0
  36. package/script/client/0_params.d.ts +16 -0
  37. package/script/client/1_client_encrypted.js +2 -0
  38. package/script/client/2_message_manager.d.ts +7 -2
  39. package/script/client/2_message_manager.js +98 -7
  40. package/script/client/4_client.d.ts +49 -4
  41. package/script/client/4_client.js +108 -45
  42. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_interface.d.ts +13 -1
  43. package/script/deps/deno.land/std@0.221.0/path/basename.d.ts +17 -0
  44. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/basename.js +9 -0
  45. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/format.d.ts +3 -1
  46. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/format.js +3 -1
  47. package/script/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  48. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/parse.js +13 -1
  49. package/script/deps/deno.land/std@0.221.0/path/windows/basename.d.ts +17 -0
  50. package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/basename.js +9 -0
  51. package/script/storage/0_storage.d.ts +3 -0
  52. package/script/storage/0_storage.js +26 -11
  53. package/script/types/0_message_entity.d.ts +1 -0
  54. package/script/types/0_message_entity.js +36 -1
  55. package/script/types/0_parse_mode.d.ts +1 -1
  56. package/esm/deps/deno.land/std@0.220.1/path/parse.d.ts +0 -6
  57. package/esm/deps/deno.land/std@0.220.1/path/parse.js +0 -12
  58. package/script/deps/deno.land/std@0.220.1/path/basename.d.ts +0 -8
  59. package/script/deps/deno.land/std@0.220.1/path/parse.d.ts +0 -6
  60. package/script/deps/deno.land/std@0.220.1/path/windows/basename.d.ts +0 -8
  61. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_constants.d.ts +0 -0
  62. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_constants.js +0 -0
  63. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_diff.d.ts +0 -0
  64. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_diff.js +0 -0
  65. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_format.d.ts +0 -0
  66. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_format.js +0 -0
  67. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert.d.ts +0 -0
  68. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert.js +0 -0
  69. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  70. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  71. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  72. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  73. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  74. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_equals.js +0 -0
  75. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  76. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_exists.js +0 -0
  77. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  78. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_false.js +0 -0
  79. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  80. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater.js +0 -0
  81. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  82. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  83. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  84. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  85. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  86. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_is_error.js +0 -0
  87. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  88. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less.js +0 -0
  89. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  90. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  91. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  92. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_match.js +0 -0
  93. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  94. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  95. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  96. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  97. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  98. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_match.js +0 -0
  99. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  100. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  101. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  102. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_object_match.js +0 -0
  103. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  104. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_rejects.js +0 -0
  105. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  106. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  107. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  108. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  109. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  110. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_throws.js +0 -0
  111. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  112. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assertion_error.js +0 -0
  113. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/equal.d.ts +0 -0
  114. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/equal.js +0 -0
  115. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/fail.d.ts +0 -0
  116. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/fail.js +0 -0
  117. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/mod.d.ts +0 -0
  118. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/mod.js +0 -0
  119. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  120. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unimplemented.js +0 -0
  121. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  122. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unreachable.js +0 -0
  123. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/_util.d.ts +0 -0
  124. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/_util.js +0 -0
  125. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/base64.d.ts +0 -0
  126. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/base64.js +0 -0
  127. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/fmt/colors.d.ts +0 -0
  128. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/fmt/colors.js +0 -0
  129. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_db.d.ts +0 -0
  130. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_db.js +0 -0
  131. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_util.d.ts +0 -0
  132. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_util.js +0 -0
  133. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  134. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/content_type.js +0 -0
  135. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extension.d.ts +0 -0
  136. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extension.js +0 -0
  137. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  138. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  139. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  140. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/format_media_type.js +0 -0
  141. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  142. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/get_charset.js +0 -0
  143. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  144. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  145. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  146. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  147. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  148. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  149. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  150. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/assert_path.js +0 -0
  151. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  152. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/basename.js +0 -0
  153. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/common.d.ts +0 -0
  154. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/common.js +0 -0
  155. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  156. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/constants.js +0 -0
  157. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  158. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/dirname.js +0 -0
  159. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/format.d.ts +0 -0
  160. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/format.js +0 -0
  161. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  162. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  163. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  164. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  165. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  166. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize.js +0 -0
  167. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  168. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize_string.js +0 -0
  169. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  170. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/relative.js +0 -0
  171. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  172. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  173. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  174. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  175. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_interface.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_os.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_os.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/common.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/common.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/constants.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/constants.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/dirname.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/dirname.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/extname.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/extname.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/from_file_url.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  190. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  191. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_absolute.js +0 -0
  192. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_glob.d.ts +0 -0
  193. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_glob.js +0 -0
  194. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join.d.ts +0 -0
  195. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join.js +0 -0
  196. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join_globs.d.ts +0 -0
  197. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join_globs.js +0 -0
  198. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/mod.d.ts +0 -0
  199. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/mod.js +0 -0
  200. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize.d.ts +0 -0
  201. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize.js +0 -0
  202. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  203. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize_glob.js +0 -0
  204. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  205. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/_util.js +0 -0
  206. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/basename.d.ts +0 -0
  207. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/basename.js +0 -0
  208. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/common.d.ts +0 -0
  209. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/common.js +0 -0
  210. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/constants.js +0 -0
  212. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/dirname.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/dirname.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/extname.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/extname.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/format.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/format.js +0 -0
  218. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  220. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  222. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_glob.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join_globs.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/mod.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/parse.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/relative.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/resolve.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/relative.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/relative.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/resolve.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/resolve.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_file_url.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/_util.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/common.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/common.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/constants.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/dirname.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/dirname.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/extname.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/extname.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/format.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/format.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_glob.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join_globs.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/mod.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/parse.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/relative.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/resolve.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
  294. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_constants.d.ts +0 -0
  295. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_constants.js +0 -0
  296. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_diff.d.ts +0 -0
  297. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_diff.js +0 -0
  298. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_format.d.ts +0 -0
  299. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/_format.js +0 -0
  300. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert.d.ts +0 -0
  301. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert.js +0 -0
  302. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  303. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  304. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  305. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  306. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  307. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_equals.js +0 -0
  308. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  309. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_exists.js +0 -0
  310. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  311. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_false.js +0 -0
  312. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  313. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater.js +0 -0
  314. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  315. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  316. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  317. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  318. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  319. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_is_error.js +0 -0
  320. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  321. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less.js +0 -0
  322. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  323. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  324. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  325. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_match.js +0 -0
  326. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  327. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  328. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  329. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  330. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  331. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_match.js +0 -0
  332. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  333. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  334. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  335. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_object_match.js +0 -0
  336. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  337. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_rejects.js +0 -0
  338. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  339. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  340. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  341. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  342. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  343. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assert_throws.js +0 -0
  344. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  345. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/assertion_error.js +0 -0
  346. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/equal.d.ts +0 -0
  347. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/equal.js +0 -0
  348. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/fail.d.ts +0 -0
  349. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/fail.js +0 -0
  350. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/mod.d.ts +0 -0
  351. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/mod.js +0 -0
  352. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  353. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unimplemented.js +0 -0
  354. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  355. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/assert/unreachable.js +0 -0
  356. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/_util.d.ts +0 -0
  357. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/_util.js +0 -0
  358. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/base64.d.ts +0 -0
  359. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/encoding/base64.js +0 -0
  360. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/fmt/colors.d.ts +0 -0
  361. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/fmt/colors.js +0 -0
  362. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_db.d.ts +0 -0
  363. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_db.js +0 -0
  364. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_util.d.ts +0 -0
  365. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/_util.js +0 -0
  366. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  367. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/content_type.js +0 -0
  368. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extension.d.ts +0 -0
  369. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extension.js +0 -0
  370. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  371. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  372. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  373. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/format_media_type.js +0 -0
  374. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  375. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/get_charset.js +0 -0
  376. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  377. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  378. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  379. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  380. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  381. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  382. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  383. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/assert_path.js +0 -0
  384. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  385. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/basename.js +0 -0
  386. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/common.d.ts +0 -0
  387. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/common.js +0 -0
  388. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  389. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/constants.js +0 -0
  390. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  391. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/dirname.js +0 -0
  392. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/format.d.ts +0 -0
  393. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/format.js +0 -0
  394. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  395. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  396. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  397. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  398. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  399. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize.js +0 -0
  400. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  401. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/normalize_string.js +0 -0
  402. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  403. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/relative.js +0 -0
  404. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  405. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  406. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  407. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  408. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_interface.js +0 -0
  409. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_os.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/_os.js +0 -0
  411. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/common.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/common.js +0 -0
  413. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/constants.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/constants.js +0 -0
  415. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/dirname.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/dirname.js +0 -0
  417. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/extname.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/extname.js +0 -0
  419. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/from_file_url.js +0 -0
  421. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  423. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_absolute.js +0 -0
  425. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_glob.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/is_glob.js +0 -0
  427. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join.js +0 -0
  429. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join_globs.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/join_globs.js +0 -0
  431. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/mod.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/mod.js +0 -0
  433. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize.js +0 -0
  435. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/normalize_glob.js +0 -0
  437. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/_util.js +0 -0
  439. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/basename.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/basename.js +0 -0
  441. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/common.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/common.js +0 -0
  443. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/constants.js +0 -0
  445. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/dirname.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/dirname.js +0 -0
  447. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/extname.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/extname.js +0 -0
  449. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/format.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/format.js +0 -0
  451. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  453. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  455. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  457. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/is_glob.js +0 -0
  459. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join.js +0 -0
  461. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/join_globs.js +0 -0
  463. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/mod.js +0 -0
  465. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize.js +0 -0
  467. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  469. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/parse.js +0 -0
  471. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/relative.js +0 -0
  473. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/resolve.js +0 -0
  475. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  477. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  479. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/relative.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/relative.js +0 -0
  481. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/resolve.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/resolve.js +0 -0
  483. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_file_url.js +0 -0
  485. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  487. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/_util.js +0 -0
  489. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/common.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/common.js +0 -0
  491. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/constants.js +0 -0
  493. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/dirname.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/dirname.js +0 -0
  495. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/extname.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/extname.js +0 -0
  497. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/format.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/format.js +0 -0
  499. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  501. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  503. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  505. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/is_glob.js +0 -0
  507. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join.js +0 -0
  509. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/join_globs.js +0 -0
  511. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/mod.js +0 -0
  513. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize.js +0 -0
  515. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  517. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/parse.js +0 -0
  519. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/relative.js +0 -0
  521. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/resolve.js +0 -0
  523. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  525. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.220.1 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
@@ -2,9 +2,9 @@ import { MaybePromise } from "../1_utilities.js";
2
2
  import { enums, functions, types } from "../2_tl.js";
3
3
  import { Storage } from "../3_storage.js";
4
4
  import { DC } from "../3_transport.js";
5
- import { BotCommand, Chat, ChatAction, ChatMember, ChatP, FileSource, ID, InactiveChat, InlineQueryResult, InputStoryContent, InviteLink, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageLocation, MessagePhoto, MessagePoll, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, NetworkStatistics, ParseMode, Reaction, Sticker, Story, Update, User } from "../3_types.js";
5
+ import { BotCommand, Chat, ChatAction, ChatMember, ChatP, FileSource, ID, InactiveChat, InlineQueryResult, InputStoryContent, InviteLink, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageLocation, MessagePhoto, MessagePoll, MessageSticker, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, NetworkStatistics, ParseMode, Poll, Reaction, Sticker, Story, Update, User } from "../3_types.js";
6
6
  import { Migrate } from "../4_errors.js";
7
- import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateInviteLinkParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, GetCreatedInviteLinksParams, GetHistoryParams, GetMyCommandsParams, PinMessageParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetMyCommandsParams, SetReactionsParams, UploadParams } from "./0_params.js";
7
+ import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateInviteLinkParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageLiveLocationParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, GetCreatedInviteLinksParams, GetHistoryParams, GetMyCommandsParams, PinMessageParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetMyCommandsParams, SetReactionsParams, StopPollParams, UploadParams } from "./0_params.js";
8
8
  import { Api } from "./0_types.js";
9
9
  import { ClientPlainParams } from "./1_client_plain.js";
10
10
  import { Composer as Composer_, NextFunction } from "./1_composer.js";
@@ -29,6 +29,8 @@ export interface Context {
29
29
  replyPhoto: (photo: FileSource, params?: Omit<SendPhotoParams, "replyToMessageId"> & ReplyParams) => Promise<MessagePhoto>;
30
30
  /** Context-aware alias for `client.sendDocument()`. */
31
31
  replyDocument: (document: FileSource, params?: Omit<SendDocumentParams, "replyToMessageId"> & ReplyParams) => Promise<MessageDocument>;
32
+ /** Context-aware alias for `client.sendSticker()`. */
33
+ replySticker: (sticker: FileSource, params?: Omit<SendStickerParams, "replyToMessageId"> & ReplyParams) => Promise<MessageSticker>;
32
34
  /** Context-aware alias for `client.sendLocation()`. */
33
35
  replyLocation: (latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyToMessageId"> & ReplyParams) => Promise<MessageLocation>;
34
36
  /** Context-aware alias for `client.sendDice()`. */
@@ -71,10 +73,14 @@ export interface Context {
71
73
  }) => Promise<void>;
72
74
  /** Context-aware alias for `client.editInlineMessageText()`. */
73
75
  editInlineMessageText: (text: string, params?: EditMessageParams) => Promise<void>;
76
+ /** Context-aware alias for `client.editInlineMessageLiveLocation()`. */
77
+ editInlineMessageLiveLocation: (latitude: number, longitude: number, params?: EditMessageLiveLocationParams) => Promise<void>;
74
78
  /** Context-aware alias for `client.editInlineMessageReplyMarkup()`. */
75
79
  editInlineMessageReplyMarkup: (params?: EditMessageReplyMarkupParams) => Promise<void>;
76
80
  /** Context-aware alias for `client.editMessageText()`. */
77
81
  editMessageText: (messageId: number, text: string, params?: EditMessageParams) => Promise<MessageText>;
82
+ /** Context-aware alias for `client.editMessageLiveLocation()`. */
83
+ editMessageLiveLocation: (messageId: number, latitude: number, longitude: number, params?: EditMessageLiveLocationParams) => Promise<MessageLocation>;
78
84
  /** Context-aware alias for `client.editMessageReplyMarkup()`. */
79
85
  editMessageReplyMarkup: (messageId: number, params?: EditMessageReplyMarkupParams) => Promise<Message>;
80
86
  /** Context-aware alias for `client.answerCallbackQuery()`. */
@@ -301,7 +307,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
301
307
  * Edit a message's text.
302
308
  *
303
309
  * @method ms
304
- * @param chatId The identifier of the chat that contains the messages.
310
+ * @param chatId The identifier of the chat that contains the message.
305
311
  * @param messageId The message's identifier.
306
312
  * @param text The new text of the message.
307
313
  * @returns The edited text message.
@@ -319,7 +325,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
319
325
  * Edit a message's reply markup.
320
326
  *
321
327
  * @method ms
322
- * @param chatId The identifier of the chat that contains the messages.
328
+ * @param chatId The identifier of the chat that contains the message.
323
329
  * @param messageId The message's identifier.
324
330
  * @returns The edited message.
325
331
  */
@@ -331,6 +337,27 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
331
337
  * @param inlineMessageId The inline message's identifier.
332
338
  */
333
339
  editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams): Promise<void>;
340
+ /**
341
+ * Edit a message's live location.
342
+ *
343
+ * @method ms
344
+ * @param chatId The identifier of the chat that contains the messages.
345
+ * @param messageId The message's identifier.
346
+ * @param latitude The new latitude.
347
+ * @param longitude The new longitude.
348
+ * @returns The edited location message.
349
+ */
350
+ editMessageLiveLocation(chatId: ID, messageId: number, latitude: number, longitude: number, params?: EditMessageLiveLocationParams): Promise<MessageLocation>;
351
+ /**
352
+ * Edit an inline message's live location. Bot-only.
353
+ *
354
+ * @method ms
355
+ * @param inlineMessageId The inline message's identifier.
356
+ * @param latitude The new latitude.
357
+ * @param longitude The new longitude.
358
+ * @returns The edited location message.
359
+ */
360
+ editInlineMessageLiveLocation(inlineMessageId: string, latitude: number, longitude: number, params?: EditMessageLiveLocationParams): Promise<void>;
334
361
  /**
335
362
  * Retrieve multiple messages.
336
363
  *
@@ -411,6 +438,15 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
411
438
  * @returns The sent poll.
412
439
  */
413
440
  sendPoll(chatId: ID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<MessagePoll>;
441
+ /**
442
+ * Stop a poll.
443
+ *
444
+ * @method ms
445
+ * @param chatId The chat that includes the poll.
446
+ * @param messageId The idenfifier of the poll's message.
447
+ * @returns The new state of the poll.
448
+ */
449
+ stopPoll(chatId: ID, messageId: number, params?: StopPollParams): Promise<Poll>;
414
450
  /**
415
451
  * Send a chat action.
416
452
  *
@@ -540,6 +576,15 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
540
576
  * @returns The sent document.
541
577
  */
542
578
  sendDocument(chatId: ID, document: FileSource, params?: SendDocumentParams): Promise<MessageDocument>;
579
+ /**
580
+ * Send a sticker.
581
+ *
582
+ * @method ms
583
+ * @param chatId The chat to send the sticker to.
584
+ * @param document The sticker to send.
585
+ * @returns The sent sticker.
586
+ */
587
+ sendSticker(chatId: ID, sticker: FileSource, params?: SendStickerParams): Promise<MessageSticker>;
543
588
  /**
544
589
  * Send a video.
545
590
  *
@@ -9,13 +9,13 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
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
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _Client_instances, _Client_client, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_ignoreOutgoing, _Client_storeMessages, _Client_L, _Client_Lauthorize, _Client_LpingLoop, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_getApiId, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_stateChangeHandler, _Client_storageInited, _Client_initStorage, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_pingLoopStarted, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_startPingLoop, _Client_pingLoop, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe;
12
+ var _Client_instances, _Client_client, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_ignoreOutgoing, _Client_storeMessages, _Client_Lauthorize, _Client_LpingLoop, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_getApiId, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_stateChangeHandler, _Client_storageInited, _Client_initStorage, _Client_connectionInited, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_getSelfId, _Client_pingLoopStarted, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_startPingLoop, _Client_pingLoop, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe;
13
13
  import { cleanObject, drop, getLogger, getRandomId, mustPrompt, mustPromptOneOf, UNREACHABLE, ZERO_CHANNEL_ID } from "../1_utilities.js";
14
14
  import { as, chatIdToPeerId, functions, getChatIdPeerType, name, peerToChatId, types } from "../2_tl.js";
15
15
  import { StorageMemory } from "../3_storage.js";
16
16
  import { constructUser } from "../3_types.js";
17
17
  import { APP_VERSION, DEVICE_MODEL, LANG_CODE, LANG_PACK, LAYER, MAX_CHANNEL_ID, MAX_CHAT_ID, SYSTEM_LANG_CODE, SYSTEM_VERSION, USERNAME_TTL } from "../4_constants.js";
18
- import { AuthKeyUnregistered, FloodWait, Migrate, PasswordHashInvalid, PhoneNumberInvalid, SessionPasswordNeeded } from "../4_errors.js";
18
+ import { AuthKeyUnregistered, ConnectionNotInited, FloodWait, Migrate, PasswordHashInvalid, PhoneNumberInvalid, SessionPasswordNeeded } from "../4_errors.js";
19
19
  import { checkPassword } from "./0_password.js";
20
20
  import { getUsername, resolve } from "./0_utilities.js";
21
21
  import { AccountManager } from "./1_account_manager.js";
@@ -134,7 +134,6 @@ export class Client extends Composer {
134
134
  _Client_publicKeys.set(this, void 0);
135
135
  _Client_ignoreOutgoing.set(this, void 0);
136
136
  _Client_storeMessages.set(this, void 0);
137
- _Client_L.set(this, void 0);
138
137
  _Client_Lauthorize.set(this, void 0);
139
138
  _Client_LpingLoop.set(this, void 0);
140
139
  _Client_LhandleMigrationError.set(this, void 0);
@@ -278,6 +277,11 @@ export class Client extends Composer {
278
277
  const replyToMessageId = getReplyToMessageId(params?.quote, chatId, messageId);
279
278
  return this.sendDocument(chatId, document, { ...params, replyToMessageId });
280
279
  },
280
+ replySticker: (sticker, params) => {
281
+ const { chatId, messageId } = mustGetMsg();
282
+ const replyToMessageId = getReplyToMessageId(params?.quote, chatId, messageId);
283
+ return this.sendSticker(chatId, sticker, { ...params, replyToMessageId });
284
+ },
281
285
  replyContact: (firstName, number, params) => {
282
286
  const { chatId, messageId } = mustGetMsg();
283
287
  const replyToMessageId = getReplyToMessageId(params?.quote, chatId, messageId);
@@ -388,6 +392,10 @@ export class Client extends Composer {
388
392
  const inlineMessageId = mustGetInlineMsgId();
389
393
  return this.editInlineMessageText(inlineMessageId, text, params);
390
394
  },
395
+ editInlineMessageLiveLocation: (latitude, longitude, params) => {
396
+ const inlineMessageId = mustGetInlineMsgId();
397
+ return this.editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params);
398
+ },
391
399
  editInlineMessageReplyMarkup: (params) => {
392
400
  const inlineMessageId = mustGetInlineMsgId();
393
401
  return this.editInlineMessageReplyMarkup(inlineMessageId, params);
@@ -396,6 +404,10 @@ export class Client extends Composer {
396
404
  const { chatId } = mustGetMsg();
397
405
  return this.editMessageText(chatId, messageId, text, params);
398
406
  },
407
+ editMessageLiveLocation: (messageId, latitude, longitude, params) => {
408
+ const { chatId } = mustGetMsg();
409
+ return this.editMessageLiveLocation(chatId, messageId, latitude, longitude, params);
410
+ },
399
411
  editMessageReplyMarkup: (messageId, params) => {
400
412
  const { chatId } = mustGetMsg();
401
413
  return this.editMessageReplyMarkup(chatId, messageId, params);
@@ -531,7 +543,6 @@ export class Client extends Composer {
531
543
  _Client_storageInited.set(this, false);
532
544
  _Client_connectionInited.set(this, false);
533
545
  _Client_lastPropagatedAuthorizationState.set(this, null);
534
- _Client_selfId.set(this, null);
535
546
  _Client_pingLoopStarted.set(this, false);
536
547
  _Client_pingLoopAbortController.set(this, null);
537
548
  _Client_pingInterval.set(this, 60 * 1000); // 60 seconds
@@ -616,7 +627,7 @@ export class Client extends Composer {
616
627
  this.prefixes = params?.prefixes;
617
628
  }
618
629
  __classPrivateFieldSet(this, _Client_guaranteeUpdateDelivery, params?.guaranteeUpdateDelivery ?? false, "f");
619
- const L = __classPrivateFieldSet(this, _Client_L, getLogger("Client").client(id++), "f");
630
+ const L = getLogger("Client").client(id++);
620
631
  __classPrivateFieldSet(this, _Client_Lauthorize, L.branch("authorize"), "f");
621
632
  __classPrivateFieldSet(this, _Client_LpingLoop, L.branch("pingLoop"), "f");
622
633
  __classPrivateFieldSet(this, _Client_LhandleMigrationError, L.branch("[handleMigrationError]"), "f");
@@ -674,7 +685,6 @@ export class Client extends Composer {
674
685
  }
675
686
  await client.setDc(dc);
676
687
  }
677
- await __classPrivateFieldGet(client, _Client_instances, "m", _Client_initConnection).call(client);
678
688
  },
679
689
  disconnect: client.disconnect.bind(client),
680
690
  };
@@ -795,10 +805,10 @@ export class Client extends Composer {
795
805
  await __classPrivateFieldGet(this, _Client_client, "f").connect();
796
806
  await Promise.all([this.storage.setAuthKey(__classPrivateFieldGet(this, _Client_client, "f").authKey), this.storage.setDc(__classPrivateFieldGet(this, _Client_client, "f").dc), this.storage.setServerSalt(__classPrivateFieldGet(this, _Client_client, "f").serverSalt)]);
797
807
  }
798
- reconnect(dc) {
799
- return __classPrivateFieldGet(this, _Client_client, "f").reconnect(dc);
808
+ async reconnect(dc) {
809
+ await __classPrivateFieldGet(this, _Client_client, "f").reconnect(dc);
800
810
  }
801
- async [(_Client_client = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_L = new WeakMap(), _Client_Lauthorize = new WeakMap(), _Client_LpingLoop = new WeakMap(), _Client_LhandleMigrationError = new WeakMap(), _Client_L$initConncetion = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_stateChangeHandler = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_instances = new WeakSet(), _Client_getApiId = async function _Client_getApiId() {
811
+ async [(_Client_client = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_Lauthorize = new WeakMap(), _Client_LpingLoop = new WeakMap(), _Client_LhandleMigrationError = new WeakMap(), _Client_L$initConncetion = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_stateChangeHandler = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_instances = new WeakSet(), _Client_getApiId = async function _Client_getApiId() {
802
812
  const apiId = this.apiId || await this.storage.getApiId();
803
813
  if (!apiId) {
804
814
  throw new Error("apiId not set");
@@ -846,7 +856,6 @@ export class Client extends Composer {
846
856
  * [2]: https://core.telegram.org/method/updates.getState
847
857
  */
848
858
  async authorize(params) {
849
- await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initConnection).call(this);
850
859
  try {
851
860
  await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
852
861
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
@@ -877,14 +886,13 @@ export class Client extends Composer {
877
886
  while (true) {
878
887
  try {
879
888
  const auth = await this.api.auth.importBotAuthorization({ api_id: apiId, api_hash: this.apiHash, bot_auth_token: params, flags: 0 });
880
- __classPrivateFieldSet(this, _Client_selfId, Number(auth[as](types.auth.Authorization).user.id), "f");
889
+ await this.storage.setAccountId(Number(auth[as](types.auth.Authorization).user.id));
881
890
  await this.storage.setAccountType("bot");
882
891
  break;
883
892
  }
884
893
  catch (err) {
885
894
  if (err instanceof Migrate) {
886
895
  await this[handleMigrationError](err);
887
- await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initConnection).call(this);
888
896
  continue;
889
897
  }
890
898
  else {
@@ -921,7 +929,6 @@ export class Client extends Composer {
921
929
  catch (err) {
922
930
  if (err instanceof Migrate) {
923
931
  await this[handleMigrationError](err);
924
- await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initConnection).call(this);
925
932
  sentCode = await sendCode();
926
933
  }
927
934
  else {
@@ -949,7 +956,7 @@ export class Client extends Composer {
949
956
  phone_code: code,
950
957
  phone_code_hash: sentCode.phone_code_hash,
951
958
  });
952
- __classPrivateFieldSet(this, _Client_selfId, Number(auth[as](types.auth.Authorization).user.id), "f");
959
+ await this.storage.setAccountId(Number(auth[as](types.auth.Authorization).user.id));
953
960
  await this.storage.setAccountType("user");
954
961
  __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
955
962
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
@@ -978,7 +985,7 @@ export class Client extends Composer {
978
985
  const password = typeof params.password === "string" ? params.password : await params.password(ap.hint ?? null);
979
986
  const input = await checkPassword(password, ap);
980
987
  const auth = await this.api.auth.checkPassword({ password: input });
981
- __classPrivateFieldSet(this, _Client_selfId, Number(auth[as](types.auth.Authorization).user.id), "f");
988
+ await this.storage.setAccountId(Number(auth[as](types.auth.Authorization).user.id));
982
989
  await this.storage.setAccountType("user");
983
990
  __classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
984
991
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
@@ -1031,7 +1038,7 @@ export class Client extends Composer {
1031
1038
  * @param id The identifier of the chat.
1032
1039
  */
1033
1040
  async getInputPeer(id) {
1034
- if (id === "me") {
1041
+ if (id === "me" || id == await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).call(this)) {
1035
1042
  return new types.InputPeerSelf();
1036
1043
  }
1037
1044
  const inputPeer = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getInputPeerInner).call(this, id);
@@ -1069,34 +1076,17 @@ export class Client extends Composer {
1069
1076
  }
1070
1077
  return new types.InputUser(inputPeer);
1071
1078
  }
1072
- async [(_Client_initConnection = async function _Client_initConnection() {
1073
- if (!__classPrivateFieldGet(this, _Client_connectionInited, "f")) {
1074
- await this.api.initConnection({
1075
- api_id: await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getApiId).call(this),
1076
- app_version: this.appVersion,
1077
- device_model: this.deviceModel,
1078
- lang_code: this.langCode,
1079
- lang_pack: this.langPack,
1080
- query: new functions.invokeWithLayer({
1081
- layer: LAYER,
1082
- query: new functions.help.getConfig(),
1083
- }),
1084
- system_lang_code: this.systemLangCode,
1085
- system_version: this.systemVersion,
1086
- });
1087
- __classPrivateFieldSet(this, _Client_connectionInited, true, "f");
1088
- __classPrivateFieldGet(this, _Client_L$initConncetion, "f").debug("connection inited");
1089
- }
1090
- }, _Client_propagateAuthorizationState = async function _Client_propagateAuthorizationState(authorized) {
1079
+ async [(_Client_propagateAuthorizationState = async function _Client_propagateAuthorizationState(authorized) {
1091
1080
  if (__classPrivateFieldGet(this, _Client_lastPropagatedAuthorizationState, "f") != authorized) {
1092
1081
  await this.middleware()(await __classPrivateFieldGet(this, _Client_constructContext, "f").call(this, { authorizationState: { authorized } }), resolve);
1093
1082
  __classPrivateFieldSet(this, _Client_lastPropagatedAuthorizationState, authorized, "f");
1094
1083
  }
1095
1084
  }, _Client_getSelfId = async function _Client_getSelfId() {
1096
- if (__classPrivateFieldGet(this, _Client_selfId, "f") == null) {
1097
- __classPrivateFieldSet(this, _Client_selfId, await this.getMe().then((v) => v.id), "f");
1085
+ const id = await this.storage.getAccountId();
1086
+ if (id == null) {
1087
+ throw new Error("Unauthorized");
1098
1088
  }
1099
- return __classPrivateFieldGet(this, _Client_selfId, "f");
1089
+ return id;
1100
1090
  }, _Client_startPingLoop = function _Client_startPingLoop() {
1101
1091
  drop(__classPrivateFieldGet(this, _Client_instances, "m", _Client_pingLoop).call(this));
1102
1092
  }, _Client_pingLoop = async function _Client_pingLoop() {
@@ -1130,10 +1120,34 @@ export class Client extends Composer {
1130
1120
  let n = 1;
1131
1121
  while (true) {
1132
1122
  try {
1133
- return await __classPrivateFieldGet(this, _Client_client, "f").invoke(function_, noWait);
1123
+ if (function_ instanceof functions.Function && !__classPrivateFieldGet(this, _Client_connectionInited, "f")) {
1124
+ const result = await __classPrivateFieldGet(this, _Client_client, "f").invoke(new functions.initConnection({
1125
+ api_id: await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getApiId).call(this),
1126
+ app_version: this.appVersion,
1127
+ device_model: this.deviceModel,
1128
+ lang_code: this.langCode,
1129
+ lang_pack: this.langPack,
1130
+ query: new functions.invokeWithLayer({
1131
+ layer: LAYER,
1132
+ query: function_,
1133
+ }),
1134
+ system_lang_code: this.systemLangCode,
1135
+ system_version: this.systemVersion,
1136
+ }), noWait);
1137
+ __classPrivateFieldSet(this, _Client_connectionInited, true, "f");
1138
+ __classPrivateFieldGet(this, _Client_L$initConncetion, "f").debug("connection inited");
1139
+ return result;
1140
+ }
1141
+ else {
1142
+ return await __classPrivateFieldGet(this, _Client_client, "f").invoke(function_, noWait);
1143
+ }
1134
1144
  }
1135
1145
  catch (err) {
1136
- if (await __classPrivateFieldGet(this, _Client_handleInvokeError, "f").call(this, Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {
1146
+ if (err instanceof ConnectionNotInited) {
1147
+ __classPrivateFieldSet(this, _Client_connectionInited, false, "f");
1148
+ continue;
1149
+ }
1150
+ else if (await __classPrivateFieldGet(this, _Client_handleInvokeError, "f").call(this, Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {
1137
1151
  continue;
1138
1152
  }
1139
1153
  else {
@@ -1241,7 +1255,7 @@ export class Client extends Composer {
1241
1255
  * Edit a message's text.
1242
1256
  *
1243
1257
  * @method ms
1244
- * @param chatId The identifier of the chat that contains the messages.
1258
+ * @param chatId The identifier of the chat that contains the message.
1245
1259
  * @param messageId The message's identifier.
1246
1260
  * @param text The new text of the message.
1247
1261
  * @returns The edited text message.
@@ -1263,7 +1277,7 @@ export class Client extends Composer {
1263
1277
  * Edit a message's reply markup.
1264
1278
  *
1265
1279
  * @method ms
1266
- * @param chatId The identifier of the chat that contains the messages.
1280
+ * @param chatId The identifier of the chat that contains the message.
1267
1281
  * @param messageId The message's identifier.
1268
1282
  * @returns The edited message.
1269
1283
  */
@@ -1279,6 +1293,31 @@ export class Client extends Composer {
1279
1293
  async editInlineMessageReplyMarkup(inlineMessageId, params) {
1280
1294
  await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageReplyMarkup(inlineMessageId, params);
1281
1295
  }
1296
+ /**
1297
+ * Edit a message's live location.
1298
+ *
1299
+ * @method ms
1300
+ * @param chatId The identifier of the chat that contains the messages.
1301
+ * @param messageId The message's identifier.
1302
+ * @param latitude The new latitude.
1303
+ * @param longitude The new longitude.
1304
+ * @returns The edited location message.
1305
+ */
1306
+ async editMessageLiveLocation(chatId, messageId, latitude, longitude, params) {
1307
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").editMessageLiveLocation(chatId, messageId, latitude, longitude, params);
1308
+ }
1309
+ /**
1310
+ * Edit an inline message's live location. Bot-only.
1311
+ *
1312
+ * @method ms
1313
+ * @param inlineMessageId The inline message's identifier.
1314
+ * @param latitude The new latitude.
1315
+ * @param longitude The new longitude.
1316
+ * @returns The edited location message.
1317
+ */
1318
+ async editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params) {
1319
+ await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params);
1320
+ }
1282
1321
  /**
1283
1322
  * Retrieve multiple messages.
1284
1323
  *
@@ -1354,11 +1393,13 @@ export class Client extends Composer {
1354
1393
  * @method ac
1355
1394
  */
1356
1395
  async getMe() {
1357
- const users = await this.api.users.getUsers({ id: [new types.InputUserSelf()] });
1358
- if (users.length < 1) {
1359
- UNREACHABLE();
1396
+ let user_ = await this[getEntity](new types.PeerUser({ user_id: BigInt(await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).call(this)) }));
1397
+ if (user_ == null) {
1398
+ const users = await this.api.users.getUsers({ id: [new types.InputUserSelf()] });
1399
+ user_ = users[0][as](types.User);
1400
+ await this.messageStorage.setEntity(user_);
1360
1401
  }
1361
- const user = constructUser(users[0][as](types.User));
1402
+ const user = constructUser(user_);
1362
1403
  __classPrivateFieldSet(this, _Client_lastGetMe, user, "f");
1363
1404
  return user;
1364
1405
  }
@@ -1383,6 +1424,17 @@ export class Client extends Composer {
1383
1424
  async sendPoll(chatId, question, options, params) {
1384
1425
  return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendPoll(chatId, question, options, params);
1385
1426
  }
1427
+ /**
1428
+ * Stop a poll.
1429
+ *
1430
+ * @method ms
1431
+ * @param chatId The chat that includes the poll.
1432
+ * @param messageId The idenfifier of the poll's message.
1433
+ * @returns The new state of the poll.
1434
+ */
1435
+ async stopPoll(chatId, messageId, params) {
1436
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").stopPoll(chatId, messageId, params);
1437
+ }
1386
1438
  /**
1387
1439
  * Send a chat action.
1388
1440
  *
@@ -1526,6 +1578,17 @@ export class Client extends Composer {
1526
1578
  async sendDocument(chatId, document, params) {
1527
1579
  return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendDocument(chatId, document, params);
1528
1580
  }
1581
+ /**
1582
+ * Send a sticker.
1583
+ *
1584
+ * @method ms
1585
+ * @param chatId The chat to send the sticker to.
1586
+ * @param document The sticker to send.
1587
+ * @returns The sent sticker.
1588
+ */
1589
+ async sendSticker(chatId, sticker, params) {
1590
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendSticker(chatId, sticker, params);
1591
+ }
1529
1592
  /**
1530
1593
  * Send a video.
1531
1594
  *
@@ -1,5 +1,17 @@
1
1
  /**
2
2
  * A parsed path object generated by path.parse() or consumed by path.format().
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
7
+ *
8
+ * const parsedPathObj = parse("c:\\path\\dir\\index.html");
9
+ * parsedPathObj.root; // "c:\\"
10
+ * parsedPathObj.dir; // "c:\\path\\dir"
11
+ * parsedPathObj.base; // "index.html"
12
+ * parsedPathObj.ext; // ".html"
13
+ * parsedPathObj.name; // "index"
14
+ * ```
3
15
  */
4
16
  export interface ParsedPath {
5
17
  /**
@@ -7,7 +19,7 @@ export interface ParsedPath {
7
19
  */
8
20
  root: string;
9
21
  /**
10
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
22
+ * The full directory path of the parent such as '/home/user/dir' or 'c:\path\dir'
11
23
  */
12
24
  dir: string;
13
25
  /**
@@ -2,6 +2,15 @@
2
2
  * Return the last portion of a `path`.
3
3
  * Trailing directory separators are ignored, and optional suffix is removed.
4
4
  *
5
+ * @example
6
+ * ```ts
7
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
8
+ *
9
+ * basename("/home/user/Documents/"); // "Documents"
10
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
11
+ * basename("/home/user/Documents/image.png", ".png"); // "image"
12
+ * ```
13
+ *
5
14
  * @param path - path to extract the name from.
6
15
  * @param [suffix] - suffix to remove from extracted name.
7
16
  */
@@ -7,6 +7,15 @@ import { basename as windowsBasename } from "./windows/basename.js";
7
7
  * Return the last portion of a `path`.
8
8
  * Trailing directory separators are ignored, and optional suffix is removed.
9
9
  *
10
+ * @example
11
+ * ```ts
12
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
13
+ *
14
+ * basename("/home/user/Documents/"); // "Documents"
15
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
16
+ * basename("/home/user/Documents/image.png", ".png"); // "image"
17
+ * ```
18
+ *
10
19
  * @param path - path to extract the name from.
11
20
  * @param [suffix] - suffix to remove from extracted name.
12
21
  */
@@ -1,6 +1,8 @@
1
1
  import type { FormatInputPathObject } from "./_interface.js";
2
2
  /**
3
- * Generate a path from `FormatInputPathObject` object.
3
+ * Generate a path from `FormatInputPathObject` object. It does the opposite
4
+ * of `parse`.
5
+ *
4
6
  * @param pathObject with path
5
7
  */
6
8
  export declare function format(pathObject: FormatInputPathObject): string;
@@ -4,7 +4,9 @@ import { isWindows } from "./_os.js";
4
4
  import { format as posixFormat } from "./posix/format.js";
5
5
  import { format as windowsFormat } from "./windows/format.js";
6
6
  /**
7
- * Generate a path from `FormatInputPathObject` object.
7
+ * Generate a path from `FormatInputPathObject` object. It does the opposite
8
+ * of `parse`.
9
+ *
8
10
  * @param pathObject with path
9
11
  */
10
12
  export function format(pathObject) {
@@ -0,0 +1,18 @@
1
+ import type { ParsedPath } from "./_interface.js";
2
+ /**
3
+ * Return a `ParsedPath` object of the `path`. Use `format` to reverse the result.
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
8
+ *
9
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
10
+ * parsedPathObj.root; // "/"
11
+ * parsedPathObj.dir; // "/path/to/dir"
12
+ * parsedPathObj.base; // "script.ts"
13
+ * parsedPathObj.ext; // ".ts"
14
+ * parsedPathObj.name; // "script"
15
+ * ```
16
+ * @param path to process
17
+ */
18
+ export declare function parse(path: string): ParsedPath;
@@ -0,0 +1,24 @@
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ // This module is browser compatible.
3
+ import { isWindows } from "./_os.js";
4
+ import { parse as posixParse } from "./posix/parse.js";
5
+ import { parse as windowsParse } from "./windows/parse.js";
6
+ /**
7
+ * Return a `ParsedPath` object of the `path`. Use `format` to reverse the result.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import { parse } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
12
+ *
13
+ * const parsedPathObj = parse("/path/to/dir/script.ts");
14
+ * parsedPathObj.root; // "/"
15
+ * parsedPathObj.dir; // "/path/to/dir"
16
+ * parsedPathObj.base; // "script.ts"
17
+ * parsedPathObj.ext; // ".ts"
18
+ * parsedPathObj.name; // "script"
19
+ * ```
20
+ * @param path to process
21
+ */
22
+ export function parse(path) {
23
+ return isWindows ? windowsParse(path) : posixParse(path);
24
+ }
@@ -2,6 +2,15 @@
2
2
  * Return the last portion of a `path`.
3
3
  * Trailing directory separators are ignored, and optional suffix is removed.
4
4
  *
5
+ * @example
6
+ * ```ts
7
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
8
+ *
9
+ * basename("C:\\user\\Documents\\"); // "Documents"
10
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
11
+ * basename("C:\\user\\Documents\\image.png", ".png"); // "image"
12
+ * ```
13
+ *
5
14
  * @param path - path to extract the name from.
6
15
  * @param [suffix] - suffix to remove from extracted name.
7
16
  */
@@ -8,6 +8,15 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
8
8
  * Return the last portion of a `path`.
9
9
  * Trailing directory separators are ignored, and optional suffix is removed.
10
10
  *
11
+ * @example
12
+ * ```ts
13
+ * import { basename } from "https://deno.land/std@$STD_VERSION/path/basename.ts";
14
+ *
15
+ * basename("C:\\user\\Documents\\"); // "Documents"
16
+ * basename("C:\\user\\Documents\\image.png"); // "image.png"
17
+ * basename("C:\\user\\Documents\\image.png", ".png"); // "image"
18
+ * ```
19
+ *
11
20
  * @param path - path to extract the name from.
12
21
  * @param [suffix] - suffix to remove from extracted name.
13
22
  */
@@ -14,6 +14,7 @@ export declare const K: {
14
14
  P: (string: string) => string;
15
15
  dc: () => StorageKeyPart[];
16
16
  key: () => StorageKeyPart[];
17
+ accountId: () => StorageKeyPart[];
17
18
  accountType: () => StorageKeyPart[];
18
19
  };
19
20
  updates: {
@@ -98,6 +99,8 @@ export declare abstract class Storage {
98
99
  getChannelPts(channelId: bigint): MaybePromise<number | null>;
99
100
  setEntity(entity: AnyEntity): Promise<void>;
100
101
  getEntity(key: number): Promise<ReadObject | null>;
102
+ setAccountId(accountId: number): Promise<void>;
103
+ getAccountId(): Promise<number | null>;
101
104
  setAccountType(type: "user" | "bot"): Promise<void>;
102
105
  getAccountType(): Promise<"user" | "bot" | null>;
103
106
  updateStickerSetName(id: bigint, accessHash: bigint, name: string): Promise<void>;