@mtkruto/node 0.1.153 → 0.1.156
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 +6 -8
- package/esm/0_deps.js +14 -9
- package/esm/1_utilities.d.ts +3 -1
- package/esm/1_utilities.js +3 -1
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +4 -4
- package/esm/4_errors.d.ts +1 -1
- package/esm/5_client.d.ts +0 -1
- package/esm/5_client.js +0 -1
- package/esm/client/0_params.d.ts +33 -1
- package/esm/client/0_password.d.ts +2 -2
- package/esm/client/0_types.d.ts +2 -0
- package/esm/client/1_composer.d.ts +3 -3
- package/esm/client/1_file_manager.js +12 -10
- package/esm/client/1_update_manager.js +27 -20
- package/esm/client/2_client_plain.d.ts +1 -4
- package/esm/client/2_client_plain.js +23 -19
- package/esm/client/2_message_manager.d.ts +10 -36
- package/esm/client/2_message_manager.js +85 -7
- package/esm/client/3_chat_list_manager.js +7 -6
- package/esm/client/4_client.d.ts +106 -17
- package/esm/client/4_client.js +208 -51
- package/esm/connection/1_connection_web_socket.js +9 -10
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
- package/esm/deps/deno.land/std@0.218.0/media_types/_db.js +32 -0
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +0 -2
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +1 -3
- package/esm/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
- package/{script/deps/deno.land/std@0.216.0 → esm/deps/deno.land/std@0.218.0}/path/posix/glob_to_regexp.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0/path/posix → std@0.218.0/path/windows}/glob_to_regexp.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.d.ts +1 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -5
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -5
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
- package/esm/mod.d.ts +1 -2
- package/esm/mod.js +1 -2
- package/esm/storage/0_storage.d.ts +40 -38
- package/esm/storage/0_storage.js +23 -4
- package/esm/storage/0_utilities.d.ts +2 -2
- package/esm/storage/1_storage_indexed_db.d.ts +1 -1
- package/esm/storage/1_storage_local_storage.d.ts +1 -1
- package/esm/storage/1_storage_memory.d.ts +5 -4
- package/esm/storage/1_storage_memory.js +15 -10
- package/esm/storage/1_storage_session_storage.d.ts +1 -1
- package/esm/tl/0_tl_raw_writer.d.ts +9 -9
- package/esm/tl/1_tl_object.d.ts +1 -1
- package/esm/tl/1_tl_object.js +3 -3
- package/esm/tl/2_types.d.ts +44 -6
- package/esm/tl/2_types.js +143 -20
- package/esm/tl/3_functions.d.ts +64 -28
- package/esm/tl/3_functions.js +672 -584
- package/esm/tl/3_utilities.d.ts +3 -3
- package/esm/tl/4_tl_writer.d.ts +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +2 -2
- package/esm/types/0_chat_member_rights.d.ts +1 -1
- package/esm/types/0_message_entity.d.ts +1 -1
- package/esm/types/0_message_search_filter.d.ts +2 -1
- package/esm/types/1_bot_command_scope.d.ts +2 -1
- package/esm/types/1_keyboard_button.d.ts +1 -1
- package/esm/types/1_story_interactive_area.d.ts +1 -1
- package/esm/types/2_inline_keyboard_button.d.ts +1 -1
- package/esm/types/2_invite_link.d.ts +6 -6
- package/esm/types/2_invite_link.js +4 -4
- package/esm/types/3_reply_markup.d.ts +2 -2
- package/esm/types/4_inline_query_result.d.ts +2 -1
- package/esm/types/4_message.d.ts +1 -60
- package/esm/types/4_message.js +3 -4
- package/esm/types/5_callback_query.d.ts +2 -2
- package/esm/utilities/0_cache_map.d.ts +1 -1
- package/esm/utilities/0_logger.d.ts +25 -0
- package/esm/utilities/0_logger.js +90 -0
- package/esm/utilities/0_mutex.d.ts +4 -0
- package/esm/utilities/0_mutex.js +26 -0
- package/esm/utilities/{0_queue.js → 1_queue.js} +6 -6
- package/package.json +1 -1
- package/script/0_deps.d.ts +6 -8
- package/script/0_deps.js +18 -15
- package/script/1_utilities.d.ts +3 -1
- package/script/1_utilities.js +3 -1
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +4 -4
- package/script/4_errors.d.ts +1 -1
- package/script/5_client.d.ts +0 -1
- package/script/5_client.js +0 -1
- package/script/client/0_params.d.ts +33 -1
- package/script/client/0_password.d.ts +2 -2
- package/script/client/0_types.d.ts +2 -0
- package/script/client/1_composer.d.ts +3 -3
- package/script/client/1_file_manager.js +10 -8
- package/script/client/1_update_manager.js +26 -19
- package/script/client/2_client_plain.d.ts +1 -4
- package/script/client/2_client_plain.js +21 -17
- package/script/client/2_message_manager.d.ts +10 -36
- package/script/client/2_message_manager.js +82 -4
- package/script/client/3_chat_list_manager.js +6 -5
- package/script/client/4_client.d.ts +106 -17
- package/script/client/4_client.js +207 -50
- package/script/connection/1_connection_web_socket.js +11 -12
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_rejects.d.ts +4 -0
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/assert_throws.d.ts +6 -0
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/assert/unreachable.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unreachable.js +2 -2
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.js +12 -9
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_db.d.ts +3 -1
- package/script/deps/deno.land/std@0.218.0/media_types/_db.js +39 -0
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/_util.d.ts +0 -2
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/_util.js +1 -3
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/media_types/extensions_by_type.d.ts +1 -3
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extensions_by_type.js +3 -5
- package/script/deps/deno.land/std@0.218.0/path/_common/assert_path.d.ts +1 -0
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.js +3 -1
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/format.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.d.ts +1 -1
- package/{esm/deps/deno.land/std@0.216.0 → script/deps/deno.land/std@0.218.0}/path/mod.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/mod.js +1 -1
- package/{esm/deps/deno.land/std@0.216.0/path/windows → script/deps/deno.land/std@0.218.0/path/posix}/glob_to_regexp.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.d.ts +1 -1
- package/script/deps/deno.land/std@0.218.0/path/posix/parse.d.ts +6 -0
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.d.ts +1 -1
- package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.d.ts +1 -1
- package/script/deps/deno.land/std@0.218.0/path/windows/parse.d.ts +6 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +1 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +6 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +1 -7
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +2 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +1 -7
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +8 -8
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +2 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +21 -19
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +3 -3
- package/script/mod.d.ts +1 -2
- package/script/mod.js +2 -2
- package/script/storage/0_storage.d.ts +40 -38
- package/script/storage/0_storage.js +21 -2
- package/script/storage/0_utilities.d.ts +2 -2
- package/script/storage/1_storage_indexed_db.d.ts +1 -1
- package/script/storage/1_storage_local_storage.d.ts +1 -1
- package/script/storage/1_storage_memory.d.ts +5 -4
- package/script/storage/1_storage_memory.js +15 -10
- package/script/storage/1_storage_session_storage.d.ts +1 -1
- package/script/tl/0_tl_raw_writer.d.ts +9 -9
- package/script/tl/1_tl_object.d.ts +1 -1
- package/script/tl/1_tl_object.js +3 -3
- package/script/tl/2_types.d.ts +44 -6
- package/script/tl/2_types.js +168 -43
- package/script/tl/3_functions.d.ts +64 -28
- package/script/tl/3_functions.js +677 -587
- package/script/tl/3_utilities.d.ts +3 -3
- package/script/tl/4_tl_writer.d.ts +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +2 -2
- package/script/types/0_chat_member_rights.d.ts +1 -1
- package/script/types/0_message_entity.d.ts +1 -1
- package/script/types/0_message_search_filter.d.ts +2 -1
- package/script/types/1_bot_command_scope.d.ts +2 -1
- package/script/types/1_keyboard_button.d.ts +1 -1
- package/script/types/1_story_interactive_area.d.ts +1 -1
- package/script/types/2_inline_keyboard_button.d.ts +1 -1
- package/script/types/2_invite_link.d.ts +6 -6
- package/script/types/2_invite_link.js +4 -4
- package/script/types/3_reply_markup.d.ts +2 -2
- package/script/types/4_inline_query_result.d.ts +2 -1
- package/script/types/4_message.d.ts +1 -60
- package/script/types/4_message.js +2 -3
- package/script/types/5_callback_query.d.ts +2 -2
- package/script/utilities/0_cache_map.d.ts +1 -1
- package/script/utilities/0_logger.d.ts +25 -0
- package/script/utilities/0_logger.js +118 -0
- package/script/utilities/0_mutex.d.ts +4 -0
- package/script/utilities/0_mutex.js +30 -0
- package/script/utilities/{0_queue.js → 1_queue.js} +6 -6
- package/esm/_dnt.polyfills.d.ts +0 -6
- package/esm/_dnt.polyfills.js +0 -1
- package/esm/client/5_session_string.d.ts +0 -3
- package/esm/client/5_session_string.js +0 -22
- package/esm/deps/deno.land/std@0.216.0/media_types/_db.js +0 -33
- package/esm/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
- package/esm/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
- package/esm/deps/deno.land/std@0.69.0/fmt/colors.js +0 -224
- package/esm/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
- package/esm/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -105
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -239
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -71
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -112
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -39
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -32
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
- package/esm/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -113
- package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -524
- package/script/_dnt.polyfills.d.ts +0 -6
- package/script/_dnt.polyfills.js +0 -2
- package/script/client/5_session_string.d.ts +0 -3
- package/script/client/5_session_string.js +0 -27
- package/script/deps/deno.land/std@0.216.0/media_types/_db.js +0 -39
- package/script/deps/deno.land/std@0.216.0/path/_common/assert_path.d.ts +0 -1
- package/script/deps/deno.land/std@0.216.0/path/posix/parse.d.ts +0 -6
- package/script/deps/deno.land/std@0.216.0/path/windows/parse.d.ts +0 -6
- package/script/deps/deno.land/std@0.69.0/fmt/colors.d.ts +0 -77
- package/script/deps/deno.land/std@0.69.0/fmt/colors.js +0 -298
- package/script/deps/deno.land/x/crc32@v0.2.0/mod.d.ts +0 -15
- package/script/deps/deno.land/x/crc32@v0.2.0/mod.js +0 -113
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.d.ts +0 -16
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js +0 -271
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.d.ts +0 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/colors.js +0 -98
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.d.ts +0 -22
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/debug.js +0 -141
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/deps.js +0 -32
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.d.ts +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/format.js +0 -43
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.d.ts +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js +0 -17
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js +0 -18
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.d.ts +0 -26
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/mutex.js +0 -36
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.d.ts +0 -41
- package/script/deps/raw.githubusercontent.com/MTKruto/mutex/main/semaphore.js +0 -117
- package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.d.ts +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/object-inspect/main/index.js +0 -550
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.216.0 → std@0.218.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/utilities/{0_queue.d.ts → 1_queue.d.ts} +0 -0
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
13
|
+
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_id, _Client_L, _Client_Lauthorize, _Client_LreceiveLoop, _Client_LpingLoop, _Client_Linvoke, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Client = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -39,22 +39,20 @@ const _3_callback_query_manager_js_1 = require("./3_callback_query_manager.js");
|
|
|
39
39
|
const _3_chat_list_manager_js_1 = require("./3_chat_list_manager.js");
|
|
40
40
|
const _3_inline_query_manager_js_1 = require("./3_inline_query_manager.js");
|
|
41
41
|
const _3_story_manager_js_1 = require("./3_story_manager.js");
|
|
42
|
-
|
|
43
|
-
const dAuth = (0, _0_deps_js_1.debug)("Client/authorize");
|
|
44
|
-
const dRecv = (0, _0_deps_js_1.debug)("Client/receiveLoop");
|
|
42
|
+
let id = 0;
|
|
45
43
|
const getEntity = Symbol();
|
|
46
|
-
exports.handleMigrationError = Symbol();
|
|
44
|
+
exports.handleMigrationError = Symbol("handleMigrationError");
|
|
47
45
|
const functionNamespaces = Object.entries(_2_tl_js_1.functions).filter(([, v]) => !(v instanceof Function)).map(([k]) => k);
|
|
48
46
|
function skipInvoke() {
|
|
49
47
|
return (_ctx, next) => next();
|
|
50
48
|
}
|
|
51
49
|
exports.skipInvoke = skipInvoke;
|
|
52
|
-
exports.restartAuth = Symbol();
|
|
50
|
+
exports.restartAuth = Symbol("restartAuth");
|
|
53
51
|
class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
54
52
|
/**
|
|
55
53
|
* Constructs the client.
|
|
56
54
|
*
|
|
57
|
-
* @param storage The storage provider to use. Defaults to memory storage.
|
|
55
|
+
* @param storage The storage provider to use. Defaults to memory storage. Passing a string constructs a memory storage with the string being the string session.
|
|
58
56
|
* @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
|
|
59
57
|
* @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
|
|
60
58
|
*/
|
|
@@ -144,6 +142,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
144
142
|
_Client_ignoreOutgoing.set(this, void 0);
|
|
145
143
|
_Client_prefixes.set(this, void 0);
|
|
146
144
|
_Client_storeMessages.set(this, void 0);
|
|
145
|
+
_Client_id.set(this, void 0);
|
|
146
|
+
_Client_L.set(this, void 0);
|
|
147
|
+
_Client_Lauthorize.set(this, void 0);
|
|
148
|
+
_Client_LreceiveLoop.set(this, void 0);
|
|
149
|
+
_Client_LpingLoop.set(this, void 0);
|
|
150
|
+
_Client_Linvoke.set(this, void 0);
|
|
151
|
+
_Client_LhandleMigrationError.set(this, void 0);
|
|
152
|
+
_Client_L$initConncetion.set(this, void 0);
|
|
147
153
|
_Client_namespaceProxies.set(this, (() => {
|
|
148
154
|
// deno-lint-ignore no-explicit-any
|
|
149
155
|
const proxies = {};
|
|
@@ -214,6 +220,20 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
214
220
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
215
221
|
}
|
|
216
222
|
};
|
|
223
|
+
const mustGetUserId = () => {
|
|
224
|
+
if (msg?.from) {
|
|
225
|
+
return msg.from.id;
|
|
226
|
+
}
|
|
227
|
+
else if ("callbackQuery" in update) {
|
|
228
|
+
return update.callbackQuery.from.id;
|
|
229
|
+
}
|
|
230
|
+
else if ("chosenInlineResult" in update) {
|
|
231
|
+
return update.chosenInlineResult.from.id;
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
235
|
+
}
|
|
236
|
+
};
|
|
217
237
|
const mustGetInlineMsgId = () => {
|
|
218
238
|
if ("chosenInlineResult" in update) {
|
|
219
239
|
if (update.chosenInlineResult.inlineMessageId) {
|
|
@@ -471,6 +491,32 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
471
491
|
const { chatId } = mustGetMsg();
|
|
472
492
|
return this.deleteChatMemberMessages(chatId, userId);
|
|
473
493
|
},
|
|
494
|
+
searchMessages: (query, params) => {
|
|
495
|
+
const { chatId } = mustGetMsg();
|
|
496
|
+
return this.searchMessages(chatId, query, params);
|
|
497
|
+
},
|
|
498
|
+
setBoostsRequiredToCircumventRestrictions: (boosts) => {
|
|
499
|
+
const { chatId } = mustGetMsg();
|
|
500
|
+
return this.setBoostsRequiredToCircumventRestrictions(chatId, boosts);
|
|
501
|
+
},
|
|
502
|
+
createInviteLink: (params) => {
|
|
503
|
+
const { chatId } = mustGetMsg();
|
|
504
|
+
return this.createInviteLink(chatId, params);
|
|
505
|
+
},
|
|
506
|
+
getCreatedInviteLinks: (params) => {
|
|
507
|
+
const { chatId } = mustGetMsg();
|
|
508
|
+
return this.getCreatedInviteLinks(chatId, params);
|
|
509
|
+
},
|
|
510
|
+
leave: () => {
|
|
511
|
+
const { chatId } = mustGetMsg();
|
|
512
|
+
return this.leaveChat(chatId);
|
|
513
|
+
},
|
|
514
|
+
block: () => {
|
|
515
|
+
return this.blockUser(mustGetUserId());
|
|
516
|
+
},
|
|
517
|
+
unblock: () => {
|
|
518
|
+
return this.unblockUser(mustGetUserId());
|
|
519
|
+
},
|
|
474
520
|
};
|
|
475
521
|
return (0, _1_utilities_js_1.cleanObject)(context);
|
|
476
522
|
});
|
|
@@ -480,7 +526,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
480
526
|
configurable: true,
|
|
481
527
|
writable: true,
|
|
482
528
|
value: ((connected) => {
|
|
483
|
-
__classPrivateFieldGet(this, _Client_connectMutex, "f").
|
|
529
|
+
__classPrivateFieldGet(this, _Client_connectMutex, "f").lock().then((unlock) => {
|
|
484
530
|
try {
|
|
485
531
|
const connectionState = connected ? "ready" : "notConnected";
|
|
486
532
|
if (this.connected == connected && __classPrivateFieldGet(this, _Client_lastPropagatedConnectionState, "f") != connectionState) {
|
|
@@ -488,13 +534,13 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
488
534
|
}
|
|
489
535
|
}
|
|
490
536
|
finally {
|
|
491
|
-
|
|
537
|
+
unlock();
|
|
492
538
|
}
|
|
493
539
|
});
|
|
494
540
|
}).bind(this)
|
|
495
541
|
});
|
|
496
542
|
_Client_storageInited.set(this, false);
|
|
497
|
-
_Client_connectMutex.set(this, new
|
|
543
|
+
_Client_connectMutex.set(this, new _1_utilities_js_1.Mutex());
|
|
498
544
|
_Client_connectionInited.set(this, false);
|
|
499
545
|
_Client_lastPropagatedAuthorizationState.set(this, null);
|
|
500
546
|
_Client_selfId.set(this, null);
|
|
@@ -533,8 +579,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
533
579
|
_Client_lastGetMe.set(this, null);
|
|
534
580
|
//#region Composer
|
|
535
581
|
_Client_handle.set(this, _1_composer_js_1.skip);
|
|
536
|
-
this.storage = storage ?? new _3_storage_js_1.StorageMemory();
|
|
537
|
-
|
|
582
|
+
this.storage = typeof storage === "string" ? new _3_storage_js_1.StorageMemory(storage) : storage ?? new _3_storage_js_1.StorageMemory();
|
|
583
|
+
__classPrivateFieldSet(this, _Client_storeMessages, params?.storeMessages ?? false, "f");
|
|
584
|
+
if (!__classPrivateFieldGet(this, _Client_storeMessages, "f")) {
|
|
538
585
|
this.messageStorage = new _3_storage_js_1.StorageMemory();
|
|
539
586
|
}
|
|
540
587
|
else {
|
|
@@ -552,7 +599,16 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
552
599
|
__classPrivateFieldSet(this, _Client_ignoreOutgoing, params?.ignoreOutgoing ?? null, "f");
|
|
553
600
|
__classPrivateFieldSet(this, _Client_prefixes, params?.prefixes, "f");
|
|
554
601
|
__classPrivateFieldSet(this, _Client_guaranteeUpdateDelivery, params?.guaranteeUpdateDelivery ?? false, "f");
|
|
602
|
+
__classPrivateFieldSet(this, _Client_id, id++, "f");
|
|
603
|
+
const L = __classPrivateFieldSet(this, _Client_L, (0, _1_utilities_js_1.getLogger)("Client").client(__classPrivateFieldGet(this, _Client_id, "f")), "f");
|
|
604
|
+
__classPrivateFieldSet(this, _Client_Lauthorize, L.branch("authorize"), "f");
|
|
605
|
+
__classPrivateFieldSet(this, _Client_LreceiveLoop, L.branch("receiveLoop"), "f");
|
|
606
|
+
__classPrivateFieldSet(this, _Client_LpingLoop, L.branch("pingLoop"), "f");
|
|
607
|
+
__classPrivateFieldSet(this, _Client_Linvoke, L.branch("invoke"), "f");
|
|
608
|
+
__classPrivateFieldSet(this, _Client_LhandleMigrationError, L.branch("[handleMigrationError]"), "f");
|
|
609
|
+
__classPrivateFieldSet(this, _Client_L$initConncetion, L.branch("#initConnection"), "f");
|
|
555
610
|
const c = {
|
|
611
|
+
id,
|
|
556
612
|
api: this.api,
|
|
557
613
|
storage: this.storage,
|
|
558
614
|
messageStorage: this.messageStorage,
|
|
@@ -562,6 +618,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
562
618
|
getSelfId: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).bind(this),
|
|
563
619
|
getInputPeer: this.getInputPeer.bind(this),
|
|
564
620
|
getInputChannel: this.getInputChannel.bind(this),
|
|
621
|
+
getInputUser: this.getInputUser.bind(this),
|
|
565
622
|
getEntity: this[getEntity].bind(this),
|
|
566
623
|
handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
|
|
567
624
|
parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
|
|
@@ -635,20 +692,20 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
635
692
|
(0, _1_utilities_js_1.drop)((async () => {
|
|
636
693
|
if (connectionState == "notConnected") {
|
|
637
694
|
if (!this.transport?.transport.initialized) {
|
|
638
|
-
|
|
695
|
+
L.debug("not reconnecting");
|
|
639
696
|
return;
|
|
640
697
|
}
|
|
641
698
|
let delay = 5;
|
|
642
699
|
while (!this.connected) {
|
|
643
|
-
|
|
700
|
+
L.debug("reconnecting");
|
|
644
701
|
try {
|
|
645
702
|
await this.connect();
|
|
646
|
-
|
|
703
|
+
L.debug("reconnected");
|
|
647
704
|
(0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("reconnect"));
|
|
648
705
|
break;
|
|
649
706
|
}
|
|
650
707
|
catch (err) {
|
|
651
|
-
|
|
708
|
+
L.debug(`failed to reconnect, retrying in ${delay}:`, err);
|
|
652
709
|
}
|
|
653
710
|
await new Promise((r) => setTimeout(r, delay * 1000));
|
|
654
711
|
if (delay < 15) {
|
|
@@ -661,7 +718,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
661
718
|
});
|
|
662
719
|
this.invoke.use(async ({ error }, next) => {
|
|
663
720
|
if (error instanceof _4_errors_js_1.FloodWait && error.seconds <= 10) {
|
|
664
|
-
|
|
721
|
+
L.warning("sleeping for", error.seconds, "because of:", error);
|
|
665
722
|
await new Promise((r) => setTimeout(r, 1000 * error.seconds));
|
|
666
723
|
return true;
|
|
667
724
|
}
|
|
@@ -695,7 +752,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
695
752
|
if (this.connected) {
|
|
696
753
|
return;
|
|
697
754
|
}
|
|
698
|
-
const
|
|
755
|
+
const unlock = await __classPrivateFieldGet(this, _Client_connectMutex, "f").lock();
|
|
699
756
|
try {
|
|
700
757
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
|
|
701
758
|
const authKey = await this.storage.getAuthKey();
|
|
@@ -706,7 +763,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
706
763
|
plain.setDc(dc);
|
|
707
764
|
}
|
|
708
765
|
await plain.connect();
|
|
709
|
-
const
|
|
766
|
+
const [authKey, salt] = await plain.createAuthKey();
|
|
710
767
|
await plain.disconnect();
|
|
711
768
|
await this.storage.setAuthKey(authKey);
|
|
712
769
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_setAuth).call(this, authKey);
|
|
@@ -727,17 +784,17 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
727
784
|
if (dc == null) {
|
|
728
785
|
await this.storage.setDc(this.initialDc);
|
|
729
786
|
}
|
|
730
|
-
|
|
787
|
+
__classPrivateFieldGet(this, _Client_L, "f").debug("connected");
|
|
731
788
|
(0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_instances, "m", _Client_receiveLoop).call(this));
|
|
732
789
|
if (__classPrivateFieldGet(this, _Client_pingLoopStarted, "f")) {
|
|
733
790
|
(0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_instances, "m", _Client_pingLoop).call(this));
|
|
734
791
|
}
|
|
735
792
|
}
|
|
736
793
|
finally {
|
|
737
|
-
|
|
794
|
+
unlock();
|
|
738
795
|
}
|
|
739
796
|
}
|
|
740
|
-
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
797
|
+
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_id = new WeakMap(), _Client_L = new WeakMap(), _Client_Lauthorize = new WeakMap(), _Client_LreceiveLoop = new WeakMap(), _Client_LpingLoop = new WeakMap(), _Client_Linvoke = new WeakMap(), _Client_LhandleMigrationError = new WeakMap(), _Client_L$initConncetion = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
741
798
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
742
799
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
743
800
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -758,7 +815,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
758
815
|
newDc += "-test";
|
|
759
816
|
}
|
|
760
817
|
await this.reconnect(newDc);
|
|
761
|
-
|
|
818
|
+
__classPrivateFieldGet(this, _Client_LhandleMigrationError, "f").debug(`migrated to DC${newDc}`);
|
|
762
819
|
}
|
|
763
820
|
async disconnect() {
|
|
764
821
|
__classPrivateFieldSet(this, _Client_connectionInited, false, "f");
|
|
@@ -794,7 +851,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
794
851
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
795
852
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
796
853
|
(0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("authorize"));
|
|
797
|
-
|
|
854
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("already authorized");
|
|
798
855
|
return;
|
|
799
856
|
}
|
|
800
857
|
catch (err) {
|
|
@@ -811,7 +868,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
811
868
|
params = { phone: () => (0, _1_utilities_js_1.mustPrompt)("Phone number:"), code: () => (0, _1_utilities_js_1.mustPrompt)("Verification code:"), password: () => (0, _1_utilities_js_1.mustPrompt)("Password:") };
|
|
812
869
|
}
|
|
813
870
|
}
|
|
814
|
-
|
|
871
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorizing with", typeof params === "string" ? "bot token" : params instanceof _2_tl_js_1.types.auth.ExportedAuthorization ? "exported authorization" : "AuthorizeUserParams");
|
|
815
872
|
if (typeof params === "string") {
|
|
816
873
|
while (true) {
|
|
817
874
|
try {
|
|
@@ -831,14 +888,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
831
888
|
}
|
|
832
889
|
}
|
|
833
890
|
}
|
|
834
|
-
|
|
891
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as bot");
|
|
835
892
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
836
893
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
837
894
|
return;
|
|
838
895
|
}
|
|
839
896
|
if (params instanceof _2_tl_js_1.types.auth.ExportedAuthorization) {
|
|
840
897
|
await this.api.auth.importAuthorization({ id: params.id, bytes: params.bytes });
|
|
841
|
-
|
|
898
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorization imported");
|
|
842
899
|
return;
|
|
843
900
|
}
|
|
844
901
|
auth: while (true) {
|
|
@@ -878,7 +935,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
878
935
|
}
|
|
879
936
|
}
|
|
880
937
|
}
|
|
881
|
-
|
|
938
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("verification code sent");
|
|
882
939
|
let err;
|
|
883
940
|
code: while (true) {
|
|
884
941
|
const code = typeof params.code === "string" ? params.code : await params.code();
|
|
@@ -890,7 +947,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
890
947
|
});
|
|
891
948
|
__classPrivateFieldSet(this, _Client_selfId, Number(auth[_2_tl_js_1.as](_2_tl_js_1.types.auth.Authorization).user.id), "f");
|
|
892
949
|
await this.storage.setAccountType("user");
|
|
893
|
-
|
|
950
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
|
|
894
951
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
895
952
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
896
953
|
return;
|
|
@@ -919,7 +976,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
919
976
|
const auth = await this.api.auth.checkPassword({ password: input });
|
|
920
977
|
__classPrivateFieldSet(this, _Client_selfId, Number(auth[_2_tl_js_1.as](_2_tl_js_1.types.auth.Authorization).user.id), "f");
|
|
921
978
|
await this.storage.setAccountType("user");
|
|
922
|
-
|
|
979
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
|
|
923
980
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
924
981
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
925
982
|
return;
|
|
@@ -957,6 +1014,13 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
957
1014
|
send(function_) {
|
|
958
1015
|
return this.invoke(function_, true);
|
|
959
1016
|
}
|
|
1017
|
+
exportAuthString() {
|
|
1018
|
+
return this.storage.exportAuthString();
|
|
1019
|
+
}
|
|
1020
|
+
async importAuthString(authString) {
|
|
1021
|
+
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
|
|
1022
|
+
await this.storage.importAuthString(authString);
|
|
1023
|
+
}
|
|
960
1024
|
async getInputPeer(id) {
|
|
961
1025
|
if (id === "me") {
|
|
962
1026
|
return new _2_tl_js_1.types.InputPeerSelf();
|
|
@@ -1002,7 +1066,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1002
1066
|
system_version: this.systemVersion,
|
|
1003
1067
|
});
|
|
1004
1068
|
__classPrivateFieldSet(this, _Client_connectionInited, true, "f");
|
|
1005
|
-
|
|
1069
|
+
__classPrivateFieldGet(this, _Client_L$initConncetion, "f").debug("connection inited");
|
|
1006
1070
|
}
|
|
1007
1071
|
}, _Client_propagateAuthorizationState = async function _Client_propagateAuthorizationState(authorized) {
|
|
1008
1072
|
if (__classPrivateFieldGet(this, _Client_lastPropagatedAuthorizationState, "f") != authorized) {
|
|
@@ -1025,12 +1089,14 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1025
1089
|
__classPrivateFieldGet(this, _Client_toAcknowledge, "f").clear();
|
|
1026
1090
|
}
|
|
1027
1091
|
const buffer = await this.transport.transport.receive();
|
|
1092
|
+
__classPrivateFieldGet(this, _Client_L, "f").inBin(buffer);
|
|
1028
1093
|
let decrypted;
|
|
1029
1094
|
try {
|
|
1030
1095
|
decrypted = await ((0, _0_message_js_1.decryptMessage)(buffer, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_sessionId, "f")));
|
|
1096
|
+
__classPrivateFieldGet(this, _Client_L, "f").in(decrypted);
|
|
1031
1097
|
}
|
|
1032
1098
|
catch (err) {
|
|
1033
|
-
|
|
1099
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to decrypt message:", err);
|
|
1034
1100
|
(0, _1_utilities_js_1.drop)((async () => {
|
|
1035
1101
|
try {
|
|
1036
1102
|
await this.disconnect();
|
|
@@ -1049,7 +1115,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1049
1115
|
if (body instanceof _2_tl_js_1.types.Gzip_packed) {
|
|
1050
1116
|
body = new _2_tl_js_1.TLReader((0, _0_deps_js_1.gunzip)(body.packed_data)).readObject();
|
|
1051
1117
|
}
|
|
1052
|
-
|
|
1118
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("received", (typeof body === "object" && _2_tl_js_1.name in body) ? body[_2_tl_js_1.name] : body.constructor.name);
|
|
1053
1119
|
if (body instanceof _2_tl_js_1.types._Updates || body instanceof _2_tl_js_1.types._Update) {
|
|
1054
1120
|
__classPrivateFieldGet(this, _Client_updateManager, "f").processUpdates(body, true);
|
|
1055
1121
|
}
|
|
@@ -1063,10 +1129,10 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1063
1129
|
result = new _2_tl_js_1.TLReader((0, _0_deps_js_1.gunzip)(result.packed_data)).readObject();
|
|
1064
1130
|
}
|
|
1065
1131
|
if (result instanceof _2_tl_js_1.types.Rpc_error) {
|
|
1066
|
-
|
|
1132
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", result.error_code, result.error_message);
|
|
1067
1133
|
}
|
|
1068
1134
|
else {
|
|
1069
|
-
|
|
1135
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", (typeof result === "object" && _2_tl_js_1.name in result) ? result[_2_tl_js_1.name] : result.constructor.name);
|
|
1070
1136
|
}
|
|
1071
1137
|
const messageId = message.body.messageId;
|
|
1072
1138
|
const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(messageId);
|
|
@@ -1097,7 +1163,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1097
1163
|
}
|
|
1098
1164
|
}
|
|
1099
1165
|
else if (message.body instanceof _2_tl_js_1.types.Bad_server_salt) {
|
|
1100
|
-
|
|
1166
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("server salt reassigned");
|
|
1101
1167
|
__classPrivateFieldGet(this, _Client_state, "f").salt = message.body.new_server_salt;
|
|
1102
1168
|
await this.storage.setServerSalt(__classPrivateFieldGet(this, _Client_state, "f").salt);
|
|
1103
1169
|
const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(message.body.bad_msg_id);
|
|
@@ -1114,11 +1180,11 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1114
1180
|
break;
|
|
1115
1181
|
}
|
|
1116
1182
|
else if (err instanceof _2_tl_js_1.TLError) {
|
|
1117
|
-
|
|
1183
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to deserialize:", err);
|
|
1118
1184
|
(0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("deserialize"));
|
|
1119
1185
|
}
|
|
1120
1186
|
else {
|
|
1121
|
-
|
|
1187
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("unexpected error:", err);
|
|
1122
1188
|
}
|
|
1123
1189
|
}
|
|
1124
1190
|
}
|
|
@@ -1154,7 +1220,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1154
1220
|
if (!this.connected) {
|
|
1155
1221
|
continue;
|
|
1156
1222
|
}
|
|
1157
|
-
|
|
1223
|
+
__classPrivateFieldGet(this, _Client_LpingLoop, "f").error(err);
|
|
1158
1224
|
}
|
|
1159
1225
|
}
|
|
1160
1226
|
}, _Client_invoke = async function _Client_invoke(function_, noWait) {
|
|
@@ -1179,8 +1245,11 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1179
1245
|
}
|
|
1180
1246
|
const messageId = __classPrivateFieldSet(this, _Client_lastMsgId, (0, _0_message_js_1.getMessageId)(__classPrivateFieldGet(this, _Client_lastMsgId, "f")), "f");
|
|
1181
1247
|
const message = new _2_tl_js_1.Message_(messageId, seqNo, function_);
|
|
1182
|
-
|
|
1183
|
-
|
|
1248
|
+
const payload = await (0, _0_message_js_1.encryptMessage)(message, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_state, "f").salt, __classPrivateFieldGet(this, _Client_sessionId, "f"));
|
|
1249
|
+
await this.transport.transport.send(payload);
|
|
1250
|
+
__classPrivateFieldGet(this, _Client_L, "f").out(message);
|
|
1251
|
+
__classPrivateFieldGet(this, _Client_L, "f").outBin(payload);
|
|
1252
|
+
__classPrivateFieldGet(this, _Client_Linvoke, "f").debug("invoked", function_[_2_tl_js_1.name]);
|
|
1184
1253
|
if (noWait) {
|
|
1185
1254
|
__classPrivateFieldGet(this, _Client_promises, "f").set(message.id, {
|
|
1186
1255
|
resolve: (result) => {
|
|
@@ -1426,7 +1495,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1426
1495
|
* @param inlineMessageId The inline message's identifier.
|
|
1427
1496
|
*/
|
|
1428
1497
|
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
1429
|
-
|
|
1498
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageReplyMarkup(inlineMessageId, params);
|
|
1430
1499
|
}
|
|
1431
1500
|
/**
|
|
1432
1501
|
* Retrieve multiple messages.
|
|
@@ -1541,14 +1610,16 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1541
1610
|
* @param messageThreadId The thread to send the chat action to.
|
|
1542
1611
|
*/
|
|
1543
1612
|
async sendChatAction(chatId, action, params) {
|
|
1544
|
-
|
|
1613
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").sendChatAction(chatId, action, params);
|
|
1545
1614
|
}
|
|
1546
1615
|
/**
|
|
1547
1616
|
* Upload a file.
|
|
1548
1617
|
*
|
|
1549
1618
|
* @method fs
|
|
1550
1619
|
* @param contents The contents of the file.
|
|
1620
|
+
* @returns The uploaded file.
|
|
1551
1621
|
*/
|
|
1622
|
+
// deno-lint-ignore no-explicit-any
|
|
1552
1623
|
async upload(contents, params) {
|
|
1553
1624
|
return await __classPrivateFieldGet(this, _Client_fileManager, "f").upload(contents, params);
|
|
1554
1625
|
}
|
|
@@ -1565,6 +1636,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1565
1636
|
* Get the bot's commands in the given scope and/or language. Bot-only.
|
|
1566
1637
|
*
|
|
1567
1638
|
* @method bs
|
|
1639
|
+
* @returns The current bot's commands in the specified language.
|
|
1568
1640
|
*/
|
|
1569
1641
|
async getMyCommands(params) {
|
|
1570
1642
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyCommands(params);
|
|
@@ -1607,14 +1679,16 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1607
1679
|
* Get the bot's description in the given language. Bot-only.
|
|
1608
1680
|
*
|
|
1609
1681
|
* @method bs
|
|
1682
|
+
* @returns The current bot's description in the specified language.
|
|
1610
1683
|
*/
|
|
1611
1684
|
async getMyDescription(params) {
|
|
1612
1685
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyDescription(params);
|
|
1613
1686
|
}
|
|
1614
1687
|
/**
|
|
1615
|
-
*
|
|
1688
|
+
* Get the bot's name in the given language. Bot-only.
|
|
1616
1689
|
*
|
|
1617
1690
|
* @method bs
|
|
1691
|
+
* @returns The current bot's name in the specified language.
|
|
1618
1692
|
*/
|
|
1619
1693
|
async getMyName(params) {
|
|
1620
1694
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyName(params);
|
|
@@ -1623,6 +1697,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1623
1697
|
* Get the bot's short description in the given language. Bot-only.
|
|
1624
1698
|
*
|
|
1625
1699
|
* @method bs
|
|
1700
|
+
* @returns The current bot's short description in the specified language.
|
|
1626
1701
|
*/
|
|
1627
1702
|
async getMyShortDescription(params) {
|
|
1628
1703
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyShortDescription(params);
|
|
@@ -1635,7 +1710,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1635
1710
|
* @param messageIds The identifiers of the messages to delete.
|
|
1636
1711
|
*/
|
|
1637
1712
|
async deleteMessages(chatId, messageIds, params) {
|
|
1638
|
-
|
|
1713
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, messageIds, params);
|
|
1639
1714
|
}
|
|
1640
1715
|
/**
|
|
1641
1716
|
* Delete a single message.
|
|
@@ -1645,7 +1720,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1645
1720
|
* @param messageId The identifier of the message to delete.
|
|
1646
1721
|
*/
|
|
1647
1722
|
async deleteMessage(chatId, messageId, params) {
|
|
1648
|
-
|
|
1723
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, [messageId], params);
|
|
1649
1724
|
}
|
|
1650
1725
|
/**
|
|
1651
1726
|
* Send a photo.
|
|
@@ -1653,6 +1728,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1653
1728
|
* @method ms
|
|
1654
1729
|
* @param chatId The chat to send the photo to.
|
|
1655
1730
|
* @param photo The photo to send.
|
|
1731
|
+
* @returns The sent photo.
|
|
1656
1732
|
*/
|
|
1657
1733
|
async sendPhoto(chatId, photo, params) {
|
|
1658
1734
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendPhoto(chatId, photo, params);
|
|
@@ -1663,6 +1739,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1663
1739
|
* @method ms
|
|
1664
1740
|
* @param chatId The chat to send the document to.
|
|
1665
1741
|
* @param document The document to send.
|
|
1742
|
+
* @returns The sent document.
|
|
1666
1743
|
*/
|
|
1667
1744
|
async sendDocument(chatId, document, params) {
|
|
1668
1745
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendDocument(chatId, document, params);
|
|
@@ -1673,6 +1750,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1673
1750
|
* @method ms
|
|
1674
1751
|
* @param chatId The chat to send the video to.
|
|
1675
1752
|
* @param video The video to send.
|
|
1753
|
+
* @returns The sent video.
|
|
1676
1754
|
*/
|
|
1677
1755
|
async sendVideo(chatId, video, params) {
|
|
1678
1756
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendVideo(chatId, video, params);
|
|
@@ -1683,6 +1761,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1683
1761
|
* @method ms
|
|
1684
1762
|
* @param chatId The chat to send the animation to.
|
|
1685
1763
|
* @param animation The animation to send.
|
|
1764
|
+
* @returns The sent animation.
|
|
1686
1765
|
*/
|
|
1687
1766
|
async sendAnimation(chatId, animation, params) {
|
|
1688
1767
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendAnimation(chatId, animation, params);
|
|
@@ -1693,6 +1772,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1693
1772
|
* @method ms
|
|
1694
1773
|
* @param chatId The chat to send the voice message to.
|
|
1695
1774
|
* @param voice The voice to send.
|
|
1775
|
+
* @returns The sent voice message.
|
|
1696
1776
|
*/
|
|
1697
1777
|
async sendVoice(chatId, voice, params) {
|
|
1698
1778
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendVoice(chatId, voice, params);
|
|
@@ -1703,6 +1783,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1703
1783
|
* @method ms
|
|
1704
1784
|
* @param chatId The chat to send the audio file to.
|
|
1705
1785
|
* @param audio The audio to send.
|
|
1786
|
+
* @returns The sent audio filr.
|
|
1706
1787
|
*/
|
|
1707
1788
|
async sendAudio(chatId, audio, params) {
|
|
1708
1789
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendAudio(chatId, audio, params);
|
|
@@ -1713,6 +1794,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1713
1794
|
* @method ms
|
|
1714
1795
|
* @param chatId The chat to send the video note to.
|
|
1715
1796
|
* @param videoNote The video note to send.
|
|
1797
|
+
* @returns The sent video note.
|
|
1716
1798
|
*/
|
|
1717
1799
|
async sendVideoNote(chatId, videoNote, params) {
|
|
1718
1800
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendVideoNote(chatId, videoNote, params);
|
|
@@ -1724,6 +1806,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1724
1806
|
* @param chatId The chat to send the location to.
|
|
1725
1807
|
* @param latitude The location's latitude.
|
|
1726
1808
|
* @param longitude The location's longitude.
|
|
1809
|
+
* @returns The sent location.
|
|
1727
1810
|
*/
|
|
1728
1811
|
async sendLocation(chatId, latitude, longitude, params) {
|
|
1729
1812
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendLocation(chatId, latitude, longitude, params);
|
|
@@ -1735,6 +1818,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1735
1818
|
* @param chatId The chat to send the contact to.
|
|
1736
1819
|
* @param firstName The contact's first name.
|
|
1737
1820
|
* @param number The contact's phone number.
|
|
1821
|
+
* @returns The sent contact.
|
|
1738
1822
|
*/
|
|
1739
1823
|
async sendContact(chatId, firstName, number, params) {
|
|
1740
1824
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendContact(chatId, firstName, number, params);
|
|
@@ -1744,6 +1828,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1744
1828
|
*
|
|
1745
1829
|
* @method ms
|
|
1746
1830
|
* @param chatId The chat to send the dice to.
|
|
1831
|
+
* @returns The sent dice.
|
|
1747
1832
|
*/
|
|
1748
1833
|
async sendDice(chatId, params) {
|
|
1749
1834
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendDice(chatId, params);
|
|
@@ -1757,6 +1842,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1757
1842
|
* @param longitude The longitude of the venue.
|
|
1758
1843
|
* @param title The title of the venue.
|
|
1759
1844
|
* @param address The written address of the venue.
|
|
1845
|
+
* @returns The sent venue.
|
|
1760
1846
|
*/
|
|
1761
1847
|
async sendVenue(chatId, latitude, longitude, title, address, params) {
|
|
1762
1848
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").sendVenue(chatId, latitude, longitude, title, address, params);
|
|
@@ -1799,6 +1885,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1799
1885
|
*
|
|
1800
1886
|
* @method fs
|
|
1801
1887
|
* @param id Identifier of one or more of custom emojis.
|
|
1888
|
+
* @returns The custom emoji documents.
|
|
1802
1889
|
*/
|
|
1803
1890
|
async getCustomEmojiDocuments(id) {
|
|
1804
1891
|
return await __classPrivateFieldGet(this, _Client_fileManager, "f").getCustomEmojiDocuments(id);
|
|
@@ -1873,7 +1960,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1873
1960
|
* @param memberId The identifier of the member.
|
|
1874
1961
|
*/
|
|
1875
1962
|
async deleteChatMemberMessages(chatId, memberId) {
|
|
1876
|
-
|
|
1963
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteChatMemberMessages(chatId, memberId);
|
|
1877
1964
|
}
|
|
1878
1965
|
/**
|
|
1879
1966
|
* Pin a message in a chat.
|
|
@@ -1883,7 +1970,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1883
1970
|
* @param messageId The message's identifier.
|
|
1884
1971
|
*/
|
|
1885
1972
|
async pinMessage(chatId, messageId, params) {
|
|
1886
|
-
|
|
1973
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").pinMessage(chatId, messageId, params);
|
|
1887
1974
|
}
|
|
1888
1975
|
/**
|
|
1889
1976
|
* Unpin a pinned message.
|
|
@@ -1893,7 +1980,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1893
1980
|
* @param messageId The message's identifier.
|
|
1894
1981
|
*/
|
|
1895
1982
|
async unpinMessage(chatId, messageId) {
|
|
1896
|
-
|
|
1983
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").unpinMessage(chatId, messageId);
|
|
1897
1984
|
}
|
|
1898
1985
|
/**
|
|
1899
1986
|
* Unpin all pinned messages.
|
|
@@ -1902,7 +1989,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1902
1989
|
* @param chatId The identifier of the chat.
|
|
1903
1990
|
*/
|
|
1904
1991
|
async unpinMessages(chatId) {
|
|
1905
|
-
|
|
1992
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").unpinMessages(chatId);
|
|
1906
1993
|
}
|
|
1907
1994
|
/**
|
|
1908
1995
|
* Ban a member from a chat.
|
|
@@ -1950,6 +2037,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1950
2037
|
*
|
|
1951
2038
|
* @method ch
|
|
1952
2039
|
* @param chatId The identifier of the chat.
|
|
2040
|
+
* @returns The chat's administrators.
|
|
1953
2041
|
*/
|
|
1954
2042
|
async getChatAdministrators(chatId) {
|
|
1955
2043
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getChatAdministrators(chatId);
|
|
@@ -1983,6 +2071,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1983
2071
|
* @method st
|
|
1984
2072
|
* @param chatId The identifier of the chat to retrieve the story from.
|
|
1985
2073
|
* @param storyId The identifier of the story to retrieve.
|
|
2074
|
+
* @returns The retrieved story.
|
|
1986
2075
|
*/
|
|
1987
2076
|
async getStory(chatId, storyId) {
|
|
1988
2077
|
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStory(chatId, storyId);
|
|
@@ -2091,6 +2180,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
2091
2180
|
* @method ac
|
|
2092
2181
|
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2093
2182
|
* @param order The new order to use.
|
|
2183
|
+
* @returns Whether the order was changed.
|
|
2094
2184
|
*/
|
|
2095
2185
|
async reorderUsernames(id, order) {
|
|
2096
2186
|
return await __classPrivateFieldGet(this, _Client_accountManager, "f").reorderUsernames(id, order);
|
|
@@ -2108,6 +2198,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
2108
2198
|
* Get inactive chats. User-only.
|
|
2109
2199
|
*
|
|
2110
2200
|
* @method ch
|
|
2201
|
+
* @retuns A list of inactive chats the current user is member of.
|
|
2111
2202
|
*/
|
|
2112
2203
|
async getInactiveChats() {
|
|
2113
2204
|
return await __classPrivateFieldGet(this, _Client_accountManager, "f").getInactiveChats();
|
|
@@ -2122,6 +2213,72 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
2122
2213
|
async searchMessages(chatId, query, params) {
|
|
2123
2214
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").searchMessages(chatId, query, params);
|
|
2124
2215
|
}
|
|
2216
|
+
/**
|
|
2217
|
+
* Set the number of boosts required to circument a chat's default restrictions.
|
|
2218
|
+
*
|
|
2219
|
+
* @method ch
|
|
2220
|
+
* @param chatId The identifier of the chat.
|
|
2221
|
+
* @param boosts The number of boosts required to circumvent its restrictions.
|
|
2222
|
+
*/
|
|
2223
|
+
async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
|
|
2224
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").setBoostsRequiredToCircumventRestrictions(chatId, boosts);
|
|
2225
|
+
}
|
|
2226
|
+
/**
|
|
2227
|
+
* Create an invite link.
|
|
2228
|
+
*
|
|
2229
|
+
* @method ch
|
|
2230
|
+
* @param chatId The identifier of the chat to create the invite link for.
|
|
2231
|
+
* @returns The newly created invite link.
|
|
2232
|
+
*/
|
|
2233
|
+
async createInviteLink(chatId, params) {
|
|
2234
|
+
return await __classPrivateFieldGet(this, _Client_messageManager, "f").createInviteLink(chatId, params);
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* Get the invite links created for a chat. User-only.
|
|
2238
|
+
*
|
|
2239
|
+
* @method ch
|
|
2240
|
+
* @param chatId The identifier of the chat.
|
|
2241
|
+
* @returns The invite links created for the chat. This might be a subset of the results if they were less than `limit`. The parameters `afterDate` and `afterInviteLink` can be used for pagination.
|
|
2242
|
+
*/
|
|
2243
|
+
async getCreatedInviteLinks(chatId, params) {
|
|
2244
|
+
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getCreatedInviteLinks(chatId, params);
|
|
2245
|
+
}
|
|
2246
|
+
/**
|
|
2247
|
+
* Join a chat. User-only.
|
|
2248
|
+
*
|
|
2249
|
+
* @method ch
|
|
2250
|
+
* @param chatId The identifier of the chat to join.
|
|
2251
|
+
*/
|
|
2252
|
+
async joinChat(chatId) {
|
|
2253
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").joinChat(chatId);
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* Leave a chat.
|
|
2257
|
+
*
|
|
2258
|
+
* @method ch
|
|
2259
|
+
* @param chatId The identifier of the chat to leave.
|
|
2260
|
+
*/
|
|
2261
|
+
async leaveChat(chatId) {
|
|
2262
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").leaveChat(chatId);
|
|
2263
|
+
}
|
|
2264
|
+
/**
|
|
2265
|
+
* Block a user. User-only.
|
|
2266
|
+
*
|
|
2267
|
+
* @method mc
|
|
2268
|
+
* @param userId The identifier of the user to block.
|
|
2269
|
+
*/
|
|
2270
|
+
async blockUser(userId) {
|
|
2271
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").blockUser(userId);
|
|
2272
|
+
}
|
|
2273
|
+
/**
|
|
2274
|
+
* Unblock a user. User-only.
|
|
2275
|
+
*
|
|
2276
|
+
* @method mc
|
|
2277
|
+
* @param userId The identifier of the user to unblock.
|
|
2278
|
+
*/
|
|
2279
|
+
async unblockUser(userId) {
|
|
2280
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").unblockUser(userId);
|
|
2281
|
+
}
|
|
2125
2282
|
}
|
|
2126
2283
|
exports.Client = Client;
|
|
2127
2284
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|