@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.
- package/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.js +5 -5
- package/esm/1_utilities.d.ts +1 -0
- package/esm/1_utilities.js +1 -0
- package/esm/3_types.d.ts +3 -3
- package/esm/3_types.js +3 -3
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_types.d.ts +1 -0
- package/esm/client/1_file_manager.js +2 -1
- package/esm/client/1_reaction_manager.js +3 -3
- package/esm/client/1_update_manager.js +10 -10
- package/esm/client/2_message_manager.d.ts +2 -0
- package/esm/client/2_message_manager.js +42 -31
- package/esm/client/3_chat_list_manager.js +1 -1
- package/esm/client/3_inline_query_manager.js +1 -1
- package/esm/client/4_client.d.ts +21 -0
- package/esm/client/4_client.js +89 -40
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +3 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +3 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
- package/esm/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
- 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
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.d.ts +1 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.214.0/path/constants.js +6 -0
- package/esm/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
- 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
- package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +3 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.js +2 -2
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
- package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +10 -0
- package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/separator.js +11 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.d.ts +1 -2
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.214.0/path/windows/constants.js +5 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.js +2 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +10 -0
- package/esm/storage/0_storage.d.ts +63 -11
- package/esm/storage/0_storage.js +159 -88
- package/esm/storage/1_storage_memory.d.ts +4 -1
- package/esm/storage/1_storage_memory.js +29 -9
- package/esm/tl/3_utilities.d.ts +5 -2
- package/esm/tl/3_utilities.js +32 -6
- package/esm/types/0_giveaway_parameters.d.ts +1 -0
- package/esm/types/0_login_url.d.ts +1 -0
- package/esm/types/0_mask_position.d.ts +1 -0
- package/esm/types/0_message_reference.d.ts +5 -0
- package/esm/types/0_mini_app_info.d.ts +6 -0
- package/esm/types/0_mini_app_info.js +3 -0
- package/esm/types/0_network_statistics_entry.d.ts +1 -0
- package/esm/types/0_poll_option.d.ts +1 -0
- package/esm/types/0_price_tag.d.ts +5 -0
- package/esm/types/0_reaction.d.ts +1 -0
- package/esm/types/0_restriction_reason.d.ts +1 -0
- package/esm/types/1_giveaway.d.ts +1 -0
- package/esm/types/1_inline_query_result_button.d.ts +3 -2
- package/esm/types/1_input_message_content.d.ts +3 -2
- package/esm/types/1_keyboard_button.d.ts +5 -4
- package/esm/types/1_keyboard_button.js +3 -3
- package/esm/types/1_network_statistics.d.ts +1 -0
- package/esm/types/1_poll.d.ts +1 -0
- package/esm/types/1_reaction_count.d.ts +1 -0
- package/esm/types/1_reply_quote.d.ts +1 -0
- package/esm/types/1_sticker.d.ts +1 -0
- package/esm/types/2_chat_member.d.ts +1 -0
- package/esm/types/2_chosen_inline_result.d.ts +1 -0
- package/esm/types/2_game.d.ts +1 -0
- package/esm/types/2_inline_keyboard_button.d.ts +4 -4
- package/esm/types/2_inline_keyboard_button.js +4 -4
- package/esm/types/2_inline_query.d.ts +1 -0
- package/esm/types/2_message_interactions.d.ts +1 -0
- package/esm/types/2_message_reaction_count.d.ts +1 -0
- package/esm/types/2_message_reactions.d.ts +1 -0
- package/esm/types/3_chat_member_updated.d.ts +1 -0
- package/esm/types/3_reply_markup.d.ts +1 -0
- package/esm/types/4_inline_query_result.d.ts +2 -1
- package/esm/types/4_inline_query_result.js +1 -1
- package/esm/types/4_message.d.ts +2 -1
- package/esm/types/4_message.js +2 -2
- package/esm/types/5_callback_query.d.ts +1 -0
- package/esm/types/5_callback_query.js +17 -2
- package/esm/types/6_update.d.ts +3 -3
- package/esm/utilities/0_cache_map.d.ts +6 -0
- package/esm/utilities/0_cache_map.js +30 -0
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +5 -5
- package/script/1_utilities.d.ts +1 -0
- package/script/1_utilities.js +1 -0
- package/script/3_types.d.ts +3 -3
- package/script/3_types.js +3 -3
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_types.d.ts +1 -0
- package/script/client/1_file_manager.js +2 -1
- package/script/client/1_reaction_manager.js +3 -3
- package/script/client/1_update_manager.js +10 -10
- package/script/client/2_message_manager.d.ts +2 -0
- package/script/client/2_message_manager.js +41 -30
- package/script/client/3_chat_list_manager.js +1 -1
- package/script/client/3_inline_query_manager.js +1 -1
- package/script/client/4_client.d.ts +21 -0
- package/script/client/4_client.js +88 -39
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +4 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +4 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
- package/script/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
- 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
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
- 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
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
- package/script/deps/deno.land/std@0.214.0/path/constants.js +9 -0
- package/script/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
- package/script/deps/deno.land/std@0.214.0/path/posix/common.d.ts +13 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
- package/script/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +4 -3
- package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/join_globs.js +2 -2
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
- package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +13 -0
- package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/separator.js +6 -0
- package/script/deps/deno.land/std@0.214.0/path/windows/common.d.ts +13 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
- package/script/deps/deno.land/{std@0.212.0/path/windows/separator.js → std@0.214.0/path/windows/constants.js} +4 -3
- package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/join_globs.js +2 -2
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
- package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +13 -0
- package/script/storage/0_storage.d.ts +63 -11
- package/script/storage/0_storage.js +159 -88
- package/script/storage/1_storage_memory.d.ts +4 -1
- package/script/storage/1_storage_memory.js +29 -9
- package/script/tl/3_utilities.d.ts +5 -2
- package/script/tl/3_utilities.js +35 -7
- package/script/types/0_giveaway_parameters.d.ts +1 -0
- package/script/types/0_login_url.d.ts +1 -0
- package/script/types/0_mask_position.d.ts +1 -0
- package/script/types/0_message_reference.d.ts +5 -0
- package/script/types/0_mini_app_info.d.ts +6 -0
- package/script/types/0_mini_app_info.js +7 -0
- package/script/types/0_network_statistics_entry.d.ts +1 -0
- package/script/types/0_poll_option.d.ts +1 -0
- package/script/types/0_price_tag.d.ts +5 -0
- package/script/types/0_reaction.d.ts +1 -0
- package/script/types/0_restriction_reason.d.ts +1 -0
- package/script/types/1_giveaway.d.ts +1 -0
- package/script/types/1_inline_query_result_button.d.ts +3 -2
- package/script/types/1_input_message_content.d.ts +3 -2
- package/script/types/1_keyboard_button.d.ts +5 -4
- package/script/types/1_keyboard_button.js +3 -3
- package/script/types/1_network_statistics.d.ts +1 -0
- package/script/types/1_poll.d.ts +1 -0
- package/script/types/1_reaction_count.d.ts +1 -0
- package/script/types/1_reply_quote.d.ts +1 -0
- package/script/types/1_sticker.d.ts +1 -0
- package/script/types/2_chat_member.d.ts +1 -0
- package/script/types/2_chosen_inline_result.d.ts +1 -0
- package/script/types/2_game.d.ts +1 -0
- package/script/types/2_inline_keyboard_button.d.ts +4 -4
- package/script/types/2_inline_keyboard_button.js +4 -4
- package/script/types/2_inline_query.d.ts +1 -0
- package/script/types/2_message_interactions.d.ts +1 -0
- package/script/types/2_message_reaction_count.d.ts +1 -0
- package/script/types/2_message_reactions.d.ts +1 -0
- package/script/types/3_chat_member_updated.d.ts +1 -0
- package/script/types/3_reply_markup.d.ts +1 -0
- package/script/types/4_inline_query_result.d.ts +2 -1
- package/script/types/4_inline_query_result.js +1 -1
- package/script/types/4_message.d.ts +2 -1
- package/script/types/4_message.js +2 -2
- package/script/types/5_callback_query.d.ts +1 -0
- package/script/types/5_callback_query.js +17 -1
- package/script/types/6_update.d.ts +3 -3
- package/script/utilities/0_cache_map.d.ts +6 -0
- package/script/utilities/0_cache_map.js +34 -0
- package/esm/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
- package/esm/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
- package/esm/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/separator.js +0 -5
- package/esm/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/windows/separator.js +0 -4
- package/esm/types/0_labeled_price.d.ts +0 -4
- package/esm/types/0_message_identifier.d.ts +0 -4
- package/esm/types/0_web_app_info.d.ts +0 -5
- package/esm/types/0_web_app_info.js +0 -3
- package/script/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
- package/script/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
- package/script/deps/deno.land/std@0.212.0/path/posix/common.d.ts +0 -14
- package/script/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.212.0/path/windows/common.d.ts +0 -14
- package/script/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
- package/script/types/0_labeled_price.d.ts +0 -4
- package/script/types/0_message_identifier.d.ts +0 -4
- package/script/types/0_web_app_info.d.ts +0 -5
- package/script/types/0_web_app_info.js +0 -7
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
- /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
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
- /package/esm/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
- /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
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
- /package/script/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
package/esm/0_deps.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
export { contentType } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.214.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.214.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.214.0/encoding/base64.js";
|
|
4
|
+
export { contentType } from "./deps/deno.land/std@0.214.0/media_types/content_type.js";
|
|
5
5
|
export declare function extension(mimeType: string): string;
|
|
6
6
|
export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
|
|
7
7
|
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
|
package/esm/0_deps.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
export { contentType } from "./deps/deno.land/std@0.
|
|
5
|
-
import { extension as extension_ } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.214.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.214.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.214.0/encoding/base64.js";
|
|
4
|
+
export { contentType } from "./deps/deno.land/std@0.214.0/media_types/content_type.js";
|
|
5
|
+
import { extension as extension_ } from "./deps/deno.land/std@0.214.0/media_types/extension.js";
|
|
6
6
|
export function extension(mimeType) {
|
|
7
7
|
if (mimeType == "application/x-tgsticker") {
|
|
8
8
|
return "tgs";
|
package/esm/1_utilities.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./utilities/1_base64.js";
|
|
2
2
|
export * from "./utilities/0_bigint.js";
|
|
3
3
|
export * from "./utilities/0_buffer.js";
|
|
4
|
+
export * from "./utilities/0_cache_map.js";
|
|
4
5
|
export * from "./utilities/0_color.js";
|
|
5
6
|
export * from "./utilities/0_control.js";
|
|
6
7
|
export * from "./utilities/0_crypto.js";
|
package/esm/1_utilities.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./utilities/1_base64.js";
|
|
2
2
|
export * from "./utilities/0_bigint.js";
|
|
3
3
|
export * from "./utilities/0_buffer.js";
|
|
4
|
+
export * from "./utilities/0_cache_map.js";
|
|
4
5
|
export * from "./utilities/0_color.js";
|
|
5
6
|
export * from "./utilities/0_control.js";
|
|
6
7
|
export * from "./utilities/0_crypto.js";
|
package/esm/3_types.d.ts
CHANGED
|
@@ -12,21 +12,21 @@ export * from "./types/0_file_source.js";
|
|
|
12
12
|
export * from "./types/0_giveaway_parameters.js";
|
|
13
13
|
export * from "./types/0_id.js";
|
|
14
14
|
export * from "./types/0_keyboard_button_poll_type.js";
|
|
15
|
-
export * from "./types/0_labeled_price.js";
|
|
16
15
|
export * from "./types/0_location.js";
|
|
17
16
|
export * from "./types/0_login_url.js";
|
|
18
17
|
export * from "./types/0_mask_position.js";
|
|
19
18
|
export * from "./types/0_message_entity.js";
|
|
20
|
-
export * from "./types/
|
|
19
|
+
export * from "./types/0_message_reference.js";
|
|
20
|
+
export * from "./types/0_mini_app_info.js";
|
|
21
21
|
export * from "./types/0_network_statistics_entry.js";
|
|
22
22
|
export * from "./types/0_parse_mode.js";
|
|
23
23
|
export * from "./types/0_poll_option.js";
|
|
24
|
+
export * from "./types/0_price_tag.js";
|
|
24
25
|
export * from "./types/0_reaction.js";
|
|
25
26
|
export * from "./types/0_restriction_reason.js";
|
|
26
27
|
export * from "./types/0_thumbnail.js";
|
|
27
28
|
export * from "./types/0_venue.js";
|
|
28
29
|
export * from "./types/0_voice.js";
|
|
29
|
-
export * from "./types/0_web_app_info.js";
|
|
30
30
|
export * from "./types/1_animation.js";
|
|
31
31
|
export * from "./types/1_audio.js";
|
|
32
32
|
export * from "./types/1_bot_command_scope.js";
|
package/esm/3_types.js
CHANGED
|
@@ -12,21 +12,21 @@ export * from "./types/0_file_source.js";
|
|
|
12
12
|
export * from "./types/0_giveaway_parameters.js";
|
|
13
13
|
export * from "./types/0_id.js";
|
|
14
14
|
export * from "./types/0_keyboard_button_poll_type.js";
|
|
15
|
-
export * from "./types/0_labeled_price.js";
|
|
16
15
|
export * from "./types/0_location.js";
|
|
17
16
|
export * from "./types/0_login_url.js";
|
|
18
17
|
export * from "./types/0_mask_position.js";
|
|
19
18
|
export * from "./types/0_message_entity.js";
|
|
20
|
-
export * from "./types/
|
|
19
|
+
export * from "./types/0_message_reference.js";
|
|
20
|
+
export * from "./types/0_mini_app_info.js";
|
|
21
21
|
export * from "./types/0_network_statistics_entry.js";
|
|
22
22
|
export * from "./types/0_parse_mode.js";
|
|
23
23
|
export * from "./types/0_poll_option.js";
|
|
24
|
+
export * from "./types/0_price_tag.js";
|
|
24
25
|
export * from "./types/0_reaction.js";
|
|
25
26
|
export * from "./types/0_restriction_reason.js";
|
|
26
27
|
export * from "./types/0_thumbnail.js";
|
|
27
28
|
export * from "./types/0_venue.js";
|
|
28
29
|
export * from "./types/0_voice.js";
|
|
29
|
-
export * from "./types/0_web_app_info.js";
|
|
30
30
|
export * from "./types/1_animation.js";
|
|
31
31
|
export * from "./types/1_audio.js";
|
|
32
32
|
export * from "./types/1_bot_command_scope.js";
|
package/esm/4_constants.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
|
|
|
4
4
|
export declare const PUBLIC_KEYS: PublicKeys;
|
|
5
5
|
export declare const INITIAL_DC: DC;
|
|
6
6
|
export declare const LAYER = 172;
|
|
7
|
-
export declare const APP_VERSION = "MTKruto 0.1.
|
|
7
|
+
export declare const APP_VERSION = "MTKruto 0.1.148";
|
|
8
8
|
export declare const DEVICE_MODEL: string;
|
|
9
9
|
export declare const LANG_CODE: string;
|
|
10
10
|
export declare const LANG_PACK = "";
|
package/esm/4_constants.js
CHANGED
|
@@ -53,7 +53,7 @@ export const PUBLIC_KEYS = Object.freeze([
|
|
|
53
53
|
]);
|
|
54
54
|
export const INITIAL_DC = "2";
|
|
55
55
|
export const LAYER = 172;
|
|
56
|
-
export const APP_VERSION = "MTKruto 0.1.
|
|
56
|
+
export const APP_VERSION = "MTKruto 0.1.148";
|
|
57
57
|
// @ts-ignore: lib
|
|
58
58
|
export const DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
|
|
59
59
|
export const LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
|
package/esm/client/0_types.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ export class FileManager {
|
|
|
156
156
|
const documents = new Array();
|
|
157
157
|
let shouldFetch = false;
|
|
158
158
|
for (const [i, id_] of id.entries()) {
|
|
159
|
-
const maybeDocument = await __classPrivateFieldGet(this, _FileManager_c, "f").
|
|
159
|
+
const maybeDocument = await __classPrivateFieldGet(this, _FileManager_c, "f").messageStorage.getCustomEmojiDocument(BigInt(id_));
|
|
160
160
|
if (maybeDocument != null && Date.now() - maybeDocument[1].getTime() <= 30 * 60 * 1000) {
|
|
161
161
|
const document_ = maybeDocument[0];
|
|
162
162
|
const fileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: document_.id }).encode();
|
|
@@ -178,6 +178,7 @@ export class FileManager {
|
|
|
178
178
|
}
|
|
179
179
|
const documents_ = await __classPrivateFieldGet(this, _FileManager_c, "f").api.messages.getCustomEmojiDocuments({ document_id: id.map(BigInt) }).then((v) => v.map((v) => v[as](types.Document)));
|
|
180
180
|
for (const [i, document_] of documents_.entries()) {
|
|
181
|
+
await __classPrivateFieldGet(this, _FileManager_c, "f").messageStorage.setCustomEmojiDocument(document_.id, document_);
|
|
181
182
|
const fileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: document_.id }).encode();
|
|
182
183
|
const fileId = new FileID(null, null, FileType.Document, document_.dc_id, {
|
|
183
184
|
mediaId: document_.id,
|
|
@@ -42,10 +42,10 @@ export class ReactionManager {
|
|
|
42
42
|
}
|
|
43
43
|
else if (update instanceof types.UpdateMessageReactions) {
|
|
44
44
|
const chatId = peerToChatId(update.peer);
|
|
45
|
-
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
45
|
+
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.getMessage(chatId, update.msg_id);
|
|
46
46
|
if (message instanceof types.Message) {
|
|
47
47
|
message.reactions = update.reactions;
|
|
48
|
-
await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
48
|
+
await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.setMessage(chatId, update.msg_id, message);
|
|
49
49
|
const views = message.views ?? 0;
|
|
50
50
|
const forwards = message.forwards ?? 0;
|
|
51
51
|
const recentReactions = update.reactions.recent_reactions ?? [];
|
|
@@ -58,7 +58,7 @@ export class ReactionManager {
|
|
|
58
58
|
}
|
|
59
59
|
else if (update instanceof types.UpdateChannelMessageViews || update instanceof types.UpdateChannelMessageForwards) {
|
|
60
60
|
const chatId = peerToChatId(new types.PeerChannel(update));
|
|
61
|
-
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
61
|
+
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.getMessage(chatId, update.id);
|
|
62
62
|
if (message instanceof types.Message) {
|
|
63
63
|
if ("views" in update) {
|
|
64
64
|
message.views = update.views;
|
|
@@ -44,16 +44,16 @@ export class UpdateManager {
|
|
|
44
44
|
async processChats(chats) {
|
|
45
45
|
for (const chat of chats) {
|
|
46
46
|
if (chat instanceof types.Channel || chat instanceof types.ChannelForbidden) {
|
|
47
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
47
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(chat);
|
|
48
48
|
if ("username" in chat && chat.username) {
|
|
49
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
49
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames(peerToChatId(chat), [chat.username]);
|
|
50
50
|
}
|
|
51
51
|
if ("usernames" in chat && chat.usernames) {
|
|
52
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
52
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames(peerToChatId(chat), chat.usernames.map((v) => v.username));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
else if (chat instanceof types.Chat || chat instanceof types.ChatForbidden) {
|
|
56
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
56
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(chat);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -101,7 +101,7 @@ export class UpdateManager {
|
|
|
101
101
|
if ("messages" in result) {
|
|
102
102
|
for (const message of result.messages) {
|
|
103
103
|
if (message instanceof types.Message || message instanceof types.MessageService) {
|
|
104
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
104
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMessage(peerToChatId(message.peer_id), message.id, message);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -109,7 +109,7 @@ export class UpdateManager {
|
|
|
109
109
|
if (result instanceof types.messages.Messages) {
|
|
110
110
|
for (const message of result.messages) {
|
|
111
111
|
if (message instanceof types.Message || message instanceof types.MessageService) {
|
|
112
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
112
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMessage(peerToChatId(message.peer_id), message.id, message);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -117,12 +117,12 @@ export class UpdateManager {
|
|
|
117
117
|
async processUsers(users) {
|
|
118
118
|
for (const user of users) {
|
|
119
119
|
if (user instanceof types.User && user.access_hash) {
|
|
120
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
120
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(user);
|
|
121
121
|
if (user.username) {
|
|
122
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
122
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames(peerToChatId(user), [user.username]);
|
|
123
123
|
}
|
|
124
124
|
if (user.usernames) {
|
|
125
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
125
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames(peerToChatId(user), user.usernames.map((v) => v.username));
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -169,7 +169,7 @@ export class UpdateManager {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
else if (difference instanceof types.updates.DifferenceTooLong) {
|
|
172
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
172
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.deleteMessages();
|
|
173
173
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(0);
|
|
174
174
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(1);
|
|
175
175
|
state.pts = difference.pts;
|
|
@@ -37,7 +37,9 @@ export declare class MessageManager {
|
|
|
37
37
|
sendPhoto(chatId: ID, photo: FileSource, params?: SendPhotoParams): Promise<import("../3_types.js").MessagePhoto>;
|
|
38
38
|
sendPoll(chatId: ID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<import("../3_types.js").MessagePoll>;
|
|
39
39
|
editMessageReplyMarkup(chatId: ID, messageId: number, params?: EditMessageReplyMarkupParams): Promise<import("../3_types.js").MessageText | import("../3_types.js").MessagePhoto | import("../3_types.js").MessageDocument | import("../3_types.js").MessageVideo | import("../3_types.js").MessageSticker | import("../3_types.js").MessageAnimation | import("../3_types.js").MessageVoice | import("../3_types.js").MessageAudio | import("../3_types.js").MessageDice | import("../3_types.js").MessageVideoNote | import("../3_types.js").MessageContact | import("../3_types.js").MessageGame | import("../3_types.js").MessagePoll | import("../3_types.js").MessageVenue | import("../3_types.js").MessageLocation | import("../3_types.js").MessageNewChatMembers | import("../3_types.js").MessageLeftChatMember | import("../3_types.js").MessageNewChatTitle | import("../3_types.js").MessageNewChatPhoto | import("../3_types.js").MessageDeletedChatPhoto | import("../3_types.js").MessageGroupCreated | import("../3_types.js").MessageSupergroupCreated | import("../3_types.js").MessageChannelCreated | import("../3_types.js").MessageAutoDeleteTimerChanged | import("../3_types.js").MessageChatMigratedTo | import("../3_types.js").MessageChatMigratedFrom | import("../3_types.js").MessagePinnedMessage | import("../3_types.js").MessageUserShared | import("../3_types.js").MessageWriteAccessAllowed | import("../3_types.js").MessageForumTopicCreated | import("../3_types.js").MessageForumTopicEdited | import("../3_types.js").MessageForumTopicClosed | import("../3_types.js").MessageForumTopicReopened | import("../3_types.js").MessageVideoChatScheduled | import("../3_types.js").MessageVideoChatStarted | import("../3_types.js").MessageVideoChatEnded | import("../3_types.js").MessageGiveaway | import("../3_types.js").MessageUnsupported>;
|
|
40
|
+
editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams): Promise<void>;
|
|
40
41
|
editMessageText(chatId: ID, messageId: number, text: string, params?: EditMessageParams): Promise<import("../3_types.js").MessageText>;
|
|
42
|
+
editInlineMessageText(inlineMessageId: string, text: string, params?: EditMessageParams): Promise<void>;
|
|
41
43
|
deleteMessages(chatId: ID, messageIds: number[], params?: DeleteMessagesParams): Promise<void>;
|
|
42
44
|
deleteChatMemberMessages(chatId: ID, memberId: ID): Promise<void>;
|
|
43
45
|
pinMessage(chatId: ID, messageId: number, params?: PinMessageParams): Promise<void>;
|
|
@@ -14,7 +14,7 @@ import { contentType, debug } from "../0_deps.js";
|
|
|
14
14
|
import { getRandomId, toUnixTimestamp, UNREACHABLE } from "../1_utilities.js";
|
|
15
15
|
import { as, getChannelChatId, peerToChatId, types } from "../2_tl.js";
|
|
16
16
|
import { constructChatMemberUpdated } from "../3_types.js";
|
|
17
|
-
import { assertMessageType, chatMemberRightsToTlObject, constructChatMember, constructMessage as constructMessage_, FileID, FileType, messageEntityToTlObject, reactionEqual, reactionToTlObject, replyMarkupToTlObject } from "../3_types.js";
|
|
17
|
+
import { assertMessageType, chatMemberRightsToTlObject, constructChatMember, constructMessage as constructMessage_, deserializeInlineMessageId, FileID, FileType, messageEntityToTlObject, reactionEqual, reactionToTlObject, replyMarkupToTlObject } from "../3_types.js";
|
|
18
18
|
import { STICKER_SET_NAME_TTL } from "../4_constants.js";
|
|
19
19
|
import { parseHtml } from "./0_html.js";
|
|
20
20
|
import { getFileContents, isHttpUrl } from "./0_utilities.js";
|
|
@@ -40,7 +40,7 @@ export class MessageManager {
|
|
|
40
40
|
const chatId_ = peerToChatId(peer);
|
|
41
41
|
let shouldFetch = false;
|
|
42
42
|
for (const messageId of messageIds) {
|
|
43
|
-
const message = await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
43
|
+
const message = await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.getMessage(chatId_, messageId);
|
|
44
44
|
if (message == null) {
|
|
45
45
|
messages_ = [];
|
|
46
46
|
shouldFetch = true;
|
|
@@ -105,14 +105,14 @@ export class MessageManager {
|
|
|
105
105
|
return [text, entities];
|
|
106
106
|
}
|
|
107
107
|
async getStickerSetName(inputStickerSet, hash = 0) {
|
|
108
|
-
const maybeStickerSetName = await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
108
|
+
const maybeStickerSetName = await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.getStickerSetName(inputStickerSet.id, inputStickerSet.access_hash);
|
|
109
109
|
if (maybeStickerSetName != null && Date.now() - maybeStickerSetName[1].getTime() < STICKER_SET_NAME_TTL) {
|
|
110
110
|
return maybeStickerSetName[0];
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
113
|
const stickerSet = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.getStickerSet({ stickerset: inputStickerSet, hash });
|
|
114
114
|
const name = stickerSet[as](types.messages.StickerSet).set.short_name;
|
|
115
|
-
await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
115
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.updateStickerSetName(inputStickerSet.id, inputStickerSet.access_hash, name);
|
|
116
116
|
return name;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -148,33 +148,26 @@ export class MessageManager {
|
|
|
148
148
|
}
|
|
149
149
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
150
150
|
const messages = new Array();
|
|
151
|
-
|
|
151
|
+
if (messages.length > 0) {
|
|
152
|
+
offsetId = messages[messages.length - 1].id; // TODO: track id of oldest message and don't send requests for it
|
|
153
|
+
}
|
|
154
|
+
const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.getHistory({
|
|
155
|
+
peer: peer,
|
|
156
|
+
offset_id: offsetId,
|
|
157
|
+
offset_date: 0,
|
|
158
|
+
add_offset: 0,
|
|
159
|
+
limit,
|
|
160
|
+
max_id: 0,
|
|
161
|
+
min_id: 0,
|
|
162
|
+
hash: 0n,
|
|
163
|
+
});
|
|
164
|
+
if (!("messages" in result)) {
|
|
165
|
+
UNREACHABLE();
|
|
166
|
+
}
|
|
167
|
+
for (const message_ of result.messages) {
|
|
152
168
|
const message = await this.constructMessage(message_, false);
|
|
153
169
|
messages.push(message);
|
|
154
170
|
}
|
|
155
|
-
if (messages.length < limit) {
|
|
156
|
-
d("have only %d messages but need %d more", messages.length, limit - messages.length);
|
|
157
|
-
if (messages.length > 0) {
|
|
158
|
-
offsetId = messages[messages.length - 1].id; // TODO: track id of oldest message and don't send requests for it
|
|
159
|
-
}
|
|
160
|
-
const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.getHistory({
|
|
161
|
-
peer: peer,
|
|
162
|
-
offset_id: offsetId,
|
|
163
|
-
offset_date: 0,
|
|
164
|
-
add_offset: 0,
|
|
165
|
-
limit,
|
|
166
|
-
max_id: 0,
|
|
167
|
-
min_id: 0,
|
|
168
|
-
hash: 0n,
|
|
169
|
-
});
|
|
170
|
-
if (!("messages" in result)) {
|
|
171
|
-
UNREACHABLE();
|
|
172
|
-
}
|
|
173
|
-
for (const message_ of result.messages) {
|
|
174
|
-
const message = await this.constructMessage(message_, false);
|
|
175
|
-
messages.push(message);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
171
|
return messages;
|
|
179
172
|
}
|
|
180
173
|
async sendMessage(chatId, text, params) {
|
|
@@ -453,6 +446,13 @@ export class MessageManager {
|
|
|
453
446
|
const message_ = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
454
447
|
return message_;
|
|
455
448
|
}
|
|
449
|
+
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
450
|
+
const id = deserializeInlineMessageId(inlineMessageId);
|
|
451
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.editInlineBotMessage({
|
|
452
|
+
id,
|
|
453
|
+
reply_markup: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyMarkup).call(this, params),
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
456
|
async editMessageText(chatId, messageId, text, params) {
|
|
457
457
|
const [message, entities] = await this.parseText(text, params);
|
|
458
458
|
const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.editMessage({
|
|
@@ -466,6 +466,17 @@ export class MessageManager {
|
|
|
466
466
|
const message_ = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
467
467
|
return assertMessageType(message_, "text");
|
|
468
468
|
}
|
|
469
|
+
async editInlineMessageText(inlineMessageId, text, params) {
|
|
470
|
+
const [message, entities] = await this.parseText(text, params);
|
|
471
|
+
const id = deserializeInlineMessageId(inlineMessageId);
|
|
472
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.editInlineBotMessage({
|
|
473
|
+
id,
|
|
474
|
+
entities,
|
|
475
|
+
message,
|
|
476
|
+
no_webpage: params?.disableWebPagePreview ? true : undefined,
|
|
477
|
+
reply_markup: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyMarkup).call(this, params),
|
|
478
|
+
});
|
|
479
|
+
}
|
|
469
480
|
async deleteMessages(chatId, messageIds, params) {
|
|
470
481
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
471
482
|
if (peer instanceof types.InputPeerChannel) {
|
|
@@ -545,7 +556,7 @@ export class MessageManager {
|
|
|
545
556
|
if (update instanceof types.UpdateNewMessage || update instanceof types.UpdateNewChannelMessage || update instanceof types.UpdateEditMessage || update instanceof types.UpdateEditChannelMessage) {
|
|
546
557
|
if (update.message instanceof types.Message || update.message instanceof types.MessageService) {
|
|
547
558
|
const chatId = peerToChatId(update.message.peer_id);
|
|
548
|
-
await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
559
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.setMessage(chatId, update.message.id, update.message);
|
|
549
560
|
}
|
|
550
561
|
}
|
|
551
562
|
if (update instanceof types.UpdateNewMessage ||
|
|
@@ -572,7 +583,7 @@ export class MessageManager {
|
|
|
572
583
|
if (update instanceof types.UpdateDeleteMessages) {
|
|
573
584
|
const deletedMessages = new Array();
|
|
574
585
|
for (const messageId of update.messages) {
|
|
575
|
-
const chatId = await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
586
|
+
const chatId = await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.getMessageChat(messageId);
|
|
576
587
|
if (chatId) {
|
|
577
588
|
deletedMessages.push({ chatId, messageId });
|
|
578
589
|
}
|
|
@@ -585,7 +596,7 @@ export class MessageManager {
|
|
|
585
596
|
const chatId = getChannelChatId(update.channel_id);
|
|
586
597
|
const deletedMessages = new Array();
|
|
587
598
|
for (const messageId of update.messages) {
|
|
588
|
-
const message = await __classPrivateFieldGet(this, _MessageManager_c, "f").
|
|
599
|
+
const message = await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.getMessage(chatId, messageId);
|
|
589
600
|
if (message != null) {
|
|
590
601
|
deletedMessages.push({ chatId, messageId });
|
|
591
602
|
}
|
|
@@ -40,7 +40,7 @@ export class ChatListManager {
|
|
|
40
40
|
if (!chat && !add) {
|
|
41
41
|
return () => Promise.resolve();
|
|
42
42
|
}
|
|
43
|
-
const message_ = await __classPrivateFieldGet(this, _ChatListManager_c, "f").
|
|
43
|
+
const message_ = await __classPrivateFieldGet(this, _ChatListManager_c, "f").messageStorage.getLastMessage(chatId);
|
|
44
44
|
if (message_ != null) {
|
|
45
45
|
const message = await __classPrivateFieldGet(this, _ChatListManager_c, "f").messageManager.constructMessage(message_);
|
|
46
46
|
if (chat) {
|
|
@@ -25,7 +25,7 @@ export class InlineQueryManager {
|
|
|
25
25
|
results: await Promise.all(results.map((v) => inlineQueryResultToTlObject(v, __classPrivateFieldGet(this, _InlineQueryManager_c, "f").messageManager.parseText.bind(__classPrivateFieldGet(this, _InlineQueryManager_c, "f").messageManager), __classPrivateFieldGet(this, _InlineQueryManager_c, "f").messageManager.usernameResolver.bind(__classPrivateFieldGet(this, _InlineQueryManager_c, "f").messageManager)))),
|
|
26
26
|
cache_time: params?.cacheTime ?? 300,
|
|
27
27
|
private: params?.isPersonal ? true : undefined,
|
|
28
|
-
switch_webview: params?.button && params.button.
|
|
28
|
+
switch_webview: params?.button && params.button.miniApp ? new types.InlineBotWebView({ text: params.button.text, url: params.button.miniApp.url }) : undefined,
|
|
29
29
|
switch_pm: params?.button && params.button.startParameter ? new types.InlineBotSwitchPM({ text: params.button.text, start_param: params.button.startParameter }) : undefined,
|
|
30
30
|
gallery: params?.isGallery ? true : undefined,
|
|
31
31
|
next_offset: params?.nextOffset,
|
package/esm/client/4_client.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export interface Context {
|
|
|
82
82
|
sendChatAction: (action: ChatAction, params?: {
|
|
83
83
|
messageThreadId?: number;
|
|
84
84
|
}) => Promise<void>;
|
|
85
|
+
editInlineMessageText: (text: string, params?: EditMessageParams) => Promise<void>;
|
|
86
|
+
editInlineMessageReplyMarkup: (params?: EditMessageReplyMarkupParams) => Promise<void>;
|
|
85
87
|
/** Edit a message in the chat which the message was received from. */
|
|
86
88
|
editMessageText: (messageId: number, text: string, params?: EditMessageParams) => Promise<MessageText>;
|
|
87
89
|
/** Edit the reply markup of a message in the chat which the message was received from. */
|
|
@@ -128,6 +130,7 @@ export interface Context {
|
|
|
128
130
|
kickChatMember: (memberId: ID) => Promise<void>;
|
|
129
131
|
/** Set the rights of a member of the chat which the message was received from. */
|
|
130
132
|
setChatMemberRights: (memberId: ID, params?: SetChatMemberRightsParams) => Promise<void>;
|
|
133
|
+
/** Delete all messages sent by a specific member of the chat which the message was received from. */
|
|
131
134
|
deleteChatMemberMessages: (userId: ID) => Promise<void>;
|
|
132
135
|
toJSON: () => Update;
|
|
133
136
|
}
|
|
@@ -160,12 +163,15 @@ export interface ClientParams extends ClientPlainParams {
|
|
|
160
163
|
guaranteeUpdateDelivery?: boolean;
|
|
161
164
|
/** Whether to not handle updates received when the client was not running. Defaults to `true` for bots, and `false` for users. */
|
|
162
165
|
dropPendingUpdates?: boolean;
|
|
166
|
+
/** Whether to store messages. Defaults to `false`. */
|
|
167
|
+
storeMessages?: boolean;
|
|
163
168
|
}
|
|
164
169
|
export declare class Client<C extends Context = Context> extends ClientAbstract {
|
|
165
170
|
#private;
|
|
166
171
|
readonly apiId: number | null;
|
|
167
172
|
readonly apiHash: string | null;
|
|
168
173
|
readonly storage: Storage;
|
|
174
|
+
readonly messageStorage: Storage;
|
|
169
175
|
readonly appVersion: string;
|
|
170
176
|
readonly deviceModel: string;
|
|
171
177
|
readonly langCode: string;
|
|
@@ -268,6 +274,14 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
|
|
|
268
274
|
* @returns The edited text message.
|
|
269
275
|
*/
|
|
270
276
|
editMessageText(chatId: ID, messageId: number, text: string, params?: EditMessageParams): Promise<MessageText>;
|
|
277
|
+
/**
|
|
278
|
+
* Edit an inline message's text.
|
|
279
|
+
*
|
|
280
|
+
* @method
|
|
281
|
+
* @param inlineMessageId The inline message's identifier.
|
|
282
|
+
* @param text The new text of the message.
|
|
283
|
+
*/
|
|
284
|
+
editInlineMessageText(inlineMessageId: string, text: string, params?: EditMessageParams): Promise<void>;
|
|
271
285
|
/**
|
|
272
286
|
* Edit a message's reply markup.
|
|
273
287
|
*
|
|
@@ -277,6 +291,13 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
|
|
|
277
291
|
* @returns The edited message.
|
|
278
292
|
*/
|
|
279
293
|
editMessageReplyMarkup(chatId: ID, messageId: number, params?: EditMessageReplyMarkupParams): Promise<Message>;
|
|
294
|
+
/**
|
|
295
|
+
* Edit an inline message's reply markup.
|
|
296
|
+
*
|
|
297
|
+
* @method
|
|
298
|
+
* @param inlineMessageId The inline message's identifier.
|
|
299
|
+
*/
|
|
300
|
+
editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams): Promise<void>;
|
|
280
301
|
/**
|
|
281
302
|
* Retrieve multiple messages.
|
|
282
303
|
*
|