@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
package/esm/client/4_client.js
CHANGED
|
@@ -9,9 +9,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
9
9
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
|
-
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
13
|
-
import {
|
|
14
|
-
import { bigIntFromBuffer, cleanObject, drop, getRandomBigInt, getRandomId, mustPrompt, mustPromptOneOf, sha1, UNREACHABLE, ZERO_CHANNEL_ID } from "../1_utilities.js";
|
|
12
|
+
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_id, _Client_L, _Client_Lauthorize, _Client_LreceiveLoop, _Client_LpingLoop, _Client_Linvoke, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
13
|
+
import { gunzip } from "../0_deps.js";
|
|
14
|
+
import { bigIntFromBuffer, cleanObject, drop, getLogger, getRandomBigInt, getRandomId, mustPrompt, mustPromptOneOf, Mutex, sha1, UNREACHABLE, ZERO_CHANNEL_ID } from "../1_utilities.js";
|
|
15
15
|
import { as, chatIdToPeerId, functions, getChatIdPeerType, Message_, MessageContainer, name, peerToChatId, RPCResult, TLError, TLReader, types } from "../2_tl.js";
|
|
16
16
|
import { StorageMemory } from "../3_storage.js";
|
|
17
17
|
import { constructUser } from "../3_types.js";
|
|
@@ -23,6 +23,7 @@ import { decryptMessage, encryptMessage, getMessageId } from "./0_message.js";
|
|
|
23
23
|
import { checkPassword } from "./0_password.js";
|
|
24
24
|
import { ConnectionError } from "./0_types.js";
|
|
25
25
|
import { getUsername, resolve } from "./0_utilities.js";
|
|
26
|
+
import { AccountManager } from "./1_account_manager.js";
|
|
26
27
|
import { BotInfoManager } from "./1_bot_info_manager.js";
|
|
27
28
|
import { Composer, concat, flatten, skip } from "./1_composer.js";
|
|
28
29
|
import { FileManager } from "./1_file_manager.js";
|
|
@@ -35,9 +36,7 @@ import { CallbackQueryManager } from "./3_callback_query_manager.js";
|
|
|
35
36
|
import { ChatListManager } from "./3_chat_list_manager.js";
|
|
36
37
|
import { InlineQueryManager } from "./3_inline_query_manager.js";
|
|
37
38
|
import { StoryManager } from "./3_story_manager.js";
|
|
38
|
-
|
|
39
|
-
const dAuth = debug("Client/authorize");
|
|
40
|
-
const dRecv = debug("Client/receiveLoop");
|
|
39
|
+
let id = 0;
|
|
41
40
|
const getEntity = Symbol();
|
|
42
41
|
export const handleMigrationError = Symbol();
|
|
43
42
|
const functionNamespaces = Object.entries(functions).filter(([, v]) => !(v instanceof Function)).map(([k]) => k);
|
|
@@ -49,7 +48,7 @@ export class Client extends ClientAbstract {
|
|
|
49
48
|
/**
|
|
50
49
|
* Constructs the client.
|
|
51
50
|
*
|
|
52
|
-
* @param storage The storage provider to use. Defaults to memory storage.
|
|
51
|
+
* @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.
|
|
53
52
|
* @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
|
|
54
53
|
* @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
|
|
55
54
|
*/
|
|
@@ -84,6 +83,7 @@ export class Client extends ClientAbstract {
|
|
|
84
83
|
_Client_callbackQueryManager.set(this, void 0);
|
|
85
84
|
_Client_inlineQueryManager.set(this, void 0);
|
|
86
85
|
_Client_chatListManager.set(this, void 0);
|
|
86
|
+
_Client_accountManager.set(this, void 0);
|
|
87
87
|
Object.defineProperty(this, "storage", {
|
|
88
88
|
enumerable: true,
|
|
89
89
|
configurable: true,
|
|
@@ -138,6 +138,14 @@ export class Client extends ClientAbstract {
|
|
|
138
138
|
_Client_ignoreOutgoing.set(this, void 0);
|
|
139
139
|
_Client_prefixes.set(this, void 0);
|
|
140
140
|
_Client_storeMessages.set(this, void 0);
|
|
141
|
+
_Client_id.set(this, void 0);
|
|
142
|
+
_Client_L.set(this, void 0);
|
|
143
|
+
_Client_Lauthorize.set(this, void 0);
|
|
144
|
+
_Client_LreceiveLoop.set(this, void 0);
|
|
145
|
+
_Client_LpingLoop.set(this, void 0);
|
|
146
|
+
_Client_Linvoke.set(this, void 0);
|
|
147
|
+
_Client_LhandleMigrationError.set(this, void 0);
|
|
148
|
+
_Client_L$initConncetion.set(this, void 0);
|
|
141
149
|
_Client_namespaceProxies.set(this, (() => {
|
|
142
150
|
// deno-lint-ignore no-explicit-any
|
|
143
151
|
const proxies = {};
|
|
@@ -465,6 +473,14 @@ export class Client extends ClientAbstract {
|
|
|
465
473
|
const { chatId } = mustGetMsg();
|
|
466
474
|
return this.deleteChatMemberMessages(chatId, userId);
|
|
467
475
|
},
|
|
476
|
+
searchMessages: (query, params) => {
|
|
477
|
+
const { chatId } = mustGetMsg();
|
|
478
|
+
return this.searchMessages(chatId, query, params);
|
|
479
|
+
},
|
|
480
|
+
setBoostsRequiredToCircumventRestrictions: (boosts) => {
|
|
481
|
+
const { chatId } = mustGetMsg();
|
|
482
|
+
return this.setBoostsRequiredToCircumventRestrictions(chatId, boosts);
|
|
483
|
+
},
|
|
468
484
|
};
|
|
469
485
|
return cleanObject(context);
|
|
470
486
|
});
|
|
@@ -474,7 +490,7 @@ export class Client extends ClientAbstract {
|
|
|
474
490
|
configurable: true,
|
|
475
491
|
writable: true,
|
|
476
492
|
value: ((connected) => {
|
|
477
|
-
__classPrivateFieldGet(this, _Client_connectMutex, "f").
|
|
493
|
+
__classPrivateFieldGet(this, _Client_connectMutex, "f").lock().then((unlock) => {
|
|
478
494
|
try {
|
|
479
495
|
const connectionState = connected ? "ready" : "notConnected";
|
|
480
496
|
if (this.connected == connected && __classPrivateFieldGet(this, _Client_lastPropagatedConnectionState, "f") != connectionState) {
|
|
@@ -482,7 +498,7 @@ export class Client extends ClientAbstract {
|
|
|
482
498
|
}
|
|
483
499
|
}
|
|
484
500
|
finally {
|
|
485
|
-
|
|
501
|
+
unlock();
|
|
486
502
|
}
|
|
487
503
|
});
|
|
488
504
|
}).bind(this)
|
|
@@ -527,8 +543,9 @@ export class Client extends ClientAbstract {
|
|
|
527
543
|
_Client_lastGetMe.set(this, null);
|
|
528
544
|
//#region Composer
|
|
529
545
|
_Client_handle.set(this, skip);
|
|
530
|
-
this.storage = storage ?? new StorageMemory();
|
|
531
|
-
|
|
546
|
+
this.storage = typeof storage === "string" ? new StorageMemory(storage) : storage ?? new StorageMemory();
|
|
547
|
+
__classPrivateFieldSet(this, _Client_storeMessages, params?.storeMessages ?? false, "f");
|
|
548
|
+
if (!__classPrivateFieldGet(this, _Client_storeMessages, "f")) {
|
|
532
549
|
this.messageStorage = new StorageMemory();
|
|
533
550
|
}
|
|
534
551
|
else {
|
|
@@ -546,7 +563,16 @@ export class Client extends ClientAbstract {
|
|
|
546
563
|
__classPrivateFieldSet(this, _Client_ignoreOutgoing, params?.ignoreOutgoing ?? null, "f");
|
|
547
564
|
__classPrivateFieldSet(this, _Client_prefixes, params?.prefixes, "f");
|
|
548
565
|
__classPrivateFieldSet(this, _Client_guaranteeUpdateDelivery, params?.guaranteeUpdateDelivery ?? false, "f");
|
|
566
|
+
__classPrivateFieldSet(this, _Client_id, id++, "f");
|
|
567
|
+
const L = __classPrivateFieldSet(this, _Client_L, getLogger("Client").client(__classPrivateFieldGet(this, _Client_id, "f")), "f");
|
|
568
|
+
__classPrivateFieldSet(this, _Client_Lauthorize, L.branch("authorize"), "f");
|
|
569
|
+
__classPrivateFieldSet(this, _Client_LreceiveLoop, L.branch("receiveLoop"), "f");
|
|
570
|
+
__classPrivateFieldSet(this, _Client_LpingLoop, L.branch("pingLoop"), "f");
|
|
571
|
+
__classPrivateFieldSet(this, _Client_Linvoke, L.branch("invoke"), "f");
|
|
572
|
+
__classPrivateFieldSet(this, _Client_LhandleMigrationError, L.branch("[handleMigrationError]"), "f");
|
|
573
|
+
__classPrivateFieldSet(this, _Client_L$initConncetion, L.branch("#initConnection"), "f");
|
|
549
574
|
const c = {
|
|
575
|
+
id,
|
|
550
576
|
api: this.api,
|
|
551
577
|
storage: this.storage,
|
|
552
578
|
messageStorage: this.messageStorage,
|
|
@@ -616,6 +642,7 @@ export class Client extends ClientAbstract {
|
|
|
616
642
|
__classPrivateFieldSet(this, _Client_storyManager, new StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
617
643
|
__classPrivateFieldSet(this, _Client_inlineQueryManager, new InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
618
644
|
__classPrivateFieldSet(this, _Client_chatListManager, new ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
645
|
+
__classPrivateFieldSet(this, _Client_accountManager, new AccountManager(c), "f");
|
|
619
646
|
__classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
|
|
620
647
|
const transportProvider = this.transportProvider;
|
|
621
648
|
this.transportProvider = (params) => {
|
|
@@ -628,20 +655,20 @@ export class Client extends ClientAbstract {
|
|
|
628
655
|
drop((async () => {
|
|
629
656
|
if (connectionState == "notConnected") {
|
|
630
657
|
if (!this.transport?.transport.initialized) {
|
|
631
|
-
|
|
658
|
+
L.debug("not reconnecting");
|
|
632
659
|
return;
|
|
633
660
|
}
|
|
634
661
|
let delay = 5;
|
|
635
662
|
while (!this.connected) {
|
|
636
|
-
|
|
663
|
+
L.debug("reconnecting");
|
|
637
664
|
try {
|
|
638
665
|
await this.connect();
|
|
639
|
-
|
|
666
|
+
L.debug("reconnected");
|
|
640
667
|
drop(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("reconnect"));
|
|
641
668
|
break;
|
|
642
669
|
}
|
|
643
670
|
catch (err) {
|
|
644
|
-
|
|
671
|
+
L.debug(`failed to reconnect, retrying in ${delay}:`, err);
|
|
645
672
|
}
|
|
646
673
|
await new Promise((r) => setTimeout(r, delay * 1000));
|
|
647
674
|
if (delay < 15) {
|
|
@@ -654,7 +681,7 @@ export class Client extends ClientAbstract {
|
|
|
654
681
|
});
|
|
655
682
|
this.invoke.use(async ({ error }, next) => {
|
|
656
683
|
if (error instanceof FloodWait && error.seconds <= 10) {
|
|
657
|
-
|
|
684
|
+
L.warning("sleeping for", error.seconds, "because of:", error);
|
|
658
685
|
await new Promise((r) => setTimeout(r, 1000 * error.seconds));
|
|
659
686
|
return true;
|
|
660
687
|
}
|
|
@@ -688,7 +715,7 @@ export class Client extends ClientAbstract {
|
|
|
688
715
|
if (this.connected) {
|
|
689
716
|
return;
|
|
690
717
|
}
|
|
691
|
-
const
|
|
718
|
+
const unlock = await __classPrivateFieldGet(this, _Client_connectMutex, "f").lock();
|
|
692
719
|
try {
|
|
693
720
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
|
|
694
721
|
const authKey = await this.storage.getAuthKey();
|
|
@@ -720,17 +747,17 @@ export class Client extends ClientAbstract {
|
|
|
720
747
|
if (dc == null) {
|
|
721
748
|
await this.storage.setDc(this.initialDc);
|
|
722
749
|
}
|
|
723
|
-
|
|
750
|
+
__classPrivateFieldGet(this, _Client_L, "f").debug("connected");
|
|
724
751
|
drop(__classPrivateFieldGet(this, _Client_instances, "m", _Client_receiveLoop).call(this));
|
|
725
752
|
if (__classPrivateFieldGet(this, _Client_pingLoopStarted, "f")) {
|
|
726
753
|
drop(__classPrivateFieldGet(this, _Client_instances, "m", _Client_pingLoop).call(this));
|
|
727
754
|
}
|
|
728
755
|
}
|
|
729
756
|
finally {
|
|
730
|
-
|
|
757
|
+
unlock();
|
|
731
758
|
}
|
|
732
759
|
}
|
|
733
|
-
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
760
|
+
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_accountManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_id = new WeakMap(), _Client_L = new WeakMap(), _Client_Lauthorize = new WeakMap(), _Client_LreceiveLoop = new WeakMap(), _Client_LpingLoop = new WeakMap(), _Client_Linvoke = new WeakMap(), _Client_LhandleMigrationError = new WeakMap(), _Client_L$initConncetion = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
734
761
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
735
762
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
736
763
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -751,7 +778,7 @@ export class Client extends ClientAbstract {
|
|
|
751
778
|
newDc += "-test";
|
|
752
779
|
}
|
|
753
780
|
await this.reconnect(newDc);
|
|
754
|
-
|
|
781
|
+
__classPrivateFieldGet(this, _Client_LhandleMigrationError, "f").debug(`migrated to DC${newDc}`);
|
|
755
782
|
}
|
|
756
783
|
async disconnect() {
|
|
757
784
|
__classPrivateFieldSet(this, _Client_connectionInited, false, "f");
|
|
@@ -787,7 +814,7 @@ export class Client extends ClientAbstract {
|
|
|
787
814
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
788
815
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
789
816
|
drop(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("authorize"));
|
|
790
|
-
|
|
817
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("already authorized");
|
|
791
818
|
return;
|
|
792
819
|
}
|
|
793
820
|
catch (err) {
|
|
@@ -804,7 +831,7 @@ export class Client extends ClientAbstract {
|
|
|
804
831
|
params = { phone: () => mustPrompt("Phone number:"), code: () => mustPrompt("Verification code:"), password: () => mustPrompt("Password:") };
|
|
805
832
|
}
|
|
806
833
|
}
|
|
807
|
-
|
|
834
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorizing with", typeof params === "string" ? "bot token" : params instanceof types.auth.ExportedAuthorization ? "exported authorization" : "AuthorizeUserParams");
|
|
808
835
|
if (typeof params === "string") {
|
|
809
836
|
while (true) {
|
|
810
837
|
try {
|
|
@@ -824,14 +851,14 @@ export class Client extends ClientAbstract {
|
|
|
824
851
|
}
|
|
825
852
|
}
|
|
826
853
|
}
|
|
827
|
-
|
|
854
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as bot");
|
|
828
855
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
829
856
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
830
857
|
return;
|
|
831
858
|
}
|
|
832
859
|
if (params instanceof types.auth.ExportedAuthorization) {
|
|
833
860
|
await this.api.auth.importAuthorization({ id: params.id, bytes: params.bytes });
|
|
834
|
-
|
|
861
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorization imported");
|
|
835
862
|
return;
|
|
836
863
|
}
|
|
837
864
|
auth: while (true) {
|
|
@@ -871,7 +898,7 @@ export class Client extends ClientAbstract {
|
|
|
871
898
|
}
|
|
872
899
|
}
|
|
873
900
|
}
|
|
874
|
-
|
|
901
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("verification code sent");
|
|
875
902
|
let err;
|
|
876
903
|
code: while (true) {
|
|
877
904
|
const code = typeof params.code === "string" ? params.code : await params.code();
|
|
@@ -883,7 +910,7 @@ export class Client extends ClientAbstract {
|
|
|
883
910
|
});
|
|
884
911
|
__classPrivateFieldSet(this, _Client_selfId, Number(auth[as](types.auth.Authorization).user.id), "f");
|
|
885
912
|
await this.storage.setAccountType("user");
|
|
886
|
-
|
|
913
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
|
|
887
914
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
888
915
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
889
916
|
return;
|
|
@@ -912,7 +939,7 @@ export class Client extends ClientAbstract {
|
|
|
912
939
|
const auth = await this.api.auth.checkPassword({ password: input });
|
|
913
940
|
__classPrivateFieldSet(this, _Client_selfId, Number(auth[as](types.auth.Authorization).user.id), "f");
|
|
914
941
|
await this.storage.setAccountType("user");
|
|
915
|
-
|
|
942
|
+
__classPrivateFieldGet(this, _Client_Lauthorize, "f").debug("authorized as user");
|
|
916
943
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_propagateAuthorizationState).call(this, true);
|
|
917
944
|
await __classPrivateFieldGet(this, _Client_updateManager, "f").fetchState("authorize");
|
|
918
945
|
return;
|
|
@@ -950,6 +977,13 @@ export class Client extends ClientAbstract {
|
|
|
950
977
|
send(function_) {
|
|
951
978
|
return this.invoke(function_, true);
|
|
952
979
|
}
|
|
980
|
+
exportAuthString() {
|
|
981
|
+
return this.storage.exportAuthString();
|
|
982
|
+
}
|
|
983
|
+
async importAuthString(authString) {
|
|
984
|
+
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_initStorage).call(this);
|
|
985
|
+
await this.storage.importAuthString(authString);
|
|
986
|
+
}
|
|
953
987
|
async getInputPeer(id) {
|
|
954
988
|
if (id === "me") {
|
|
955
989
|
return new types.InputPeerSelf();
|
|
@@ -995,7 +1029,7 @@ export class Client extends ClientAbstract {
|
|
|
995
1029
|
system_version: this.systemVersion,
|
|
996
1030
|
});
|
|
997
1031
|
__classPrivateFieldSet(this, _Client_connectionInited, true, "f");
|
|
998
|
-
|
|
1032
|
+
__classPrivateFieldGet(this, _Client_L$initConncetion, "f").debug("connection inited");
|
|
999
1033
|
}
|
|
1000
1034
|
}, _Client_propagateAuthorizationState = async function _Client_propagateAuthorizationState(authorized) {
|
|
1001
1035
|
if (__classPrivateFieldGet(this, _Client_lastPropagatedAuthorizationState, "f") != authorized) {
|
|
@@ -1018,12 +1052,14 @@ export class Client extends ClientAbstract {
|
|
|
1018
1052
|
__classPrivateFieldGet(this, _Client_toAcknowledge, "f").clear();
|
|
1019
1053
|
}
|
|
1020
1054
|
const buffer = await this.transport.transport.receive();
|
|
1055
|
+
__classPrivateFieldGet(this, _Client_L, "f").inBin(buffer);
|
|
1021
1056
|
let decrypted;
|
|
1022
1057
|
try {
|
|
1023
1058
|
decrypted = await (decryptMessage(buffer, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_sessionId, "f")));
|
|
1059
|
+
__classPrivateFieldGet(this, _Client_L, "f").in(decrypted);
|
|
1024
1060
|
}
|
|
1025
1061
|
catch (err) {
|
|
1026
|
-
|
|
1062
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to decrypt message:", err);
|
|
1027
1063
|
drop((async () => {
|
|
1028
1064
|
try {
|
|
1029
1065
|
await this.disconnect();
|
|
@@ -1042,7 +1078,7 @@ export class Client extends ClientAbstract {
|
|
|
1042
1078
|
if (body instanceof types.Gzip_packed) {
|
|
1043
1079
|
body = new TLReader(gunzip(body.packed_data)).readObject();
|
|
1044
1080
|
}
|
|
1045
|
-
|
|
1081
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("received", (typeof body === "object" && name in body) ? body[name] : body.constructor.name);
|
|
1046
1082
|
if (body instanceof types._Updates || body instanceof types._Update) {
|
|
1047
1083
|
__classPrivateFieldGet(this, _Client_updateManager, "f").processUpdates(body, true);
|
|
1048
1084
|
}
|
|
@@ -1056,10 +1092,10 @@ export class Client extends ClientAbstract {
|
|
|
1056
1092
|
result = new TLReader(gunzip(result.packed_data)).readObject();
|
|
1057
1093
|
}
|
|
1058
1094
|
if (result instanceof types.Rpc_error) {
|
|
1059
|
-
|
|
1095
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", result.error_code, result.error_message);
|
|
1060
1096
|
}
|
|
1061
1097
|
else {
|
|
1062
|
-
|
|
1098
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("RPCResult:", (typeof result === "object" && name in result) ? result[name] : result.constructor.name);
|
|
1063
1099
|
}
|
|
1064
1100
|
const messageId = message.body.messageId;
|
|
1065
1101
|
const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(messageId);
|
|
@@ -1090,7 +1126,7 @@ export class Client extends ClientAbstract {
|
|
|
1090
1126
|
}
|
|
1091
1127
|
}
|
|
1092
1128
|
else if (message.body instanceof types.Bad_server_salt) {
|
|
1093
|
-
|
|
1129
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").debug("server salt reassigned");
|
|
1094
1130
|
__classPrivateFieldGet(this, _Client_state, "f").salt = message.body.new_server_salt;
|
|
1095
1131
|
await this.storage.setServerSalt(__classPrivateFieldGet(this, _Client_state, "f").salt);
|
|
1096
1132
|
const promise = __classPrivateFieldGet(this, _Client_promises, "f").get(message.body.bad_msg_id);
|
|
@@ -1107,11 +1143,11 @@ export class Client extends ClientAbstract {
|
|
|
1107
1143
|
break;
|
|
1108
1144
|
}
|
|
1109
1145
|
else if (err instanceof TLError) {
|
|
1110
|
-
|
|
1146
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("failed to deserialize:", err);
|
|
1111
1147
|
drop(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("deserialize"));
|
|
1112
1148
|
}
|
|
1113
1149
|
else {
|
|
1114
|
-
|
|
1150
|
+
__classPrivateFieldGet(this, _Client_LreceiveLoop, "f").error("unexpected error:", err);
|
|
1115
1151
|
}
|
|
1116
1152
|
}
|
|
1117
1153
|
}
|
|
@@ -1147,7 +1183,7 @@ export class Client extends ClientAbstract {
|
|
|
1147
1183
|
if (!this.connected) {
|
|
1148
1184
|
continue;
|
|
1149
1185
|
}
|
|
1150
|
-
|
|
1186
|
+
__classPrivateFieldGet(this, _Client_LpingLoop, "f").error(err);
|
|
1151
1187
|
}
|
|
1152
1188
|
}
|
|
1153
1189
|
}, _Client_invoke = async function _Client_invoke(function_, noWait) {
|
|
@@ -1172,8 +1208,11 @@ export class Client extends ClientAbstract {
|
|
|
1172
1208
|
}
|
|
1173
1209
|
const messageId = __classPrivateFieldSet(this, _Client_lastMsgId, getMessageId(__classPrivateFieldGet(this, _Client_lastMsgId, "f")), "f");
|
|
1174
1210
|
const message = new Message_(messageId, seqNo, function_);
|
|
1175
|
-
|
|
1176
|
-
|
|
1211
|
+
const payload = await encryptMessage(message, __classPrivateFieldGet(this, _Client_auth, "f").key, __classPrivateFieldGet(this, _Client_auth, "f").id, __classPrivateFieldGet(this, _Client_state, "f").salt, __classPrivateFieldGet(this, _Client_sessionId, "f"));
|
|
1212
|
+
await this.transport.transport.send(payload);
|
|
1213
|
+
__classPrivateFieldGet(this, _Client_L, "f").out(message);
|
|
1214
|
+
__classPrivateFieldGet(this, _Client_L, "f").outBin(payload);
|
|
1215
|
+
__classPrivateFieldGet(this, _Client_Linvoke, "f").debug("invoked", function_[name]);
|
|
1177
1216
|
if (noWait) {
|
|
1178
1217
|
__classPrivateFieldGet(this, _Client_promises, "f").set(message.id, {
|
|
1179
1218
|
resolve: (result) => {
|
|
@@ -2058,6 +2097,73 @@ export class Client extends ClientAbstract {
|
|
|
2058
2097
|
async disableJoinRequests(chatId) {
|
|
2059
2098
|
await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
|
|
2060
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
|
|
2102
|
+
*
|
|
2103
|
+
* @method ac
|
|
2104
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2105
|
+
* @param username The username to show.
|
|
2106
|
+
*/
|
|
2107
|
+
async showUsername(id, username) {
|
|
2108
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").showUsername(id, username);
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2112
|
+
*
|
|
2113
|
+
* @method ac
|
|
2114
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2115
|
+
* @param username The username to hide.
|
|
2116
|
+
*/
|
|
2117
|
+
async hideUsername(id, username) {
|
|
2118
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsername(id, username);
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2122
|
+
*
|
|
2123
|
+
* @method ac
|
|
2124
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2125
|
+
* @param order The new order to use.
|
|
2126
|
+
*/
|
|
2127
|
+
async reorderUsernames(id, order) {
|
|
2128
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").reorderUsernames(id, order);
|
|
2129
|
+
}
|
|
2130
|
+
/**
|
|
2131
|
+
* Hide all usernames from the a supergroup or a channel's profile. User-only.
|
|
2132
|
+
*
|
|
2133
|
+
* @method ac
|
|
2134
|
+
* @param id A supergroup ID or a channel ID.
|
|
2135
|
+
*/
|
|
2136
|
+
async hideUsernames(id) {
|
|
2137
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsernames(id);
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* Get inactive chats. User-only.
|
|
2141
|
+
*
|
|
2142
|
+
* @method ch
|
|
2143
|
+
*/
|
|
2144
|
+
async getInactiveChats() {
|
|
2145
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").getInactiveChats();
|
|
2146
|
+
}
|
|
2147
|
+
/**
|
|
2148
|
+
* Search the messages of a chat.
|
|
2149
|
+
*
|
|
2150
|
+
* @method ms
|
|
2151
|
+
* @param chatId The identifier of the chat to search the messages in.
|
|
2152
|
+
* @param query The message search query.
|
|
2153
|
+
*/
|
|
2154
|
+
async searchMessages(chatId, query, params) {
|
|
2155
|
+
return await __classPrivateFieldGet(this, _Client_messageManager, "f").searchMessages(chatId, query, params);
|
|
2156
|
+
}
|
|
2157
|
+
/**
|
|
2158
|
+
* Set the number of boosts required to circument a chat's default restrictions.
|
|
2159
|
+
*
|
|
2160
|
+
* @method ch
|
|
2161
|
+
* @param chatId The identifier of the chat.
|
|
2162
|
+
* @param boosts The number of boosts required to circumvent its restrictions.
|
|
2163
|
+
*/
|
|
2164
|
+
async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
|
|
2165
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").setBoostsRequiredToCircumventRestrictions(chatId, boosts);
|
|
2166
|
+
}
|
|
2061
2167
|
}
|
|
2062
2168
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
2063
2169
|
await __classPrivateFieldGet(this, _Client_handle, "f").call(this, await __classPrivateFieldGet(this, _Client_constructContext, "f").call(this, update), resolve);
|
|
@@ -11,10 +11,9 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
11
11
|
};
|
|
12
12
|
var _ConnectionWebSocket_instances, _ConnectionWebSocket_webSocket, _ConnectionWebSocket_rMutex, _ConnectionWebSocket_wMutex, _ConnectionWebSocket_buffer, _ConnectionWebSocket_nextResolve, _ConnectionWebSocket_initWs, _ConnectionWebSocket_wasConnected, _ConnectionWebSocket_isConnecting, _ConnectionWebSocket_connectionError, _ConnectionWebSocket_assertConnected, _ConnectionWebSocket_rejectRead;
|
|
13
13
|
import * as dntShim from "../_dnt.shims.js";
|
|
14
|
-
import {
|
|
15
|
-
import { concat, UNREACHABLE } from "../1_utilities.js";
|
|
14
|
+
import { concat, getLogger, Mutex, UNREACHABLE } from "../1_utilities.js";
|
|
16
15
|
import { ConnectionUnframed } from "./0_connection.js";
|
|
17
|
-
const
|
|
16
|
+
const L = getLogger("ConnectionWebSocket");
|
|
18
17
|
const errConnectionNotOpen = new Error("Connection not open");
|
|
19
18
|
export class ConnectionWebSocket extends ConnectionUnframed {
|
|
20
19
|
constructor(url) {
|
|
@@ -70,7 +69,7 @@ export class ConnectionWebSocket extends ConnectionUnframed {
|
|
|
70
69
|
}
|
|
71
70
|
async read(p) {
|
|
72
71
|
__classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
|
|
73
|
-
const
|
|
72
|
+
const unlock = await __classPrivateFieldGet(this, _ConnectionWebSocket_rMutex, "f").lock();
|
|
74
73
|
try {
|
|
75
74
|
__classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
|
|
76
75
|
if (__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").length < p.length) {
|
|
@@ -81,18 +80,18 @@ export class ConnectionWebSocket extends ConnectionUnframed {
|
|
|
81
80
|
__classPrivateFieldSet(this, _ConnectionWebSocket_buffer, __classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").slice(slice.length), "f");
|
|
82
81
|
}
|
|
83
82
|
finally {
|
|
84
|
-
|
|
83
|
+
unlock();
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
async write(p) {
|
|
88
87
|
__classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
|
|
89
|
-
const
|
|
88
|
+
const unlock = await __classPrivateFieldGet(this, _ConnectionWebSocket_wMutex, "f").lock();
|
|
90
89
|
try {
|
|
91
90
|
__classPrivateFieldGet(this, _ConnectionWebSocket_instances, "m", _ConnectionWebSocket_assertConnected).call(this);
|
|
92
91
|
__classPrivateFieldGet(this, _ConnectionWebSocket_webSocket, "f").send(p);
|
|
93
92
|
}
|
|
94
93
|
finally {
|
|
95
|
-
|
|
94
|
+
unlock();
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
close() {
|
|
@@ -115,14 +114,14 @@ _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = ne
|
|
|
115
114
|
if (typeof e.data === "string") {
|
|
116
115
|
return;
|
|
117
116
|
}
|
|
118
|
-
const
|
|
117
|
+
const unlock = await mutex.lock();
|
|
119
118
|
const data = new Uint8Array(await new Blob([e.data].map((v) => v instanceof Blob || v instanceof Uint8Array ? v : v instanceof ArrayBuffer ? v : UNREACHABLE())).arrayBuffer());
|
|
120
119
|
__classPrivateFieldSet(this, _ConnectionWebSocket_buffer, concat(__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f"), data), "f");
|
|
121
120
|
if (__classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f") != null && __classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").length >= __classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[0]) {
|
|
122
121
|
__classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[1].resolve();
|
|
123
122
|
__classPrivateFieldSet(this, _ConnectionWebSocket_nextResolve, null, "f");
|
|
124
123
|
}
|
|
125
|
-
|
|
124
|
+
unlock();
|
|
126
125
|
});
|
|
127
126
|
webSocket.addEventListener("error", (err) => {
|
|
128
127
|
if (__classPrivateFieldGet(this, _ConnectionWebSocket_isConnecting, "f")) {
|
|
@@ -130,7 +129,7 @@ _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = ne
|
|
|
130
129
|
__classPrivateFieldSet(this, _ConnectionWebSocket_connectionError, err, "f");
|
|
131
130
|
}
|
|
132
131
|
if (this.connected) {
|
|
133
|
-
|
|
132
|
+
L.error(err);
|
|
134
133
|
}
|
|
135
134
|
});
|
|
136
135
|
return webSocket;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Executes a function which returns a promise, expecting it to reject.
|
|
3
3
|
*
|
|
4
|
+
* To assert that a synchronous function throws, use {@linkcode assertThrows}.
|
|
5
|
+
*
|
|
4
6
|
* @example
|
|
5
7
|
* ```ts
|
|
6
8
|
* import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
|
|
@@ -15,6 +17,8 @@ export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: stri
|
|
|
15
17
|
* If it does not, then it throws. An error class and a string that should be
|
|
16
18
|
* included in the error message can also be asserted.
|
|
17
19
|
*
|
|
20
|
+
* To assert that a synchronous function throws, use {@linkcode assertThrows}.
|
|
21
|
+
*
|
|
18
22
|
* @example
|
|
19
23
|
* ```ts
|
|
20
24
|
* import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* Executes a function, expecting it to throw. If it does not, then it
|
|
3
3
|
* throws.
|
|
4
4
|
*
|
|
5
|
+
* To assert that an asynchronous function rejects, use
|
|
6
|
+
* {@linkcode assertRejects}.
|
|
7
|
+
*
|
|
5
8
|
* @example
|
|
6
9
|
* ```ts
|
|
7
10
|
* import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
|
|
@@ -16,6 +19,9 @@ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
|
|
|
16
19
|
* throws. An error class and a string that should be included in the
|
|
17
20
|
* error message can also be asserted.
|
|
18
21
|
*
|
|
22
|
+
* To assert that an asynchronous function rejects, use
|
|
23
|
+
* {@linkcode assertRejects}.
|
|
24
|
+
*
|
|
19
25
|
* @example
|
|
20
26
|
* ```ts
|
|
21
27
|
* import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
|
|
@@ -10,6 +10,6 @@ import { AssertionError } from "./assertion_error.js";
|
|
|
10
10
|
* unreachable(); // Throws
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
|
-
export function unreachable() {
|
|
14
|
-
throw new AssertionError("unreachable");
|
|
13
|
+
export function unreachable(reason) {
|
|
14
|
+
throw new AssertionError(reason ?? "unreachable");
|
|
15
15
|
}
|
|
@@ -94,22 +94,25 @@ export function encodeBase64(data) {
|
|
|
94
94
|
let result = "", i;
|
|
95
95
|
const l = uint8.length;
|
|
96
96
|
for (i = 2; i < l; i += 3) {
|
|
97
|
-
result += base64abc[uint8[i - 2] >> 2];
|
|
98
|
-
result += base64abc[((uint8[i - 2] & 0x03) << 4) |
|
|
99
|
-
|
|
100
|
-
result += base64abc[uint8[i] &
|
|
97
|
+
result += base64abc[(uint8[i - 2]) >> 2];
|
|
98
|
+
result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
|
|
99
|
+
((uint8[i - 1]) >> 4)];
|
|
100
|
+
result += base64abc[(((uint8[i - 1]) & 0x0f) << 2) |
|
|
101
|
+
((uint8[i]) >> 6)];
|
|
102
|
+
result += base64abc[(uint8[i]) & 0x3f];
|
|
101
103
|
}
|
|
102
104
|
if (i === l + 1) {
|
|
103
105
|
// 1 octet yet to write
|
|
104
|
-
result += base64abc[uint8[i - 2] >> 2];
|
|
105
|
-
result += base64abc[(uint8[i - 2] & 0x03) << 4];
|
|
106
|
+
result += base64abc[(uint8[i - 2]) >> 2];
|
|
107
|
+
result += base64abc[((uint8[i - 2]) & 0x03) << 4];
|
|
106
108
|
result += "==";
|
|
107
109
|
}
|
|
108
110
|
if (i === l) {
|
|
109
111
|
// 2 octets yet to write
|
|
110
|
-
result += base64abc[uint8[i - 2] >> 2];
|
|
111
|
-
result += base64abc[((uint8[i - 2] & 0x03) << 4) |
|
|
112
|
-
|
|
112
|
+
result += base64abc[(uint8[i - 2]) >> 2];
|
|
113
|
+
result += base64abc[(((uint8[i - 2]) & 0x03) << 4) |
|
|
114
|
+
((uint8[i - 1]) >> 4)];
|
|
115
|
+
result += base64abc[((uint8[i - 1]) & 0x0f) << 2];
|
|
113
116
|
result += "=";
|
|
114
117
|
}
|
|
115
118
|
return result;
|