@mtkruto/node 0.1.152 → 0.1.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/3_types.d.ts +2 -0
- package/esm/3_types.js +2 -0
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +4 -4
- package/esm/5_client.d.ts +0 -1
- package/esm/5_client.js +0 -1
- package/esm/client/0_params.d.ts +21 -3
- package/esm/client/0_types.d.ts +1 -0
- package/esm/client/1_account_manager.d.ts +11 -0
- package/esm/client/1_account_manager.js +76 -0
- package/esm/client/1_file_manager.js +12 -10
- package/esm/client/1_update_manager.js +27 -20
- package/esm/client/2_client_plain.js +22 -15
- package/esm/client/2_message_manager.d.ts +3 -0
- package/esm/client/2_message_manager.js +41 -6
- package/esm/client/3_chat_list_manager.js +7 -6
- package/esm/client/3_story_manager.js +9 -0
- package/esm/client/4_client.d.ts +63 -3
- package/esm/client/4_client.js +145 -39
- 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 +2 -0
- package/esm/storage/0_storage.js +21 -2
- package/esm/storage/1_storage_memory.d.ts +2 -1
- package/esm/storage/1_storage_memory.js +15 -10
- package/esm/tl/2_types.d.ts +44 -6
- package/esm/tl/2_types.js +143 -20
- package/esm/tl/3_functions.d.ts +36 -0
- package/esm/tl/3_functions.js +88 -0
- package/esm/types/0_message_search_filter.d.ts +2 -0
- package/esm/types/0_message_search_filter.js +36 -0
- package/esm/types/2_inactive_chat.d.ts +7 -0
- package/esm/types/2_inactive_chat.js +13 -0
- package/esm/types/4_message.js +3 -4
- 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/3_types.d.ts +2 -0
- package/script/3_types.js +2 -0
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +4 -4
- package/script/5_client.d.ts +0 -1
- package/script/5_client.js +0 -1
- package/script/client/0_params.d.ts +21 -3
- package/script/client/0_types.d.ts +1 -0
- package/script/client/1_account_manager.d.ts +11 -0
- package/script/client/1_account_manager.js +80 -0
- package/script/client/1_file_manager.js +10 -8
- package/script/client/1_update_manager.js +26 -19
- package/script/client/2_client_plain.js +20 -13
- package/script/client/2_message_manager.d.ts +3 -0
- package/script/client/2_message_manager.js +39 -4
- package/script/client/3_chat_list_manager.js +6 -5
- package/script/client/3_story_manager.js +9 -0
- package/script/client/4_client.d.ts +63 -3
- package/script/client/4_client.js +144 -38
- 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 +2 -0
- package/script/storage/0_storage.js +19 -0
- package/script/storage/1_storage_memory.d.ts +2 -1
- package/script/storage/1_storage_memory.js +15 -10
- package/script/tl/2_types.d.ts +44 -6
- package/script/tl/2_types.js +168 -43
- package/script/tl/3_functions.d.ts +36 -0
- package/script/tl/3_functions.js +93 -3
- package/script/types/0_message_search_filter.d.ts +2 -0
- package/script/types/0_message_search_filter.js +40 -0
- package/script/types/2_inactive_chat.d.ts +7 -0
- package/script/types/2_inactive_chat.js +17 -0
- package/script/types/4_message.js +2 -3
- 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,23 +10,24 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
|
|
13
|
+
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_LrecoverUpdateGap, _UpdateManager_LrecoverChannelUpdateGap, _UpdateManager_L$handleUpdate, _UpdateManager_L$processUpdates, _UpdateManager_LfetchState, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.UpdateManager = void 0;
|
|
16
|
-
const _0_deps_js_1 = require("../0_deps.js");
|
|
17
16
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
18
17
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
19
18
|
const _4_constants_js_1 = require("../4_constants.js");
|
|
20
19
|
const _0_utilities_js_1 = require("./0_utilities.js");
|
|
21
|
-
const d = (0, _0_deps_js_1.debug)("UpdateManager");
|
|
22
|
-
const dGap = (0, _0_deps_js_1.debug)("UpdateManager/recoverUpdateGap");
|
|
23
|
-
const dGapC = (0, _0_deps_js_1.debug)("UpdateManager/recoverChannelUpdateGap");
|
|
24
20
|
class UpdateManager {
|
|
25
21
|
constructor(c) {
|
|
26
22
|
_UpdateManager_instances.add(this);
|
|
27
23
|
_UpdateManager_c.set(this, void 0);
|
|
28
24
|
_UpdateManager_updateState.set(this, void 0);
|
|
29
25
|
_UpdateManager_updateHandler.set(this, void 0);
|
|
26
|
+
_UpdateManager_LrecoverUpdateGap.set(this, void 0);
|
|
27
|
+
_UpdateManager_LrecoverChannelUpdateGap.set(this, void 0);
|
|
28
|
+
_UpdateManager_L$handleUpdate.set(this, void 0);
|
|
29
|
+
_UpdateManager_L$processUpdates.set(this, void 0);
|
|
30
|
+
_UpdateManager_LfetchState.set(this, void 0);
|
|
30
31
|
_UpdateManager_defaultDropPendingUpdates.set(this, null);
|
|
31
32
|
_UpdateManager_state.set(this, undefined);
|
|
32
33
|
_UpdateManager_handleUpdateQueues.set(this, new Map());
|
|
@@ -36,11 +37,17 @@ class UpdateManager {
|
|
|
36
37
|
_UpdateManager_processUpdatesQueue.set(this, new _1_utilities_js_1.Queue("UpdateManager/processUpdates"));
|
|
37
38
|
_UpdateManager_handleUpdatesSet.set(this, new Set());
|
|
38
39
|
__classPrivateFieldSet(this, _UpdateManager_c, c, "f");
|
|
40
|
+
const L = (0, _1_utilities_js_1.getLogger)("UpdateManager").client(c.id);
|
|
41
|
+
__classPrivateFieldSet(this, _UpdateManager_LrecoverUpdateGap, L.branch("recoverUpdateGap"), "f");
|
|
42
|
+
__classPrivateFieldSet(this, _UpdateManager_LrecoverChannelUpdateGap, L.branch("recoverChannelUpdateGap"), "f");
|
|
43
|
+
__classPrivateFieldSet(this, _UpdateManager_L$handleUpdate, L.branch("#handleUpdate"), "f");
|
|
44
|
+
__classPrivateFieldSet(this, _UpdateManager_L$processUpdates, L.branch("#processUpdates"), "f");
|
|
45
|
+
__classPrivateFieldSet(this, _UpdateManager_LfetchState, L.branch("fetchState"), "f");
|
|
39
46
|
}
|
|
40
47
|
async fetchState(source) {
|
|
41
48
|
const state = await __classPrivateFieldGet(this, _UpdateManager_c, "f").api.updates.getState();
|
|
42
49
|
__classPrivateFieldSet(this, _UpdateManager_updateState, state, "f");
|
|
43
|
-
|
|
50
|
+
__classPrivateFieldGet(this, _UpdateManager_LfetchState, "f").debug(`state fetched [${source}]`);
|
|
44
51
|
if (await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_mustDropPendingUpdates).call(this)) {
|
|
45
52
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, state);
|
|
46
53
|
}
|
|
@@ -181,7 +188,7 @@ class UpdateManager {
|
|
|
181
188
|
__classPrivateFieldGet(this, _UpdateManager_processUpdatesQueue, "f").add(() => __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, updates, checkGap, call).then(callback));
|
|
182
189
|
}
|
|
183
190
|
async recoverUpdateGap(source) {
|
|
184
|
-
|
|
191
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug(`recovering from update gap [${source}]`);
|
|
185
192
|
__classPrivateFieldGet(this, _UpdateManager_c, "f").setConnectionState("updating");
|
|
186
193
|
try {
|
|
187
194
|
let state = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
|
|
@@ -198,7 +205,7 @@ class UpdateManager {
|
|
|
198
205
|
}
|
|
199
206
|
if (difference instanceof _2_tl_js_1.types.updates.Difference) {
|
|
200
207
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, difference.state);
|
|
201
|
-
|
|
208
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("recovered from update gap");
|
|
202
209
|
break;
|
|
203
210
|
}
|
|
204
211
|
else if (difference instanceof _2_tl_js_1.types.updates.DifferenceSlice) {
|
|
@@ -213,11 +220,11 @@ class UpdateManager {
|
|
|
213
220
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(0);
|
|
214
221
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(1);
|
|
215
222
|
state.pts = difference.pts;
|
|
216
|
-
|
|
223
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("received differenceTooLong");
|
|
217
224
|
}
|
|
218
225
|
else if (difference instanceof _2_tl_js_1.types.updates.DifferenceEmpty) {
|
|
219
226
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setUpdateStateDate).call(this, difference.date);
|
|
220
|
-
|
|
227
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("there was no update gap");
|
|
221
228
|
break;
|
|
222
229
|
}
|
|
223
230
|
else {
|
|
@@ -234,7 +241,7 @@ class UpdateManager {
|
|
|
234
241
|
}
|
|
235
242
|
}
|
|
236
243
|
exports.UpdateManager = UpdateManager;
|
|
237
|
-
_a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
|
|
244
|
+
_a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_LrecoverUpdateGap = new WeakMap(), _UpdateManager_LrecoverChannelUpdateGap = new WeakMap(), _UpdateManager_L$handleUpdate = new WeakMap(), _UpdateManager_L$processUpdates = new WeakMap(), _UpdateManager_LfetchState = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
|
|
238
245
|
if (typeof __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates === "boolean") {
|
|
239
246
|
return __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates;
|
|
240
247
|
}
|
|
@@ -364,7 +371,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
364
371
|
if (checkGap) {
|
|
365
372
|
if (seqStart == 0) {
|
|
366
373
|
checkGap = false;
|
|
367
|
-
|
|
374
|
+
__classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("seqStart=0");
|
|
368
375
|
}
|
|
369
376
|
else {
|
|
370
377
|
const localState = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
|
|
@@ -378,7 +385,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
378
385
|
}
|
|
379
386
|
else if (localSeq + 1 > seqStart) {
|
|
380
387
|
// The update sequence was already applied, and must be ignored.
|
|
381
|
-
|
|
388
|
+
__classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("localSeq + 1 > seqStart");
|
|
382
389
|
return;
|
|
383
390
|
}
|
|
384
391
|
else if (localSeq + 1 < seqStart) {
|
|
@@ -533,7 +540,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
533
540
|
}
|
|
534
541
|
return localState;
|
|
535
542
|
}, _UpdateManager_recoverChannelUpdateGap = async function _UpdateManager_recoverChannelUpdateGap(channelId, source) {
|
|
536
|
-
|
|
543
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovering channel update gap [${channelId}, ${source}]`);
|
|
537
544
|
const pts_ = await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.getChannelPts(channelId);
|
|
538
545
|
let pts = pts_ == null ? 1 : pts_;
|
|
539
546
|
while (true) {
|
|
@@ -554,12 +561,12 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
554
561
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, update, false);
|
|
555
562
|
}
|
|
556
563
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.setChannelPts(channelId, difference.pts);
|
|
557
|
-
|
|
564
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovered from update gap [${channelId}, ${source}]`, channelId, source);
|
|
558
565
|
break;
|
|
559
566
|
}
|
|
560
567
|
else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceTooLong) {
|
|
561
568
|
// TODO: invalidate messages
|
|
562
|
-
|
|
569
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("received channelDifferenceTooLong");
|
|
563
570
|
await this.processChats(difference.chats);
|
|
564
571
|
await this.processUsers(difference.users);
|
|
565
572
|
for (const message of difference.messages) {
|
|
@@ -572,10 +579,10 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
572
579
|
else {
|
|
573
580
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
574
581
|
}
|
|
575
|
-
|
|
582
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("processed channelDifferenceTooLong");
|
|
576
583
|
}
|
|
577
584
|
else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceEmpty) {
|
|
578
|
-
|
|
585
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("there was no update gap");
|
|
579
586
|
break;
|
|
580
587
|
}
|
|
581
588
|
}
|
|
@@ -605,7 +612,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
605
612
|
break;
|
|
606
613
|
}
|
|
607
614
|
catch (err) {
|
|
608
|
-
|
|
615
|
+
__classPrivateFieldGet(this, _UpdateManager_L$handleUpdate, "f").error(err);
|
|
609
616
|
}
|
|
610
617
|
}
|
|
611
618
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.set(key, null);
|
|
@@ -19,7 +19,8 @@ const _2_tl_js_1 = require("../2_tl.js");
|
|
|
19
19
|
const _4_constants_js_1 = require("../4_constants.js");
|
|
20
20
|
const _0_client_abstract_js_1 = require("./0_client_abstract.js");
|
|
21
21
|
const _0_message_js_1 = require("./0_message.js");
|
|
22
|
-
const
|
|
22
|
+
const L = (0, _1_utilities_js_1.getLogger)("ClientPlain");
|
|
23
|
+
const LcreateAuthKey = L.branch("createAuthKey");
|
|
23
24
|
class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
24
25
|
constructor(params) {
|
|
25
26
|
super(params);
|
|
@@ -32,8 +33,12 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
32
33
|
throw new Error("Not connected");
|
|
33
34
|
}
|
|
34
35
|
const msgId = __classPrivateFieldSet(this, _ClientPlain_lastMsgId, (0, _0_message_js_1.getMessageId)(__classPrivateFieldGet(this, _ClientPlain_lastMsgId, "f")), "f");
|
|
35
|
-
|
|
36
|
+
const payload = (0, _0_message_js_1.packUnencryptedMessage)(function_[_2_tl_js_1.serialize](), msgId);
|
|
37
|
+
await this.transport.transport.send(payload);
|
|
38
|
+
L.out(function_);
|
|
39
|
+
L.outBin(payload);
|
|
36
40
|
const buffer = await this.transport.transport.receive();
|
|
41
|
+
L.inBin(payload);
|
|
37
42
|
if (buffer.length == 4) {
|
|
38
43
|
const int = (0, _1_utilities_js_1.bigIntFromBuffer)(buffer, true, true);
|
|
39
44
|
if (int == -404n) {
|
|
@@ -42,33 +47,35 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
42
47
|
}
|
|
43
48
|
const { message } = (0, _0_message_js_1.unpackUnencryptedMessage)(buffer);
|
|
44
49
|
const reader = new _2_tl_js_1.TLReader(message);
|
|
45
|
-
|
|
50
|
+
const result = reader.readObject();
|
|
51
|
+
L.in(result);
|
|
52
|
+
return result;
|
|
46
53
|
}
|
|
47
54
|
async createAuthKey() {
|
|
48
55
|
const nonce = (0, _1_utilities_js_1.getRandomBigInt)(16, false, true);
|
|
49
|
-
|
|
56
|
+
LcreateAuthKey.debug("auth key creation started");
|
|
50
57
|
let resPq = null;
|
|
51
58
|
for (let i = 0; i < 10; i++) {
|
|
52
59
|
try {
|
|
53
|
-
|
|
60
|
+
LcreateAuthKey.debug(`req_pq_multi [${i + 1}]`);
|
|
54
61
|
resPq = await this.invoke(new _2_tl_js_1.functions.req_pq_multi({ nonce }));
|
|
55
62
|
(0, _0_deps_js_1.assertInstanceOf)(resPq, _2_tl_js_1.types.ResPQ);
|
|
56
63
|
(0, _0_deps_js_1.assertEquals)(resPq.nonce, nonce);
|
|
57
|
-
|
|
64
|
+
LcreateAuthKey.debug("got res_pq");
|
|
58
65
|
break;
|
|
59
66
|
}
|
|
60
67
|
catch (err) {
|
|
61
|
-
|
|
68
|
+
LcreateAuthKey.debug("req_pq_multi error:", err);
|
|
62
69
|
}
|
|
63
70
|
}
|
|
64
71
|
if (!resPq) {
|
|
65
72
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
66
73
|
}
|
|
67
74
|
const pq_ = (0, _1_utilities_js_1.bigIntFromBuffer)(resPq.pq, false, false);
|
|
68
|
-
|
|
75
|
+
LcreateAuthKey.debug(`pq=${pq_}`);
|
|
69
76
|
const [p_, q_] = (0, _0_deps_js_1.factorize)(pq_);
|
|
70
|
-
|
|
71
|
-
|
|
77
|
+
LcreateAuthKey.debug("factorized pq");
|
|
78
|
+
LcreateAuthKey.debug(`p=${p_}, q=${q_}`);
|
|
72
79
|
const p = (0, _1_utilities_js_1.bufferFromBigInt)(p_, 4, false, false);
|
|
73
80
|
const q = (0, _1_utilities_js_1.bufferFromBigInt)(q_, 4, false, false);
|
|
74
81
|
let publicKeyFingerprint;
|
|
@@ -106,7 +113,7 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
106
113
|
encrypted_data: encryptedData,
|
|
107
114
|
}));
|
|
108
115
|
(0, _0_deps_js_1.assertInstanceOf)(dhParams, _2_tl_js_1.types.Server_DH_params_ok);
|
|
109
|
-
|
|
116
|
+
LcreateAuthKey.debug("got server_DH_params_ok");
|
|
110
117
|
const newNonce_ = (0, _1_utilities_js_1.bufferFromBigInt)(newNonce, 32, true, true);
|
|
111
118
|
const serverNonce_ = (0, _1_utilities_js_1.bufferFromBigInt)(serverNonce, 16, true, true);
|
|
112
119
|
const tmpAesKey = (0, _1_utilities_js_1.concat)(await (0, _1_utilities_js_1.sha1)((0, _1_utilities_js_1.concat)(newNonce_, serverNonce_)), (await (0, _1_utilities_js_1.sha1)((0, _1_utilities_js_1.concat)(serverNonce_, newNonce_))).subarray(0, 0 + 12));
|
|
@@ -132,12 +139,12 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
132
139
|
encryptedData = (0, _0_deps_js_1.ige256Encrypt)(dataWithHash, tmpAesKey, tmpAesIv);
|
|
133
140
|
const dhGenOk = await this.invoke(new _2_tl_js_1.functions.set_client_DH_params({ nonce, server_nonce: serverNonce, encrypted_data: encryptedData }));
|
|
134
141
|
(0, _0_deps_js_1.assertInstanceOf)(dhGenOk, _2_tl_js_1.types.Dh_gen_ok);
|
|
135
|
-
|
|
142
|
+
LcreateAuthKey.debug("got dh_gen_ok");
|
|
136
143
|
const serverNonceSlice = serverNonce_.subarray(0, 8);
|
|
137
144
|
const salt = newNonce_.subarray(0, 0 + 8).map((v, i) => v ^ serverNonceSlice[i]);
|
|
138
145
|
const authKey_ = (0, _1_utilities_js_1.modExp)(gA, b, dhPrime);
|
|
139
146
|
const authKey = (0, _1_utilities_js_1.bufferFromBigInt)(authKey_, 256, false, false);
|
|
140
|
-
|
|
147
|
+
LcreateAuthKey.debug("auth key created");
|
|
141
148
|
return {
|
|
142
149
|
authKey,
|
|
143
150
|
salt: (0, _1_utilities_js_1.bigIntFromBuffer)(salt, true, false),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { enums, types } from "../2_tl.js";
|
|
2
2
|
import { ChatAction, ChatMember, FileSource, FileType, ID, Message, MessageEntity, ParseMode, Reaction, Update, UsernameResolver } from "../3_types.js";
|
|
3
3
|
import { BanChatMemberParams, DeleteMessagesParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetHistoryParams, PinMessageParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams } from "./0_params.js";
|
|
4
|
+
import { SearchMessagesParams } from "./0_params.js";
|
|
4
5
|
import { AddReactionParams, SetReactionsParams } from "./0_params.js";
|
|
5
6
|
import { C as C_ } from "./0_types.js";
|
|
6
7
|
import { FileManager } from "./1_file_manager.js";
|
|
@@ -98,5 +99,7 @@ export declare class MessageManager {
|
|
|
98
99
|
getChatAdministrators(chatId: ID): Promise<ChatMember[]>;
|
|
99
100
|
enableJoinRequests(chatId: ID): Promise<void>;
|
|
100
101
|
disableJoinRequests(chatId: ID): Promise<void>;
|
|
102
|
+
searchMessages(chatId: ID, query: string, params?: SearchMessagesParams): Promise<Message[]>;
|
|
103
|
+
setBoostsRequiredToCircumventRestrictions(chatId: ID, boosts: number): Promise<void>;
|
|
101
104
|
}
|
|
102
105
|
export {};
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _MessageManager_instances, _MessageManager_c, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia, _MessageManager_sendReaction, _MessageManager_toggleJoinRequests;
|
|
13
|
+
var _MessageManager_instances, _MessageManager_c, _MessageManager_LresolveFileId, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia, _MessageManager_sendReaction, _MessageManager_toggleJoinRequests;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.MessageManager = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -19,13 +19,14 @@ const _2_tl_js_1 = require("../2_tl.js");
|
|
|
19
19
|
const _3_types_js_1 = require("../3_types.js");
|
|
20
20
|
const _3_types_js_2 = require("../3_types.js");
|
|
21
21
|
const _4_constants_js_1 = require("../4_constants.js");
|
|
22
|
+
const _0_message_search_filter_js_1 = require("../types/0_message_search_filter.js");
|
|
22
23
|
const _0_html_js_1 = require("./0_html.js");
|
|
23
24
|
const _0_utilities_js_1 = require("./0_utilities.js");
|
|
24
|
-
const d = (0, _0_deps_js_1.debug)("MessageManager");
|
|
25
25
|
class MessageManager {
|
|
26
26
|
constructor(c) {
|
|
27
27
|
_MessageManager_instances.add(this);
|
|
28
28
|
_MessageManager_c.set(this, void 0);
|
|
29
|
+
_MessageManager_LresolveFileId.set(this, void 0);
|
|
29
30
|
Object.defineProperty(this, "usernameResolver", {
|
|
30
31
|
enumerable: true,
|
|
31
32
|
configurable: true,
|
|
@@ -36,6 +37,8 @@ class MessageManager {
|
|
|
36
37
|
}
|
|
37
38
|
});
|
|
38
39
|
__classPrivateFieldSet(this, _MessageManager_c, c, "f");
|
|
40
|
+
const L = (0, _1_utilities_js_1.getLogger)("MessageManager").client(c.id);
|
|
41
|
+
__classPrivateFieldSet(this, _MessageManager_LresolveFileId, L.branch("resolveFileId"), "f");
|
|
39
42
|
}
|
|
40
43
|
async getMessages(chatId, messageIds) {
|
|
41
44
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
@@ -138,6 +141,7 @@ class MessageManager {
|
|
|
138
141
|
return await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, to, result);
|
|
139
142
|
}
|
|
140
143
|
async getHistory(chatId, params) {
|
|
144
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("getHistory");
|
|
141
145
|
let limit = params?.limit ?? 100;
|
|
142
146
|
if (limit <= 0) {
|
|
143
147
|
limit = 1;
|
|
@@ -428,7 +432,7 @@ class MessageManager {
|
|
|
428
432
|
fileId = _3_types_js_2.FileID.decode(maybeFileId);
|
|
429
433
|
}
|
|
430
434
|
catch (err) {
|
|
431
|
-
|
|
435
|
+
__classPrivateFieldGet(this, _MessageManager_LresolveFileId, "f").warning(err);
|
|
432
436
|
}
|
|
433
437
|
if (fileId != null) {
|
|
434
438
|
if (fileId.fileType != expectedFileType) {
|
|
@@ -862,14 +866,45 @@ class MessageManager {
|
|
|
862
866
|
}
|
|
863
867
|
}
|
|
864
868
|
async enableJoinRequests(chatId) {
|
|
869
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("enableJoinRequests");
|
|
865
870
|
await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, true);
|
|
866
871
|
}
|
|
867
872
|
async disableJoinRequests(chatId) {
|
|
873
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").storage.assertUser("disableJoinRequests");
|
|
868
874
|
await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, false);
|
|
869
875
|
}
|
|
876
|
+
async searchMessages(chatId, query, params) {
|
|
877
|
+
const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.search({
|
|
878
|
+
peer: await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId),
|
|
879
|
+
q: query,
|
|
880
|
+
add_offset: 0,
|
|
881
|
+
filter: (0, _0_message_search_filter_js_1.messageSearchFilterToTlObject)(params?.filter ?? "empty"),
|
|
882
|
+
hash: 0n,
|
|
883
|
+
limit: params?.limit ?? 100,
|
|
884
|
+
max_date: 0,
|
|
885
|
+
max_id: 0,
|
|
886
|
+
min_date: 0,
|
|
887
|
+
min_id: 0,
|
|
888
|
+
offset_id: params?.after ? params.after : 0,
|
|
889
|
+
from_id: params?.from ? await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(params.from) : undefined,
|
|
890
|
+
});
|
|
891
|
+
if (!("messages" in result)) {
|
|
892
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
893
|
+
}
|
|
894
|
+
const messages = new Array();
|
|
895
|
+
for (const message_ of result.messages) {
|
|
896
|
+
const message = await this.constructMessage(message_, false);
|
|
897
|
+
messages.push(message);
|
|
898
|
+
}
|
|
899
|
+
return messages;
|
|
900
|
+
}
|
|
901
|
+
async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
|
|
902
|
+
const channel = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputChannel(chatId);
|
|
903
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.channels.setBoostsToUnblockRestrictions({ channel, boosts });
|
|
904
|
+
}
|
|
870
905
|
}
|
|
871
906
|
exports.MessageManager = MessageManager;
|
|
872
|
-
_MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_updatesToMessages = async function _MessageManager_updatesToMessages(chatId, updates) {
|
|
907
|
+
_MessageManager_c = new WeakMap(), _MessageManager_LresolveFileId = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_updatesToMessages = async function _MessageManager_updatesToMessages(chatId, updates) {
|
|
873
908
|
const messages = new Array();
|
|
874
909
|
if (updates instanceof _2_tl_js_1.types.Updates) {
|
|
875
910
|
for (const update of updates.updates) {
|
|
@@ -10,19 +10,18 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _ChatListManager_instances, _ChatListManager_c, _ChatListManager_sendChatUpdate, _ChatListManager_chats, _ChatListManager_archivedChats, _ChatListManager_chatsLoadedFromStorage, _ChatListManager_tryGetChatId, _ChatListManager_getChatAnywhere, _ChatListManager_getChatList, _ChatListManager_loadChatsFromStorage, _ChatListManager_getLoadedChats, _ChatListManager_pinnedChats, _ChatListManager_pinnedArchiveChats, _ChatListManager_storageHadPinnedChats, _ChatListManager_pinnedChatsLoaded, _ChatListManager_loadPinnedChats, _ChatListManager_fetchPinnedChats, _ChatListManager_getPinnedChats, _ChatListManager_updateOrAddChat, _ChatListManager_removeChat, _ChatListManager_handleUpdateFolderPeers, _ChatListManager_handleUpdatePinnedDialogs, _ChatListManager_handleUpdateChannel, _ChatListManager_handleUpdateChat, _ChatListManager_handleUpdateUser, _ChatListManager_fetchChats;
|
|
13
|
+
var _ChatListManager_instances, _ChatListManager_c, _ChatListManager_LgetChats, _ChatListManager_sendChatUpdate, _ChatListManager_chats, _ChatListManager_archivedChats, _ChatListManager_chatsLoadedFromStorage, _ChatListManager_tryGetChatId, _ChatListManager_getChatAnywhere, _ChatListManager_getChatList, _ChatListManager_loadChatsFromStorage, _ChatListManager_getLoadedChats, _ChatListManager_pinnedChats, _ChatListManager_pinnedArchiveChats, _ChatListManager_storageHadPinnedChats, _ChatListManager_pinnedChatsLoaded, _ChatListManager_loadPinnedChats, _ChatListManager_fetchPinnedChats, _ChatListManager_getPinnedChats, _ChatListManager_updateOrAddChat, _ChatListManager_removeChat, _ChatListManager_handleUpdateFolderPeers, _ChatListManager_handleUpdatePinnedDialogs, _ChatListManager_handleUpdateChannel, _ChatListManager_handleUpdateChat, _ChatListManager_handleUpdateUser, _ChatListManager_fetchChats;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.ChatListManager = void 0;
|
|
16
|
-
const _0_deps_js_1 = require("../0_deps.js");
|
|
17
16
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
18
17
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
19
18
|
const _3_types_js_1 = require("../3_types.js");
|
|
20
19
|
const _0_utilities_js_1 = require("./0_utilities.js");
|
|
21
|
-
const d = (0, _0_deps_js_1.debug)("ChatListManager");
|
|
22
20
|
class ChatListManager {
|
|
23
21
|
constructor(c) {
|
|
24
22
|
_ChatListManager_instances.add(this);
|
|
25
23
|
_ChatListManager_c.set(this, void 0);
|
|
24
|
+
_ChatListManager_LgetChats.set(this, void 0);
|
|
26
25
|
_ChatListManager_chats.set(this, new Map());
|
|
27
26
|
_ChatListManager_archivedChats.set(this, new Map());
|
|
28
27
|
_ChatListManager_chatsLoadedFromStorage.set(this, false);
|
|
@@ -31,6 +30,8 @@ class ChatListManager {
|
|
|
31
30
|
_ChatListManager_storageHadPinnedChats.set(this, false);
|
|
32
31
|
_ChatListManager_pinnedChatsLoaded.set(this, false);
|
|
33
32
|
__classPrivateFieldSet(this, _ChatListManager_c, c, "f");
|
|
33
|
+
const L = (0, _1_utilities_js_1.getLogger)("ChatListManager").client(c.id);
|
|
34
|
+
__classPrivateFieldSet(this, _ChatListManager_LgetChats, L.branch("getChats"), "f");
|
|
34
35
|
}
|
|
35
36
|
async reassignChatLastMessage(chatId, add = false, sendUpdate = true) {
|
|
36
37
|
try {
|
|
@@ -112,7 +113,7 @@ class ChatListManager {
|
|
|
112
113
|
.filter((v) => v.order < after.order);
|
|
113
114
|
}
|
|
114
115
|
if (chats.length < limit) {
|
|
115
|
-
|
|
116
|
+
__classPrivateFieldGet(this, _ChatListManager_LgetChats, "f").debug(`have only ${chats.length} chats but ${limit - chats.length} more is needed`);
|
|
116
117
|
if (!await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.hasAllChats(listId)) {
|
|
117
118
|
await __classPrivateFieldGet(this, _ChatListManager_instances, "m", _ChatListManager_fetchChats).call(this, listId, limit, after);
|
|
118
119
|
return await this.getChats(from, after, limit);
|
|
@@ -217,7 +218,7 @@ class ChatListManager {
|
|
|
217
218
|
}
|
|
218
219
|
}
|
|
219
220
|
exports.ChatListManager = ChatListManager;
|
|
220
|
-
_ChatListManager_c = new WeakMap(), _ChatListManager_chats = new WeakMap(), _ChatListManager_archivedChats = new WeakMap(), _ChatListManager_chatsLoadedFromStorage = new WeakMap(), _ChatListManager_pinnedChats = new WeakMap(), _ChatListManager_pinnedArchiveChats = new WeakMap(), _ChatListManager_storageHadPinnedChats = new WeakMap(), _ChatListManager_pinnedChatsLoaded = new WeakMap(), _ChatListManager_instances = new WeakSet(), _ChatListManager_sendChatUpdate = async function _ChatListManager_sendChatUpdate(chatId, added) {
|
|
221
|
+
_ChatListManager_c = new WeakMap(), _ChatListManager_LgetChats = new WeakMap(), _ChatListManager_chats = new WeakMap(), _ChatListManager_archivedChats = new WeakMap(), _ChatListManager_chatsLoadedFromStorage = new WeakMap(), _ChatListManager_pinnedChats = new WeakMap(), _ChatListManager_pinnedArchiveChats = new WeakMap(), _ChatListManager_storageHadPinnedChats = new WeakMap(), _ChatListManager_pinnedChatsLoaded = new WeakMap(), _ChatListManager_instances = new WeakSet(), _ChatListManager_sendChatUpdate = async function _ChatListManager_sendChatUpdate(chatId, added) {
|
|
221
222
|
try {
|
|
222
223
|
await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.assertUser("");
|
|
223
224
|
}
|
|
@@ -25,6 +25,7 @@ class StoryManager {
|
|
|
25
25
|
__classPrivateFieldSet(this, _StoryManager_c, c, "f");
|
|
26
26
|
}
|
|
27
27
|
async createStory(chatId, content, params) {
|
|
28
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("createStory");
|
|
28
29
|
let media = null;
|
|
29
30
|
const source = "video" in content ? content.video : "photo" in content ? content.photo : (0, _1_utilities_js_1.UNREACHABLE)();
|
|
30
31
|
if (typeof source === "string") {
|
|
@@ -84,6 +85,7 @@ class StoryManager {
|
|
|
84
85
|
return await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_updatesToStory).call(this, updates);
|
|
85
86
|
}
|
|
86
87
|
async getStories(chatId, storyIds) {
|
|
88
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("getStories");
|
|
87
89
|
const peer = await __classPrivateFieldGet(this, _StoryManager_c, "f").getInputPeer(chatId);
|
|
88
90
|
const stories_ = await __classPrivateFieldGet(this, _StoryManager_c, "f").api.stories.getStoriesByID({ peer, id: storyIds });
|
|
89
91
|
const stories = new Array();
|
|
@@ -93,25 +95,32 @@ class StoryManager {
|
|
|
93
95
|
return stories;
|
|
94
96
|
}
|
|
95
97
|
async getStory(chatId, storyId) {
|
|
98
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("getStory");
|
|
96
99
|
return await this.getStories(chatId, [storyId]).then((v) => v[0] ?? null);
|
|
97
100
|
}
|
|
98
101
|
async deleteStories(chatId, storyIds) {
|
|
102
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("deleteStories");
|
|
99
103
|
const peer = await __classPrivateFieldGet(this, _StoryManager_c, "f").getInputPeer(chatId);
|
|
100
104
|
await __classPrivateFieldGet(this, _StoryManager_c, "f").api.stories.deleteStories({ peer, id: storyIds });
|
|
101
105
|
}
|
|
102
106
|
async deleteStory(chatId, storyId) {
|
|
107
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("deleteStory");
|
|
103
108
|
await this.deleteStories(chatId, [storyId]);
|
|
104
109
|
}
|
|
105
110
|
async addStoriesToHighlights(chatId, storyIds) {
|
|
111
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("addStoriesToHighlights");
|
|
106
112
|
await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_togglePinned).call(this, chatId, storyIds, true);
|
|
107
113
|
}
|
|
108
114
|
async addStoryToHighlights(chatId, storyId) {
|
|
115
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("addStoryToHighlights");
|
|
109
116
|
await this.addStoriesToHighlights(chatId, [storyId]);
|
|
110
117
|
}
|
|
111
118
|
async removeStoriesFromHighlights(chatId, storyIds) {
|
|
119
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("removeStoriesFromHighlights");
|
|
112
120
|
await __classPrivateFieldGet(this, _StoryManager_instances, "m", _StoryManager_togglePinned).call(this, chatId, storyIds, false);
|
|
113
121
|
}
|
|
114
122
|
async removeStoryFromHighlights(chatId, storyId) {
|
|
123
|
+
await __classPrivateFieldGet(this, _StoryManager_c, "f").storage.assertUser("removeStoryFromHighlights");
|
|
115
124
|
await this.removeStoriesFromHighlights(chatId, [storyId]);
|
|
116
125
|
}
|
|
117
126
|
static canHandleUpdate(update) {
|
|
@@ -2,11 +2,12 @@ import { MaybePromise } from "../1_utilities.js";
|
|
|
2
2
|
import { functions, types } from "../2_tl.js";
|
|
3
3
|
import { Storage } from "../3_storage.js";
|
|
4
4
|
import { DC } from "../3_transport.js";
|
|
5
|
+
import { InactiveChat } from "../3_types.js";
|
|
5
6
|
import { BotCommand, Chat, ChatAction, ChatMember, ChatP, Document, FileSource, ID, InlineQueryResult, InputStoryContent, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageLocation, MessagePhoto, MessagePoll, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, NetworkStatistics, ParseMode, Reaction, Story, Update, UpdateIntersection, User } from "../3_types.js";
|
|
6
7
|
import { Migrate } from "../4_errors.js";
|
|
7
8
|
import { ClientAbstract } from "./0_client_abstract.js";
|
|
8
9
|
import { FilterQuery, WithFilter } from "./0_filters.js";
|
|
9
|
-
import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, GetHistoryParams, GetMyCommandsParams, PinMessageParams, ReplyParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetMyCommandsParams, SetReactionsParams, UploadParams } from "./0_params.js";
|
|
10
|
+
import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, BanChatMemberParams, CreateStoryParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatsParams, GetHistoryParams, GetMyCommandsParams, PinMessageParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetMyCommandsParams, SetReactionsParams, UploadParams } from "./0_params.js";
|
|
10
11
|
import { Api } from "./0_types.js";
|
|
11
12
|
import { Composer, Middleware } from "./1_composer.js";
|
|
12
13
|
import { ClientPlainParams } from "./2_client_plain.js";
|
|
@@ -132,6 +133,10 @@ export interface Context {
|
|
|
132
133
|
setChatMemberRights: (memberId: ID, params?: SetChatMemberRightsParams) => Promise<void>;
|
|
133
134
|
/** Delete all messages sent by a specific member of the chat which the message was received from. */
|
|
134
135
|
deleteChatMemberMessages: (userId: ID) => Promise<void>;
|
|
136
|
+
/** Search the messages of the chat which the message was received from. */
|
|
137
|
+
searchMessages: (query: string, params?: SearchMessagesParams) => Promise<Message[]>;
|
|
138
|
+
/** Set the number of boosts required to circument the chat's default restrictions. */
|
|
139
|
+
setBoostsRequiredToCircumventRestrictions: (boosts: number) => Promise<void>;
|
|
135
140
|
toJSON: () => Update;
|
|
136
141
|
}
|
|
137
142
|
export declare function skipInvoke<C extends Context>(): InvokeErrorHandler<Client<C>>;
|
|
@@ -181,11 +186,11 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
|
|
|
181
186
|
/**
|
|
182
187
|
* Constructs the client.
|
|
183
188
|
*
|
|
184
|
-
* @param storage The storage provider to use. Defaults to memory storage.
|
|
189
|
+
* @param storage The storage provider to use. Defaults to memory storage. Passing a string constructs a memory storage with the string being the string session.
|
|
185
190
|
* @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
|
|
186
191
|
* @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
|
|
187
192
|
*/
|
|
188
|
-
constructor(storage?: Storage | null, apiId?: number | null, apiHash?: string | null, params?: ClientParams);
|
|
193
|
+
constructor(storage?: Storage | string | null, apiId?: number | null, apiHash?: string | null, params?: ClientParams);
|
|
189
194
|
api: Api;
|
|
190
195
|
protected stateChangeHandler: (connected: boolean) => void;
|
|
191
196
|
/**
|
|
@@ -241,6 +246,8 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
|
|
|
241
246
|
* Alias for `invoke` with its second parameter being `true`.
|
|
242
247
|
*/
|
|
243
248
|
send<T extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>>(function_: T): Promise<void>;
|
|
249
|
+
exportAuthString(): Promise<string>;
|
|
250
|
+
importAuthString(authString: string): Promise<void>;
|
|
244
251
|
getInputPeer(id: ID): Promise<import("../tl/2_types.js").InputPeerSelf_ | import("../tl/2_types.js").InputPeerChat_ | import("../tl/2_types.js").InputPeerUser_ | import("../tl/2_types.js").InputPeerChannel_>;
|
|
245
252
|
getInputChannel(id: ID): Promise<import("../tl/2_types.js").InputChannel_>;
|
|
246
253
|
getInputUser(id: ID): Promise<import("../tl/2_types.js").InputUser_>;
|
|
@@ -816,5 +823,58 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
|
|
|
816
823
|
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
817
824
|
*/
|
|
818
825
|
disableJoinRequests(chatId: ID): Promise<void>;
|
|
826
|
+
/**
|
|
827
|
+
* Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
|
|
828
|
+
*
|
|
829
|
+
* @method ac
|
|
830
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
831
|
+
* @param username The username to show.
|
|
832
|
+
*/
|
|
833
|
+
showUsername(id: ID, username: string): Promise<void>;
|
|
834
|
+
/**
|
|
835
|
+
* Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
836
|
+
*
|
|
837
|
+
* @method ac
|
|
838
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
839
|
+
* @param username The username to hide.
|
|
840
|
+
*/
|
|
841
|
+
hideUsername(id: ID, username: string): Promise<void>;
|
|
842
|
+
/**
|
|
843
|
+
* Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
844
|
+
*
|
|
845
|
+
* @method ac
|
|
846
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
847
|
+
* @param order The new order to use.
|
|
848
|
+
*/
|
|
849
|
+
reorderUsernames(id: ID, order: string[]): Promise<boolean>;
|
|
850
|
+
/**
|
|
851
|
+
* Hide all usernames from the a supergroup or a channel's profile. User-only.
|
|
852
|
+
*
|
|
853
|
+
* @method ac
|
|
854
|
+
* @param id A supergroup ID or a channel ID.
|
|
855
|
+
*/
|
|
856
|
+
hideUsernames(id: ID): Promise<boolean>;
|
|
857
|
+
/**
|
|
858
|
+
* Get inactive chats. User-only.
|
|
859
|
+
*
|
|
860
|
+
* @method ch
|
|
861
|
+
*/
|
|
862
|
+
getInactiveChats(): Promise<InactiveChat[]>;
|
|
863
|
+
/**
|
|
864
|
+
* Search the messages of a chat.
|
|
865
|
+
*
|
|
866
|
+
* @method ms
|
|
867
|
+
* @param chatId The identifier of the chat to search the messages in.
|
|
868
|
+
* @param query The message search query.
|
|
869
|
+
*/
|
|
870
|
+
searchMessages(chatId: ID, query: string, params?: SearchMessagesParams): Promise<Message[]>;
|
|
871
|
+
/**
|
|
872
|
+
* Set the number of boosts required to circument a chat's default restrictions.
|
|
873
|
+
*
|
|
874
|
+
* @method ch
|
|
875
|
+
* @param chatId The identifier of the chat.
|
|
876
|
+
* @param boosts The number of boosts required to circumvent its restrictions.
|
|
877
|
+
*/
|
|
878
|
+
setBoostsRequiredToCircumventRestrictions(chatId: ID, boosts: number): Promise<void>;
|
|
819
879
|
}
|
|
820
880
|
export {};
|