@mtkruto/node 0.1.147 → 0.1.149

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 (621) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +5 -5
  3. package/esm/1_utilities.d.ts +1 -0
  4. package/esm/1_utilities.js +1 -0
  5. package/esm/3_types.d.ts +2 -2
  6. package/esm/3_types.js +2 -2
  7. package/esm/4_constants.d.ts +1 -1
  8. package/esm/4_constants.js +1 -1
  9. package/esm/client/0_types.d.ts +1 -0
  10. package/esm/client/1_file_manager.js +2 -1
  11. package/esm/client/1_reaction_manager.js +3 -3
  12. package/esm/client/1_update_manager.js +10 -10
  13. package/esm/client/2_message_manager.d.ts +2 -0
  14. package/esm/client/2_message_manager.js +42 -31
  15. package/esm/client/3_chat_list_manager.js +1 -1
  16. package/esm/client/4_client.d.ts +21 -0
  17. package/esm/client/4_client.js +89 -40
  18. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +3 -2
  19. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
  20. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
  21. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +3 -1
  22. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
  23. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
  24. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
  25. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
  26. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
  27. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
  28. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
  29. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
  30. package/esm/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
  31. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
  32. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/type_by_extension.d.ts +2 -2
  33. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
  34. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.d.ts +1 -2
  35. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
  36. package/esm/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
  37. package/esm/deps/deno.land/std@0.214.0/path/constants.js +6 -0
  38. package/esm/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
  39. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
  40. package/{script/deps/deno.land/std@0.212.0/path → esm/deps/deno.land/std@0.214.0/path/posix}/common.d.ts +1 -2
  41. package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/common.js +2 -2
  42. package/esm/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
  43. package/esm/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +3 -2
  44. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.js +2 -2
  45. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
  46. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
  47. package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
  48. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
  49. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +10 -0
  50. package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
  51. package/esm/deps/deno.land/std@0.214.0/path/separator.js +11 -0
  52. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.d.ts +1 -2
  53. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.js +2 -2
  54. package/esm/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
  55. package/esm/deps/deno.land/std@0.214.0/path/windows/constants.js +5 -0
  56. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.js +2 -2
  57. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
  58. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
  59. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
  60. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
  61. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +10 -0
  62. package/esm/storage/0_storage.d.ts +63 -11
  63. package/esm/storage/0_storage.js +159 -88
  64. package/esm/storage/1_storage_memory.d.ts +4 -1
  65. package/esm/storage/1_storage_memory.js +29 -9
  66. package/esm/tl/3_utilities.d.ts +5 -2
  67. package/esm/tl/3_utilities.js +32 -6
  68. package/esm/types/0_giveaway_parameters.d.ts +1 -0
  69. package/esm/types/0_login_url.d.ts +1 -0
  70. package/esm/types/0_mask_position.d.ts +1 -0
  71. package/esm/types/0_message_reference.d.ts +5 -0
  72. package/esm/types/0_poll_option.d.ts +1 -0
  73. package/esm/types/0_price_tag.d.ts +5 -0
  74. package/esm/types/0_restriction_reason.d.ts +1 -0
  75. package/esm/types/1_giveaway.d.ts +1 -0
  76. package/esm/types/1_inline_query_result_button.d.ts +1 -0
  77. package/esm/types/1_input_message_content.d.ts +2 -2
  78. package/esm/types/1_poll.d.ts +1 -0
  79. package/esm/types/1_reaction_count.d.ts +1 -0
  80. package/esm/types/1_reply_quote.d.ts +1 -0
  81. package/esm/types/1_sticker.d.ts +1 -0
  82. package/esm/types/2_chat_member.d.ts +1 -0
  83. package/esm/types/2_chosen_inline_result.d.ts +1 -0
  84. package/esm/types/2_game.d.ts +1 -0
  85. package/esm/types/2_message_interactions.d.ts +1 -0
  86. package/esm/types/2_message_reactions.d.ts +1 -0
  87. package/esm/types/3_chat_member_updated.d.ts +1 -0
  88. package/esm/types/3_reply_markup.d.ts +1 -0
  89. package/esm/types/4_inline_query_result.d.ts +1 -1
  90. package/esm/types/4_message.d.ts +1 -0
  91. package/esm/types/5_callback_query.d.ts +1 -0
  92. package/esm/types/5_callback_query.js +17 -2
  93. package/esm/types/6_update.d.ts +2 -2
  94. package/esm/utilities/0_cache_map.d.ts +6 -0
  95. package/esm/utilities/0_cache_map.js +30 -0
  96. package/package.json +1 -1
  97. package/script/0_deps.d.ts +4 -4
  98. package/script/0_deps.js +5 -5
  99. package/script/1_utilities.d.ts +1 -0
  100. package/script/1_utilities.js +1 -0
  101. package/script/3_types.d.ts +2 -2
  102. package/script/3_types.js +2 -2
  103. package/script/4_constants.d.ts +1 -1
  104. package/script/4_constants.js +1 -1
  105. package/script/client/0_types.d.ts +1 -0
  106. package/script/client/1_file_manager.js +2 -1
  107. package/script/client/1_reaction_manager.js +3 -3
  108. package/script/client/1_update_manager.js +10 -10
  109. package/script/client/2_message_manager.d.ts +2 -0
  110. package/script/client/2_message_manager.js +41 -30
  111. package/script/client/3_chat_list_manager.js +1 -1
  112. package/script/client/4_client.d.ts +21 -0
  113. package/script/client/4_client.js +88 -39
  114. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +4 -3
  115. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
  116. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
  117. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +4 -1
  118. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
  119. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
  120. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
  121. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
  122. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
  123. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
  124. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
  125. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
  126. package/script/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
  127. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
  128. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/type_by_extension.d.ts +2 -2
  129. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
  130. package/{esm/deps/deno.land/std@0.212.0/path/windows → script/deps/deno.land/std@0.214.0/path}/common.d.ts +1 -2
  131. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
  132. package/script/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
  133. package/script/deps/deno.land/std@0.214.0/path/constants.js +9 -0
  134. package/script/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
  135. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
  136. package/script/deps/deno.land/std@0.214.0/path/posix/common.d.ts +13 -0
  137. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/common.js +2 -2
  138. package/script/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
  139. package/script/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +4 -3
  140. package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/join_globs.js +2 -2
  141. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
  142. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
  143. package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
  144. package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
  145. package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +13 -0
  146. package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
  147. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/separator.js +6 -0
  148. package/script/deps/deno.land/std@0.214.0/path/windows/common.d.ts +13 -0
  149. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/common.js +2 -2
  150. package/script/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
  151. package/script/deps/deno.land/{std@0.212.0/path/windows/separator.js → std@0.214.0/path/windows/constants.js} +4 -3
  152. package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/join_globs.js +2 -2
  153. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
  154. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
  155. package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
  156. package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
  157. package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +13 -0
  158. package/script/storage/0_storage.d.ts +63 -11
  159. package/script/storage/0_storage.js +159 -88
  160. package/script/storage/1_storage_memory.d.ts +4 -1
  161. package/script/storage/1_storage_memory.js +29 -9
  162. package/script/tl/3_utilities.d.ts +5 -2
  163. package/script/tl/3_utilities.js +35 -7
  164. package/script/types/0_giveaway_parameters.d.ts +1 -0
  165. package/script/types/0_login_url.d.ts +1 -0
  166. package/script/types/0_mask_position.d.ts +1 -0
  167. package/script/types/0_message_reference.d.ts +5 -0
  168. package/script/types/0_poll_option.d.ts +1 -0
  169. package/script/types/0_price_tag.d.ts +5 -0
  170. package/script/types/0_restriction_reason.d.ts +1 -0
  171. package/script/types/1_giveaway.d.ts +1 -0
  172. package/script/types/1_inline_query_result_button.d.ts +1 -0
  173. package/script/types/1_input_message_content.d.ts +2 -2
  174. package/script/types/1_poll.d.ts +1 -0
  175. package/script/types/1_reaction_count.d.ts +1 -0
  176. package/script/types/1_reply_quote.d.ts +1 -0
  177. package/script/types/1_sticker.d.ts +1 -0
  178. package/script/types/2_chat_member.d.ts +1 -0
  179. package/script/types/2_chosen_inline_result.d.ts +1 -0
  180. package/script/types/2_game.d.ts +1 -0
  181. package/script/types/2_message_interactions.d.ts +1 -0
  182. package/script/types/2_message_reactions.d.ts +1 -0
  183. package/script/types/3_chat_member_updated.d.ts +1 -0
  184. package/script/types/3_reply_markup.d.ts +1 -0
  185. package/script/types/4_inline_query_result.d.ts +1 -1
  186. package/script/types/4_message.d.ts +1 -0
  187. package/script/types/5_callback_query.d.ts +1 -0
  188. package/script/types/5_callback_query.js +17 -1
  189. package/script/types/6_update.d.ts +2 -2
  190. package/script/utilities/0_cache_map.d.ts +6 -0
  191. package/script/utilities/0_cache_map.js +34 -0
  192. package/esm/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
  193. package/esm/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
  194. package/esm/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
  195. package/esm/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
  196. package/esm/deps/deno.land/std@0.212.0/path/separator.js +0 -5
  197. package/esm/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
  198. package/esm/deps/deno.land/std@0.212.0/path/windows/separator.js +0 -4
  199. package/esm/types/0_labeled_price.d.ts +0 -4
  200. package/esm/types/0_message_identifier.d.ts +0 -4
  201. package/script/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
  202. package/script/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
  203. package/script/deps/deno.land/std@0.212.0/path/posix/common.d.ts +0 -14
  204. package/script/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
  205. package/script/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
  206. package/script/deps/deno.land/std@0.212.0/path/windows/common.d.ts +0 -14
  207. package/script/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
  208. package/script/types/0_labeled_price.d.ts +0 -4
  209. package/script/types/0_message_identifier.d.ts +0 -4
  210. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
  212. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
  218. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
  220. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
  222. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
  244. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
  245. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
  246. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
  247. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
  248. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
  249. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
  250. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
  251. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
  252. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
  253. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
  254. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
  255. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
  256. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
  257. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
  258. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
  259. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
  260. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
  261. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
  262. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
  263. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
  264. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
  265. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
  266. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
  272. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
  273. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
  274. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
  360. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
  361. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
  362. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
  402. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
  403. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
  404. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
  410. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
  411. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
  412. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
  413. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
  414. /package/esm/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
  415. /package/esm/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
  416. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
  417. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
  418. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
  420. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
  422. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
  424. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
  426. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
  428. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
  430. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
  432. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
  434. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
  436. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
  438. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
  440. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
  442. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
  444. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
  446. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
  448. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
  451. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
  453. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
  455. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
  457. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
  459. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
  461. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
  463. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
  465. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
  467. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
  469. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
  471. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
  473. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
  475. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
  477. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
  479. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
  482. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
  484. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
  486. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  488. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
  490. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
  492. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
  494. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
  496. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
  498. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
  500. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
  502. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
  504. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
  506. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
  508. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
  510. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
  512. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
  514. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
  516. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
  518. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
  520. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
  522. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
  524. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
  526. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
  528. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
  530. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
  532. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
  534. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
  536. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
  538. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
  540. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
  542. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
  544. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
  546. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
  548. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
  550. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
  552. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
  554. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
  556. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
  558. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
  560. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
  562. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
  564. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
  567. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
  570. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
  572. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
  574. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
  576. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
  578. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
  580. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
  582. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
  584. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
  586. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
  588. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
  590. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
  592. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
  594. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
  596. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
  598. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
  599. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
  600. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
  602. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
  604. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
  606. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
  608. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
  609. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
  610. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
  612. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
  614. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
  616. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
  618. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
  620. /package/script/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
  621. /package/script/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
