@mtkruto/node 0.1.152 → 0.1.155

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 (659) hide show
  1. package/esm/0_deps.d.ts +6 -8
  2. package/esm/0_deps.js +14 -9
  3. package/esm/1_utilities.d.ts +3 -1
  4. package/esm/1_utilities.js +3 -1
  5. package/esm/3_types.d.ts +2 -0
  6. package/esm/3_types.js +2 -0
  7. package/esm/4_constants.d.ts +2 -2
  8. package/esm/4_constants.js +4 -4
  9. package/esm/5_client.d.ts +0 -1
  10. package/esm/5_client.js +0 -1
  11. package/esm/client/0_params.d.ts +21 -3
  12. package/esm/client/0_types.d.ts +1 -0
  13. package/esm/client/1_account_manager.d.ts +11 -0
  14. package/esm/client/1_account_manager.js +76 -0
  15. package/esm/client/1_file_manager.js +12 -10
  16. package/esm/client/1_update_manager.js +27 -20
  17. package/esm/client/2_client_plain.js +22 -15
  18. package/esm/client/2_message_manager.d.ts +3 -0
  19. package/esm/client/2_message_manager.js +41 -6
  20. package/esm/client/3_chat_list_manager.js +7 -6
  21. package/esm/client/3_story_manager.js +9 -0
  22. package/esm/client/4_client.d.ts +63 -3
  23. package/esm/client/4_client.js +145 -39
  24. package/esm/connection/1_connection_web_socket.js +9 -10
  25. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
  26. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
  27. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
  28. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
  29. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
  30. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
  31. package/esm/deps/deno.land/std@0.218.0/media_types/_db.js +32 -0
  32. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
  33. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +0 -2
  34. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
  35. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +1 -3
  36. package/esm/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
  37. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
  38. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
  39. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
  40. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
  41. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
  42. package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/posix/glob_to_regexp.d.ts +1 -1
  43. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
  44. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
  45. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.d.ts +1 -1
  46. package/esm/deps/deno.land/{std@0.216.0/path/posix → std@0.218.0/path/windows}/glob_to_regexp.d.ts +1 -1
  47. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
  48. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
  49. package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.d.ts +1 -1
  50. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
  51. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +1 -0
  52. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
  53. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -5
  54. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
  55. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -5
  56. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
  57. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
  58. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
  59. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
  60. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
  61. package/esm/mod.d.ts +1 -2
  62. package/esm/mod.js +1 -2
  63. package/esm/storage/0_storage.d.ts +2 -0
  64. package/esm/storage/0_storage.js +21 -2
  65. package/esm/storage/1_storage_memory.d.ts +2 -1
  66. package/esm/storage/1_storage_memory.js +15 -10
  67. package/esm/tl/2_types.d.ts +44 -6
  68. package/esm/tl/2_types.js +143 -20
  69. package/esm/tl/3_functions.d.ts +36 -0
  70. package/esm/tl/3_functions.js +88 -0
  71. package/esm/types/0_message_search_filter.d.ts +2 -0
  72. package/esm/types/0_message_search_filter.js +36 -0
  73. package/esm/types/2_inactive_chat.d.ts +7 -0
  74. package/esm/types/2_inactive_chat.js +13 -0
  75. package/esm/types/4_message.js +3 -4
  76. package/esm/utilities/0_logger.d.ts +25 -0
  77. package/esm/utilities/0_logger.js +90 -0
  78. package/esm/utilities/0_mutex.d.ts +4 -0
  79. package/esm/utilities/0_mutex.js +26 -0
  80. package/esm/utilities/{0_queue.js → 1_queue.js} +6 -6
  81. package/package.json +1 -1
  82. package/script/0_deps.d.ts +6 -8
  83. package/script/0_deps.js +18 -15
  84. package/script/1_utilities.d.ts +3 -1
  85. package/script/1_utilities.js +3 -1
  86. package/script/3_types.d.ts +2 -0
  87. package/script/3_types.js +2 -0
  88. package/script/4_constants.d.ts +2 -2
  89. package/script/4_constants.js +4 -4
  90. package/script/5_client.d.ts +0 -1
  91. package/script/5_client.js +0 -1
  92. package/script/client/0_params.d.ts +21 -3
  93. package/script/client/0_types.d.ts +1 -0
  94. package/script/client/1_account_manager.d.ts +11 -0
  95. package/script/client/1_account_manager.js +80 -0
  96. package/script/client/1_file_manager.js +10 -8
  97. package/script/client/1_update_manager.js +26 -19
  98. package/script/client/2_client_plain.js +20 -13
  99. package/script/client/2_message_manager.d.ts +3 -0
  100. package/script/client/2_message_manager.js +39 -4
  101. package/script/client/3_chat_list_manager.js +6 -5
  102. package/script/client/3_story_manager.js +9 -0
  103. package/script/client/4_client.d.ts +63 -3
  104. package/script/client/4_client.js +144 -38
  105. package/script/connection/1_connection_web_socket.js +11 -12
  106. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
  107. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
  108. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
  109. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
  110. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
  111. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
  112. package/script/deps/deno.land/std@0.218.0/media_types/_db.js +39 -0
  113. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
  114. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +1 -3
  115. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
  116. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +3 -5
  117. package/script/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
  118. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
  119. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
  120. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
  121. package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
  122. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
  123. package/{esm/deps/deno.land/std@0.216.0/path/windows → script/deps/deno.land/std@0.218.0/path/posix}/glob_to_regexp.d.ts +1 -1
  124. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
  125. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
  126. package/script/deps/deno.land/std@0.218.0/path/posix/parse.d.ts +6 -0
  127. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.d.ts +1 -1
  128. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
  129. package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
  130. package/script/deps/deno.land/std@0.218.0/path/windows/parse.d.ts +6 -0
  131. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
  132. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +6 -0
  133. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
  134. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -7
  135. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
  136. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -7
  137. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
  138. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
  139. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
  140. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
  141. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
  142. package/script/mod.d.ts +1 -2
  143. package/script/mod.js +2 -2
  144. package/script/storage/0_storage.d.ts +2 -0
  145. package/script/storage/0_storage.js +19 -0
  146. package/script/storage/1_storage_memory.d.ts +2 -1
  147. package/script/storage/1_storage_memory.js +15 -10
  148. package/script/tl/2_types.d.ts +44 -6
  149. package/script/tl/2_types.js +168 -43
  150. package/script/tl/3_functions.d.ts +36 -0
  151. package/script/tl/3_functions.js +93 -3
  152. package/script/types/0_message_search_filter.d.ts +2 -0
  153. package/script/types/0_message_search_filter.js +40 -0
  154. package/script/types/2_inactive_chat.d.ts +7 -0
  155. package/script/types/2_inactive_chat.js +17 -0
  156. package/script/types/4_message.js +2 -3
  157. package/script/utilities/0_logger.d.ts +25 -0
  158. package/script/utilities/0_logger.js +118 -0
  159. package/script/utilities/0_mutex.d.ts +4 -0
  160. package/script/utilities/0_mutex.js +30 -0
  161. package/script/utilities/{0_queue.js → 1_queue.js} +6 -6
  162. package/esm/_dnt.polyfills.d.ts +0 -6
  163. package/esm/_dnt.polyfills.js +0 -1
  164. package/esm/client/5_session_string.d.ts +0 -3
  165. package/esm/client/5_session_string.js +0 -22
  166. package/esm/deps/deno.land/std@0.216.0/media_types/_db.js +0 -33
  167. package/esm/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
  168. package/esm/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
  169. package/esm/deps/deno.land/std@0.69.0/fmt/colors.js +0 -224
  170. package/esm/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
  171. package/esm/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -105
  172. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
  173. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -239
  174. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
  175. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -71
  176. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
  177. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -112
  178. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
  179. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -2
  180. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
  181. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -39
  182. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
  183. package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -1
  184. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
  185. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -2
  186. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
  187. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -32
  188. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
  189. package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -113
  190. package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
  191. package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -524
  192. package/script/_dnt.polyfills.d.ts +0 -6
  193. package/script/_dnt.polyfills.js +0 -2
  194. package/script/client/5_session_string.d.ts +0 -3
  195. package/script/client/5_session_string.js +0 -27
  196. package/script/deps/deno.land/std@0.216.0/media_types/_db.js +0 -39
  197. package/script/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
  198. package/script/deps/deno.land/std@0.216.0/path/posix/parse.d.ts +0 -6
  199. package/script/deps/deno.land/std@0.216.0/path/windows/parse.d.ts +0 -6
  200. package/script/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
  201. package/script/deps/deno.land/std@0.69.0/fmt/colors.js +0 -298
  202. package/script/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
  203. package/script/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -113
  204. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
  205. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -271
  206. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
  207. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -98
  208. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
  209. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -141
  210. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
  211. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -32
  212. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
  213. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -43
  214. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
  215. package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -17
  216. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
  217. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -18
  218. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
  219. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -36
  220. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
  221. package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -117
  222. package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
  223. package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -550
  224. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
  286. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
  287. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
  288. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
  289. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
  290. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
  291. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
  292. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
  293. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
  294. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
  295. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
  296. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
  297. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
  298. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
  299. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  300. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  301. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
  316. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
  317. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
  318. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
  319. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
  320. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
  321. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  322. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
  323. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
  324. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
  325. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
  326. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
  327. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
  328. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
  329. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
  330. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
  331. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
  332. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
  333. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
  334. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
  335. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
  336. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
  337. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
  338. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
  339. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
  343. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
  344. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
  345. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
  346. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
  347. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
  348. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
  349. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
  350. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
  351. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
  352. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
  353. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
  354. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
  355. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
  356. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
  357. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
  358. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
  359. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
  360. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
  361. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
  362. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
  363. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
  364. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
  365. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
  366. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
  367. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
  368. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
  369. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
  370. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
  371. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
  372. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
  373. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
  381. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
  382. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
  383. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
  384. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
  385. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
  387. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
  388. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
  389. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
  390. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
  391. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
  392. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
  393. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
  394. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
  395. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
  396. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
  397. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
  398. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
  399. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
  400. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
  401. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
  402. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
  403. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
  404. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
  405. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
  406. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
  407. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
  408. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
  409. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
  410. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
  411. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
  412. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
  413. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
  414. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
  415. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
  416. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
  417. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
  418. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
  419. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
  420. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
  421. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
  422. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
  423. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
  424. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
  425. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
  426. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
  427. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
  428. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
  429. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
  430. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
  431. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
  432. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
  433. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
  434. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
  435. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
  436. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
  437. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
  438. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
  439. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
  440. /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
  441. /package/esm/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
  442. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
  444. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
  446. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
  448. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
  450. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
  452. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
  454. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
  456. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
  458. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
  460. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
  462. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
  464. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
  466. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
  468. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
  470. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
  472. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
  474. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
  476. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
  478. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
  480. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
  482. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
  484. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
  485. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
  487. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
  489. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
  490. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
  492. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
  494. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
  496. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
  498. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
  500. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
  502. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
  505. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
  507. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
  509. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
  511. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
  513. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
  515. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
  517. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  519. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
  520. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
  522. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
  524. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
  526. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
  528. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
  530. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
  532. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
  535. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
  537. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
  539. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
  541. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
  543. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
  545. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
  547. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
  549. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
  551. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
  553. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
  555. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
  557. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
  558. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
  560. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
  561. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
  563. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
  565. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
  567. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
  569. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
  571. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
  572. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
  573. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
  574. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
  575. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
  576. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
  577. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
  578. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
  579. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
  580. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
  581. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
  582. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
  583. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
  584. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
  585. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
  586. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
  587. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
  588. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
  589. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
  590. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
  591. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
  592. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
  594. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
  596. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
  598. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
  599. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
  600. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
  601. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
  602. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
  603. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
  604. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
  605. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
  606. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
  607. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
  608. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
  609. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
  610. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
  611. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
  612. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
  613. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
  614. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
  615. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
  616. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
  617. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
  618. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
  619. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
  620. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
  621. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
  622. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
  623. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
  624. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
  625. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
  626. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
  627. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
  628. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
  629. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
  630. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
  631. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
  632. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
  633. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
  634. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
  635. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
  636. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
  637. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
  638. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
  639. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
  640. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
  641. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
  642. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
  643. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
  644. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
  645. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
  646. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
  647. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
  648. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
  649. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
  650. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
  651. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
  652. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
  653. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
  654. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
  655. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
  656. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
  657. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
  658. /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
  659. /package/script/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
