@mtkruto/node 0.1.153 → 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/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 +13 -1
- package/esm/client/0_types.d.ts +1 -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 +1 -0
- package/esm/client/2_message_manager.js +12 -6
- package/esm/client/3_chat_list_manager.js +7 -6
- package/esm/client/4_client.d.ts +16 -2
- package/esm/client/4_client.js +85 -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/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/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 +13 -1
- package/script/client/0_types.d.ts +1 -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 +1 -0
- package/script/client/2_message_manager.js +10 -4
- package/script/client/3_chat_list_manager.js +6 -5
- package/script/client/4_client.d.ts +16 -2
- package/script/client/4_client.js +84 -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/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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// deno-lint-ignore-file no-explicit-any
|
|
2
|
+
import * as dntShim from "../_dnt.shims.js";
|
|
3
|
+
let verbosity = Number("LOG_VERBOSITY" in dntShim.dntGlobalThis ? dntShim.dntGlobalThis.LOG_VERBOSITY : "Deno" in dntShim.dntGlobalThis ? dntShim.dntGlobalThis.Deno.env.get("LOG_VERBOSITY") : "process" in dntShim.dntGlobalThis ? dntShim.dntGlobalThis.process.env.LOG : "") || 0;
|
|
4
|
+
export function setLogVerbosity(verbosity_) {
|
|
5
|
+
verbosity = verbosity_;
|
|
6
|
+
}
|
|
7
|
+
export const ERROR = 1;
|
|
8
|
+
export const WARNING = 2;
|
|
9
|
+
export const INFO = 3;
|
|
10
|
+
export const DEBUG = 4;
|
|
11
|
+
export const TRACE = 5;
|
|
12
|
+
export const IN = 10;
|
|
13
|
+
export const OUT = 10;
|
|
14
|
+
export const IN_BIN = 20;
|
|
15
|
+
export const OUT_BIN = 20;
|
|
16
|
+
const INA = ">".repeat(6);
|
|
17
|
+
const OUTA = "<".repeat(6);
|
|
18
|
+
function toHex(p) {
|
|
19
|
+
let s = "";
|
|
20
|
+
for (const b of p) {
|
|
21
|
+
s += b.toString(16).toUpperCase().padStart(2, "0");
|
|
22
|
+
}
|
|
23
|
+
return s;
|
|
24
|
+
}
|
|
25
|
+
export function getLogger(scope) {
|
|
26
|
+
return {
|
|
27
|
+
client(id) {
|
|
28
|
+
return getLogger(`${id.toString().padStart(2)} ${scope}`);
|
|
29
|
+
},
|
|
30
|
+
branch(name) {
|
|
31
|
+
return getLogger(`${scope}::${name}`);
|
|
32
|
+
},
|
|
33
|
+
error(...args) {
|
|
34
|
+
this.log(ERROR, ...args);
|
|
35
|
+
},
|
|
36
|
+
warning(...args) {
|
|
37
|
+
this.log(WARNING, ...args);
|
|
38
|
+
},
|
|
39
|
+
info(...args) {
|
|
40
|
+
this.log(INFO, ...args);
|
|
41
|
+
},
|
|
42
|
+
debug(...args) {
|
|
43
|
+
this.log(DEBUG, ...args);
|
|
44
|
+
},
|
|
45
|
+
trace(...args) {
|
|
46
|
+
this.log(TRACE, ...args);
|
|
47
|
+
},
|
|
48
|
+
in(...args) {
|
|
49
|
+
this.log(IN, INA, ...args);
|
|
50
|
+
},
|
|
51
|
+
out(...args) {
|
|
52
|
+
this.log(OUT, OUTA, ...args);
|
|
53
|
+
},
|
|
54
|
+
inBin(p) {
|
|
55
|
+
if (verbosity < IN_BIN) { // So it is not converted to hex
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.log(IN_BIN, INA, toHex(p));
|
|
59
|
+
},
|
|
60
|
+
outBin(p) {
|
|
61
|
+
if (verbosity < OUT_BIN) { // So it is not unnecessarilly converted to hex
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.log(OUT_BIN, OUTA, toHex(p));
|
|
65
|
+
},
|
|
66
|
+
log(verbosity_, ...args) {
|
|
67
|
+
if (verbosity < verbosity_) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
let fn;
|
|
71
|
+
switch (verbosity_) {
|
|
72
|
+
case ERROR:
|
|
73
|
+
fn = console.error;
|
|
74
|
+
break;
|
|
75
|
+
case WARNING:
|
|
76
|
+
fn = console.warn;
|
|
77
|
+
break;
|
|
78
|
+
case INFO:
|
|
79
|
+
fn = console.info;
|
|
80
|
+
break;
|
|
81
|
+
case DEBUG:
|
|
82
|
+
fn = console.debug;
|
|
83
|
+
break;
|
|
84
|
+
default:
|
|
85
|
+
fn = console.log;
|
|
86
|
+
}
|
|
87
|
+
fn(`[${verbosity_} ${scope}]`, ...args);
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
+
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");
|
|
4
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
+
};
|
|
6
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
7
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
8
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
9
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
+
};
|
|
12
|
+
var _Mutex_untilUnlock;
|
|
13
|
+
export class Mutex {
|
|
14
|
+
constructor() {
|
|
15
|
+
_Mutex_untilUnlock.set(this, Promise.resolve());
|
|
16
|
+
}
|
|
17
|
+
async lock() {
|
|
18
|
+
await __classPrivateFieldGet(this, _Mutex_untilUnlock, "f");
|
|
19
|
+
return new Promise((resolve0) => {
|
|
20
|
+
__classPrivateFieldSet(this, _Mutex_untilUnlock, new Promise((resolve1) => {
|
|
21
|
+
resolve0(resolve1);
|
|
22
|
+
}), "f");
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
_Mutex_untilUnlock = new WeakMap();
|
|
@@ -9,12 +9,12 @@ 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 _Queue_instances,
|
|
13
|
-
import {
|
|
12
|
+
var _Queue_instances, _Queue_logger, _Queue_busy, _Queue_check;
|
|
13
|
+
import { getLogger } from "./0_logger.js";
|
|
14
14
|
export class Queue {
|
|
15
15
|
constructor(name) {
|
|
16
16
|
_Queue_instances.add(this);
|
|
17
|
-
|
|
17
|
+
_Queue_logger.set(this, void 0);
|
|
18
18
|
Object.defineProperty(this, "functions", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
configurable: true,
|
|
@@ -22,14 +22,14 @@ export class Queue {
|
|
|
22
22
|
value: new Array()
|
|
23
23
|
});
|
|
24
24
|
_Queue_busy.set(this, false);
|
|
25
|
-
__classPrivateFieldSet(this,
|
|
25
|
+
__classPrivateFieldSet(this, _Queue_logger, getLogger(`q/${name}`), "f");
|
|
26
26
|
}
|
|
27
27
|
add(fn) {
|
|
28
28
|
this.functions.push(fn);
|
|
29
29
|
__classPrivateFieldGet(this, _Queue_instances, "m", _Queue_check).call(this);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
_Queue_logger = new WeakMap(), _Queue_busy = new WeakMap(), _Queue_instances = new WeakSet(), _Queue_check = function _Queue_check() {
|
|
33
33
|
if (__classPrivateFieldGet(this, _Queue_busy, "f")) {
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
@@ -40,7 +40,7 @@ _Queue_d = new WeakMap(), _Queue_busy = new WeakMap(), _Queue_instances = new We
|
|
|
40
40
|
if (fn !== undefined) {
|
|
41
41
|
fn()
|
|
42
42
|
.catch((err) => {
|
|
43
|
-
__classPrivateFieldGet(this,
|
|
43
|
+
__classPrivateFieldGet(this, _Queue_logger, "f").error((typeof err === "object" && err != null && "stack" in err) ? err.stack : err);
|
|
44
44
|
})
|
|
45
45
|
.finally(() => {
|
|
46
46
|
__classPrivateFieldSet(this, _Queue_busy, false, "f");
|
package/package.json
CHANGED
package/script/0_deps.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
|
|
1
|
+
export * from "./deps/deno.land/std@0.218.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.218.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.218.0/encoding/base64.js";
|
|
4
|
+
import { contentType as contentType_ } from "./deps/deno.land/std@0.218.0/media_types/content_type.js";
|
|
5
|
+
export declare const contentType: typeof contentType_;
|
|
5
6
|
export declare function extension(mimeType: string): string;
|
|
6
7
|
export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
|
|
7
|
-
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/
|
|
8
|
-
export { Mutex } from "./deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js";
|
|
8
|
+
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js";
|
|
9
9
|
export { Parser } from "./deps/deno.land/x/html_parser@v0.1.3/src/mod.js";
|
|
10
|
-
import { debug as debug_ } from "./deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js";
|
|
11
|
-
export declare const debug: typeof debug_;
|
package/script/0_deps.js
CHANGED
|
@@ -26,15 +26,23 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
__exportStar(require("./deps/deno.land/std@0.
|
|
31
|
-
exports.path = __importStar(require("./deps/deno.land/std@0.
|
|
32
|
-
var base64_js_1 = require("./deps/deno.land/std@0.
|
|
29
|
+
exports.Parser = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.extension = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
|
|
30
|
+
__exportStar(require("./deps/deno.land/std@0.218.0/assert/mod.js"), exports);
|
|
31
|
+
exports.path = __importStar(require("./deps/deno.land/std@0.218.0/path/mod.js"));
|
|
32
|
+
var base64_js_1 = require("./deps/deno.land/std@0.218.0/encoding/base64.js");
|
|
33
33
|
Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
|
|
34
34
|
Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
const content_type_js_1 = require("./deps/deno.land/std@0.218.0/media_types/content_type.js");
|
|
36
|
+
const contentType = (extentionOrType) => {
|
|
37
|
+
if (extentionOrType == "tgs") {
|
|
38
|
+
return "application/x-tgsticker";
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return (0, content_type_js_1.contentType)(extentionOrType);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
exports.contentType = contentType;
|
|
45
|
+
const extension_js_1 = require("./deps/deno.land/std@0.218.0/media_types/extension.js");
|
|
38
46
|
function extension(mimeType) {
|
|
39
47
|
if (mimeType == "application/x-tgsticker") {
|
|
40
48
|
return "tgs";
|
|
@@ -50,13 +58,8 @@ Object.defineProperty(exports, "factorize", { enumerable: true, get: function ()
|
|
|
50
58
|
Object.defineProperty(exports, "ige256Decrypt", { enumerable: true, get: function () { return mod_js_1.ige256Decrypt; } });
|
|
51
59
|
Object.defineProperty(exports, "ige256Encrypt", { enumerable: true, get: function () { return mod_js_1.ige256Encrypt; } });
|
|
52
60
|
Object.defineProperty(exports, "initTgCrypto", { enumerable: true, get: function () { return mod_js_1.init; } });
|
|
53
|
-
var
|
|
54
|
-
Object.defineProperty(exports, "gunzip", { enumerable: true, get: function () { return
|
|
55
|
-
Object.defineProperty(exports, "gzip", { enumerable: true, get: function () { return
|
|
56
|
-
var mod_js_2 = require("./deps/raw.githubusercontent.com/MTKruto/mutex/main/mod.js");
|
|
57
|
-
Object.defineProperty(exports, "Mutex", { enumerable: true, get: function () { return mod_js_2.Mutex; } });
|
|
61
|
+
var mod_js_2 = require("./deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js");
|
|
62
|
+
Object.defineProperty(exports, "gunzip", { enumerable: true, get: function () { return mod_js_2.gunzip; } });
|
|
63
|
+
Object.defineProperty(exports, "gzip", { enumerable: true, get: function () { return mod_js_2.gzip; } });
|
|
58
64
|
var mod_js_3 = require("./deps/deno.land/x/html_parser@v0.1.3/src/mod.js");
|
|
59
65
|
Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return mod_js_3.Parser; } });
|
|
60
|
-
const mod_js_4 = require("./deps/raw.githubusercontent.com/MTKruto/debug/main/mod.js");
|
|
61
|
-
const debug = (v) => (0, mod_js_4.debug)(v);
|
|
62
|
-
exports.debug = debug;
|
package/script/1_utilities.d.ts
CHANGED
|
@@ -6,9 +6,11 @@ export * from "./utilities/0_color.js";
|
|
|
6
6
|
export * from "./utilities/0_control.js";
|
|
7
7
|
export * from "./utilities/0_crypto.js";
|
|
8
8
|
export * from "./utilities/0_hash.js";
|
|
9
|
+
export * from "./utilities/0_logger.js";
|
|
10
|
+
export * from "./utilities/0_mutex.js";
|
|
9
11
|
export * from "./utilities/0_object.js";
|
|
10
|
-
export * from "./utilities/0_queue.js";
|
|
11
12
|
export * from "./utilities/0_rle.js";
|
|
12
13
|
export * from "./utilities/0_types.js";
|
|
13
14
|
export * from "./utilities/1_auth.js";
|
|
14
15
|
export * from "./utilities/1_misc.js";
|
|
16
|
+
export * from "./utilities/1_queue.js";
|
package/script/1_utilities.js
CHANGED
|
@@ -22,9 +22,11 @@ __exportStar(require("./utilities/0_color.js"), exports);
|
|
|
22
22
|
__exportStar(require("./utilities/0_control.js"), exports);
|
|
23
23
|
__exportStar(require("./utilities/0_crypto.js"), exports);
|
|
24
24
|
__exportStar(require("./utilities/0_hash.js"), exports);
|
|
25
|
+
__exportStar(require("./utilities/0_logger.js"), exports);
|
|
26
|
+
__exportStar(require("./utilities/0_mutex.js"), exports);
|
|
25
27
|
__exportStar(require("./utilities/0_object.js"), exports);
|
|
26
|
-
__exportStar(require("./utilities/0_queue.js"), exports);
|
|
27
28
|
__exportStar(require("./utilities/0_rle.js"), exports);
|
|
28
29
|
__exportStar(require("./utilities/0_types.js"), exports);
|
|
29
30
|
__exportStar(require("./utilities/1_auth.js"), exports);
|
|
30
31
|
__exportStar(require("./utilities/1_misc.js"), exports);
|
|
32
|
+
__exportStar(require("./utilities/1_queue.js"), exports);
|
package/script/4_constants.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export declare const ACK_THRESHOLD = 10;
|
|
|
3
3
|
export type PublicKeys = readonly [bigint, [bigint, bigint]][];
|
|
4
4
|
export declare const PUBLIC_KEYS: PublicKeys;
|
|
5
5
|
export declare const INITIAL_DC: DC;
|
|
6
|
-
export declare const LAYER =
|
|
7
|
-
export declare const APP_VERSION = "MTKruto 0.1.
|
|
6
|
+
export declare const LAYER = 174;
|
|
7
|
+
export declare const APP_VERSION = "MTKruto 0.1.155";
|
|
8
8
|
export declare const DEVICE_MODEL: string;
|
|
9
9
|
export declare const LANG_CODE: string;
|
|
10
10
|
export declare const LANG_PACK = "";
|
package/script/4_constants.js
CHANGED
|
@@ -78,13 +78,13 @@ exports.PUBLIC_KEYS = Object.freeze([
|
|
|
78
78
|
],
|
|
79
79
|
]);
|
|
80
80
|
exports.INITIAL_DC = "2";
|
|
81
|
-
exports.LAYER =
|
|
82
|
-
exports.APP_VERSION = "MTKruto 0.1.
|
|
81
|
+
exports.LAYER = 174;
|
|
82
|
+
exports.APP_VERSION = "MTKruto 0.1.155";
|
|
83
83
|
// @ts-ignore: lib
|
|
84
84
|
exports.DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
|
|
85
|
-
exports.LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
|
|
85
|
+
exports.LANG_CODE = typeof navigator === "undefined" || typeof navigator.language !== "string" ? "en" : navigator.language.split("-")[0];
|
|
86
86
|
exports.LANG_PACK = "";
|
|
87
|
-
exports.SYSTEM_LANG_CODE =
|
|
87
|
+
exports.SYSTEM_LANG_CODE = exports.LANG_CODE;
|
|
88
88
|
// @ts-ignore: lib
|
|
89
89
|
exports.SYSTEM_VERSION = typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : "Node.js/" + process.versions.node : navigator.userAgent;
|
|
90
90
|
exports.USERNAME_TTL = 86400;
|
package/script/5_client.d.ts
CHANGED
package/script/5_client.js
CHANGED
|
@@ -18,4 +18,3 @@ __exportStar(require("./client/0_params.js"), exports);
|
|
|
18
18
|
__exportStar(require("./client/2_client_plain.js"), exports);
|
|
19
19
|
__exportStar(require("./client/4_client.js"), exports);
|
|
20
20
|
__exportStar(require("./client/5_composer.js"), exports);
|
|
21
|
-
__exportStar(require("./client/5_session_string.js"), exports);
|
|
@@ -228,10 +228,13 @@ export interface GetHistoryParams {
|
|
|
228
228
|
limit?: number;
|
|
229
229
|
}
|
|
230
230
|
export interface SetReactionsParams {
|
|
231
|
+
/** Whether to make the new reactions more notable. */
|
|
231
232
|
big?: boolean;
|
|
232
233
|
}
|
|
233
234
|
export interface AddReactionParams {
|
|
235
|
+
/** Whether to make the new reaction more notable. */
|
|
234
236
|
big?: boolean;
|
|
237
|
+
/** Whether to add the reaction to recent reactions. */
|
|
235
238
|
addToRecents?: boolean;
|
|
236
239
|
}
|
|
237
240
|
export interface GetChatsParams {
|
|
@@ -261,17 +264,26 @@ export interface SetChatMemberRightsParams {
|
|
|
261
264
|
untilDate?: Date;
|
|
262
265
|
}
|
|
263
266
|
export interface CreateStoryParams extends _CaptionCommon, _UploadCommon {
|
|
267
|
+
/** The story's interactive areas. */
|
|
264
268
|
interactiveAreas?: StoryInteractiveArea[];
|
|
269
|
+
/** The story's privacy settings. */
|
|
265
270
|
privacy?: StoryPrivacy;
|
|
271
|
+
/** The period in which the story will be active. */
|
|
266
272
|
activeFor?: number;
|
|
267
|
-
|
|
273
|
+
/** Whether to add the story to highlights. */
|
|
268
274
|
highlight?: boolean;
|
|
275
|
+
/** Whether to protect the contents of the story from copying and forwarding. */
|
|
269
276
|
protectContent?: boolean;
|
|
270
277
|
}
|
|
271
278
|
export interface SearchMessagesParams {
|
|
279
|
+
/** If set, only messages sent by `from` are returned. */
|
|
272
280
|
from?: ID;
|
|
281
|
+
/** A search filter to apply. */
|
|
273
282
|
filter?: MessageSearchFilter;
|
|
283
|
+
/** A message identifier to start searching after. */
|
|
274
284
|
after?: number;
|
|
285
|
+
/** The identifier of a message thread to search in. */
|
|
275
286
|
messageThreadId?: number;
|
|
287
|
+
/** The maximum number of results to return. Must be in the range of 1-100. Defaults to 100. */
|
|
276
288
|
limit?: number;
|
|
277
289
|
}
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _FileManager_instances, _FileManager_c, _FileManager_downloadInner;
|
|
13
|
+
var _FileManager_instances, _FileManager_c, _FileManager_Lupload, _FileManager_downloadInner;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.FileManager = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -19,12 +19,14 @@ const _2_tl_js_1 = require("../2_tl.js");
|
|
|
19
19
|
const _3_types_js_1 = require("../3_types.js");
|
|
20
20
|
const _4_errors_js_1 = require("../4_errors.js");
|
|
21
21
|
const _0_types_js_1 = require("./0_types.js");
|
|
22
|
-
const d = (0, _0_deps_js_1.debug)("FileManager");
|
|
23
22
|
class FileManager {
|
|
24
23
|
constructor(c) {
|
|
25
24
|
_FileManager_instances.add(this);
|
|
26
25
|
_FileManager_c.set(this, void 0);
|
|
26
|
+
_FileManager_Lupload.set(this, void 0);
|
|
27
27
|
__classPrivateFieldSet(this, _FileManager_c, c, "f");
|
|
28
|
+
const L = (0, _1_utilities_js_1.getLogger)("FileManager").client(c.id);
|
|
29
|
+
__classPrivateFieldSet(this, _FileManager_Lupload, L.branch("upload"), "f");
|
|
28
30
|
}
|
|
29
31
|
async upload(contents, params) {
|
|
30
32
|
const isBig = contents.length > 1048576; // 10 MB
|
|
@@ -33,7 +35,7 @@ class FileManager {
|
|
|
33
35
|
throw new Error("chunkSize must be divisible by 1024");
|
|
34
36
|
}
|
|
35
37
|
const signal = params?.signal;
|
|
36
|
-
|
|
38
|
+
__classPrivateFieldGet(this, _FileManager_Lupload, "f").debug("uploading " + (isBig ? "big " : "") + "file of size " + contents.length + " with chunk size of " + chunkSize);
|
|
37
39
|
const fileId = (0, _1_utilities_js_1.getRandomId)();
|
|
38
40
|
const name = params?.fileName ?? fileId.toString();
|
|
39
41
|
const { api, disconnect, connect } = __classPrivateFieldGet(this, _FileManager_c, "f").apiFactory();
|
|
@@ -57,15 +59,15 @@ class FileManager {
|
|
|
57
59
|
else {
|
|
58
60
|
await api.upload.saveFilePart({ file_id: fileId, bytes, file_part: part });
|
|
59
61
|
}
|
|
60
|
-
|
|
62
|
+
__classPrivateFieldGet(this, _FileManager_Lupload, "f").debug((part + 1) + " out of " + partCount + " chunks have been uploaded so far");
|
|
61
63
|
break chunk;
|
|
62
64
|
}
|
|
63
65
|
catch (err) {
|
|
64
66
|
if (signal?.aborted) {
|
|
65
67
|
break main;
|
|
66
68
|
}
|
|
67
|
-
if (err instanceof _4_errors_js_1.FloodWait) {
|
|
68
|
-
|
|
69
|
+
if (err instanceof _4_errors_js_1.FloodWait) { // TODO: should this be removed?
|
|
70
|
+
__classPrivateFieldGet(this, _FileManager_Lupload, "f").warning("got a flood wait of " + err.seconds + " seconds");
|
|
69
71
|
await new Promise((r) => setTimeout(r, err.seconds * 1000));
|
|
70
72
|
}
|
|
71
73
|
else if (err instanceof _0_types_js_1.ConnectionError) {
|
|
@@ -91,7 +93,7 @@ class FileManager {
|
|
|
91
93
|
finally {
|
|
92
94
|
(0, _1_utilities_js_1.drop)(disconnect());
|
|
93
95
|
}
|
|
94
|
-
|
|
96
|
+
__classPrivateFieldGet(this, _FileManager_Lupload, "f").debug("uploaded all " + partCount + " chunk(s)");
|
|
95
97
|
if (isBig) {
|
|
96
98
|
return new _2_tl_js_1.types.InputFileBig({ id: fileId, parts: contents.length / chunkSize, name });
|
|
97
99
|
}
|
|
@@ -195,7 +197,7 @@ class FileManager {
|
|
|
195
197
|
}
|
|
196
198
|
}
|
|
197
199
|
exports.FileManager = FileManager;
|
|
198
|
-
_FileManager_c = new WeakMap(), _FileManager_instances = new WeakSet(), _FileManager_downloadInner = async function* _FileManager_downloadInner(location, dcId, params) {
|
|
200
|
+
_FileManager_c = new WeakMap(), _FileManager_Lupload = new WeakMap(), _FileManager_instances = new WeakSet(), _FileManager_downloadInner = async function* _FileManager_downloadInner(location, dcId, params) {
|
|
199
201
|
const id = "id" in location ? location.id : "photo_id" in location ? location.photo_id : null;
|
|
200
202
|
if (id != null) {
|
|
201
203
|
const file = await __classPrivateFieldGet(this, _FileManager_c, "f").storage.getFile(id);
|
|
@@ -10,23 +10,24 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
|
|
13
|
+
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_LrecoverUpdateGap, _UpdateManager_LrecoverChannelUpdateGap, _UpdateManager_L$handleUpdate, _UpdateManager_L$processUpdates, _UpdateManager_LfetchState, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_getLocalState, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.UpdateManager = void 0;
|
|
16
|
-
const _0_deps_js_1 = require("../0_deps.js");
|
|
17
16
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
18
17
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
19
18
|
const _4_constants_js_1 = require("../4_constants.js");
|
|
20
19
|
const _0_utilities_js_1 = require("./0_utilities.js");
|
|
21
|
-
const d = (0, _0_deps_js_1.debug)("UpdateManager");
|
|
22
|
-
const dGap = (0, _0_deps_js_1.debug)("UpdateManager/recoverUpdateGap");
|
|
23
|
-
const dGapC = (0, _0_deps_js_1.debug)("UpdateManager/recoverChannelUpdateGap");
|
|
24
20
|
class UpdateManager {
|
|
25
21
|
constructor(c) {
|
|
26
22
|
_UpdateManager_instances.add(this);
|
|
27
23
|
_UpdateManager_c.set(this, void 0);
|
|
28
24
|
_UpdateManager_updateState.set(this, void 0);
|
|
29
25
|
_UpdateManager_updateHandler.set(this, void 0);
|
|
26
|
+
_UpdateManager_LrecoverUpdateGap.set(this, void 0);
|
|
27
|
+
_UpdateManager_LrecoverChannelUpdateGap.set(this, void 0);
|
|
28
|
+
_UpdateManager_L$handleUpdate.set(this, void 0);
|
|
29
|
+
_UpdateManager_L$processUpdates.set(this, void 0);
|
|
30
|
+
_UpdateManager_LfetchState.set(this, void 0);
|
|
30
31
|
_UpdateManager_defaultDropPendingUpdates.set(this, null);
|
|
31
32
|
_UpdateManager_state.set(this, undefined);
|
|
32
33
|
_UpdateManager_handleUpdateQueues.set(this, new Map());
|
|
@@ -36,11 +37,17 @@ class UpdateManager {
|
|
|
36
37
|
_UpdateManager_processUpdatesQueue.set(this, new _1_utilities_js_1.Queue("UpdateManager/processUpdates"));
|
|
37
38
|
_UpdateManager_handleUpdatesSet.set(this, new Set());
|
|
38
39
|
__classPrivateFieldSet(this, _UpdateManager_c, c, "f");
|
|
40
|
+
const L = (0, _1_utilities_js_1.getLogger)("UpdateManager").client(c.id);
|
|
41
|
+
__classPrivateFieldSet(this, _UpdateManager_LrecoverUpdateGap, L.branch("recoverUpdateGap"), "f");
|
|
42
|
+
__classPrivateFieldSet(this, _UpdateManager_LrecoverChannelUpdateGap, L.branch("recoverChannelUpdateGap"), "f");
|
|
43
|
+
__classPrivateFieldSet(this, _UpdateManager_L$handleUpdate, L.branch("#handleUpdate"), "f");
|
|
44
|
+
__classPrivateFieldSet(this, _UpdateManager_L$processUpdates, L.branch("#processUpdates"), "f");
|
|
45
|
+
__classPrivateFieldSet(this, _UpdateManager_LfetchState, L.branch("fetchState"), "f");
|
|
39
46
|
}
|
|
40
47
|
async fetchState(source) {
|
|
41
48
|
const state = await __classPrivateFieldGet(this, _UpdateManager_c, "f").api.updates.getState();
|
|
42
49
|
__classPrivateFieldSet(this, _UpdateManager_updateState, state, "f");
|
|
43
|
-
|
|
50
|
+
__classPrivateFieldGet(this, _UpdateManager_LfetchState, "f").debug(`state fetched [${source}]`);
|
|
44
51
|
if (await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_mustDropPendingUpdates).call(this)) {
|
|
45
52
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, state);
|
|
46
53
|
}
|
|
@@ -181,7 +188,7 @@ class UpdateManager {
|
|
|
181
188
|
__classPrivateFieldGet(this, _UpdateManager_processUpdatesQueue, "f").add(() => __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, updates, checkGap, call).then(callback));
|
|
182
189
|
}
|
|
183
190
|
async recoverUpdateGap(source) {
|
|
184
|
-
|
|
191
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug(`recovering from update gap [${source}]`);
|
|
185
192
|
__classPrivateFieldGet(this, _UpdateManager_c, "f").setConnectionState("updating");
|
|
186
193
|
try {
|
|
187
194
|
let state = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
|
|
@@ -198,7 +205,7 @@ class UpdateManager {
|
|
|
198
205
|
}
|
|
199
206
|
if (difference instanceof _2_tl_js_1.types.updates.Difference) {
|
|
200
207
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setState).call(this, difference.state);
|
|
201
|
-
|
|
208
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("recovered from update gap");
|
|
202
209
|
break;
|
|
203
210
|
}
|
|
204
211
|
else if (difference instanceof _2_tl_js_1.types.updates.DifferenceSlice) {
|
|
@@ -213,11 +220,11 @@ class UpdateManager {
|
|
|
213
220
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(0);
|
|
214
221
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(1);
|
|
215
222
|
state.pts = difference.pts;
|
|
216
|
-
|
|
223
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("received differenceTooLong");
|
|
217
224
|
}
|
|
218
225
|
else if (difference instanceof _2_tl_js_1.types.updates.DifferenceEmpty) {
|
|
219
226
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_setUpdateStateDate).call(this, difference.date);
|
|
220
|
-
|
|
227
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverUpdateGap, "f").debug("there was no update gap");
|
|
221
228
|
break;
|
|
222
229
|
}
|
|
223
230
|
else {
|
|
@@ -234,7 +241,7 @@ class UpdateManager {
|
|
|
234
241
|
}
|
|
235
242
|
}
|
|
236
243
|
exports.UpdateManager = UpdateManager;
|
|
237
|
-
_a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
|
|
244
|
+
_a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState = new WeakMap(), _UpdateManager_updateHandler = new WeakMap(), _UpdateManager_LrecoverUpdateGap = new WeakMap(), _UpdateManager_LrecoverChannelUpdateGap = new WeakMap(), _UpdateManager_L$handleUpdate = new WeakMap(), _UpdateManager_L$processUpdates = new WeakMap(), _UpdateManager_LfetchState = new WeakMap(), _UpdateManager_defaultDropPendingUpdates = new WeakMap(), _UpdateManager_state = new WeakMap(), _UpdateManager_handleUpdateQueues = new WeakMap(), _UpdateManager_nonFirst = new WeakMap(), _UpdateManager_channelUpdateQueues = new WeakMap(), _UpdateManager_ptsUpdateQueue = new WeakMap(), _UpdateManager_processUpdatesQueue = new WeakMap(), _UpdateManager_handleUpdatesSet = new WeakMap(), _UpdateManager_instances = new WeakSet(), _UpdateManager_mustDropPendingUpdates = async function _UpdateManager_mustDropPendingUpdates() {
|
|
238
245
|
if (typeof __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates === "boolean") {
|
|
239
246
|
return __classPrivateFieldGet(this, _UpdateManager_c, "f").dropPendingUpdates;
|
|
240
247
|
}
|
|
@@ -364,7 +371,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
364
371
|
if (checkGap) {
|
|
365
372
|
if (seqStart == 0) {
|
|
366
373
|
checkGap = false;
|
|
367
|
-
|
|
374
|
+
__classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("seqStart=0");
|
|
368
375
|
}
|
|
369
376
|
else {
|
|
370
377
|
const localState = await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_getLocalState).call(this);
|
|
@@ -378,7 +385,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
378
385
|
}
|
|
379
386
|
else if (localSeq + 1 > seqStart) {
|
|
380
387
|
// The update sequence was already applied, and must be ignored.
|
|
381
|
-
|
|
388
|
+
__classPrivateFieldGet(this, _UpdateManager_L$processUpdates, "f").debug("localSeq + 1 > seqStart");
|
|
382
389
|
return;
|
|
383
390
|
}
|
|
384
391
|
else if (localSeq + 1 < seqStart) {
|
|
@@ -533,7 +540,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
533
540
|
}
|
|
534
541
|
return localState;
|
|
535
542
|
}, _UpdateManager_recoverChannelUpdateGap = async function _UpdateManager_recoverChannelUpdateGap(channelId, source) {
|
|
536
|
-
|
|
543
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovering channel update gap [${channelId}, ${source}]`);
|
|
537
544
|
const pts_ = await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.getChannelPts(channelId);
|
|
538
545
|
let pts = pts_ == null ? 1 : pts_;
|
|
539
546
|
while (true) {
|
|
@@ -554,12 +561,12 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
554
561
|
await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_processUpdates).call(this, update, false);
|
|
555
562
|
}
|
|
556
563
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.setChannelPts(channelId, difference.pts);
|
|
557
|
-
|
|
564
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug(`recovered from update gap [${channelId}, ${source}]`, channelId, source);
|
|
558
565
|
break;
|
|
559
566
|
}
|
|
560
567
|
else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceTooLong) {
|
|
561
568
|
// TODO: invalidate messages
|
|
562
|
-
|
|
569
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("received channelDifferenceTooLong");
|
|
563
570
|
await this.processChats(difference.chats);
|
|
564
571
|
await this.processUsers(difference.users);
|
|
565
572
|
for (const message of difference.messages) {
|
|
@@ -572,10 +579,10 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
572
579
|
else {
|
|
573
580
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
574
581
|
}
|
|
575
|
-
|
|
582
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("processed channelDifferenceTooLong");
|
|
576
583
|
}
|
|
577
584
|
else if (difference instanceof _2_tl_js_1.types.updates.ChannelDifferenceEmpty) {
|
|
578
|
-
|
|
585
|
+
__classPrivateFieldGet(this, _UpdateManager_LrecoverChannelUpdateGap, "f").debug("there was no update gap");
|
|
579
586
|
break;
|
|
580
587
|
}
|
|
581
588
|
}
|
|
@@ -605,7 +612,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
605
612
|
break;
|
|
606
613
|
}
|
|
607
614
|
catch (err) {
|
|
608
|
-
|
|
615
|
+
__classPrivateFieldGet(this, _UpdateManager_L$handleUpdate, "f").error(err);
|
|
609
616
|
}
|
|
610
617
|
}
|
|
611
618
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.set(key, null);
|