@@ -9,10 +9,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortSignal, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
12
+ var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
13
13
  import { debug, gunzip, Mutex } from "../0_deps.js";
14
14
  import { bigIntFromBuffer, cleanObject, drop, getRandomBigInt, getRandomId, mustPrompt, mustPromptOneOf, sha1, UNREACHABLE, ZERO_CHANNEL_ID } from "../1_utilities.js";
15
- import { as, functions, Message_, MessageContainer, name, RPCResult, TLError, TLReader, types } from "../2_tl.js";
15
+ import { as, chatIdToPeerId, functions, getChatIdPeerType, Message_, MessageContainer, name, peerToChatId, RPCResult, TLError, TLReader, types } from "../2_tl.js";
16
16
  import { StorageMemory } from "../3_storage.js";
17
17
  import { constructUser } from "../3_types.js";
18
18
  import { ACK_THRESHOLD, APP_VERSION, DEVICE_MODEL, LANG_CODE, LANG_PACK, LAYER, MAX_CHANNEL_ID, MAX_CHAT_ID, SYSTEM_LANG_CODE, SYSTEM_VERSION, USERNAME_TTL } from "../4_constants.js";
@@ -88,6 +88,12 @@ export class Client extends ClientAbstract {
88
88
  writable: true,
89
89
  value: void 0
90
90
  });