@@ -10,23 +10,24 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  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");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
13
+ var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_LrecoverUpdateGap, _UpdateManager_LrecoverChannelUpdateGap, _UpdateManager_L$handleUpdate, _UpdateManager_L$processUpdates, _UpdateManager_LfetchState, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.UpdateManager = void 0;
16
- const _0_deps_js_1 = require("../0_deps.js");
17
16
  const _1_utilities_js_1 = require("../1_utilities.js");
18
17
  const _2_tl_js_1 = require("../2_tl.js");
19
18
  const _4_constants_js_1 = require("../4_constants.js");
20
19
  const _0_utilities_js_1 = require("./0_utilities.js");
21
- const d = (0, _0_deps_js_1.debug)("UpdateManager");
22
- const dGap = (0, _0_deps_js_1.debug)("UpdateManager/recoverUpdateGap");
23
- const dGapC = (0, _0_deps_js_1.debug)("UpdateManager/recoverChannelUpdateGap");
24
20
  class UpdateManager {
25
21
  constructor(c) {
26
22
  _UpdateManager_instances.add(this);
27
23
  _UpdateManager_c.set(this, void 0);
28
24
  _UpdateManager_updateState.set(this, void 0);
29
25
  _UpdateManager_updateHandler.set(this, void 0);
26
+ _UpdateManager_LrecoverUpdateGap.set(this, void 0);
27
+ _UpdateManager_LrecoverChannelUpdateGap.set(this, void 0);
28
+ _UpdateManager_L$handleUpdate.set(this, void 0);
29
+ _UpdateManager_L$processUpdates.set(this, void 0);
30
+ _UpdateManager_LfetchState.set(this, void 0);
30
31
  _UpdateManager_defaultDropPendingUpdates.set(this, null);
31
32
  _UpdateManager_state.set(this, undefined);
32
33
  _UpdateManager_handleUpdateQueues.set(this, new Map());
@@ -36,11 +37,17 @@ class UpdateManager {
36
37
  _UpdateManager_processUpdatesQueue.set(this, new _1_utilities_js_1.Queue("UpdateManager/processUpdates"));
37
38
  _UpdateManager_handleUpdatesSet.set(this, new Set());
38
39
  __classPrivateFieldSet(this, _UpdateManager_c, c, "f");
40
+ const L = (0, _1_utilities_js_1.getLogger)("UpdateManager").client(c.id);
41
+ __classPrivateFieldSet(this, _UpdateManager_LrecoverUpdateGap, L.branch("recoverUpdateGap"), "f");
42
+ __classPrivateFieldSet(this, _UpdateManager_LrecoverChannelUpdateGap, L.branch("recoverChannelUpdateGap"), "f");
43
+ __classPrivateFieldSet(this, _UpdateManager_L$handleUpdate, L.branch("#handleUpdate"), "f");
44
+ __classPrivateFieldSet(this, _UpdateManager_L$processUpdates, L.branch("#processUpdates"), "f");
45
+ __classPrivateFieldSet(this, _UpdateManager_LfetchState, L.branch("fetchState"), "f");
39
46
  }
40
47
  async fetchState(source) {
41
48
  const state = await __classPrivateFieldGet(this, _UpdateManager_c, "f").api.updates.getState();
42
49
  __classPrivateFieldSet(this, _UpdateManager_updateState, state, "f");
43
- d("state fetched [%s]", source);
50
+ __classPrivateFieldGet(this, _UpdateManager_LfetchState, "f").debug(`state fetched [${source}]`);
44
51
  if (await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_mustDropPendingUpdates).call(this)) {
45
52
  await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, state);
46
53
  }
@@ -181,7 +188,7 @@ class UpdateManager {
181
188
  __classPrivateFieldGet(this, _UpdateManager_processUpdatesQueue, "f").add(() => __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, updates, checkGap, call).then(callback));
182
189
  }
