@mtkruto/node 0.6.0 → 0.6.3
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/README.md +76 -1
- package/esm/0_deps.d.ts +11 -8
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +12 -9
- package/esm/1_utilities.d.ts +2 -1
- package/esm/1_utilities.d.ts.map +1 -1
- package/esm/1_utilities.js +2 -1
- package/esm/client/0_params.d.ts +3 -3
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.js +4 -4
- package/esm/client/2_file_manager.js +6 -6
- package/esm/client/5_client.d.ts +1 -1
- package/esm/client/5_client.js +1 -1
- package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts +18 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.js +63 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts +3 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.js +301 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equal.d.ts +4 -4
- package/esm/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.8/equal.js +183 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.d.ts +310 -3
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.js +310 -3
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +35 -0
- package/esm/transport/0_obfuscation.d.ts.map +1 -1
- package/esm/transport/0_obfuscation.js +5 -4
- package/esm/transport/0_transport.d.ts +2 -2
- package/esm/transport/0_transport.d.ts.map +1 -1
- package/esm/transport/0_transport.js +10 -6
- package/esm/transport/1_transport_abridged.d.ts.map +1 -1
- package/esm/transport/1_transport_abridged.js +6 -8
- package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
- package/esm/transport/1_transport_intermediate.js +4 -6
- package/esm/transport/3_transport_provider_tcp.d.ts +19 -8
- package/esm/transport/3_transport_provider_tcp.d.ts.map +1 -1
- package/esm/transport/3_transport_provider_tcp.js +19 -5
- package/esm/types/0_birthday.d.ts.map +1 -1
- package/esm/types/0_birthday.js +3 -2
- package/esm/types/0_chat_member_rights.js +3 -3
- package/esm/types/0_contact.d.ts.map +1 -1
- package/esm/types/0_contact.js +3 -2
- package/esm/types/0_location.d.ts.map +1 -1
- package/esm/types/0_location.js +7 -6
- package/esm/types/0_switch_inline_query_chosen_chats.d.ts +19 -0
- package/esm/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
- package/esm/types/0_switch_inline_query_chosen_chats.js +19 -0
- package/esm/types/1_animation.d.ts.map +1 -1
- package/esm/types/1_animation.js +3 -2
- package/esm/types/1_audio.d.ts.map +1 -1
- package/esm/types/1_audio.js +3 -2
- package/esm/types/1_venue.d.ts.map +1 -1
- package/esm/types/1_venue.js +2 -5
- package/esm/types/2_forward_header.d.ts +19 -0
- package/esm/types/2_forward_header.d.ts.map +1 -1
- package/esm/types/2_forward_header.js +19 -0
- package/esm/types/2_story_interactions.d.ts.map +1 -1
- package/esm/types/2_story_interactions.js +2 -1
- package/esm/utilities/0_env.d.ts.map +1 -1
- package/esm/utilities/0_env.js +19 -0
- package/esm/utilities/{0_crypto.d.ts → 0_gunzip.d.ts} +2 -8
- package/esm/utilities/0_gunzip.d.ts.map +1 -0
- package/esm/utilities/0_gunzip.js +36 -0
- package/esm/utilities/1_crypto.d.ts +31 -0
- package/esm/utilities/1_crypto.d.ts.map +1 -0
- package/esm/utilities/{0_crypto.js → 1_crypto.js} +41 -21
- package/esm/utilities/1_crypto_test.d.ts.map +1 -0
- package/package.json +2 -1
- package/script/0_deps.d.ts +11 -8
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +20 -29
- package/script/1_utilities.d.ts +2 -1
- package/script/1_utilities.d.ts.map +1 -1
- package/script/1_utilities.js +2 -1
- package/script/client/0_params.d.ts +3 -3
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/1_client_encrypted.js +2 -2
- package/script/client/2_file_manager.js +5 -5
- package/script/client/5_client.d.ts +1 -1
- package/script/client/5_client.js +1 -1
- package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts +18 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.js +71 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts +3 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.js +303 -0
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equal.d.ts +4 -4
- package/script/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.8/equal.js +209 -0
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.d.ts +310 -3
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/vendor/db.js +310 -3
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +38 -0
- package/script/transport/0_obfuscation.d.ts.map +1 -1
- package/script/transport/0_obfuscation.js +5 -4
- package/script/transport/0_transport.d.ts +2 -2
- package/script/transport/0_transport.d.ts.map +1 -1
- package/script/transport/0_transport.js +10 -6
- package/script/transport/1_transport_abridged.d.ts.map +1 -1
- package/script/transport/1_transport_abridged.js +6 -8
- package/script/transport/1_transport_intermediate.d.ts.map +1 -1
- package/script/transport/1_transport_intermediate.js +4 -6
- package/script/transport/3_transport_provider_tcp.d.ts +19 -8
- package/script/transport/3_transport_provider_tcp.d.ts.map +1 -1
- package/script/transport/3_transport_provider_tcp.js +19 -5
- package/script/types/0_birthday.d.ts.map +1 -1
- package/script/types/0_birthday.js +3 -2
- package/script/types/0_chat_member_rights.js +2 -2
- package/script/types/0_contact.d.ts.map +1 -1
- package/script/types/0_contact.js +3 -2
- package/script/types/0_location.d.ts.map +1 -1
- package/script/types/0_location.js +7 -6
- package/script/types/0_switch_inline_query_chosen_chats.d.ts +19 -0
- package/script/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
- package/script/types/0_switch_inline_query_chosen_chats.js +19 -0
- package/script/types/1_animation.d.ts.map +1 -1
- package/script/types/1_animation.js +3 -2
- package/script/types/1_audio.d.ts.map +1 -1
- package/script/types/1_audio.js +3 -2
- package/script/types/1_venue.d.ts.map +1 -1
- package/script/types/1_venue.js +2 -5
- package/script/types/2_forward_header.d.ts +19 -0
- package/script/types/2_forward_header.d.ts.map +1 -1
- package/script/types/2_forward_header.js +19 -0
- package/script/types/2_story_interactions.d.ts.map +1 -1
- package/script/types/2_story_interactions.js +2 -1
- package/script/utilities/0_env.d.ts.map +1 -1
- package/script/utilities/0_env.js +19 -0
- package/script/utilities/{0_crypto.d.ts → 0_gunzip.d.ts} +2 -8
- package/script/utilities/0_gunzip.d.ts.map +1 -0
- package/script/utilities/0_gunzip.js +39 -0
- package/script/utilities/1_crypto.d.ts +31 -0
- package/script/utilities/1_crypto.d.ts.map +1 -0
- package/script/utilities/1_crypto.js +95 -0
- package/script/utilities/1_crypto_test.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
- package/esm/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.224.0/io/types.js +0 -3
- package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
- package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.224.0/io/write_all.js +0 -49
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -203
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -274
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -51
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -191
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -385
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -431
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1046
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -52
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -122
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -24
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -121
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -30
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2127
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -108
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -95
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -128
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -110
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -120
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -6
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -110
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -75
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
- package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -101
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts +0 -55
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.js +0 -167
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.js +0 -308
- package/esm/deps/jsr.io/@std/assert/1.0.7/equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.7/equal.js +0 -136
- package/esm/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
- package/esm/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts +0 -15
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +0 -23
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +0 -77
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts +0 -54
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +0 -57
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +0 -27
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +0 -29
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +0 -32
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +0 -62
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts +0 -16
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +0 -72
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +0 -16
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts +0 -38
- package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +0 -112
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts +0 -18
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +0 -71
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +0 -23
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +0 -49
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -10
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -135
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -172
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -19
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -25
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1941
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -85
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -321
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1660
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -355
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -11
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -42
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1107
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -86
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -253
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -13
- package/esm/utilities/0_crypto.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
- package/script/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.224.0/io/types.js +0 -4
- package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
- package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.224.0/io/write_all.js +0 -53
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -207
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -301
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -55
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -222
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -404
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -438
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1052
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -88
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -128
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -30
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -129
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -32
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2129
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -110
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -114
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -134
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -117
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -128
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -22
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -118
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -85
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -111
- package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts +0 -55
- package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
- package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.js +0 -182
- package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
- package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.js +0 -310
- package/script/deps/jsr.io/@std/assert/1.0.7/equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.7/equal.js +0 -139
- package/script/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
- package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.js +0 -26
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +0 -11
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.js +0 -23
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +0 -12
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +0 -237
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.js +0 -12
- package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/common.js +0 -36
- package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts +0 -15
- package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/constants.js +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +0 -23
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.js +0 -32
- package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/format.js +0 -30
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +0 -77
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +0 -86
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.js +0 -45
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.js +0 -37
- package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts +0 -54
- package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/mod.js +0 -73
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +0 -27
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.js +0 -36
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +0 -29
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +0 -38
- package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/parse.js +0 -42
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +0 -32
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +0 -65
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts +0 -16
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +0 -24
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +0 -72
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +0 -43
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.js +0 -118
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.js +0 -109
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +0 -85
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +0 -16
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +0 -23
- package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/relative.js +0 -33
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.js +0 -33
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +0 -32
- package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts +0 -38
- package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/types.js +0 -4
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +0 -115
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts +0 -18
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +0 -33
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +0 -71
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +0 -44
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.js +0 -179
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +0 -23
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.js +0 -134
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +0 -180
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +0 -52
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -13
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -166
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -202
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -18
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -22
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -29
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1976
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -88
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -324
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1676
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -358
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -14
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -44
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1114
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -89
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -280
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -5
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -39
- package/script/utilities/0_crypto.d.ts.map +0 -1
- package/script/utilities/0_crypto.js +0 -52
- /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
- /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/almost_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/array_includes.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assert.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/assertion_error.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/exists.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/fail.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/false.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/greater_or_equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/instance_of.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/is_error.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/less_or_equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/match.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/mod.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_instance_of.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_match.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/not_strict_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/object_match.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/rejects.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/strict_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/string_includes.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/throws.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unimplemented.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.8}/unreachable.js +0 -0
- /package/script/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.d.ts +0 -0
- /package/script/deps/jsr.io/@std/bytes/{1.0.3 → 1.0.4}/concat.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
- /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
3
|
+
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
4
|
+
*
|
|
5
|
+
* @param readableStream A `ReadableStream` of `Uint8Array`s to convert into an `ArrayBuffer`.
|
|
6
|
+
* @returns A promise that resolves with the `ArrayBuffer` containing all the data from the stream.
|
|
7
|
+
*
|
|
8
|
+
* @example Basic usage
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { toArrayBuffer } from "@std/streams/to-array-buffer";
|
|
11
|
+
* import { assertEquals } from "@std/assert";
|
|
12
|
+
*
|
|
13
|
+
* const stream = ReadableStream.from([
|
|
14
|
+
* new Uint8Array([1, 2]),
|
|
15
|
+
* new Uint8Array([3, 4, 5]),
|
|
16
|
+
* ]);
|
|
17
|
+
* const buf = await toArrayBuffer(stream);
|
|
18
|
+
* assertEquals(buf.byteLength, 5);
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function toArrayBuffer(readableStream: ReadableStream<Uint8Array>): Promise<ArrayBuffer>;
|
|
22
|
+
//# sourceMappingURL=to_array_buffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to_array_buffer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,aAAa,CACjC,cAAc,EAAE,cAAc,CAAC,UAAU,CAAC,GACzC,OAAO,CAAC,WAAW,CAAC,CAetB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
+
// This module is browser compatible.
|
|
3
|
+
import { concat } from "../../bytes/1.0.4/concat.js";
|
|
4
|
+
/**
|
|
5
|
+
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
6
|
+
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
7
|
+
*
|
|
8
|
+
* @param readableStream A `ReadableStream` of `Uint8Array`s to convert into an `ArrayBuffer`.
|
|
9
|
+
* @returns A promise that resolves with the `ArrayBuffer` containing all the data from the stream.
|
|
10
|
+
*
|
|
11
|
+
* @example Basic usage
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { toArrayBuffer } from "@std/streams/to-array-buffer";
|
|
14
|
+
* import { assertEquals } from "@std/assert";
|
|
15
|
+
*
|
|
16
|
+
* const stream = ReadableStream.from([
|
|
17
|
+
* new Uint8Array([1, 2]),
|
|
18
|
+
* new Uint8Array([3, 4, 5]),
|
|
19
|
+
* ]);
|
|
20
|
+
* const buf = await toArrayBuffer(stream);
|
|
21
|
+
* assertEquals(buf.byteLength, 5);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export async function toArrayBuffer(readableStream) {
|
|
25
|
+
const reader = readableStream.getReader();
|
|
26
|
+
const chunks = [];
|
|
27
|
+
while (true) {
|
|
28
|
+
const { done, value } = await reader.read();
|
|
29
|
+
if (done) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
chunks.push(value);
|
|
33
|
+
}
|
|
34
|
+
return concat(chunks).buffer;
|
|
35
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_obfuscation.d.ts","sourceRoot":"","sources":["../../src/transport/0_obfuscation.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAoB,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;;;
|
|
1
|
+
{"version":3,"file":"0_obfuscation.d.ts","sourceRoot":"","sources":["../../src/transport/0_obfuscation.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAoB,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;;;GA0CtF"}
|
|
@@ -40,13 +40,14 @@ export async function getObfuscationParameters(protocol, connection) {
|
|
|
40
40
|
}
|
|
41
41
|
const encryptKey = init.slice(8, 8 + 32);
|
|
42
42
|
const encryptIv = init.slice(40, 40 + 16);
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
encryptionCTR.call(
|
|
43
|
+
const importedEncryptedKey = await CTR.importKey(encryptKey);
|
|
44
|
+
const encryptionCTR = new CTR(importedEncryptedKey, encryptIv);
|
|
45
|
+
const encryptedInit = await encryptionCTR.call(init);
|
|
46
46
|
const initRev = new Uint8Array(init).reverse();
|
|
47
47
|
const decryptKey = initRev.slice(8, 8 + 32);
|
|
48
48
|
const decryptIv = initRev.slice(40, 40 + 16);
|
|
49
|
-
const
|
|
49
|
+
const importedDecryptKey = await CTR.importKey(decryptKey);
|
|
50
|
+
const decryptionCTR = new CTR(importedDecryptKey, decryptIv);
|
|
50
51
|
await connection.write(concat([init.subarray(0, 56), encryptedInit.subarray(56, 56 + 8)]));
|
|
51
52
|
return { encryptionCTR, decryptionCTR };
|
|
52
53
|
}
|
|
@@ -23,8 +23,8 @@ export declare abstract class Transport {
|
|
|
23
23
|
encryptionCTR: CTR;
|
|
24
24
|
decryptionCTR: CTR;
|
|
25
25
|
} | null;
|
|
26
|
-
protected encrypt(buffer: Uint8Array):
|
|
27
|
-
protected decrypt(buffer: Uint8Array):
|
|
26
|
+
protected encrypt(buffer: Uint8Array): Promise<Uint8Array>;
|
|
27
|
+
protected decrypt(buffer: Uint8Array): Promise<Uint8Array>;
|
|
28
28
|
abstract get initialized(): boolean;
|
|
29
29
|
abstract initialize(): MaybePromise<void>;
|
|
30
30
|
abstract receive(): MaybePromise<Uint8Array>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_transport.d.ts","sourceRoot":"","sources":["../../src/transport/0_transport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,8BAAsB,SAAS;IAC7B,SAAS,CAAC,qBAAqB,EAAE;QAAE,aAAa,EAAE,GAAG,CAAC;QAAC,aAAa,EAAE,GAAG,CAAA;KAAE,GAAG,IAAI,CAAQ;
|
|
1
|
+
{"version":3,"file":"0_transport.d.ts","sourceRoot":"","sources":["../../src/transport/0_transport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,8BAAsB,SAAS;IAC7B,SAAS,CAAC,qBAAqB,EAAE;QAAE,aAAa,EAAE,GAAG,CAAC;QAAC,aAAa,EAAE,GAAG,CAAA;KAAE,GAAG,IAAI,CAAQ;cAE1E,OAAO,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;cAQhD,OAAO,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IAQhE,QAAQ,KAAK,WAAW,IAAI,OAAO,CAAC;IACpC,QAAQ,CAAC,UAAU,IAAI,YAAY,CAAC,IAAI,CAAC;IACzC,QAAQ,CAAC,OAAO,IAAI,YAAY,CAAC,UAAU,CAAC;IAC5C,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,YAAY,CAAC,IAAI,CAAC;IACrD,YAAY,IAAI,YAAY,CAAC,IAAI,CAAC;CAKnC"}
|
|
@@ -26,20 +26,24 @@ export class Transport {
|
|
|
26
26
|
value: null
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
encrypt(buffer) {
|
|
29
|
+
async encrypt(buffer) {
|
|
30
30
|
if (this.obfuscationParameters) {
|
|
31
|
-
this.obfuscationParameters.encryptionCTR.call(buffer);
|
|
31
|
+
return await this.obfuscationParameters.encryptionCTR.call(buffer);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
return buffer;
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
|
-
decrypt(buffer) {
|
|
37
|
+
async decrypt(buffer) {
|
|
35
38
|
if (this.obfuscationParameters) {
|
|
36
|
-
this.obfuscationParameters.decryptionCTR.call(buffer);
|
|
39
|
+
return await this.obfuscationParameters.decryptionCTR.call(buffer);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
return buffer;
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
deinitialize() {
|
|
40
46
|
if (this.obfuscationParameters) {
|
|
41
|
-
this.obfuscationParameters.encryptionCTR.destroy();
|
|
42
|
-
this.obfuscationParameters.decryptionCTR.destroy();
|
|
43
47
|
this.obfuscationParameters = null;
|
|
44
48
|
}
|
|
45
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_transport_abridged.d.ts","sourceRoot":"","sources":["../../src/transport/1_transport_abridged.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,iBAAkB,SAAQ,SAAU,YAAW,SAAS;;gBAKvD,UAAU,EAAE,UAAU,EAAE,UAAU,UAAQ;IAMhD,UAAU;IAWV,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"1_transport_abridged.d.ts","sourceRoot":"","sources":["../../src/transport/1_transport_abridged.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,iBAAkB,SAAQ,SAAU,YAAW,SAAS;;gBAKvD,UAAU,EAAE,UAAU,EAAE,UAAU,UAAQ;IAMhD,UAAU;IAWV,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC;IA0B9B,IAAI,CAAC,MAAM,EAAE,UAAU;IAcpB,YAAY;IAKrB,IAAI,WAAW,IAAI,OAAO,CAEzB;CACF"}
|
|
@@ -57,24 +57,23 @@ export class TransportAbridged extends Transport {
|
|
|
57
57
|
async receive() {
|
|
58
58
|
let length;
|
|
59
59
|
{
|
|
60
|
-
|
|
60
|
+
let buffer = new Uint8Array(1);
|
|
61
61
|
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").read(buffer);
|
|
62
|
-
this.decrypt(buffer);
|
|
62
|
+
buffer = await this.decrypt(buffer);
|
|
63
63
|
if (buffer[0] < 0x7F) {
|
|
64
64
|
length = buffer[0];
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
|
-
|
|
67
|
+
let buffer = new Uint8Array(3);
|
|
68
68
|
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").read(buffer);
|
|
69
|
-
this.decrypt(buffer);
|
|
69
|
+
buffer = await this.decrypt(buffer);
|
|
70
70
|
length = Number(bigIntFromBuffer(buffer, true, true));
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
length *= 4;
|
|
74
74
|
const buffer = new Uint8Array(length);
|
|
75
75
|
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").read(buffer);
|
|
76
|
-
this.decrypt(buffer);
|
|
77
|
-
return buffer;
|
|
76
|
+
return await this.decrypt(buffer);
|
|
78
77
|
}
|
|
79
78
|
async send(buffer) {
|
|
80
79
|
if (!this.initialized) {
|
|
@@ -84,8 +83,7 @@ export class TransportAbridged extends Transport {
|
|
|
84
83
|
const header = new Uint8Array([bufferLength >= 0x7F ? 0x7F : bufferLength]);
|
|
85
84
|
const length = bufferLength >= 0x7F ? bufferFromBigInt(bufferLength, 3) : new Uint8Array();
|
|
86
85
|
const data = concat([header, length, buffer]);
|
|
87
|
-
this.encrypt(data);
|
|
88
|
-
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").write(data);
|
|
86
|
+
await __classPrivateFieldGet(this, _TransportAbridged_connection, "f").write(await this.encrypt(data));
|
|
89
87
|
}
|
|
90
88
|
deinitialize() {
|
|
91
89
|
super.deinitialize();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_transport_intermediate.d.ts","sourceRoot":"","sources":["../../src/transport/1_transport_intermediate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,qBAAsB,SAAQ,SAAU,YAAW,SAAS;;gBAK3D,UAAU,EAAE,UAAU,EAAE,UAAU,UAAQ;IAMhD,UAAU;IAaV,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC;IAiB9B,IAAI,CAAC,MAAM,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"1_transport_intermediate.d.ts","sourceRoot":"","sources":["../../src/transport/1_transport_intermediate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBAAa,qBAAsB,SAAQ,SAAU,YAAW,SAAS;;gBAK3D,UAAU,EAAE,UAAU,EAAE,UAAU,UAAQ;IAMhD,UAAU;IAaV,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC;IAiB9B,IAAI,CAAC,MAAM,EAAE,UAAU;IAWpB,YAAY;IAKrB,IAAI,WAAW,IAAI,OAAO,CAEzB;CACF"}
|
|
@@ -59,16 +59,15 @@ export class TransportIntermediate extends Transport {
|
|
|
59
59
|
async receive() {
|
|
60
60
|
let length;
|
|
61
61
|
{
|
|
62
|
-
|
|
62
|
+
let buffer = new Uint8Array(4);
|
|
63
63
|
await __classPrivateFieldGet(this, _TransportIntermediate_connection, "f").read(buffer);
|
|
64
|
-
this.decrypt(buffer);
|
|
64
|
+
buffer = await this.decrypt(buffer);
|
|
65
65
|
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
66
66
|
length = dataView.getUint32(0, true);
|
|
67
67
|
}
|
|
68
68
|
const buffer = new Uint8Array(length);
|
|
69
69
|
await __classPrivateFieldGet(this, _TransportIntermediate_connection, "f").read(buffer);
|
|
70
|
-
this.decrypt(buffer);
|
|
71
|
-
return buffer;
|
|
70
|
+
return await this.decrypt(buffer);
|
|
72
71
|
}
|
|
73
72
|
async send(buffer) {
|
|
74
73
|
if (!this.initialized) {
|
|
@@ -76,8 +75,7 @@ export class TransportIntermediate extends Transport {
|
|
|
76
75
|
}
|
|
77
76
|
const length = bufferFromBigInt(buffer.length, 4);
|
|
78
77
|
const data = concat([length, buffer]);
|
|
79
|
-
this.encrypt(data);
|
|
80
|
-
await __classPrivateFieldGet(this, _TransportIntermediate_connection, "f").write(data);
|
|
78
|
+
await __classPrivateFieldGet(this, _TransportIntermediate_connection, "f").write(await this.encrypt(data));
|
|
81
79
|
}
|
|
82
80
|
deinitialize() {
|
|
83
81
|
super.deinitialize();
|
|
@@ -1,14 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
1
20
|
import { TransportProvider } from "./2_transport_provider.js";
|
|
2
|
-
export interface Socks5 {
|
|
3
|
-
type: "socks5";
|
|
4
|
-
hostname: string;
|
|
5
|
-
port?: number;
|
|
6
|
-
username?: string;
|
|
7
|
-
password?: string;
|
|
8
|
-
}
|
|
9
21
|
export declare function transportProviderTcp(params?: {
|
|
10
22
|
ipv6?: boolean;
|
|
11
23
|
obfuscated?: boolean;
|
|
12
|
-
proxy?: Socks5;
|
|
13
24
|
}): TransportProvider;
|
|
14
25
|
//# sourceMappingURL=3_transport_provider_tcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3_transport_provider_tcp.d.ts","sourceRoot":"","sources":["../../src/transport/3_transport_provider_tcp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"3_transport_provider_tcp.d.ts","sourceRoot":"","sources":["../../src/transport/3_transport_provider_tcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAqB,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEjF,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,iBAAiB,CAMpB"}
|
|
@@ -1,14 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
2
20
|
import { ConnectionTCP } from "../connection/1_connection_tcp.node.js";
|
|
3
21
|
import { TransportAbridged } from "./1_transport_abridged.js";
|
|
4
22
|
import { getDcId, getDcIps } from "./2_transport_provider.js";
|
|
5
23
|
export function transportProviderTcp(params) {
|
|
6
24
|
return ({ dc, cdn }) => {
|
|
7
25
|
const connection = new ConnectionTCP(getDcIps(dc, params?.ipv6 ? "ipv6" : "ipv4")[0], 80);
|
|
8
|
-
if (params?.proxy) {
|
|
9
|
-
const socksClient = new SocksClient(params.proxy);
|
|
10
|
-
connection.connect = socksClient.connect.bind(socksClient);
|
|
11
|
-
}
|
|
12
26
|
const transport = new TransportAbridged(connection, params?.obfuscated);
|
|
13
27
|
return { connection, transport, dcId: getDcId(dc, cdn) };
|
|
14
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_birthday.d.ts","sourceRoot":"","sources":["../../src/types/0_birthday.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"0_birthday.d.ts","sourceRoot":"","sources":["../../src/types/0_birthday.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,yBAAyB;AACzB,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAMlE"}
|
package/esm/types/0_birthday.js
CHANGED
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
export function constructBirthday(birthday) {
|
|
21
|
-
return {
|
|
22
|
+
return cleanObject({
|
|
22
23
|
day: birthday.day,
|
|
23
24
|
month: birthday.month,
|
|
24
25
|
year: birthday.year,
|
|
25
|
-
};
|
|
26
|
+
});
|
|
26
27
|
}
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
import { toUnixTimestamp } from "../1_utilities.js";
|
|
20
|
+
import { cleanObject, toUnixTimestamp } from "../1_utilities.js";
|
|
21
21
|
export function constructChatMemberRights(rights) {
|
|
22
|
-
return {
|
|
22
|
+
return cleanObject({
|
|
23
23
|
canSendMessages: rights.send_messages ? true : false,
|
|
24
24
|
canSendAudio: rights.send_audios ? true : false,
|
|
25
25
|
canSendDocuments: rights.send_docs ? true : false,
|
|
@@ -37,7 +37,7 @@ export function constructChatMemberRights(rights) {
|
|
|
37
37
|
canInviteUsers: rights.invite_users ? true : undefined,
|
|
38
38
|
canPinMessages: rights.pin_messages ? true : undefined,
|
|
39
39
|
canManageTopics: rights.manage_topics ? true : undefined,
|
|
40
|
-
};
|
|
40
|
+
});
|
|
41
41
|
}
|
|
42
42
|
export function chatMemberRightsToTlObject(rights, untilDate) {
|
|
43
43
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_contact.d.ts","sourceRoot":"","sources":["../../src/types/0_contact.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"0_contact.d.ts","sourceRoot":"","sources":["../../src/types/0_contact.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,wBAAwB;AACxB,MAAM,WAAW,OAAO;IACtB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,GAAG,CAAC,mBAAmB,GAAG,OAAO,CAQ1E"}
|
package/esm/types/0_contact.js
CHANGED
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
export function constructContact(contact) {
|
|
21
|
-
return {
|
|
22
|
+
return cleanObject({
|
|
22
23
|
phoneNumber: contact.phone_number,
|
|
23
24
|
firstName: contact.first_name,
|
|
24
25
|
lastName: contact.last_name || undefined,
|
|
25
26
|
userId: Number(contact.user_id) || undefined,
|
|
26
27
|
vcard: contact.vcard || undefined,
|
|
27
|
-
};
|
|
28
|
+
});
|
|
28
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_location.d.ts","sourceRoot":"","sources":["../../src/types/0_location.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"0_location.d.ts","sourceRoot":"","sources":["../../src/types/0_location.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAU,MAAM,YAAY,CAAC;AAEzC,yBAAyB;AACzB,MAAM,WAAW,QAAQ;IACvB,oCAAoC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wGAAwG;IACxG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8HAA8H;IAC9H,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,mBAAmB,GAAG,GAAG,CAAC,QAAQ,GAAG,QAAQ,CA0B9G"}
|
package/esm/types/0_location.js
CHANGED
|
@@ -17,33 +17,34 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
import { as, is } from "../2_tl.js";
|
|
21
22
|
export function constructLocation(geo_) {
|
|
22
23
|
if (is("messageMediaGeo", geo_)) {
|
|
23
24
|
const geo = as("geoPoint", geo_.geo);
|
|
24
|
-
return {
|
|
25
|
+
return cleanObject({
|
|
25
26
|
latitude: geo.lat,
|
|
26
27
|
longitude: geo.long,
|
|
27
28
|
horizontalAccuracy: geo.accuracy_radius,
|
|
28
|
-
};
|
|
29
|
+
});
|
|
29
30
|
}
|
|
30
31
|
else if (is("messageMediaGeoLive", geo_)) {
|
|
31
32
|
const media = geo_;
|
|
32
33
|
const geo = as("geoPoint", media.geo);
|
|
33
|
-
return {
|
|
34
|
+
return cleanObject({
|
|
34
35
|
latitude: geo.lat,
|
|
35
36
|
longitude: geo.long,
|
|
36
37
|
horizontalAccuracy: geo.accuracy_radius,
|
|
37
38
|
livePeriod: media.period,
|
|
38
39
|
heading: media.heading,
|
|
39
40
|
proximityAlertRadius: media.proximity_notification_radius,
|
|
40
|
-
};
|
|
41
|
+
});
|
|
41
42
|
}
|
|
42
43
|
else {
|
|
43
|
-
return {
|
|
44
|
+
return cleanObject({
|
|
44
45
|
latitude: geo_.lat,
|
|
45
46
|
longitude: geo_.long,
|
|
46
47
|
horizontalAccuracy: geo_.accuracy_radius,
|
|
47
|
-
};
|
|
48
|
+
});
|
|
48
49
|
}
|
|
49
50
|
}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
1
20
|
export interface SwitchInlineQueryChosenChats {
|
|
2
21
|
/** The query to type into the user's message box once switched to inline. */
|
|
3
22
|
query: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_switch_inline_query_chosen_chats.d.ts","sourceRoot":"","sources":["../../src/types/0_switch_inline_query_chosen_chats.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"0_switch_inline_query_chosen_chats.d.ts","sourceRoot":"","sources":["../../src/types/0_switch_inline_query_chosen_chats.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,4BAA4B;IAC3C,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -1 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
1
20
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_animation.d.ts","sourceRoot":"","sources":["../../src/types/1_animation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"1_animation.d.ts","sourceRoot":"","sources":["../../src/types/1_animation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAM,MAAM,YAAY,CAAC;AACrC,OAAO,EAAsB,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjE,uEAAuE;AACvE,MAAM,WAAW,SAAS;IACxB,yEAAyE;IACzE,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,CAAC,sBAAsB,GAAG,SAAS,EAAE,aAAa,EAAE,GAAG,CAAC,yBAAyB,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,SAAS,CAY5N"}
|
package/esm/types/1_animation.js
CHANGED
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
import { is } from "../2_tl.js";
|
|
21
22
|
import { constructThumbnail } from "./0_thumbnail.js";
|
|
22
23
|
export function constructAnimation(document, videoAttribute, fileAttribute, fileId, fileUniqueId) {
|
|
23
|
-
return {
|
|
24
|
+
return cleanObject({
|
|
24
25
|
fileId,
|
|
25
26
|
fileUniqueId,
|
|
26
27
|
width: videoAttribute?.w ?? 0,
|
|
@@ -30,5 +31,5 @@ export function constructAnimation(document, videoAttribute, fileAttribute, file
|
|
|
30
31
|
fileName: fileAttribute?.file_name,
|
|
31
32
|
mimeType: document.mime_type,
|
|
32
33
|
fileSize: Number(document.size),
|
|
33
|
-
};
|
|
34
|
+
});
|
|
34
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_audio.d.ts","sourceRoot":"","sources":["../../src/types/1_audio.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"1_audio.d.ts","sourceRoot":"","sources":["../../src/types/1_audio.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAM,MAAM,YAAY,CAAC;AACrC,OAAO,EAAsB,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjE,qBAAqB;AACrB,MAAM,WAAW,KAAK;IACpB,yEAAyE;IACzE,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,CAAC,sBAAsB,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,KAAK,CAW1J"}
|
package/esm/types/1_audio.js
CHANGED
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
import { is } from "../2_tl.js";
|
|
21
22
|
import { constructThumbnail } from "./0_thumbnail.js";
|
|
22
23
|
export function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
|
|
23
|
-
return {
|
|
24
|
+
return cleanObject({
|
|
24
25
|
fileId,
|
|
25
26
|
fileUniqueId,
|
|
26
27
|
duration: audioAttribute?.duration ?? 0,
|
|
@@ -29,5 +30,5 @@ export function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
|
|
|
29
30
|
mimeType: document.mime_type,
|
|
30
31
|
fileSize: Number(document.size),
|
|
31
32
|
thumbnails: document.thumbs ? document.thumbs.map((v) => is("photoSize", v) ? constructThumbnail(v, document) : null).filter((v) => v) : [],
|
|
32
|
-
};
|
|
33
|
+
});
|
|
33
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_venue.d.ts","sourceRoot":"","sources":["../../src/types/1_venue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAM,MAAM,YAAY,CAAC;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"1_venue.d.ts","sourceRoot":"","sources":["../../src/types/1_venue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAM,MAAM,YAAY,CAAC;AACrC,OAAO,EAAqB,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE9D,sBAAsB;AACtB,MAAM,WAAW,KAAK;IACpB,4DAA4D;IAC5D,QAAQ,EAAE,QAAQ,CAAC;IACnB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,cAAc,GAAG,KAAK,CASxF"}
|
package/esm/types/1_venue.js
CHANGED
|
@@ -18,14 +18,11 @@
|
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
import { as } from "../2_tl.js";
|
|
21
|
+
import { constructLocation } from "./0_location.js";
|
|
21
22
|
export function constructVenue(media_) {
|
|
22
23
|
const geo = as("geoPoint", media_.geo);
|
|
23
24
|
return {
|
|
24
|
-
location:
|
|
25
|
-
latitude: geo.lat,
|
|
26
|
-
longitude: geo.long,
|
|
27
|
-
horizontalAccuracy: geo.accuracy_radius,
|
|
28
|
-
},
|
|
25
|
+
location: constructLocation(geo),
|
|
29
26
|
title: media_.title,
|
|
30
27
|
address: media_.address,
|
|
31
28
|
foursquareId: media_.venue_id,
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
1
20
|
import { Api } from "../2_tl.js";
|
|
2
21
|
import { EntityGetter } from "./_getters.js";
|
|
3
22
|
import { ChatPChannel, ChatPSupergroup } from "./1_chat_p.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_forward_header.d.ts","sourceRoot":"","sources":["../../src/types/2_forward_header.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"2_forward_header.d.ts","sourceRoot":"","sources":["../../src/types/2_forward_header.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAkB,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAiB,IAAI,EAAE,MAAM,aAAa,CAAC;AAElD,gBAAgB;AAChB,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,gBAAgB;AAChB,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB;IAC7D,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,gBAAgB;AAChB,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,qBAAqB;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,gBAAgB;AAChB,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,gBAAgB;AAChB,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,gBAAgB;AAChB,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,oBAAoB,GAAG,uBAAuB,GAAG,mBAAmB,GAAG,wBAAwB,CAAC;AAEhJ,wBAAsB,sBAAsB,CAAC,SAAS,EAAE,GAAG,CAAC,gBAAgB,EAAE,SAAS,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,CA8C7H"}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
1
20
|
import { unreachable } from "../0_deps.js";
|
|
2
21
|
import { cleanObject, fromUnixTimestamp } from "../1_utilities.js";
|
|
3
22
|
import { constructChatP } from "./1_chat_p.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_story_interactions.d.ts","sourceRoot":"","sources":["../../src/types/2_story_interactions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"2_story_interactions.d.ts","sourceRoot":"","sources":["../../src/types/2_story_interactions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAA0B,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE9E,0CAA0C;AAC1C,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,GAAG,iBAAiB,CAMpF"}
|
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
+
import { cleanObject } from "../1_utilities.js";
|
|
20
21
|
import { constructStoryReaction } from "./1_story_reaction.js";
|
|
21
22
|
export function constructStoryInteractions(views_) {
|
|
22
23
|
const views = views_.views_count;
|
|
23
24
|
const forwards = views_.forwards_count ?? 0;
|
|
24
25
|
const reactionCount = views_.reactions_count;
|
|
25
26
|
const reactions = views_.reactions ? views_.reactions.map(constructStoryReaction) : undefined;
|
|
26
|
-
return { reactions, reactionCount, views, forwards };
|
|
27
|
+
return cleanObject({ reactions, reactionCount, views, forwards });
|
|
27
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_env.d.ts","sourceRoot":"","sources":["../../src/utilities/0_env.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"0_env.d.ts","sourceRoot":"","sources":["../../src/utilities/0_env.ts"],"names":[],"mappings":"AA0BA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAkBrD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,iBAWrC"}
|