91
+ Object.defineProperty(this, "messageStorage", {
92
+ enumerable: true,
93
+ configurable: true,
94
+ writable: true,
95
+ value: void 0
96
+ });
91
97
  _Client_parseMode.set(this, void 0);
92
98
  Object.defineProperty(this, "appVersion", {
93
99
  enumerable: true,
@@ -129,6 +135,7 @@ export class Client extends ClientAbstract {
129
135
  _Client_autoStart.set(this, void 0);
130
136
  _Client_ignoreOutgoing.set(this, void 0);
131
137
  _Client_prefixes.set(this, void 0);
138
+ _Client_storeMessages.set(this, void 0);
132
139
  _Client_namespaceProxies.set(this, (() => {
133
140
  // deno-lint-ignore no-explicit-any
134
141
  const proxies = {};
@@ -199,6 +206,14 @@ export class Client extends ClientAbstract {
199
206
  UNREACHABLE();
200
207
  }
201
208
  };
209
+ const mustGetInlineMsgId = () => {
210
+ if ("chosenInlineResult" in update) {
211
+ if (update.chosenInlineResult.inlineMessageId) {
212
+ return update.chosenInlineResult.inlineMessageId;
213
+ }
214
+ }
215
+ UNREACHABLE();
216
+ };
202
217
  const chat_ = "messageReactions" in update ? update.messageReactions.chat : "messageReactionCount" in update ? update.messageReactionCount.chat : undefined;
203
218
  const chat = chat_ ?? msg?.chat;
204
219
  const from = "callbackQuery" in update ? update.callbackQuery.from : "inlineQuery" in update ? update.inlineQuery.from : "message" in update ? update.message.from : "editedMessage" in update ? update.editedMessage?.from : undefined;
@@ -347,6 +362,14 @@ export class Client extends ClientAbstract {
347
362
  const { chatId } = mustGetMsg();
348
363
  return this.sendChatAction(chatId, chatAction, params);
349
364
  },
365
+ editInlineMessageText: (text, params) => {
366
+ const inlineMessageId = mustGetInlineMsgId();
367
+ return this.editInlineMessageText(inlineMessageId, text, params);
368
+ },
369
+ editInlineMessageReplyMarkup: (params) => {
370
+ const inlineMessageId = mustGetInlineMsgId();
371
+ return this.editInlineMessageReplyMarkup(inlineMessageId, params);
372
+ },
350
373
  editMessageText: (messageId, text, params) => {
351
374
  const { chatId } = mustGetMsg();
352
375
  return this.editMessageText(chatId, messageId, text, params);
@@ -462,7 +485,7 @@ export class Client extends ClientAbstract {
462
485
  _Client_connectionInited.set(this, false);
463
486
  _Client_lastPropagatedAuthorizationState.set(this, null);
464
487
  _Client_selfId.set(this, null);
465
- _Client_pingLoopAbortSignal.set(this, null);
488
+ _Client_pingLoopAbortController.set(this, null);
466
489
  _Client_pingInterval.set(this, 60 * 1000); // 60 seconds
467
490
  _Client_lastUpdates.set(this, new Date());
468
491
  _Client_pingLoopStarted.set(this, false);
@@ -498,6 +521,12 @@ export class Client extends ClientAbstract {
498
521
  //#region Composer
499
522
  _Client_handle.set(this, skip);
500
523
  this.storage = storage ?? new StorageMemory();
524
+ if (!(__classPrivateFieldSet(this, _Client_storeMessages, params?.storeMessages ?? false, "f"))) {
525
+ this.messageStorage = new StorageMemory();
526
+ }
527
+ else {
528
+ this.messageStorage = this.storage;
529
+ }
501
530
  __classPrivateFieldSet(this, _Client_parseMode, params?.parseMode ?? null, "f");
502
531
  this.appVersion = params?.appVersion ?? APP_VERSION;
503
532
  this.deviceModel = params?.deviceModel ?? DEVICE_MODEL;
@@ -513,6 +542,7 @@ export class Client extends ClientAbstract {
513
542
  const c = {
514
543
  api: this.api,
515
544
  storage: this.storage,
545
+ messageStorage: this.messageStorage,
516
546
  guaranteeUpdateDelivery: __classPrivateFieldGet(this, _Client_guaranteeUpdateDelivery, "f"),
517
547
  setConnectionState: __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateConnectionState).bind(this),
518
548
  resetConnectionState: () => this.stateChangeHandler(this.connected),
@@ -691,7 +721,7 @@ export class Client extends ClientAbstract {
691
721
  release();
692
722
  }
693
723
  }
694
- async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortSignal = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
724
+ async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
695
725
  __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
696
726
  __classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
697
727
  }, _Client_setAuth = async function _Client_setAuth(key) {
@@ -717,7 +747,7 @@ export class Client extends ClientAbstract {
717
747
  async disconnect() {
718
748
  __classPrivateFieldSet(this, _Client_connectionInited, false, "f");
719
749
  await super.disconnect();
720
- __classPrivateFieldGet(this, _Client_pingLoopAbortSignal, "f")?.abort();
750
+ __classPrivateFieldGet(this, _Client_pingLoopAbortController, "f")?.abort();
721
751
  }
722
752
  /**
723
753
  * Calls [initConnection](1) and authorizes the client with one of the following:
@@ -1068,21 +1098,29 @@ export class Client extends ClientAbstract {
1068
1098
  UNREACHABLE();
1069
1099
  }
1070
1100
  }, _Client_pingLoop = async function _Client_pingLoop() {
1071
- __classPrivateFieldSet(this, _Client_pingLoopAbortSignal, new AbortController(), "f");
1101
+ __classPrivateFieldSet(this, _Client_pingLoopAbortController, new AbortController(), "f");
1072
1102
  while (this.connected) {
1073
1103
  try {
1074
1104
  await new Promise((resolve, reject) => {
1075
- setTimeout(resolve, __classPrivateFieldGet(this, _Client_pingInterval, "f"));
1076
- __classPrivateFieldGet(this, _Client_pingLoopAbortSignal, "f").signal.onabort = () => {
1077
- reject(__classPrivateFieldGet(this, _Client_pingLoopAbortSignal, "f")?.signal.reason);
1105
+ const timeout = setTimeout(resolve, __classPrivateFieldGet(this, _Client_pingInterval, "f"));
1106
+ __classPrivateFieldGet(this, _Client_pingLoopAbortController, "f").signal.onabort = () => {
1107
+ reject(__classPrivateFieldGet(this, _Client_pingLoopAbortController, "f")?.signal.reason);
1108
+ clearTimeout(timeout);
1078
1109
  };
1079
1110
  });
1111
+ if (!this.connected) {
1112
+ continue;
1113
+ }
1114
+ __classPrivateFieldGet(this, _Client_pingLoopAbortController, "f").signal.throwIfAborted();
1080
1115
  await this.api.ping_delay_disconnect({ ping_id: getRandomId(), disconnect_delay: __classPrivateFieldGet(this, _Client_pingInterval, "f") / 1000 + 15 });
1081
1116
  if (Date.now() - __classPrivateFieldGet(this, _Client_lastUpdates, "f").getTime() >= 15 * 60 * 1000) {
1082
1117
  drop(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("lastUpdates"));
1083
1118
  }
1084
1119
  }
1085
1120
  catch (err) {
1121
+ if (!this.connected) {
1122
+ continue;
1123
+ }
1086
1124
  d("ping loop error: %o", err);
1087
1125
  }
1088
1126
  }
@@ -1167,64 +1205,56 @@ export class Client extends ClientAbstract {
1167
1205
  }
1168
1206
  if (typeof id === "string") {
1169
1207
  id = getUsername(id);
1170
- let userId = 0n;
1171
- let channelId = 0n;
1172
- const maybeUsername = await this.storage.getUsername(id);
1173
- if (maybeUsername != null && Date.now() - maybeUsername[2].getTime() < USERNAME_TTL) {
1174
- const [type, id] = maybeUsername;
1175
- if (type == "user") {
1176
- userId = id;
1177
- }
1178
- else {
1179
- channelId = id;
1180
- }
1208
+ let resolvedId = 0;
1209
+ const maybeUsername = await this.messageStorage.getUsername(id);
1210
+ if (maybeUsername != null && Date.now() - maybeUsername[1].getTime() < USERNAME_TTL) {
1211
+ const [id] = maybeUsername;
1212
+ resolvedId = id;
1181
1213
  }
1182
1214
  else {
1183
1215
  const resolved = await this.api.contacts.resolveUsername({ username: id });
1184
1216
  await __classPrivateFieldGet(this, _Client_updateManager, "f").processChats(resolved.chats);
1185
1217
  await __classPrivateFieldGet(this, _Client_updateManager, "f").processUsers(resolved.users);
1186
1218
  if (resolved.peer instanceof types.PeerUser) {
1187
- userId = resolved.peer.user_id;
1219
+ resolvedId = peerToChatId(resolved.peer);
1188
1220
  }
1189
1221
  else if (resolved.peer instanceof types.PeerChannel) {
1190
- channelId = resolved.peer.channel_id;
1222
+ resolvedId = peerToChatId(resolved.peer);
1191
1223
  }
1192
1224
  else {
1193
1225
  UNREACHABLE();
1194
1226
  }
1195
1227
  }
1196
- if (userId) {
1197
- const accessHash = await this.storage.getUserAccessHash(userId);
1198
- return new types.InputPeerUser({ user_id: userId, access_hash: accessHash ?? 0n });
1228
+ const resolvedIdType = getChatIdPeerType(resolvedId);
1229
+ if (resolvedIdType == "user") {
1230
+ const accessHash = await this.messageStorage.getUserAccessHash(resolvedId);
1231
+ return new types.InputPeerUser({ user_id: chatIdToPeerId(resolvedId), access_hash: accessHash ?? 0n });
1199
1232
  }
1200
- else if (channelId) {
1201
- const accessHash = await this.storage.getChannelAccessHash(channelId);
1202
- return new types.InputPeerChannel({ channel_id: channelId, access_hash: accessHash ?? 0n });
1233
+ else if (resolvedIdType == "channel") {
1234
+ const accessHash = await this.messageStorage.getChannelAccessHash(resolvedId);
1235
+ return new types.InputPeerChannel({ channel_id: chatIdToPeerId(resolvedId), access_hash: accessHash ?? 0n });
1203
1236
  }
1204
1237
  else {
1205
1238
  UNREACHABLE();
1206
1239
  }
1207
1240
  }
1208
1241
  else if (id > 0) {
1209
- const id_ = BigInt(id);
1210
- const accessHash = await this.storage.getUserAccessHash(id_);
1211
- return new types.InputPeerUser({ user_id: id_, access_hash: accessHash ?? 0n });
1242
+ const accessHash = await this.messageStorage.getUserAccessHash(id);
1243
+ return new types.InputPeerUser({ user_id: chatIdToPeerId(id), access_hash: accessHash ?? 0n });
1212
1244
  }
1213
1245
  else if (-MAX_CHAT_ID <= id) {
1214
1246
  return new types.InputPeerChat({ chat_id: BigInt(Math.abs(id)) });
1215
1247
  }
1216
1248
  else if (ZERO_CHANNEL_ID - MAX_CHANNEL_ID <= id && id != ZERO_CHANNEL_ID) {
1217
- const id_ = BigInt(Math.abs(id - ZERO_CHANNEL_ID));
1218
- const accessHash = await this.storage.getChannelAccessHash(id_);
1219
- return new types.InputPeerChannel({ channel_id: id_, access_hash: accessHash ?? 0n });
1249
+ const accessHash = await this.messageStorage.getChannelAccessHash(id);
1250
+ return new types.InputPeerChannel({ channel_id: chatIdToPeerId(id), access_hash: accessHash ?? 0n });
1220
1251
  }
1221
1252
  else {
1222
1253
  throw new Error("ID format unknown or not implemented");
1223
1254
  }
1224
1255
  }, getEntity)](peer) {
1225
- const type = peer instanceof types.PeerUser ? "user" : peer instanceof types.PeerChat ? "chat" : peer instanceof types.PeerChannel ? "channel" : UNREACHABLE();
1226
- const id = peer instanceof types.PeerUser ? peer.user_id : peer instanceof types.PeerChat ? peer.chat_id : peer instanceof types.PeerChannel ? peer.channel_id : UNREACHABLE();
1227
- return this.storage.getEntity(type, id);
1256
+ const id = peerToChatId(peer);
1257
+ return this.messageStorage.getEntity(id);
1228
1258
  }
1229
1259
  use(...middleware) {
1230
1260
  const composer = new Composer(...middleware);
@@ -1320,6 +1350,16 @@ export class Client extends ClientAbstract {
1320
1350
  async editMessageText(chatId, messageId, text, params) {
1321
1351
  return await __classPrivateFieldGet(this, _Client_messageManager, "f").editMessageText(chatId, messageId, text, params);
1322
1352
  }
1353
+ /**
1354
+ * Edit an inline message's text.
1355
+ *
1356
+ * @method
1357
+ * @param inlineMessageId The inline message's identifier.
1358
+ * @param text The new text of the message.
1359
+ */
1360
+ async editInlineMessageText(inlineMessageId, text, params) {
1361
+ await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageText(inlineMessageId, text, params);
1362
+ }
1323
1363
  /**
1324
1364
  * Edit a message's reply markup.
1325
1365
  *
@@ -1331,6 +1371,15 @@ export class Client extends ClientAbstract {
1331
1371
  async editMessageReplyMarkup(chatId, messageId, params) {
1332
1372
  return await __classPrivateFieldGet(this, _Client_messageManager, "f").editMessageReplyMarkup(chatId, messageId, params);
1333
1373
  }
1374
+ /**
1375
+ * Edit an inline message's reply markup.
1376
+ *
1377
+ * @method
1378
+ * @param inlineMessageId The inline message's identifier.
1379
+ */
1380
+ async editInlineMessageReplyMarkup(inlineMessageId, params) {
1381
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageReplyMarkup(inlineMessageId, params);
1382
+ }
1334
1383
  /**
1335
1384
  * Retrieve multiple messages.
1336
1385
  *
@@ -1865,14 +1914,14 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
1865
1914
  }, _Client_handleUpdate = async function _Client_handleUpdate(update) {
1866
1915
  const promises = new Array();
1867
1916
  if (update instanceof types.UpdateUserName) {
1868
- await this.storage.updateUsernames("user", update.user_id, update.usernames.map((v) => v.username));
1917
+ await this.messageStorage.updateUsernames(Number(update.user_id), update.usernames.map((v) => v.username));
1869
1918
  const peer = new types.PeerUser(update);
1870
1919
  const entity = await this[getEntity](peer);
1871
1920
  if (entity != null) {
1872
1921
  entity.usernames = update.usernames;
1873
1922
  entity.first_name = update.first_name;
1874
1923
  entity.last_name = update.last_name;
1875
- await this.storage.setEntity(entity);
1924
+ await this.messageStorage.setEntity(entity);
1876
1925
  }
1877
1926
  }
1878
1927
  if (MessageManager.canHandleUpdate(update)) {
@@ -1885,7 +1934,7 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
1885
1934
  finally {
1886
1935
  if ("deletedMessages" in update_) {
1887
1936
  for (const { chatId, messageId } of update_.deletedMessages) {
1888
- await this.storage.setMessage(chatId, messageId, null);
1937
+ await this.messageStorage.setMessage(chatId, messageId, null);
1889
1938
  await __classPrivateFieldGet(this, _Client_chatListManager, "f").reassignChatLastMessage(chatId);
1890
1939
  }
1891
1940
  }
@@ -1,4 +1,5 @@
1
1
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ import { CAN_NOT_DISPLAY } from "./_constants.js";
2
3
  import { equal } from "./equal.js";
3
4
  import { AssertionError } from "./assertion_error.js";
4
5
  /**
@@ -25,13 +26,13 @@ export function assertNotEquals(actual, expected, msg) {
25
26
  actualString = String(actual);
26
27
  }
27
28
  catch {
28
- actualString = "[Cannot display]";
29
+ actualString = CAN_NOT_DISPLAY;
29
30
  }
30
31
  try {
31
32
  expectedString = String(expected);
32
33
  }
33
34
  catch {
34
- expectedString = "[Cannot display]";
35
+ expectedString = CAN_NOT_DISPLAY;
35
36
  }
36
37
  const msgSuffix = msg ? `: ${msg}` : ".";
37
38
  throw new AssertionError(`Expected actual: ${actualString} not to be: ${expectedString}${msgSuffix}`);
@@ -1,15 +1,15 @@
1
1
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
- import { validateBinaryLike } from "./_util.js";
4
3
  /**
5
4
  * Utilities for
6
- * [base64]{@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
5
+ * {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4 | base64}
7
6
  * encoding and decoding.
8
7
  *
9
8
  * This module is browser compatible.
10
9
  *
11
10
  * @module
12
11
  */
12
+ import { validateBinaryLike } from "./_util.js";
13
13
  const base64abc = [
14
14
  "A",
15
15
  "B",
@@ -273,7 +273,7 @@ export declare function bgRgb24(str: string, color: number | Rgb): string;
273
273
  *
274
274
  * @deprecated (will be removed in 1.0.0) Use {@linkcode stripAnsiCode} instead.
275
275
  */
276
- export declare const stripColor: typeof stripAnsiCode;
276
+ export declare function stripColor(string: string): string;
277
277
  /**
278
278
  * Remove ANSI escape codes from the string.
279
279
  *
@@ -473,7 +473,9 @@ const ANSI_PATTERN = new RegExp([
473
473
  *
474
474
  * @deprecated (will be removed in 1.0.0) Use {@linkcode stripAnsiCode} instead.
475
475
  */
476
- export const stripColor = stripAnsiCode;
476
+ export function stripColor(string) {
477
+ return stripAnsiCode(string);
478
+ }
477
479
  /**
478
480
  * Remove ANSI escape codes from the string.
479
481
  *
@@ -1,11 +1,14 @@
1
1
  import type { db } from "./_db.js";
2
- type DB = typeof db;
3
- type ContentTypeToExtension = {
2
+ /** MIME-types database. */
3
+ export type DB = typeof db;
4
+ /** Maps content types to their corresponding file extensions. */
5
+ export type ContentTypeToExtension = {
4
6
  [K in keyof DB]: DB[K] extends {
5
7
  "extensions": readonly string[];
6
8
  } ? DB[K]["extensions"][number] : never;
7
9
  };
8
- type KnownExtensionOrType = keyof ContentTypeToExtension | ContentTypeToExtension[keyof ContentTypeToExtension] | `.${ContentTypeToExtension[keyof ContentTypeToExtension]}`;
10
+ /** Known extension or type. Used in {@linkcode contentType}. */
11
+ export type KnownExtensionOrType = keyof ContentTypeToExtension | ContentTypeToExtension[keyof ContentTypeToExtension] | `.${ContentTypeToExtension[keyof ContentTypeToExtension]}`;
9
12
  /**
10
13
  * Given an extension or media type, return a full `Content-Type` or
11
14
  * `Content-Disposition` header value.
@@ -26,13 +29,12 @@ type KnownExtensionOrType = keyof ContentTypeToExtension | ContentTypeToExtensio
26
29
  * ```ts
27
30
  * import { contentType } from "https://deno.land/std@$STD_VERSION/media_types/content_type.ts";
28
31
  *
29
- * contentType(".json"); // `application/json; charset=UTF-8`
30
- * contentType("text/html"); // `text/html; charset=UTF-8`
31
- * contentType("text/html; charset=UTF-8"); // `text/html; charset=UTF-8`
32
- * contentType("txt"); // `text/plain; charset=UTF-8`
32
+ * contentType(".json"); // "application/json; charset=UTF-8"
33
+ * contentType("text/html"); // "text/html; charset=UTF-8"
34
+ * contentType("text/html; charset=UTF-8"); // "text/html; charset=UTF-8"
35
+ * contentType("txt"); // "text/plain; charset=UTF-8"
33
36
  * contentType("foo"); // undefined
34
37
  * contentType("file.json"); // undefined
35
38
  * ```
36
39
  */
37
40
  export declare function contentType<T extends (string & {}) | KnownExtensionOrType>(extensionOrType: T): Lowercase<T> extends KnownExtensionOrType ? string : string | undefined;
38
- export {};
@@ -24,10 +24,10 @@ import { typeByExtension } from "./type_by_extension.js";
24
24
  * ```ts
25
25
  * import { contentType } from "https://deno.land/std@$STD_VERSION/media_types/content_type.ts";
26
26
  *
27
- * contentType(".json"); // `application/json; charset=UTF-8`
28
- * contentType("text/html"); // `text/html; charset=UTF-8`
29
- * contentType("text/html; charset=UTF-8"); // `text/html; charset=UTF-8`
30
- * contentType("txt"); // `text/plain; charset=UTF-8`
27
+ * contentType(".json"); // "application/json; charset=UTF-8"
28
+ * contentType("text/html"); // "text/html; charset=UTF-8"
29
+ * contentType("text/html; charset=UTF-8"); // "text/html; charset=UTF-8"
30
+ * contentType("txt"); // "text/plain; charset=UTF-8"
31
31
  * contentType("foo"); // undefined
32
32
  * contentType("file.json"); // undefined
33
33
  * ```
@@ -8,9 +8,9 @@
8
8
  * ```ts
9
9
  * import { extension } from "https://deno.land/std@$STD_VERSION/media_types/extension.ts";
10
10
  *
11
- * extension("text/plain"); // `txt`
12
- * extension("application/json"); // `json`
13
- * extension("text/html; charset=UTF-8"); // `html`
11
+ * extension("text/plain"); // "txt"
12
+ * extension("application/json"); // "json"
13
+ * extension("text/html; charset=UTF-8"); // "html"
14
14
  * extension("application/foo"); // undefined
15
15
  * ```
16
16
  */
@@ -11,9 +11,9 @@ import { extensionsByType } from "./extensions_by_type.js";
11
11
  * ```ts
12
12
  * import { extension } from "https://deno.land/std@$STD_VERSION/media_types/extension.ts";
13
13
  *
14
- * extension("text/plain"); // `txt`
15
- * extension("application/json"); // `json`
16
- * extension("text/html; charset=UTF-8"); // `html`
14
+ * extension("text/plain"); // "txt"
15
+ * extension("application/json"); // "json"
16
+ * extension("text/html; charset=UTF-8"); // "html"
17
17
  * extension("application/foo"); // undefined
18
18
  * ```
19
19
  */
@@ -10,7 +10,7 @@
10
10
  * ```ts
11
11
  * import { formatMediaType } from "https://deno.land/std@$STD_VERSION/media_types/format_media_type.ts";
12
12
  *
13
- * formatMediaType("text/plain", { charset: "UTF-8" }); // `text/plain; charset=UTF-8`
13
+ * formatMediaType("text/plain", { charset: "UTF-8" }); // "text/plain; charset=UTF-8"
14
14
  * ```
15
15
  */
16
16
  export declare function formatMediaType(type: string, param?: Record<string, string> | Iterable<[string, string]>): string;
@@ -13,7 +13,7 @@ import { isIterator, isToken, needsEncoding } from "./_util.js";
13
13
  * ```ts
14
14
  * import { formatMediaType } from "https://deno.land/std@$STD_VERSION/media_types/format_media_type.ts";
15
15
  *
16
- * formatMediaType("text/plain", { charset: "UTF-8" }); // `text/plain; charset=UTF-8`
16
+ * formatMediaType("text/plain", { charset: "UTF-8" }); // "text/plain; charset=UTF-8"
17
17
  * ```
18
18
  */
19
19
  export function formatMediaType(type, param) {
@@ -6,10 +6,10 @@
6
6
  * ```ts
7
7
  * import { getCharset } from "https://deno.land/std@$STD_VERSION/media_types/get_charset.ts";
8
8
  *
9
- * getCharset("text/plain"); // `UTF-8`
9
+ * getCharset("text/plain"); // "UTF-8"
10
10
  * getCharset("application/foo"); // undefined
11
- * getCharset("application/news-checkgroups"); // `US-ASCII`
12
- * getCharset("application/news-checkgroups; charset=UTF-8"); // `UTF-8`
11
+ * getCharset("application/news-checkgroups"); // "US-ASCII"
12
+ * getCharset("application/news-checkgroups; charset=UTF-8"); // "UTF-8"
13
13
  * ```
14
14
  */
15
15
  export declare function getCharset(type: string): string | undefined;
@@ -10,10 +10,10 @@ import { db } from "./_db.js";
10
10
  * ```ts
11
11
  * import { getCharset } from "https://deno.land/std@$STD_VERSION/media_types/get_charset.ts";
12
12
  *
13
- * getCharset("text/plain"); // `UTF-8`
13
+ * getCharset("text/plain"); // "UTF-8"
14
14
  * getCharset("application/foo"); // undefined
15
- * getCharset("application/news-checkgroups"); // `US-ASCII`
16
- * getCharset("application/news-checkgroups; charset=UTF-8"); // `UTF-8`
15
+ * getCharset("application/news-checkgroups"); // "US-ASCII"
16
+ * getCharset("application/news-checkgroups; charset=UTF-8"); // "UTF-8"
17
17
  * ```
18
18
  */
19
19
  export function getCharset(type) {
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Parses the media type and any optional parameters, per
3
+ * {@link https://datatracker.ietf.org/doc/html/rfc1521 | RFC 1521}. Media
4
+ * types are the values in `Content-Type` and `Content-Disposition` headers. On
5
+ * success the function returns a tuple where the first element is the media
6
+ * type and the second element is the optional parameters or `undefined` if
7
+ * there are none.
8
+ *
9
+ * The function will throw if the parsed value is invalid.
10
+ *
11
+ * The returned media type will be normalized to be lower case, and returned
12
+ * params keys will be normalized to lower case, but preserves the casing of
13
+ * the value.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * import { parseMediaType } from "https://deno.land/std@$STD_VERSION/media_types/parse_media_type.ts";
18
+ *
19
+ * parseMediaType("application/JSON"); // ["application/json", undefined]
20
+ * parseMediaType("text/html; charset=UTF-8"); // ["text/html", { charset: "UTF-8" }]
21
+ * ```
22
+ */
23
+ export declare function parseMediaType(v: string): [mediaType: string, params: Record<string, string> | undefined];
@@ -3,11 +3,11 @@
3
3
  import { consumeMediaParam, decode2331Encoding } from "./_util.js";
4
4
  /**
5
5
  * Parses the media type and any optional parameters, per
6
- * [RFC 1521](https://datatracker.ietf.org/doc/html/rfc1521). Media types are
7
- * the values in `Content-Type` and `Content-Disposition` headers. On success
8
- * the function returns a tuple where the first element is the media type and
9
- * the second element is the optional parameters or `undefined` if there are
10
- * none.
6
+ * {@link https://datatracker.ietf.org/doc/html/rfc1521 | RFC 1521}. Media
7
+ * types are the values in `Content-Type` and `Content-Disposition` headers. On
8
+ * success the function returns a tuple where the first element is the media
9
+ * type and the second element is the optional parameters or `undefined` if
10
+ * there are none.
11
11
  *
12
12
  * The function will throw if the parsed value is invalid.
13
13
  *
@@ -18,23 +18,9 @@ import { consumeMediaParam, decode2331Encoding } from "./_util.js";
18
18
  * @example
19
19
  * ```ts
20
20
  * import { parseMediaType } from "https://deno.land/std@$STD_VERSION/media_types/parse_media_type.ts";
21
- * import { assertEquals } from "https://deno.land/std@$STD_VERSION/assert/assert_equals.ts";
22
21
  *
23
- * assertEquals(
24
- * parseMediaType("application/JSON"),
25
- * [
26
- * "application/json",
27
- * undefined
28
- * ]
29
- * );
30
- *
31
- * assertEquals(
32
- * parseMediaType("text/html; charset=UTF-8"),
33
- * [
34
- * "text/html",
35
- * { charset: "UTF-8" },
36
- * ]
37
- * );
22
+ * parseMediaType("application/JSON"); // ["application/json", undefined]
23
+ * parseMediaType("text/html; charset=UTF-8"); // ["text/html", { charset: "UTF-8" }]
38
24
  * ```
39
25
  */
40
26
  export function parseMediaType(v) {
@@ -8,8 +8,8 @@
8
8
  * ```ts
9
9
  * import { typeByExtension } from "https://deno.land/std@$STD_VERSION/media_types/type_by_extension.ts";
10
10
  *
11
- * typeByExtension("js"); // `application/json`
12
- * typeByExtension(".HTML"); // `text/html`
11
+ * typeByExtension("js"); // "application/json"
12
+ * typeByExtension(".HTML"); // "text/html"
13
13
  * typeByExtension("foo"); // undefined
14
14
  * typeByExtension("file.json"); // undefined
15
15
  * ```
@@ -11,8 +11,8 @@ import { types } from "./_db.js";
11
11
  * ```ts
12
12
  * import { typeByExtension } from "https://deno.land/std@$STD_VERSION/media_types/type_by_extension.ts";
13
13
  *
14
- * typeByExtension("js"); // `application/json`
15
- * typeByExtension(".HTML"); // `text/html`
14
+ * typeByExtension("js"); // "application/json"
15
+ * typeByExtension(".HTML"); // "text/html"
16
16
  * typeByExtension("foo"); // undefined
17
17
  * typeByExtension("file.json"); // undefined
18
18
  * ```
@@ -1,4 +1,3 @@
1
- import { SEP } from "./separator.js";
2
1
  /** Determines the common path from a set of paths, using an optional separator,
3
2
  * which defaults to the OS default separator.
4
3
  *
@@ -11,4 +10,4 @@ import { SEP } from "./separator.js";
11
10
  * console.log(p); // "./deno/std/"
12
11
  * ```
13
12
  */
14
- export declare function common(paths: string[], sep?: typeof SEP): string;
13
+ export declare function common(paths: string[], sep?: string): string;
@@ -1,7 +1,7 @@
1
1
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { _common } from "./_common/common.js";
4
- import { SEP } from "./separator.js";
4
+ import { SEPARATOR } from "./constants.js";
5
5
  /** Determines the common path from a set of paths, using an optional separator,
6
6
  * which defaults to the OS default separator.
7
7
  *
@@ -14,6 +14,6 @@ import { SEP } from "./separator.js";
14
14
  * console.log(p); // "./deno/std/"
15
15
  * ```
16
16
  */
17
- export function common(paths, sep = SEP) {
17
+ export function common(paths, sep = SEPARATOR) {
18
18
  return _common(paths, sep);
19
19
  }
@@ -0,0 +1,3 @@
1
+ export declare const DELIMITER: ";" | ":";
2
+ export declare const SEPARATOR: "\\" | "/";
3
+ export declare const SEPARATOR_PATTERN: RegExp;
@@ -0,0 +1,6 @@
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ // This module is browser compatible.
3
+ import { isWindows } from "./_os.js";
4
+ export const DELIMITER = isWindows ? ";" : ":";
5
+ export const SEPARATOR = isWindows ? "\\" : "/";
6
+ export const SEPARATOR_PATTERN = isWindows ? /[\\/]+/ : /\/+/;