183
190
  async recoverUpdateGap(source) {
184
- dGap("recovering from update gap [%s]", source);
191
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug(`recovering from update gap [${source}]`);
185
192
  __classPrivateFieldGet(this, _UpdateManager_c, "f").setConnectionState("updating");
186
193
  try {
187
194
  let state = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
@@ -198,7 +205,7 @@ class UpdateManager {
198
205
  }
199
206
  if (difference instanceof _2_tl_js_1.types.updates.Difference) {
200
207
  await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, difference.state);
201
- dGap("recovered from update gap");
208
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("recovered from update gap");
202
209
  break;
203
210
  }
204
211
  else if (difference instanceof _2_tl_js_1.types.updates.DifferenceSlice) {
@@ -213,11 +220,11 @@ class UpdateManager {
213
220
  await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(0);
214
221
  await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(1);
215
222
  state.pts = difference.pts;
216
- dGap("received differenceTooLong");
223
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("received differenceTooLong");
217
224
  }
218
225
  else if (difference instanceof _2_tl_js_1.types.updates.DifferenceEmpty) {
219
226
  await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setUpdateStateDate).call(this, difference.date);
220
- dGap("there was no update gap");
227
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("there was no update gap");
221
228
  break;
222
229
  }
223
230
  else {
@@ -234,7 +241,7 @@ class UpdateManager {
234
241
  }
235
242
  }
236
243
  exports.UpdateManager = UpdateManager;
237
- _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
244
+ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_LrecoverUpdateGap = new WeakMap(), _UpdateManager_LrecoverChannelUpdateGap = new WeakMap(), _UpdateManager_L$handleUpdate = new WeakMap(), _UpdateManager_L$processUpdates = new WeakMap(), _UpdateManager_LfetchState = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
238
245
  if (typeof __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates === "boolean") {
239
246
  return __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates;
240
247
  }
@@ -364,7 +371,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
364
371
  if (checkGap) {
365
372
  if (seqStart == 0) {
366
373
  checkGap = false;
367
- d("seqStart=0");
374
+ __classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("seqStart=0");
368
375
  }
369
376
  else {
370
377
  const localState = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
@@ -378,7 +385,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
378
385
  }
379
386
  else if (localSeq + 1 > seqStart) {
380
387
  // The update sequence was already applied, and must be ignored.
381
- d("localSeq + 1 > seqStart");
388
+ __classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("localSeq + 1 > seqStart");
382
389
  return;
383
390
  }
384
391
  else if (localSeq + 1 < seqStart) {
@@ -533,7 +540,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
533
540
  }
534
541
  return localState;
535
542
  }, _UpdateManager_recoverChannelUpdateGap = async function _UpdateManager_recoverChannelUpdateGap(channelId, source) {
536
- dGapC("recovering channel update gap [%o, %s]", channelId, source);
543
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovering channel update gap [${channelId}, ${source}]`);
537
544
  const pts_ = await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.getChannelPts(channelId);
538
545
  let pts = pts_ == null ? 1 : pts_;
539
546
  while (true) {
@@ -554,12 +561,12 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
554
561
  await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, update, false);
555
562
  }
556
563
  await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.setChannelPts(channelId, difference.pts);
557
- dGapC("recovered from update gap [%o, %s]", channelId, source);
564
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovered from update gap [${channelId}, ${source}]`, channelId, source);
558
565
  break;
559
566
  }
