@mtkruto/node 0.1.146 → 0.1.148

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 (653) 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 +3 -3
  6. package/esm/3_types.js +3 -3
  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/3_inline_query_manager.js +1 -1
  17. package/esm/client/4_client.d.ts +21 -0
  18. package/esm/client/4_client.js +89 -40
  19. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +3 -2
  20. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
  21. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
  22. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +3 -1
  23. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
  24. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
  25. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
  26. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
  27. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
  28. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
  29. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
  30. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
  31. package/esm/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
  32. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
  33. 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
  34. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
  35. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.d.ts +1 -2
  36. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
  37. package/esm/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
  38. package/esm/deps/deno.land/std@0.214.0/path/constants.js +6 -0
  39. package/esm/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
  40. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
  41. 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
  42. package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/common.js +2 -2
  43. package/esm/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
  44. package/esm/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +3 -2
  45. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.js +2 -2
  46. package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
  47. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
  48. package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
  49. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
  50. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +10 -0
  51. package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
  52. package/esm/deps/deno.land/std@0.214.0/path/separator.js +11 -0
  53. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.d.ts +1 -2
  54. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.js +2 -2
  55. package/esm/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
  56. package/esm/deps/deno.land/std@0.214.0/path/windows/constants.js +5 -0
  57. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.js +2 -2
  58. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
  59. package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
  60. package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
  61. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
  62. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +10 -0
  63. package/esm/storage/0_storage.d.ts +63 -11
  64. package/esm/storage/0_storage.js +159 -88
  65. package/esm/storage/1_storage_memory.d.ts +4 -1
  66. package/esm/storage/1_storage_memory.js +29 -9
  67. package/esm/tl/3_utilities.d.ts +5 -2
  68. package/esm/tl/3_utilities.js +32 -6
  69. package/esm/types/0_giveaway_parameters.d.ts +1 -0
  70. package/esm/types/0_login_url.d.ts +1 -0
  71. package/esm/types/0_mask_position.d.ts +1 -0
  72. package/esm/types/0_message_reference.d.ts +5 -0
  73. package/esm/types/0_mini_app_info.d.ts +6 -0
  74. package/esm/types/0_mini_app_info.js +3 -0
  75. package/esm/types/0_network_statistics_entry.d.ts +1 -0
  76. package/esm/types/0_poll_option.d.ts +1 -0
  77. package/esm/types/0_price_tag.d.ts +5 -0
  78. package/esm/types/0_reaction.d.ts +1 -0
  79. package/esm/types/0_restriction_reason.d.ts +1 -0
  80. package/esm/types/1_giveaway.d.ts +1 -0
  81. package/esm/types/1_inline_query_result_button.d.ts +3 -2
  82. package/esm/types/1_input_message_content.d.ts +3 -2
  83. package/esm/types/1_keyboard_button.d.ts +5 -4
  84. package/esm/types/1_keyboard_button.js +3 -3
  85. package/esm/types/1_network_statistics.d.ts +1 -0
  86. package/esm/types/1_poll.d.ts +1 -0
  87. package/esm/types/1_reaction_count.d.ts +1 -0
  88. package/esm/types/1_reply_quote.d.ts +1 -0
  89. package/esm/types/1_sticker.d.ts +1 -0
  90. package/esm/types/2_chat_member.d.ts +1 -0
  91. package/esm/types/2_chosen_inline_result.d.ts +1 -0
  92. package/esm/types/2_game.d.ts +1 -0
  93. package/esm/types/2_inline_keyboard_button.d.ts +4 -4
  94. package/esm/types/2_inline_keyboard_button.js +4 -4
  95. package/esm/types/2_inline_query.d.ts +1 -0
  96. package/esm/types/2_message_interactions.d.ts +1 -0
  97. package/esm/types/2_message_reaction_count.d.ts +1 -0
  98. package/esm/types/2_message_reactions.d.ts +1 -0
  99. package/esm/types/3_chat_member_updated.d.ts +1 -0
  100. package/esm/types/3_reply_markup.d.ts +1 -0
  101. package/esm/types/4_inline_query_result.d.ts +2 -1
  102. package/esm/types/4_inline_query_result.js +1 -1
  103. package/esm/types/4_message.d.ts +2 -1
  104. package/esm/types/4_message.js +2 -2
  105. package/esm/types/5_callback_query.d.ts +1 -0
  106. package/esm/types/5_callback_query.js +17 -2
  107. package/esm/types/6_update.d.ts +3 -3
  108. package/esm/utilities/0_cache_map.d.ts +6 -0
  109. package/esm/utilities/0_cache_map.js +30 -0
  110. package/package.json +1 -1
  111. package/script/0_deps.d.ts +4 -4
  112. package/script/0_deps.js +5 -5
  113. package/script/1_utilities.d.ts +1 -0
  114. package/script/1_utilities.js +1 -0
  115. package/script/3_types.d.ts +3 -3
  116. package/script/3_types.js +3 -3
  117. package/script/4_constants.d.ts +1 -1
  118. package/script/4_constants.js +1 -1
  119. package/script/client/0_types.d.ts +1 -0
  120. package/script/client/1_file_manager.js +2 -1
  121. package/script/client/1_reaction_manager.js +3 -3
  122. package/script/client/1_update_manager.js +10 -10
  123. package/script/client/2_message_manager.d.ts +2 -0
  124. package/script/client/2_message_manager.js +41 -30
  125. package/script/client/3_chat_list_manager.js +1 -1
  126. package/script/client/3_inline_query_manager.js +1 -1
  127. package/script/client/4_client.d.ts +21 -0
  128. package/script/client/4_client.js +88 -39
  129. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +4 -3
  130. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
  131. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
  132. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +4 -1
  133. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
  134. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
  135. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
  136. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
  137. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
  138. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
  139. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
  140. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
  141. package/script/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
  142. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
  143. 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
  144. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
  145. 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
  146. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
  147. package/script/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
  148. package/script/deps/deno.land/std@0.214.0/path/constants.js +9 -0
  149. package/script/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
  150. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
  151. package/script/deps/deno.land/std@0.214.0/path/posix/common.d.ts +13 -0
  152. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/common.js +2 -2
  153. package/script/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
  154. package/script/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +4 -3
  155. package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/join_globs.js +2 -2
  156. package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
  157. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
  158. package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
  159. package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
  160. package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +13 -0
  161. package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
  162. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/separator.js +6 -0
  163. package/script/deps/deno.land/std@0.214.0/path/windows/common.d.ts +13 -0
  164. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/common.js +2 -2
  165. package/script/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
  166. package/script/deps/deno.land/{std@0.212.0/path/windows/separator.js → std@0.214.0/path/windows/constants.js} +4 -3
  167. package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/join_globs.js +2 -2
  168. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
  169. package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
  170. package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
  171. package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
  172. package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +13 -0
  173. package/script/storage/0_storage.d.ts +63 -11
  174. package/script/storage/0_storage.js +159 -88
  175. package/script/storage/1_storage_memory.d.ts +4 -1
  176. package/script/storage/1_storage_memory.js +29 -9
  177. package/script/tl/3_utilities.d.ts +5 -2
  178. package/script/tl/3_utilities.js +35 -7
  179. package/script/types/0_giveaway_parameters.d.ts +1 -0
  180. package/script/types/0_login_url.d.ts +1 -0
  181. package/script/types/0_mask_position.d.ts +1 -0
  182. package/script/types/0_message_reference.d.ts +5 -0
  183. package/script/types/0_mini_app_info.d.ts +6 -0
  184. package/script/types/0_mini_app_info.js +7 -0
  185. package/script/types/0_network_statistics_entry.d.ts +1 -0
  186. package/script/types/0_poll_option.d.ts +1 -0
  187. package/script/types/0_price_tag.d.ts +5 -0
  188. package/script/types/0_reaction.d.ts +1 -0
  189. package/script/types/0_restriction_reason.d.ts +1 -0
  190. package/script/types/1_giveaway.d.ts +1 -0
  191. package/script/types/1_inline_query_result_button.d.ts +3 -2
  192. package/script/types/1_input_message_content.d.ts +3 -2
  193. package/script/types/1_keyboard_button.d.ts +5 -4
  194. package/script/types/1_keyboard_button.js +3 -3
  195. package/script/types/1_network_statistics.d.ts +1 -0
  196. package/script/types/1_poll.d.ts +1 -0
  197. package/script/types/1_reaction_count.d.ts +1 -0
  198. package/script/types/1_reply_quote.d.ts +1 -0
  199. package/script/types/1_sticker.d.ts +1 -0
  200. package/script/types/2_chat_member.d.ts +1 -0
  201. package/script/types/2_chosen_inline_result.d.ts +1 -0
  202. package/script/types/2_game.d.ts +1 -0
  203. package/script/types/2_inline_keyboard_button.d.ts +4 -4
  204. package/script/types/2_inline_keyboard_button.js +4 -4
  205. package/script/types/2_inline_query.d.ts +1 -0
  206. package/script/types/2_message_interactions.d.ts +1 -0
  207. package/script/types/2_message_reaction_count.d.ts +1 -0
  208. package/script/types/2_message_reactions.d.ts +1 -0
  209. package/script/types/3_chat_member_updated.d.ts +1 -0
  210. package/script/types/3_reply_markup.d.ts +1 -0
  211. package/script/types/4_inline_query_result.d.ts +2 -1
  212. package/script/types/4_inline_query_result.js +1 -1
  213. package/script/types/4_message.d.ts +2 -1
  214. package/script/types/4_message.js +2 -2
  215. package/script/types/5_callback_query.d.ts +1 -0
  216. package/script/types/5_callback_query.js +17 -1
  217. package/script/types/6_update.d.ts +3 -3
  218. package/script/utilities/0_cache_map.d.ts +6 -0
  219. package/script/utilities/0_cache_map.js +34 -0
  220. package/esm/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
  221. package/esm/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
  222. package/esm/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
  223. package/esm/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
  224. package/esm/deps/deno.land/std@0.212.0/path/separator.js +0 -5
  225. package/esm/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
  226. package/esm/deps/deno.land/std@0.212.0/path/windows/separator.js +0 -4
  227. package/esm/types/0_labeled_price.d.ts +0 -4
  228. package/esm/types/0_message_identifier.d.ts +0 -4
  229. package/esm/types/0_web_app_info.d.ts +0 -5
  230. package/esm/types/0_web_app_info.js +0 -3
  231. package/script/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
  232. package/script/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
  233. package/script/deps/deno.land/std@0.212.0/path/posix/common.d.ts +0 -14
  234. package/script/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
  235. package/script/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
  236. package/script/deps/deno.land/std@0.212.0/path/windows/common.d.ts +0 -14
  237. package/script/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
  238. package/script/types/0_labeled_price.d.ts +0 -4
  239. package/script/types/0_message_identifier.d.ts +0 -4
  240. package/script/types/0_web_app_info.d.ts +0 -5
  241. package/script/types/0_web_app_info.js +0 -7
  242. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
  283. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
  284. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
  285. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
  286. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
  287. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
  288. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
  289. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
  290. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
  291. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
  292. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
  293. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
  294. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
  295. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
  296. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
  297. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
  298. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
  299. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
  300. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
  301. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
  302. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
  303. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
  304. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
  305. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
  306. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
  312. /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
  313. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
  392. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
  393. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
  394. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
  404. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
  410. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
  411. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
  412. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
  413. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
  414. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
  415. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
  416. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
  417. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
  418. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
  419. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
  420. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
  421. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
  422. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
  423. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
  424. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
  425. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
  426. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
  427. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
  428. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
  429. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
  430. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
  431. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
  432. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
  433. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
  434. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
  435. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
  436. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
  437. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
  438. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
  439. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
  440. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
  441. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
  442. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
  443. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
  444. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
  445. /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
  446. /package/esm/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
  447. /package/esm/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
  448. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
  450. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
  452. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
  454. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
  456. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
  458. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
  460. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
  462. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
  464. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
  466. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
  468. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
  470. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
  472. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
  474. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
  476. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
  478. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
  480. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
  483. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
  485. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
  487. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
  489. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
  491. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
  493. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
  495. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
  497. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
  499. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
  501. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
  503. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
  505. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
  507. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
  509. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
  511. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
  514. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
  516. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
  518. /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
  519. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  520. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
  522. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
  524. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
  526. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
  528. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
  530. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
  532. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
  534. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
  536. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
  538. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
  540. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
  542. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
  544. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
  546. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
  548. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
  550. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
  552. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
  554. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
  556. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
  558. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
  560. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
  562. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
  564. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
  566. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
  568. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
  570. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
  572. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
  574. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
  576. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
  578. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
  580. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
  582. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
  584. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
  586. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
  588. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
  590. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
  592. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
  594. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
  596. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
  598. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
  599. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
  600. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
  602. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
  604. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
  606. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
  608. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
  609. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
  610. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
  612. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
  614. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
  616. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
  618. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
  620. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
  621. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
  622. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
  623. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
  624. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
  625. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
  626. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
  627. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
  628. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
  629. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
  630. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
  631. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
  632. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
  633. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
  634. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
  635. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
  636. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
  637. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
  638. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
  639. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
  640. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
  641. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
  642. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
  643. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
  644. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
  645. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
  646. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
  647. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
  648. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
  649. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
  650. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
  651. /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
  652. /package/script/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
  653. /package/script/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