560
567
  else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceTooLong) {
561
568
  // TODO: invalidate messages
562
- dGapC("received channelDifferenceTooLong");
569
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("received channelDifferenceTooLong");
563
570
  await this.processChats(difference.chats);
564
571
  await this.processUsers(difference.users);
565
572
  for (const message of difference.messages) {
@@ -572,10 +579,10 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
572
579
  else {
573
580
  (0, _1_utilities_js_1.UNREACHABLE)();
574
581
  }
575
- dGapC("processed channelDifferenceTooLong");
582
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("processed channelDifferenceTooLong");
576
583
  }
577
584
  else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceEmpty) {
578
- dGapC("there was no update gap");
585
+ __classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("there was no update gap");
579
586
  break;
580
587
  }
581
588
  }
@@ -605,7 +612,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
605
612
  break;
606
613
  }
607
614
  catch (err) {
608
- d("#handleUpdate error: %o", err);
615
+ __classPrivateFieldGet(this, _UpdateManager_L$handleUpdate, "f").error(err);
609
616
  }
610
617
  }
611
618
  await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.set(key, null);
@@ -19,7 +19,8 @@ const _2_tl_js_1 = require("../2_tl.js");
19
19
  const _4_constants_js_1 = require("../4_constants.js");
20
20
  const _0_client_abstract_js_1 = require("./0_client_abstract.js");
21
21
  const _0_message_js_1 = require("./0_message.js");
22
- const d = (0, _0_deps_js_1.debug)("ClientPlain/createAuthKey");
22
+ const L = (0, _1_utilities_js_1.getLogger)("ClientPlain");
23
+ const LcreateAuthKey = L.branch("createAuthKey");
23
24
  class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
24
25
  constructor(params) {
25
26
  super(params);
@@ -32,8 +33,12 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
32
33
  throw new Error("Not connected");
33
34
  }
34
35
  const msgId = __classPrivateFieldSet(this, _ClientPlain_lastMsgId, (0, _0_message_js_1.getMessageId)(__classPrivateFieldGet(this, _ClientPlain_lastMsgId, "f")), "f");
35
- await this.transport.transport.send((0, _0_message_js_1.packUnencryptedMessage)(function_[_2_tl_js_1.serialize](), msgId));
36
+ const payload = (0, _0_message_js_1.packUnencryptedMessage)(function_[_2_tl_js_1.serialize](), msgId);
37
+ await this.transport.transport.send(payload);
38
+ L.out(function_);
39
+ L.outBin(payload);
36
40
  const buffer = await this.transport.transport.receive();
41
+ L.inBin(payload);
37
42
  if (buffer.length == 4) {
38
43
  const int = (0, _1_utilities_js_1.bigIntFromBuffer)(buffer, true, true);
39
44
  if (int == -404n) {
@@ -42,33 +47,35 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
42
47
  }
43
48
  const { message } = (0, _0_message_js_1.unpackUnencryptedMessage)(buffer);
44
49
  const reader = new _2_tl_js_1.TLReader(message);
45
- return reader.readObject();
50
+ const result = reader.readObject();
51
+ L.in(result);
52
+ return result;
46
53
  }
47
54
  async createAuthKey() {
48
55
  const nonce = (0, _1_utilities_js_1.getRandomBigInt)(16, false, true);
49
- d("auth key creation started");
56
+ LcreateAuthKey.debug("auth key creation started");
50
57
  let resPq = null;
51
58
  for (let i = 0; i < 10; i++) {
52
59
  try {
53
- d("req_pq_multi [%d]", i + 1);
60
+ LcreateAuthKey.debug(`req_pq_multi [${i + 1}]`);
54
61
  resPq = await this.invoke(new _2_tl_js_1.functions.req_pq_multi({ nonce }));
55
62
  (0, _0_deps_js_1.assertInstanceOf)(resPq, _2_tl_js_1.types.ResPQ);
56
63
  (0, _0_deps_js_1.assertEquals)(resPq.nonce, nonce);
57
- d("got res_pq");
64
+ LcreateAuthKey.debug("got res_pq");
58
65
  break;
59
66
  }
60
67
  catch (err) {
61
- d("req_pq_multi error: %o", err);
68
+ LcreateAuthKey.debug("req_pq_multi error:", err);
62
69
  }
63
70
  }
64
71
  if (!resPq) {
65
72
  (0, _1_utilities_js_1.UNREACHABLE)();
66
73
  }
67
74
  const pq_ = (0, _1_utilities_js_1.bigIntFromBuffer)(resPq.pq, false, false);
68
- d("pq=%d", pq_);
75
+ LcreateAuthKey.debug(`pq=${pq_}`);
69
76
  const [p_, q_] = (0, _0_deps_js_1.factorize)(pq_);
70
- d("factorized pq");
71
- d("p=%d, q=%d", p_, q_);
77
+ LcreateAuthKey.debug("factorized pq");
78
+ LcreateAuthKey.debug(`p=${p_}, q=${q_}`);
72
79
  const p = (0, _1_utilities_js_1.bufferFromBigInt)(p_, 4, false, false);
73
80
  const q = (0, _1_utilities_js_1.bufferFromBigInt)(q_, 4, false, false);
74
81
  let publicKeyFingerprint;
@@ -106,7 +113,7 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
106
113
  encrypted_data: encryptedData,
107
114
  }));
108
115
  (0, _0_deps_js_1.assertInstanceOf)(dhParams, _2_tl_js_1.types.Server_DH_params_ok);
109
- d("got server_DH_params_ok");
116
+ LcreateAuthKey.debug("got server_DH_params_ok");
110
117
  const newNonce_ = (0, _1_utilities_js_1.bufferFromBigInt)(newNonce, 32, true, true);
111
118
  const serverNonce_ = (0, _1_utilities_js_1.bufferFromBigInt)(serverNonce, 16, true, true);
112
119
  const tmpAesKey = (0, _1_utilities_js_1.concat)(await (0, _1_utilities_js_1.sha1)((0, _1_utilities_js_1.concat)(newNonce_, serverNonce_)), (await (0, _1_utilities_js_1.sha1)((0, _1_utilities_js_1.concat)(serverNonce_, newNonce_))).subarray(0, 0 + 12));
@@ -132,12 +139,12 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
132
139
  encryptedData = (0, _0_deps_js_1.ige256Encrypt)(dataWithHash, tmpAesKey, tmpAesIv);
133
140
  const dhGenOk = await this.invoke(new _2_tl_js_1.functions.set_client_DH_params({ nonce, server_nonce: serverNonce, encrypted_data: encryptedData }));
134
141
  (0, _0_deps_js_1.assertInstanceOf)(dhGenOk, _2_tl_js_1.types.Dh_gen_ok);
135
- d("got dh_gen_ok");
142
+ LcreateAuthKey.debug("got dh_gen_ok");
136
143
  const serverNonceSlice = serverNonce_.subarray(0, 8);
137
144
  const salt = newNonce_.subarray(0, 0 + 8).map((v, i) => v ^ serverNonceSlice[i]);
138
145
  const authKey_ = (0, _1_utilities_js_1.modExp)(gA, b, dhPrime);
139
146
  const authKey = (0, _1_utilities_js_1.bufferFromBigInt)(authKey_, 256, false, false);