@@ -10,60 +10,91 @@ 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 _Storage_instances, _Storage_authKeyId, _Storage_resetAuthKeyId, _Storage_getEntityType, _Storage_getUpdateId;
13
+ var _Storage_instances, _Storage_authKeyId, _Storage_resetAuthKeyId, _Storage_accountType, _Storage_getUpdateId;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Storage = void 0;
15
+ exports.Storage = exports.K = void 0;
16
16
  const _1_utilities_js_1 = require("../1_utilities.js");
17
17
  const _2_tl_js_1 = require("../2_tl.js");
18
- const KPARTS__DC = ["dc"];
19
- const KPARTS__AUTH_KEY = ["authKey"];
20
- const KPARTS__USERNAME = (v) => ["username", v];
21
- const KPARTS__STATE = ["state"];
22
- const KPARTS__CHANNEL_PTS = (v) => ["channelPts", v];
23
- const KPARTS__PEER = (type, id) => ["peer", type, id];
24
- const KPARTS__ACCOUNT_TYPE = ["accountType"];
25
- const KPARTS__STICKER_SET_NAME = (id, accessHash) => ["stickerSetName", id, accessHash];
26
- const KPARTS_MESSAGE = (chatId, messageId) => ["messages", chatId, messageId];
27
- const KPARTS_MESSAGES = (chatId) => ["messages", chatId];
28
- const KPARTS_ALL_MESSAGE_REFS = ["messageRefs"];
29
- const KPARTS_MESSAGE_REF = (messageId) => ["messageRefs", messageId];
30
- const KPARTS_HAS_ALL_CHATS = (listId) => ["hasAllChats", listId];
31
- const KPARTS_CHATS = (listId) => ["chats", listId];
32
- const KPARTS_CHAT = (listId, chatId) => ["chats", listId, chatId];
33
- const KPARTS_PINNED_CHATS = (listId) => ["pinnedChats", listId];
34
- const KPARTS_SERVER_SALT = ["serverSalt"];
35
- const KPARTS_FILE = (fileId) => ["files", fileId];
36
- const KPARTS_FILE_PART = (fileId, n) => ["fileParts", fileId, n];
37
- const KPARTS_CEMOJI = (id) => ["customEmojiDocuments", id];
38
- const KPARTS_ALL_UPDATES = ["updates"];
39
- const KPARTS_UPDATES = (boxId) => ["updates", boxId];
40
- const KPARTS_UPDATE = (boxId, id) => ["updates", boxId, id];
18
+ // key parts
19
+ exports.K = {
20
+ session: {
21
+ P: (string) => `session.${string}`,
22
+ serverSalt: () => [exports.K.session.P("serverSalt")],
23
+ },
24
+ auth: {
25
+ P: (string) => `auth.${string}`,
26
+ dc: () => [exports.K.auth.P("dc")],
27
+ key: () => [exports.K.auth.P("key")],
28
+ accountType: () => [exports.K.auth.P("accountType")],
29
+ },
30
+ updates: {
31
+ P: (string) => `updates.${string}`,
32
+ state: () => [exports.K.updates.P("state")],
33
+ all: () => [exports.K.updates.P("updates")],
34
+ updates: (boxId) => [...exports.K.updates.all(), boxId],
35
+ update: (boxId, id) => [...exports.K.updates.updates(boxId), id],
36
+ channelPts: (channelId) => [exports.K.updates.P("channelPts"), channelId],
37
+ },
38
+ cache: {
39
+ P: (string) => `cache.${string}`,
40
+ usernames: () => [exports.K.cache.P("username")],
41
+ username: (v) => [...exports.K.cache.usernames(), v],
42
+ peers: () => [exports.K.cache.P("peer")],
43
+ peer: (id) => [...exports.K.cache.peers(), id],
44
+ stickerSetNames: () => [exports.K.cache.P("stickerSetNames")],
45
+ stickerSetName: (id, accessHash) => [...exports.K.cache.stickerSetNames(), id, accessHash],
46
+ files: () => [exports.K.cache.P("files")],
47
+ file: (fileId) => [...exports.K.cache.files(), fileId],
48
+ fileParts: () => [exports.K.cache.P("fileParts")],
49
+ filePart: (fileId, n) => [...exports.K.cache.fileParts(), fileId, n],
50
+ customEmojiDocuments: () => [exports.K.cache.P("customEmojiDocuments")],
51
+ customEmojiDocument: (id) => [...exports.K.cache.customEmojiDocuments(), id],
52
+ },
53
+ messages: {
54
+ P: (string) => `messages.${string}`,
55
+ messages: (chatId) => [exports.K.messages.P("messages"), chatId],
56
+ message: (chatId, messageId) => [...exports.K.messages.messages(chatId), messageId],
57
+ allMessageRefs: () => [exports.K.messages.P("messageRefs")],
58
+ messageRef: (messageId) => [...exports.K.messages.allMessageRefs(), messageId],
59
+ },
60
+ chatlists: {
61
+ P: (string) => `chatlists.${string}`,
62
+ hasAllChats: (listId) => [exports.K.chatlists.P("hasAllChats"), listId],
63
+ chats: (listId) => [exports.K.chatlists.P("chats"), listId],
64
+ chat: (listId, chatId) => [...exports.K.chatlists.chats(listId), chatId],
65
+ pinnedChats: (listId) => [exports.K.chatlists.P("pinnedChats"), listId],
66
+ },
67
+ };
41
68
  class Storage {
42
69
  constructor() {
43
70
  _Storage_instances.add(this);
44
71
  _Storage_authKeyId.set(this, null);
72
+ _Storage_accountType.set(this, null);
45
73
  }
46
74
  setDc(dc) {
47
- return this.set(KPARTS__DC, dc);
75
+ return this.set(exports.K.auth.dc(), dc);
48
76
  }
49
77
  getDc() {
50
- return this.get(KPARTS__DC);
78
+ return this.get(exports.K.auth.dc());
51
79
  }
52
80
  async getAuthKey() {
53
- const authKey = await this.get(KPARTS__AUTH_KEY);
81
+ const authKey = await this.get(exports.K.auth.key());
54
82
  await __classPrivateFieldGet(this, _Storage_instances, "m", _Storage_resetAuthKeyId).call(this, authKey);
55
83
  return authKey;
56
84
  }
57
85
  async setAuthKey(authKey) {
58
- await this.set(KPARTS__AUTH_KEY, authKey);
86
+ await this.set(exports.K.auth.key(), authKey);
59
87
  await __classPrivateFieldGet(this, _Storage_instances, "m", _Storage_resetAuthKeyId).call(this, authKey);
60
88
  }
61
89
  get authKeyId() {
62
90
  return __classPrivateFieldGet(this, _Storage_authKeyId, "f");
63
91
  }
64
92
  async getChannelAccessHash(id) {
65
- const channel = await this.getEntity("channel", id);
93
+ const channel = await this.getEntity(id);
66
94
  if (channel) {
95
+ if (!(channel instanceof _2_tl_js_1.types.Channel) && !(channel instanceof _2_tl_js_1.types.ChannelForbidden)) {
96
+ (0, _1_utilities_js_1.UNREACHABLE)();
97
+ }
67
98
  return typeof channel.access_hash === "bigint" ? channel.access_hash : null;
68
99
  }
69
100
  else {
@@ -71,23 +102,26 @@ class Storage {
71
102
  }
72
103
  }
73
104
  async getUserAccessHash(id) {
74
- const user = await this.getEntity("user", id);
105
+ const user = await this.getEntity(id);
75
106
  if (user) {
107
+ if (!(user instanceof _2_tl_js_1.types.User)) {
108
+ (0, _1_utilities_js_1.UNREACHABLE)();
109
+ }
76
110
  return typeof user.access_hash === "bigint" ? user.access_hash : null;
77
111
  }
78
112
  else {
79
113
  return null;
80
114
  }
81
115
  }
82
- async updateUsernames(type, id, usernames) {
116
+ async updateUsernames(id, usernames) {
83
117
  for (let username of usernames) {
84
118
  username = username.toLowerCase();
85
- await this.set(KPARTS__USERNAME(username), [type, id, new Date()]);
119
+ await this.set(exports.K.cache.username(username), [id, new Date()]);
86
120
  }
87
121
  }
88
122
  async getUsername(username) {
89
123
  username = username.toLowerCase();
90
- return await this.get(KPARTS__USERNAME(username));
124
+ return await this.get(exports.K.cache.username(username));
91
125
  }
92
126
  async setTlObject(key, value) {
93
127
  if (value == null) {
@@ -107,50 +141,51 @@ class Storage {
107
141
  }
108
142
  }
109
143
  async setState(state) {
110
- await this.setTlObject(KPARTS__STATE, state);
144
+ await this.setTlObject(exports.K.updates.state(), state);
111
145
  }
112
146
  async getState() {
113
- return await this.getTlObject(KPARTS__STATE);
147
+ return await this.getTlObject(exports.K.updates.state());
114
148
  }
115
149
  async setMessage(chatId, messageId, message) {
116
150
  if (chatId > _1_utilities_js_1.ZERO_CHANNEL_ID) {
117
- await this.set(KPARTS_MESSAGE_REF(messageId), message == null ? null : chatId);
151
+ await this.set(exports.K.messages.messageRef(messageId), message == null ? null : chatId);
118
152
  }
119
- await this.setTlObject(KPARTS_MESSAGE(chatId, messageId), message);
153
+ await this.setTlObject(exports.K.messages.message(chatId, messageId), message);
120
154
  }
121
155
  async deleteMessages() {
122
156
  const maybePromises = new Array();
123
- for await (const [k, o] of await this.getMany({ prefix: KPARTS_ALL_MESSAGE_REFS })) {
124
- maybePromises.push(Promise.all([this.set(k, null), o == null ? Promise.resolve() : this.set(KPARTS_MESSAGE(o, k[1]), null)]).then(() => { }));
157
+ for await (const [k, o] of await this.getMany({ prefix: exports.K.messages.allMessageRefs() })) {
158
+ maybePromises.push(Promise.all([this.set(k, null), o == null ? Promise.resolve() : this.set(exports.K.messages.message(o, k[1]), null)]).then(() => { }));
125
159
  }
126
160
  await Promise.all(maybePromises.filter((v) => v instanceof Promise));
127
161
  }
128
162
  getMessageChat(messageId) {
129
- return this.get(KPARTS_MESSAGE_REF(messageId));
163
+ return this.get(exports.K.messages.messageRef(messageId));
130
164
  }
131
165
  async getMessage(chatId, messageId) {
132
- return await this.getTlObject(KPARTS_MESSAGE(chatId, messageId));
166
+ return await this.getTlObject(exports.K.messages.message(chatId, messageId));
133
167
  }
134
168
  async getLastMessage(chatId) {
135
- for await (const [_, buffer] of await this.getMany({ prefix: KPARTS_MESSAGES(chatId) }, { limit: 1, reverse: true })) {
169
+ for await (const [_, buffer] of await this.getMany({ prefix: exports.K.messages.messages(chatId) }, { limit: 1, reverse: true })) {
136
170
  return await this.getTlObject(buffer);
137
171
  }
138
172
  return null;
139
173
  }
140
174
  async setChannelPts(channelId, pts) {
141
- await this.set(KPARTS__CHANNEL_PTS(channelId), pts);
175
+ await this.set(exports.K.updates.channelPts(channelId), pts);
142
176
  }
143
177
  getChannelPts(channelId) {
144
- return this.get(KPARTS__CHANNEL_PTS(channelId));
178
+ return this.get(exports.K.updates.channelPts(channelId));
145
179
  }
146
180
  async setEntity(entity) {
147
- const type = __classPrivateFieldGet(this, _Storage_instances, "m", _Storage_getEntityType).call(this, entity);
148
- await this.set(KPARTS__PEER(type, entity.id), (0, _1_utilities_js_1.rleEncode)(entity[_2_tl_js_1.serialize]()));
181
+ await this.set(exports.K.cache.peer((0, _2_tl_js_1.peerToChatId)(entity)), [(0, _1_utilities_js_1.rleEncode)(entity[_2_tl_js_1.serialize]()), new Date()]);
149
182
  }
150
- async getEntity(type, id) {
151
- const peer_ = await this.get(KPARTS__PEER(type, id));
183
+ async getEntity(key) {
184
+ const peer_ = await this.get(exports.K.cache.peer(key));
152
185
  if (peer_ != null) {
153
- return new _2_tl_js_1.TLReader((0, _1_utilities_js_1.rleDecode)(peer_)).readObject();
186
+ const [obj_] = peer_;
187
+ const entity = new _2_tl_js_1.TLReader((0, _1_utilities_js_1.rleDecode)(obj_)).readObject();
188
+ return entity;
154
189
  }
155
190
  else {
156
191
  return null;
@@ -166,31 +201,36 @@ class Storage {
166
201
  throw err;
167
202
  }
168
203
  else {
169
- await this.set(KPARTS__ACCOUNT_TYPE, type);
204
+ await this.set(exports.K.auth.accountType(), type);
170
205
  }
171
206
  }
172
207
  }
173
- getAccountType() {
174
- return this.get(KPARTS__ACCOUNT_TYPE);
208
+ async getAccountType() {
209
+ if (__classPrivateFieldGet(this, _Storage_accountType, "f") != null) {
210
+ return __classPrivateFieldGet(this, _Storage_accountType, "f");
211
+ }
212
+ else {
213
+ return __classPrivateFieldSet(this, _Storage_accountType, await this.get(exports.K.auth.accountType()), "f");
214
+ }
175
215
  }
176
216
  async updateStickerSetName(id, accessHash, name) {
177
- await this.set(KPARTS__STICKER_SET_NAME(id, accessHash), [name, new Date()]);
217
+ await this.set(exports.K.cache.stickerSetName(id, accessHash), [name, new Date()]);
178
218
  }
179
219
  getStickerSetName(id, accessHash) {
180
- return this.get(KPARTS__STICKER_SET_NAME(id, accessHash));
220
+ return this.get(exports.K.cache.stickerSetName(id, accessHash));
181
221
  }
182
222
  async setServerSalt(serverSalt) {
183
- await this.set(KPARTS_SERVER_SALT, serverSalt);
223
+ await this.set(exports.K.session.serverSalt(), serverSalt);
184
224
  }
185
225
  getServerSalt() {
186
- return this.get(KPARTS_SERVER_SALT);
226
+ return this.get(exports.K.session.serverSalt());
187
227
  }
188
228
  async setChat(listId, chatId, pinned, topMessageId, topMessageDate) {
189
- await this.set(KPARTS_CHAT(listId, chatId), [pinned, topMessageId, topMessageDate]);
229
+ await this.set(exports.K.chatlists.chat(listId, chatId), [pinned, topMessageId, topMessageDate]);
190
230
  }
191
231
  async getChats(listId) {
192
232
  const chats = new Array();
193
- for await (const [key, value] of await this.getMany({ prefix: KPARTS_CHATS(listId) })) {
233
+ for await (const [key, value] of await this.getMany({ prefix: exports.K.chatlists.chats(listId) })) {
194
234
  if (key.length != 3 || typeof key[2] !== "number") {
195
235
  continue;
196
236
  }
@@ -199,24 +239,24 @@ class Storage {
199
239
  return chats;
200
240
  }
201
241
  async removeChats(listId) {
202
- for await (const [key] of await this.getMany({ prefix: KPARTS_CHATS(listId) })) {
242
+ for await (const [key] of await this.getMany({ prefix: exports.K.chatlists.chats(listId) })) {
203
243
  await this.set(key, null);
204
244
  }
205
245
  await this.setHasAllChats(listId, false);
206
246
  await this.setPinnedChats(listId, null);
207
247
  }
208
248
  async setHasAllChats(listId, hasAllChats) {
209
- await this.set(KPARTS_HAS_ALL_CHATS(listId), hasAllChats);
249
+ await this.set(exports.K.chatlists.hasAllChats(listId), hasAllChats);
210
250
  }
211
251
  async hasAllChats(listId) {
212
- const v = await this.get(KPARTS_HAS_ALL_CHATS(listId));
252
+ const v = await this.get(exports.K.chatlists.hasAllChats(listId));
213
253
  return v == true;
214
254
  }
215
255
  async setPinnedChats(listId, chatIds) {
216
- await this.set(KPARTS_PINNED_CHATS(listId), chatIds);
256
+ await this.set(exports.K.chatlists.pinnedChats(listId), chatIds);
217
257
  }
218
258
  async getPinnedChats(listId) {
219
- return await this.get(KPARTS_PINNED_CHATS(listId));
259
+ return await this.get(exports.K.chatlists.pinnedChats(listId));
220
260
  }
221
261
  async getHistory(chatId, offsetId, limit) {
222
262
  if (offsetId == 0) {
@@ -224,7 +264,7 @@ class Storage {
224
264
  }
225
265
  ++limit;
226
266
  const messages = new Array();
227
- for await (const [_, buffer] of await this.getMany({ start: KPARTS_MESSAGE(chatId, 0), end: KPARTS_MESSAGE(chatId, offsetId) }, { limit, reverse: true })) {
267
+ for await (const [_, buffer] of await this.getMany({ start: exports.K.messages.message(chatId, 0), end: exports.K.messages.message(chatId, offsetId) }, { limit, reverse: true })) {
228
268
  const message = await this.getTlObject(buffer);
229
269
  if ("id" in message && message.id == offsetId) {
230
270
  continue;
@@ -237,14 +277,14 @@ class Storage {
237
277
  if (!this.supportsFiles) {
238
278
  return null;
239
279
  }
240
- return await this.get(KPARTS_FILE(id));
280
+ return await this.get(exports.K.cache.file(id));
241
281
  }
242
282
  async *iterFileParts(id, partCount, offset) {
243
283
  if (!this.supportsFiles) {
244
284
  return;
245
285
  }
246
286
  for (let i = offset; i < partCount; i++) {
247
- const part = await this.get(KPARTS_FILE_PART(id, i));
287
+ const part = await this.get(exports.K.cache.filePart(id, i));
248
288
  if (part == null) {
249
289
  continue;
250
290
  }
@@ -255,19 +295,19 @@ class Storage {
255
295
  if (!this.supportsFiles) {
256
296
  return;
257
297
  }
258
- await this.set(KPARTS_FILE_PART(id, index), bytes);
298
+ await this.set(exports.K.cache.filePart(id, index), bytes);
259
299
  }
260
300
  async setFilePartCount(id, partCount, chunkSize) {
261
301
  if (!this.supportsFiles) {
262
302
  return;
263
303
  }
264
- await this.set(KPARTS_FILE(id), [partCount, chunkSize]);
304
+ await this.set(exports.K.cache.file(id), [partCount, chunkSize]);
265
305
  }
266
306
  async setCustomEmojiDocument(id, document) {
267
- await this.set(KPARTS_CEMOJI(id), [(0, _1_utilities_js_1.rleEncode)(document[_2_tl_js_1.serialize]()), new Date()]);
307
+ await this.set(exports.K.cache.customEmojiDocument(id), [(0, _1_utilities_js_1.rleEncode)(document[_2_tl_js_1.serialize]()), new Date()]);
268
308
  }
269
309
  async getCustomEmojiDocument(id) {
270
- const v = await this.get(KPARTS_CEMOJI(id));
310
+ const v = await this.get(exports.K.cache.customEmojiDocument(id));
271
311
  if (v != null) {
272
312
  return [await this.getTlObject([0]), v[1]];
273
313
  }
@@ -276,17 +316,17 @@ class Storage {
276
316
  }
277
317
  }
278
318
  async setUpdate(boxId, update) {
279
- await this.setTlObject(KPARTS_UPDATE(boxId, __classPrivateFieldGet(this, _Storage_instances, "m", _Storage_getUpdateId).call(this, update)), update);
319
+ await this.setTlObject(exports.K.updates.update(boxId, __classPrivateFieldGet(this, _Storage_instances, "m", _Storage_getUpdateId).call(this, update)), update);
280
320
  }
281
321
  async deleteUpdates() {
282
322
  const maybePromises = new Array();
283
- for await (const [k] of await this.getMany({ prefix: KPARTS_ALL_UPDATES })) {
323
+ for await (const [k] of await this.getMany({ prefix: exports.K.updates.all() })) {
284
324
  maybePromises.push(this.set(k, null));
285
325
  }
286
326
  await Promise.all(maybePromises.filter((v) => v instanceof Promise));
287
327
  }
288
328
  async getFirstUpdate(boxId) {
289
- for await (const [key, update] of await this.getMany({ prefix: KPARTS_UPDATES(boxId) }, { limit: 1 })) {
329
+ for await (const [key, update] of await this.getMany({ prefix: exports.K.updates.updates(boxId) }, { limit: 1 })) {
290
330
  return [key, await this.getTlObject(update).then((v) => v)];
291
331
  }
292
332
  return null;
@@ -301,28 +341,59 @@ class Storage {
301
341
  throw new Error(`${source}: not a bot client`);
302
342
  }
303
343
  }
344
+ async deleteFiles() {
345
+ if (!this.supportsFiles) {
346
+ return;
347
+ }
348
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.fileParts() })) {
349
+ await this.set(key, null);
350
+ }
351
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.files() })) {
352
+ await this.set(key, null);
353
+ }
354
+ }
355
+ async deleteCustomEmojiDocuments() {
356
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.customEmojiDocuments() })) {
357
+ await this.set(key, null);
358
+ }
359
+ }
360
+ async deleteStickerSetNames() {
361
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.stickerSetNames() })) {
362
+ await this.set(key, null);
363
+ }
364
+ }
365
+ async deletePeers() {
366
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.peers() })) {
367
+ await this.set(key, null);
368
+ }
369
+ }
370
+ async deleteUsernames() {
371
+ for await (const [key] of await this.getMany({ prefix: exports.K.cache.usernames() })) {
372
+ await this.set(key, null);
373
+ }
374
+ }
375
+ async clear() {
376
+ await Promise.all([
377
+ this.deleteMessages(),
378
+ this.removeChats(0),
379
+ this.removeChats(1),
380
+ this.deleteUpdates(),
381
+ this.deleteFiles(),
382
+ this.deleteCustomEmojiDocuments(),
383
+ this.deleteStickerSetNames(),
384
+ this.deletePeers(),
385
+ this.deleteUsernames(),
386
+ ]);
387
+ }
304
388
  }
305
389
  exports.Storage = Storage;
306
- _Storage_authKeyId = new WeakMap(), _Storage_instances = new WeakSet(), _Storage_resetAuthKeyId = async function _Storage_resetAuthKeyId(authKey) {
390
+ _Storage_authKeyId = new WeakMap(), _Storage_accountType = new WeakMap(), _Storage_instances = new WeakSet(), _Storage_resetAuthKeyId = async function _Storage_resetAuthKeyId(authKey) {
307
391
  if (authKey != null) {
308
392
  __classPrivateFieldSet(this, _Storage_authKeyId, await (0, _1_utilities_js_1.sha1)(authKey).then((hash) => (0, _1_utilities_js_1.bigIntFromBuffer)(hash.subarray(-8), true, false)), "f");
309
393
  }
310
394
  else {
311
395
  __classPrivateFieldSet(this, _Storage_authKeyId, null, "f");
312
396
  }
313
- }, _Storage_getEntityType = function _Storage_getEntityType(entity) {
314
- if (entity instanceof _2_tl_js_1.types.Channel || entity instanceof _2_tl_js_1.types.ChannelForbidden) {
315
- return "channel";
316
- }
317
- else if (entity instanceof _2_tl_js_1.types.Chat || entity instanceof _2_tl_js_1.types.ChatForbidden) {
318
- return "chat";
319
- }
320
- else if (entity instanceof _2_tl_js_1.types.User) {
321
- return "user";
322
- }
323
- else {
324
- (0, _1_utilities_js_1.UNREACHABLE)();
325
- }
326
397
  }, _Storage_getUpdateId = function _Storage_getUpdateId(update) {
327
398
  let id = BigInt(Date.now()) << 32n;
328
399
  if ("pts" in update && update.pts) {
@@ -1,9 +1,12 @@
1
- import { MaybePromise } from "../1_utilities.js";
1
+ import { CacheMap, MaybePromise } from "../1_utilities.js";
2
2
  import { GetManyFilter, Storage, StorageKeyPart } from "./0_storage.js";
3
3
  export declare class StorageMemory extends Storage implements Storage {
4
4
  #private;
5
5
  protected map: Map<string, unknown>;
6
+ protected messageMap: CacheMap<string, unknown>;
6
7
  initialize(): void;
8
+ getMap(key: readonly StorageKeyPart[]): Map<string, unknown>;
9
+ getMaps(): Map<string, unknown>[];
7
10
  branch(id: string): Storage;
8
11
  get supportsFiles(): boolean;
9
12
  get<T>(key: readonly StorageKeyPart[]): NonNullable<T> | null;
@@ -13,6 +13,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
13
13
  var _StorageMemory_instances, _StorageMemory_id, _StorageMemory_fixKey, _StorageMemory_getEntries;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.StorageMemory = void 0;
16
+ const _1_utilities_js_1 = require("../1_utilities.js");
16
17
  const _0_storage_js_1 = require("./0_storage.js");
17
18
  const _0_utilities_js_1 = require("./0_utilities.js");
18
19
  class StorageMemory extends _0_storage_js_1.Storage {
@@ -25,10 +26,27 @@ class StorageMemory extends _0_storage_js_1.Storage {
25
26
  writable: true,
26
27
  value: new Map()
27
28
  });
29
+ Object.defineProperty(this, "messageMap", {
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true,
33
+ value: new _1_utilities_js_1.CacheMap(30000)
34
+ });
28
35
  _StorageMemory_id.set(this, null);
29
36
  }
30
37
  initialize() {
31
38
  }
39
+ getMap(key) {
40
+ if (key[0] == "messages.messages") {
41
+ return this.messageMap;
42
+ }
43
+ else {
44
+ return this.map;
45
+ }
46
+ }
47
+ getMaps() {
48
+ return [this.map, this.messageMap];
49
+ }
32
50
  branch(id) {
33
51
  const storage = new StorageMemory();
34
52
  __classPrivateFieldSet(storage, _StorageMemory_id, id, "f");
@@ -39,7 +57,7 @@ class StorageMemory extends _0_storage_js_1.Storage {
39
57
  }
40
58
  get(key) {
41
59
  key = __classPrivateFieldGet(this, _StorageMemory_instances, "m", _StorageMemory_fixKey).call(this, key);
42
- return this.map.get((0, _0_utilities_js_1.toString)(key)) ?? null;
60
+ return this.getMap(key).get((0, _0_utilities_js_1.toString)(key)) ?? null;
43
61
  }
44
62
  *getMany(filter, params) {
45
63
  let entries = __classPrivateFieldGet(this, _StorageMemory_instances, "m", _StorageMemory_getEntries).call(this);
@@ -49,13 +67,13 @@ class StorageMemory extends _0_storage_js_1.Storage {
49
67
  if (params?.limit !== undefined) {
50
68
  entries = entries.slice(0, params.limit <= 0 ? 1 : params.limit);
51
69
  }
52
- for (const [key, value] of entries) {
70
+ entries: for (const [key, value] of entries) {
53
71
  const parts = (0, _0_utilities_js_1.fromString)(key);
54
72
  if (Array.isArray(parts)) {
55
73
  if ("prefix" in filter) {
56
74
  for (const [i, p] of filter.prefix.entries()) {
57
75
  if ((0, _0_utilities_js_1.toString)(p) != (0, _0_utilities_js_1.toString)(parts[i])) {
58
- continue;
76
+ continue entries;
59
77
  }
60
78
  }
61
79
  }
@@ -72,10 +90,10 @@ class StorageMemory extends _0_storage_js_1.Storage {
72
90
  key_ = __classPrivateFieldGet(this, _StorageMemory_instances, "m", _StorageMemory_fixKey).call(this, key_);
73
91
  const key = (0, _0_utilities_js_1.toString)(key_);
74
92
  if (value != null) {
75
- this.map.set(key, value);
93
+ this.getMap(key_).set(key, value);
76
94
  }
77
95
  else {
78
- this.map.delete(key);
96
+ this.getMap(key_).delete(key);
79
97
  }
80
98
  }
81
99
  incr(key, by) {
@@ -92,11 +110,13 @@ _StorageMemory_id = new WeakMap(), _StorageMemory_instances = new WeakSet(), _St
92
110
  }
93
111
  }, _StorageMemory_getEntries = function _StorageMemory_getEntries() {
94
112
  const entries = new Array();
95
- for (const entry of this.map.entries()) {
96
- if (__classPrivateFieldGet(this, _StorageMemory_id, "f") !== null && !entry[0].startsWith("__S" + __classPrivateFieldGet(this, _StorageMemory_id, "f"))) {
97
- continue;
113
+ for (const map of this.getMaps()) {
114
+ for (const entry of map.entries()) {
115
+ if (__classPrivateFieldGet(this, _StorageMemory_id, "f") !== null && !entry[0].startsWith("__S" + __classPrivateFieldGet(this, _StorageMemory_id, "f"))) {
116
+ continue;
117
+ }
118
+ entries.push(entry);
98
119
  }
99
- entries.push(entry);
100
120
  }
101
121
  return entries;
102
122
  };
@@ -1,5 +1,8 @@
1
- import { enums } from "./2_types.js";
1
+ import { enums, types } from "./2_types.js";
2
2
  export declare function getChannelChatId(channelId: bigint): number;
3
- export declare function peerToChatId(peer: enums.Peer | enums.InputPeer): number;
3
+ export type AnyEntity = types.User | types.Channel | types.ChannelForbidden | types.Chat | types.ChatForbidden;
4
+ export declare function peerToChatId(peer: enums.Peer | enums.InputPeer | AnyEntity): number;
4
5
  export declare function chatIdToPeer(chatId: number): import("./2_types.js").PeerUser_ | import("./2_types.js").PeerChat_ | import("./2_types.js").PeerChannel_;
6
+ export declare function chatIdToPeerId(chatId: number): bigint;
7
+ export declare function getChatIdPeerType(chatId: number): "chat" | "channel" | "user";
5
8
  export declare function inputPeerToPeer(inputPeer: enums.InputPeer): import("./2_types.js").PeerUser_ | import("./2_types.js").PeerChat_ | import("./2_types.js").PeerChannel_;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.inputPeerToPeer = exports.chatIdToPeer = exports.peerToChatId = exports.getChannelChatId = void 0;
3
+ exports.inputPeerToPeer = exports.getChatIdPeerType = exports.chatIdToPeerId = exports.chatIdToPeer = exports.peerToChatId = exports.getChannelChatId = void 0;
4
4
  const _1_utilities_js_1 = require("../1_utilities.js");
5
5
  const _2_types_js_1 = require("./2_types.js");
6
6
  function getChannelChatId(channelId) {
@@ -8,14 +8,14 @@ function getChannelChatId(channelId) {
8
8
  }
9
9
  exports.getChannelChatId = getChannelChatId;
10
10
  function peerToChatId(peer) {
11
- if (peer instanceof _2_types_js_1.types.PeerUser || peer instanceof _2_types_js_1.types.InputPeerUser) {
12
- return Number(peer.user_id);
11
+ if (peer instanceof _2_types_js_1.types.PeerUser || peer instanceof _2_types_js_1.types.InputPeerUser || peer instanceof _2_types_js_1.types.User) {
12
+ return Number("id" in peer ? peer.id : peer.user_id);
13
13
  }
14
- else if (peer instanceof _2_types_js_1.types.PeerChat || peer instanceof _2_types_js_1.types.InputPeerChat) {
15
- return -Number(peer.chat_id);
14
+ else if (peer instanceof _2_types_js_1.types.PeerChat || peer instanceof _2_types_js_1.types.InputPeerChat || peer instanceof _2_types_js_1.types.Chat || peer instanceof _2_types_js_1.types.ChatForbidden) {
15
+ return -Number("id" in peer ? peer.id : peer.chat_id);
16
16
  }
17
- else if (peer instanceof _2_types_js_1.types.PeerChannel || peer instanceof _2_types_js_1.types.InputPeerChannel) {
18
- return getChannelChatId(peer.channel_id);
17
+ else if (peer instanceof _2_types_js_1.types.PeerChannel || peer instanceof _2_types_js_1.types.InputPeerChannel || peer instanceof _2_types_js_1.types.Channel || peer instanceof _2_types_js_1.types.ChannelForbidden) {
18
+ return getChannelChatId("id" in peer ? peer.id : peer.channel_id);
19
19
  }
20
20
  else {
21
21
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -34,6 +34,34 @@ function chatIdToPeer(chatId) {
34
34
  }
35
35
  }
36
36
  exports.chatIdToPeer = chatIdToPeer;
37
+ function chatIdToPeerId(chatId) {
38
+ const peer = chatIdToPeer(chatId);
39
+ if ("user_id" in peer) {
40
+ return peer.user_id;
41
+ }
42
+ else if ("chat_id" in peer) {
43
+ return peer.chat_id;
44
+ }
45
+ else if ("channel_id" in peer) {
46
+ return peer.channel_id;
47
+ }
48
+ else {
49
+ (0, _1_utilities_js_1.UNREACHABLE)();
50
+ }
51
+ }
52
+ exports.chatIdToPeerId = chatIdToPeerId;
53
+ function getChatIdPeerType(chatId) {
54
+ if (chatId > 0) {
55
+ return "user";
56
+ }
57
+ else if (chatId > _1_utilities_js_1.ZERO_CHANNEL_ID) {
58
+ return "chat";
59
+ }
60
+ else {
61
+ return "channel";
62
+ }
63
+ }
64
+ exports.getChatIdPeerType = getChatIdPeerType;
37
65
  function inputPeerToPeer(inputPeer) {
38
66
  if ("user_id" in inputPeer) {
39
67
  return new _2_types_js_1.types.PeerUser(inputPeer);
@@ -1,4 +1,5 @@
1
1
  import { types } from "../2_tl.js";
2
+ /** Giveaway parameters. */
2
3
  export interface GiveawayParameters {
3
4
  boostedChatId: number;
4
5
  additionalChatIds: number[];
@@ -1,3 +1,4 @@
1
+ /** A login URL. */
1
2
  export interface LoginUrl {
2
3
  url: string;
3
4
  forwardText?: string;
@@ -1,4 +1,5 @@
1
1
  import { enums } from "../2_tl.js";
2
+ /** A mask position. */
2
3
  export interface MaskPosition {
3
4
  point: "forehead" | "eyes" | "mouth" | "chin";
4
5
  xShift: number;
@@ -0,0 +1,5 @@
1
+ /** Reference to a message. */
2
+ export interface MessageReference {
3
+ chatId: number;
4
+ messageId: number;
5
+ }
@@ -0,0 +1,6 @@
1
+ /** The necessary information to launch a mini app. */
2
+ export interface MiniAppInfo {
3
+ /** An HTTPS URL of the mini app to be opened with additional data. */
4
+ url: string;
5
+ }
6
+ export declare function constructMiniAppInfo(url: string): MiniAppInfo;