140
- d("auth key created");
147
+ LcreateAuthKey.debug("auth key created");
141
148
  return {
142
149
  authKey,
143
150
  salt: (0, _1_utilities_js_1.bigIntFromBuffer)(salt, true, false),
@@ -1,6 +1,7 @@
1
1
  import { enums, types } from "../2_tl.js";
2
2
  import { ChatAction, ChatMember, FileSource, FileType, ID, Message, MessageEntity, ParseMode, Reaction, Update, UsernameResolver } from "../3_types.js";
3
3
  import { BanChatMemberParams, DeleteMessagesParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetHistoryParams, PinMessageParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams } from "./0_params.js";
4
+ import { SearchMessagesParams } from "./0_params.js";
4
5
  import { AddReactionParams, SetReactionsParams } from "./0_params.js";
5
6
  import { C as C_ } from "./0_types.js";
6
7
  import { FileManager } from "./1_file_manager.js";
@@ -98,5 +99,7 @@ export declare class MessageManager {
98
99
  getChatAdministrators(chatId: ID): Promise<ChatMember[]>;
99
100
  enableJoinRequests(chatId: ID): Promise<void>;
100
101
  disableJoinRequests(chatId: ID): Promise<void>;
102
+ searchMessages(chatId: ID, query: string, params?: SearchMessagesParams): Promise<Message[]>;
103
+ setBoostsRequiredToCircumventRestrictions(chatId: ID, boosts: number): Promise<void>;
101
104
  }
102
105
  export {};
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  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");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _MessageManager_instances, _MessageManager_c, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia, _MessageManager_sendReaction, _MessageManager_toggleJoinRequests;
13
+ var _MessageManager_instances, _MessageManager_c, _MessageManager_LresolveFileId, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia, _MessageManager_sendReaction, _MessageManager_toggleJoinRequests;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.MessageManager = void 0;
16
16
  const _0_deps_js_1 = require("../0_deps.js");
@@ -19,13 +19,14 @@ const _2_tl_js_1 = require("../2_tl.js");
19
19
  const _3_types_js_1 = require("../3_types.js");
20
20
  const _3_types_js_2 = require("../3_types.js");
21
21
  const _4_constants_js_1 = require("../4_constants.js");
22
+ const _0_message_search_filter_js_1 = require("../types/0_message_search_filter.js");
22
23
  const _0_html_js_1 = require("./0_html.js");
23
24
  const _0_utilities_js_1 = require("./0_utilities.js");
24
- const d = (0, _0_deps_js_1.debug)("MessageManager");
25
25
  class MessageManager {
26
26
  constructor(c) {
27
27
  _MessageManager_instances.add(this);
28
28
  _MessageManager_c.set(this, void 0);
29
+ _MessageManager_LresolveFileId.set(this, void 0);
29
30
  Object.defineProperty(this, "usernameResolver", {
30
31
  enumerable: true,
31
32
  configurable: true,
@@ -36,6 +37,8 @@ class MessageManager {
36
37
  }
37
38
  });
38
39
  __classPrivateFieldSet(this, _MessageManager_c, c, "f");
40
+ const L = (0, _1_utilities_js_1.getLogger)("MessageManager").client(c.id);
41
+ __classPrivateFieldSet(this, _MessageManager_LresolveFileId, L.branch("resolveFileId"), "f");
39
42
  }
40
43
  async getMessages(chatId, messageIds) {
41
44
  const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
@@ -138,6 +141,7 @@ class MessageManager {
138
141
  return await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, to, result);
139
142
  }
140
143
  async getHistory(chatId, params) {
144
+ await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("getHistory");
141
145
  let limit = params?.limit ?? 100;
142
146
  if (limit <= 0) {
143
147
  limit = 1;
@@ -428,7 +432,7 @@ class MessageManager {
428
432
  fileId = _3_types_js_2.FileID.decode(maybeFileId);
429
433
  }
430
434
  catch (err) {
431
- d("fileId: %o", err);
435
+ __classPrivateFieldGet(this, _MessageManager_LresolveFileId, "f").warning(err);
432
436
  }
433
437
  if (fileId != null) {
434
438
  if (fileId.fileType != expectedFileType) {
@@ -862,14 +866,45 @@ class MessageManager {
862
866
  }
863
867
  }
864
868
  async enableJoinRequests(chatId) {
869
+ await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("enableJoinRequests");
865
870
  await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, true);
866
871
  }
867
872
  async disableJoinRequests(chatId) {
873
+ await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("disableJoinRequests");
868
874
  await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, false);
869
875
  }
876
+ async searchMessages(chatId, query, params) {
877
+ const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.search({
878
+ peer: await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId),
879
+ q: query,
880
+ add_offset: 0,
881
+ filter: (0, _0_message_search_filter_js_1.messageSearchFilterToTlObject)(params?.filter ?? "empty"),
882
+ hash: 0n,
883
+ limit: params?.limit ?? 100,
884
+ max_date: 0,
885
+ max_id: 0,
886
+ min_date: 0,
887
+ min_id: 0,
888
+ offset_id: params?.after ? params.after : 0,
889
+ from_id: params?.from ? await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(params.from) : undefined,
890
+ });
891
+ if (!("messages" in result)) {
892
+ (0, _1_utilities_js_1.UNREACHABLE)();
893
+ }
894
+ const messages = new Array();
895
+ for (const message_ of result.messages) {
896
+ const message = await this.constructMessage(message_, false);
897
+ messages.push(message);
898
+ }
899
+ return messages;
900
+ }
901
+ async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
902
+ const channel = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputChannel(chatId);
903
+ await __classPrivateFieldGet(this, _MessageManager_c, "f").api.channels.setBoostsToUnblockRestrictions({ channel, boosts });
904
+ }
870
905
  }
871
906
  exports.MessageManager = MessageManager;
872
- _MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_updatesToMessages = async function _MessageManager_updatesToMessages(chatId, updates) {
907
+ _MessageManager_c = new WeakMap(), _MessageManager_LresolveFileId = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_updatesToMessages = async function _MessageManager_updatesToMessages(chatId, updates) {
873
908
  const messages = new Array();
874
909
  if (updates instanceof _2_tl_js_1.types.Updates) {
875
910
  for (const update of updates.updates) {
@@ -10,19 +10,18 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  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");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _ChatListManager_instances, _ChatListManager_c, _ChatListManager_sendChatUpdate, _ChatListManager_chats, _ChatListManager_archivedChats, _ChatListManager_chatsLoadedFromStorage, _ChatListManager_tryGetChatId, _ChatListManager_getChatAnywhere, _ChatListManager_getChatList, _ChatListManager_loadChatsFromStorage, _ChatListManager_getLoadedChats, _ChatListManager_pinnedChats, _ChatListManager_pinnedArchiveChats, _ChatListManager_storageHadPinnedChats, _ChatListManager_pinnedChatsLoaded, _ChatListManager_loadPinnedChats, _ChatListManager_fetchPinnedChats, _ChatListManager_getPinnedChats, _ChatListManager_updateOrAddChat, _ChatListManager_removeChat, _ChatListManager_handleUpdateFolderPeers, _ChatListManager_handleUpdatePinnedDialogs, _ChatListManager_handleUpdateChannel, _ChatListManager_handleUpdateChat, _ChatListManager_handleUpdateUser, _ChatListManager_fetchChats;
13
+ var _ChatListManager_instances, _ChatListManager_c, _ChatListManager_LgetChats, _ChatListManager_sendChatUpdate, _ChatListManager_chats, _ChatListManager_archivedChats, _ChatListManager_chatsLoadedFromStorage, _ChatListManager_tryGetChatId, _ChatListManager_getChatAnywhere, _ChatListManager_getChatList, _ChatListManager_loadChatsFromStorage, _ChatListManager_getLoadedChats, _ChatListManager_pinnedChats, _ChatListManager_pinnedArchiveChats, _ChatListManager_storageHadPinnedChats, _ChatListManager_pinnedChatsLoaded, _ChatListManager_loadPinnedChats, _ChatListManager_fetchPinnedChats, _ChatListManager_getPinnedChats, _ChatListManager_updateOrAddChat, _ChatListManager_removeChat, _ChatListManager_handleUpdateFolderPeers, _ChatListManager_handleUpdatePinnedDialogs, _ChatListManager_handleUpdateChannel, _ChatListManager_handleUpdateChat, _ChatListManager_handleUpdateUser, _ChatListManager_fetchChats;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ChatListManager = void 0;
16
- const _0_deps_js_1 = require("../0_deps.js");
17
16
  const _1_utilities_js_1 = require("../1_utilities.js");
18
17
  const _2_tl_js_1 = require("../2_tl.js");
19
18
  const _3_types_js_1 = require("../3_types.js");
20
19
  const _0_utilities_js_1 = require("./0_utilities.js");
21
- const d = (0, _0_deps_js_1.debug)("ChatListManager");
22
20
  class ChatListManager {
23
21
  constructor(c) {
24
22
  _ChatListManager_instances.add(this);
25
23
  _ChatListManager_c.set(this, void 0);
24
+ _ChatListManager_LgetChats.set(this, void 0);
26
25
  _ChatListManager_chats.set(this, new Map());
27
26
  _ChatListManager_archivedChats.set(this, new Map());
28
27
  _ChatListManager_chatsLoadedFromStorage.set(this, false);
@@ -31,6 +30,8 @@ class ChatListManager {
31
30
  _ChatListManager_storageHadPinnedChats.set(this, false);
32
31
  _ChatListManager_pinnedChatsLoaded.set(this, false);
33
32
  __classPrivateFieldSet(this, _ChatListManager_c, c, "f");
33
+ const L = (0, _1_utilities_js_1.getLogger)("ChatListManager").client(c.id);
34
+ __classPrivateFieldSet(this, _ChatListManager_LgetChats, L.branch("getChats"), "f");
34
35
  }
35
36
  async reassignChatLastMessage(chatId, add = false, sendUpdate = true) {
36
37
  try {
@@ -112,7 +113,7 @@ class ChatListManager {
112
113
  .filter((v) => v.order < after.order);
113
114
  }
114
115
  if (chats.length < limit) {
115
- d("have only %d chats but %d more is needed", chats.length, limit - chats.length);
116
+ __classPrivateFieldGet(this, _ChatListManager_LgetChats, "f").debug(`have only ${chats.length} chats but ${limit - chats.length} more is needed`);
116
117
  if (!await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.hasAllChats(listId)) {
117
118
  await __classPrivateFieldGet(this, _ChatListManager_instances, "m", _ChatListManager_fetchChats).call(this, listId, limit, after);
118
119
  return await this.getChats(from, after, limit);
@@ -217,7 +218,7 @@ class ChatListManager {
217
218
  }
218
219
  }
219
220
  exports.ChatListManager = ChatListManager;
220
- _ChatListManager_c = new WeakMap(), _ChatListManager_chats = new WeakMap(), _ChatListManager_archivedChats = new WeakMap(), _ChatListManager_chatsLoadedFromStorage = new WeakMap(), _ChatListManager_pinnedChats = new WeakMap(), _ChatListManager_pinnedArchiveChats = new WeakMap(), _ChatListManager_storageHadPinnedChats = new WeakMap(), _ChatListManager_pinnedChatsLoaded = new WeakMap(), _ChatListManager_instances = new WeakSet(), _ChatListManager_sendChatUpdate = async function _ChatListManager_sendChatUpdate(chatId, added) {
221
+ _ChatListManager_c = new WeakMap(), _ChatListManager_LgetChats = new WeakMap(), _ChatListManager_chats = new WeakMap(), _ChatListManager_archivedChats = new WeakMap(), _ChatListManager_chatsLoadedFromStorage = new WeakMap(), _ChatListManager_pinnedChats = new WeakMap(), _ChatListManager_pinnedArchiveChats = new WeakMap(), _ChatListManager_storageHadPinnedChats = new WeakMap(), _ChatListManager_pinnedChatsLoaded = new WeakMap(), _ChatListManager_instances = new WeakSet(), _ChatListManager_sendChatUpdate = async function _ChatListManager_sendChatUpdate(chatId, added) {
221
222
  try {
222
223
  await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.assertUser("");
223
224
  }
@@ -25,6 +25,7 @@ class StoryManager {
25
25
  __classPrivateFieldSet(this, _StoryManager_c, c, "f");
26
26
  }
27
27
  async createStory(chatId, content, params) {
28
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("createStory");
28
29
  let media = null;
29
30
  const source = "video" in content ? content.video : "photo" in content ? content.photo : (0, _1_utilities_js_1.UNREACHABLE)();
30
31
  if (typeof source === "string") {
@@ -84,6 +85,7 @@ class StoryManager {
84
85
  return await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_updatesToStory).call(this, updates);
85
86
  }
86
87
  async getStories(chatId, storyIds) {
88
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("getStories");
87
89
  const peer = await __classPrivateFieldGet(this, _StoryManager_c, "f").getInputPeer(chatId);
88
90
  const stories_ = await __classPrivateFieldGet(this, _StoryManager_c, "f").api.stories.getStoriesByID({ peer, id: storyIds });
89
91
  const stories = new Array();
@@ -93,25 +95,32 @@ class StoryManager {
93
95
  return stories;
94
96
  }
95
97
  async getStory(chatId, storyId) {
98
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("getStory");
96
99
  return await this.getStories(chatId, [storyId]).then((v) => v[0] ?? null);
97
100
  }
98
101
  async deleteStories(chatId, storyIds) {
102
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("deleteStories");
99
103
  const peer = await __classPrivateFieldGet(this, _StoryManager_c, "f").getInputPeer(chatId);
100
104
  await __classPrivateFieldGet(this, _StoryManager_c, "f").api.stories.deleteStories({ peer, id: storyIds });
101
105
  }
102
106
  async deleteStory(chatId, storyId) {
107
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("deleteStory");
103
108
  await this.deleteStories(chatId, [storyId]);
104
109
  }
105
110
  async addStoriesToHighlights(chatId, storyIds) {
111
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("addStoriesToHighlights");
106
112
  await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_togglePinned).call(this, chatId, storyIds, true);
107
113
  }
108
114
  async addStoryToHighlights(chatId, storyId) {
115
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("addStoryToHighlights");
109
116
  await this.addStoriesToHighlights(chatId, [storyId]);
110
117
  }
111
118
  async removeStoriesFromHighlights(chatId, storyIds) {
119
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("removeStoriesFromHighlights");
112
120
  await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_togglePinned).call(this, chatId, storyIds, false);
113
121
  }
114
122
  async removeStoryFromHighlights(chatId, storyId) {
123
+ await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("removeStoryFromHighlights");
115
124
  await this.removeStoriesFromHighlights(chatId, [storyId]);
116
125
  }
117
126
  static canHandleUpdate(update) {
@@ -2,11 +2,12 @@ import { MaybePromise } from "../1_utilities.js";
2
2
  import { functions, types } from "../2_tl.js";
3
3
  import { Storage } from "../3_storage.js";
4
4
  import { DC } from "../3_transport.js";
5
+ import { InactiveChat } from "../3_types.js";
5
6
  import { BotCommand, Chat, ChatAction, ChatMember, ChatP, Document, FileSource, ID, InlineQueryResult, InputStoryContent, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageLocation, MessagePhoto, MessagePoll, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, NetworkStatistics, ParseMode, Reaction, Story, Update, UpdateIntersection, User } from "../3_types.js";
6
7
  import { Migrate } from "../4_errors.js";
7
8
  import { ClientAbstract } from "./0_client_abstract.js";
8
9
  import { FilterQuery, WithFilter } from "./0_filters.js";
9
- import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, GetHistoryParams, GetMyCommandsParams, PinMessageParams, ReplyParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetMyCommandsParams, SetReactionsParams, UploadParams } from "./0_params.js";
10
+ import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, 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";
10
11
  import { Api } from "./0_types.js";
11
12
  import { Composer, Middleware } from "./1_composer.js";
12
13
  import { ClientPlainParams } from "./2_client_plain.js";
@@ -132,6 +133,10 @@ export interface Context {
132
133
  setChatMemberRights: (memberId: ID, params?: SetChatMemberRightsParams) => Promise<void>;
133
134
  /** Delete all messages sent by a specific member of the chat which the message was received from. */
134
135
  deleteChatMemberMessages: (userId: ID) => Promise<void>;
136
+ /** Search the messages of the chat which the message was received from. */
137
+ searchMessages: (query: string, params?: SearchMessagesParams) => Promise<Message[]>;
138
+ /** Set the number of boosts required to circument the chat's default restrictions. */
139
+ setBoostsRequiredToCircumventRestrictions: (boosts: number) => Promise<void>;
135
140
  toJSON: () => Update;
136
141
  }
137
142
  export declare function skipInvoke<C extends Context>(): InvokeErrorHandler<Client<C>>;
@@ -181,11 +186,11 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
181
186
  /**
182
187
  * Constructs the client.
183
188
  *
184
- * @param storage The storage provider to use. Defaults to memory storage.
189
+ * @param storage The storage provider to use. Defaults to memory storage. Passing a string constructs a memory storage with the string being the string session.
185
190
  * @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
186
191
  * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
187
192
  */
188
- constructor(storage?: Storage | null, apiId?: number | null, apiHash?: string | null, params?: ClientParams);
193
+ constructor(storage?: Storage | string | null, apiId?: number | null, apiHash?: string | null, params?: ClientParams);
189
194
  api: Api;
190
195
  protected stateChangeHandler: (connected: boolean) => void;
191
196
  /**
@@ -241,6 +246,8 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
241
246
  * Alias for `invoke` with its second parameter being `true`.
242
247
  */
243
248
  send<T extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>>(function_: T): Promise<void>;
249
+ exportAuthString(): Promise<string>;
250
+ importAuthString(authString: string): Promise<void>;
244
251
  getInputPeer(id: ID): Promise<import("../tl/2_types.js").InputPeerSelf_ | import("../tl/2_types.js").InputPeerChat_ | import("../tl/2_types.js").InputPeerUser_ | import("../tl/2_types.js").InputPeerChannel_>;
245
252
  getInputChannel(id: ID): Promise<import("../tl/2_types.js").InputChannel_>;
246
253
  getInputUser(id: ID): Promise<import("../tl/2_types.js").InputUser_>;
@@ -816,5 +823,58 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
816
823
  * @param chatId The identifier of the chat. Must be a channel or a supergroup.
817
824
  */
818
825
  disableJoinRequests(chatId: ID): Promise<void>;
826
+ /**
827
+ * Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
828
+ *
829
+ * @method ac
830
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
831
+ * @param username The username to show.
832
+ */
833
+ showUsername(id: ID, username: string): Promise<void>;
834
+ /**
835
+ * Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
836
+ *
837
+ * @method ac
838
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
839
+ * @param username The username to hide.
840
+ */
841
+ hideUsername(id: ID, username: string): Promise<void>;
842
+ /**
843
+ * Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
844
+ *
845
+ * @method ac
846
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
847
+ * @param order The new order to use.
848
+ */
849
+ reorderUsernames(id: ID, order: string[]): Promise<boolean>;
850
+ /**
851
+ * Hide all usernames from the a supergroup or a channel's profile. User-only.
852
+ *
853
+ * @method ac
854
+ * @param id A supergroup ID or a channel ID.
855
+ */
856
+ hideUsernames(id: ID): Promise<boolean>;
857
+ /**
858
+ * Get inactive chats. User-only.
859
+ *
860
+ * @method ch
861
+ */
862
+ getInactiveChats(): Promise<InactiveChat[]>;
863
+ /**
864
+ * Search the messages of a chat.
865
+ *
866
+ * @method ms
867
+ * @param chatId The identifier of the chat to search the messages in.
868
+ * @param query The message search query.
869
+ */
870
+ searchMessages(chatId: ID, query: string, params?: SearchMessagesParams): Promise<Message[]>;
871
+ /**
872
+ * Set the number of boosts required to circument a chat's default restrictions.
873
+ *
874
+ * @method ch
875
+ * @param chatId The identifier of the chat.
876
+ * @param boosts The number of boosts required to circumvent its restrictions.
877
+ */
878
+ setBoostsRequiredToCircumventRestrictions(chatId: ID, boosts: number): Promise<void>;
819
879
  }
820
880
  export {};