@mtkruto/node 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +11 -8
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +12 -9
- package/esm/1_utilities.d.ts +1 -0
- package/esm/1_utilities.d.ts.map +1 -1
- package/esm/1_utilities.js +1 -0
- 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/@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/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/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_story_interactions.d.ts.map +1 -1
- package/esm/types/2_story_interactions.js +2 -1
- package/esm/utilities/0_gunzip.d.ts +2 -0
- package/esm/utilities/0_gunzip.d.ts.map +1 -0
- package/esm/utilities/0_gunzip.js +17 -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 -26
- package/script/1_utilities.d.ts +1 -0
- package/script/1_utilities.d.ts.map +1 -1
- package/script/1_utilities.js +1 -0
- 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/@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/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/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_story_interactions.d.ts.map +1 -1
- package/script/types/2_story_interactions.js +2 -1
- package/script/utilities/0_gunzip.d.ts +2 -0
- package/script/utilities/0_gunzip.d.ts.map +1 -0
- package/script/utilities/0_gunzip.js +20 -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.map +0 -1
- package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
- 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/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.map +0 -1
- package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
- 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/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.d.ts +0 -0
- /package/esm/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.js +0 -0
- /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/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.js +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}/mod.d.ts +0 -0
- /package/script/deps/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/mod.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/{deno.land/x/tgcrypto@0.4.1 → jsr.io/@roj/tgcrypto/0.4.1/dist}/tgcrypto.js +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,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.toArrayBuffer = toArrayBuffer;
|
|
6
|
+
const concat_js_1 = require("../../bytes/1.0.4/concat.js");
|
|
7
|
+
/**
|
|
8
|
+
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
9
|
+
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
10
|
+
*
|
|
11
|
+
* @param readableStream A `ReadableStream` of `Uint8Array`s to convert into an `ArrayBuffer`.
|
|
12
|
+
* @returns A promise that resolves with the `ArrayBuffer` containing all the data from the stream.
|
|
13
|
+
*
|
|
14
|
+
* @example Basic usage
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { toArrayBuffer } from "@std/streams/to-array-buffer";
|
|
17
|
+
* import { assertEquals } from "@std/assert";
|
|
18
|
+
*
|
|
19
|
+
* const stream = ReadableStream.from([
|
|
20
|
+
* new Uint8Array([1, 2]),
|
|
21
|
+
* new Uint8Array([3, 4, 5]),
|
|
22
|
+
* ]);
|
|
23
|
+
* const buf = await toArrayBuffer(stream);
|
|
24
|
+
* assertEquals(buf.byteLength, 5);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
async function toArrayBuffer(readableStream) {
|
|
28
|
+
const reader = readableStream.getReader();
|
|
29
|
+
const chunks = [];
|
|
30
|
+
while (true) {
|
|
31
|
+
const { done, value } = await reader.read();
|
|
32
|
+
if (done) {
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
chunks.push(value);
|
|
36
|
+
}
|
|
37
|
+
return (0, concat_js_1.concat)(chunks).buffer;
|
|
38
|
+
}
|
|
@@ -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,17 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
4
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
5
|
+
*
|
|
6
|
+
* This file is part of MTKruto.
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Lesser General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
2
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
22
|
exports.transportProviderTcp = transportProviderTcp;
|
|
4
|
-
const _0_deps_js_1 = require("../0_deps.js");
|
|
5
23
|
const _1_connection_tcp_node_js_1 = require("../connection/1_connection_tcp.node.js");
|
|
6
24
|
const _1_transport_abridged_js_1 = require("./1_transport_abridged.js");
|
|
7
25
|
const _2_transport_provider_js_1 = require("./2_transport_provider.js");
|
|
8
26
|
function transportProviderTcp(params) {
|
|
9
27
|
return ({ dc, cdn }) => {
|
|
10
28
|
const connection = new _1_connection_tcp_node_js_1.ConnectionTCP((0, _2_transport_provider_js_1.getDcIps)(dc, params?.ipv6 ? "ipv6" : "ipv4")[0], 80);
|
|
11
|
-
if (params?.proxy) {
|
|
12
|
-
const socksClient = new _0_deps_js_1.SocksClient(params.proxy);
|
|
13
|
-
connection.connect = socksClient.connect.bind(socksClient);
|
|
14
|
-
}
|
|
15
29
|
const transport = new _1_transport_abridged_js_1.TransportAbridged(connection, params?.obfuscated);
|
|
16
30
|
return { connection, transport, dcId: (0, _2_transport_provider_js_1.getDcId)(dc, cdn) };
|
|
17
31
|
};
|
|
@@ -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"}
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructBirthday = constructBirthday;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
function constructBirthday(birthday) {
|
|
24
|
-
return {
|
|
25
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
25
26
|
day: birthday.day,
|
|
26
27
|
month: birthday.month,
|
|
27
28
|
year: birthday.year,
|
|
28
|
-
};
|
|
29
|
+
});
|
|
29
30
|
}
|
|
@@ -23,7 +23,7 @@ exports.constructChatMemberRights = constructChatMemberRights;
|
|
|
23
23
|
exports.chatMemberRightsToTlObject = chatMemberRightsToTlObject;
|
|
24
24
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
25
25
|
function constructChatMemberRights(rights) {
|
|
26
|
-
return {
|
|
26
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
27
27
|
canSendMessages: rights.send_messages ? true : false,
|
|
28
28
|
canSendAudio: rights.send_audios ? true : false,
|
|
29
29
|
canSendDocuments: rights.send_docs ? true : false,
|
|
@@ -41,7 +41,7 @@ function constructChatMemberRights(rights) {
|
|
|
41
41
|
canInviteUsers: rights.invite_users ? true : undefined,
|
|
42
42
|
canPinMessages: rights.pin_messages ? true : undefined,
|
|
43
43
|
canManageTopics: rights.manage_topics ? true : undefined,
|
|
44
|
-
};
|
|
44
|
+
});
|
|
45
45
|
}
|
|
46
46
|
function chatMemberRightsToTlObject(rights, untilDate) {
|
|
47
47
|
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"}
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructContact = constructContact;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
function constructContact(contact) {
|
|
24
|
-
return {
|
|
25
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
25
26
|
phoneNumber: contact.phone_number,
|
|
26
27
|
firstName: contact.first_name,
|
|
27
28
|
lastName: contact.last_name || undefined,
|
|
28
29
|
userId: Number(contact.user_id) || undefined,
|
|
29
30
|
vcard: contact.vcard || undefined,
|
|
30
|
-
};
|
|
31
|
+
});
|
|
31
32
|
}
|
|
@@ -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"}
|
|
@@ -20,33 +20,34 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructLocation = constructLocation;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
24
25
|
function constructLocation(geo_) {
|
|
25
26
|
if ((0, _2_tl_js_1.is)("messageMediaGeo", geo_)) {
|
|
26
27
|
const geo = (0, _2_tl_js_1.as)("geoPoint", geo_.geo);
|
|
27
|
-
return {
|
|
28
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
28
29
|
latitude: geo.lat,
|
|
29
30
|
longitude: geo.long,
|
|
30
31
|
horizontalAccuracy: geo.accuracy_radius,
|
|
31
|
-
};
|
|
32
|
+
});
|
|
32
33
|
}
|
|
33
34
|
else if ((0, _2_tl_js_1.is)("messageMediaGeoLive", geo_)) {
|
|
34
35
|
const media = geo_;
|
|
35
36
|
const geo = (0, _2_tl_js_1.as)("geoPoint", media.geo);
|
|
36
|
-
return {
|
|
37
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
37
38
|
latitude: geo.lat,
|
|
38
39
|
longitude: geo.long,
|
|
39
40
|
horizontalAccuracy: geo.accuracy_radius,
|
|
40
41
|
livePeriod: media.period,
|
|
41
42
|
heading: media.heading,
|
|
42
43
|
proximityAlertRadius: media.proximity_notification_radius,
|
|
43
|
-
};
|
|
44
|
+
});
|
|
44
45
|
}
|
|
45
46
|
else {
|
|
46
|
-
return {
|
|
47
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
47
48
|
latitude: geo_.lat,
|
|
48
49
|
longitude: geo_.long,
|
|
49
50
|
horizontalAccuracy: geo_.accuracy_radius,
|
|
50
|
-
};
|
|
51
|
+
});
|
|
51
52
|
}
|
|
52
53
|
}
|
|
@@ -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"}
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructAnimation = constructAnimation;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
24
25
|
const _0_thumbnail_js_1 = require("./0_thumbnail.js");
|
|
25
26
|
function constructAnimation(document, videoAttribute, fileAttribute, fileId, fileUniqueId) {
|
|
26
|
-
return {
|
|
27
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
27
28
|
fileId,
|
|
28
29
|
fileUniqueId,
|
|
29
30
|
width: videoAttribute?.w ?? 0,
|
|
@@ -33,5 +34,5 @@ function constructAnimation(document, videoAttribute, fileAttribute, fileId, fil
|
|
|
33
34
|
fileName: fileAttribute?.file_name,
|
|
34
35
|
mimeType: document.mime_type,
|
|
35
36
|
fileSize: Number(document.size),
|
|
36
|
-
};
|
|
37
|
+
});
|
|
37
38
|
}
|
|
@@ -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/script/types/1_audio.js
CHANGED
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructAudio = constructAudio;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
24
25
|
const _0_thumbnail_js_1 = require("./0_thumbnail.js");
|
|
25
26
|
function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
|
|
26
|
-
return {
|
|
27
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
27
28
|
fileId,
|
|
28
29
|
fileUniqueId,
|
|
29
30
|
duration: audioAttribute?.duration ?? 0,
|
|
@@ -32,5 +33,5 @@ function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
|
|
|
32
33
|
mimeType: document.mime_type,
|
|
33
34
|
fileSize: Number(document.size),
|
|
34
35
|
thumbnails: document.thumbs ? document.thumbs.map((v) => (0, _2_tl_js_1.is)("photoSize", v) ? (0, _0_thumbnail_js_1.constructThumbnail)(v, document) : null).filter((v) => v) : [],
|
|
35
|
-
};
|
|
36
|
+
});
|
|
36
37
|
}
|
|
@@ -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/script/types/1_venue.js
CHANGED
|
@@ -21,14 +21,11 @@
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructVenue = constructVenue;
|
|
23
23
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
24
|
+
const _0_location_js_1 = require("./0_location.js");
|
|
24
25
|
function constructVenue(media_) {
|
|
25
26
|
const geo = (0, _2_tl_js_1.as)("geoPoint", media_.geo);
|
|
26
27
|
return {
|
|
27
|
-
location:
|
|
28
|
-
latitude: geo.lat,
|
|
29
|
-
longitude: geo.long,
|
|
30
|
-
horizontalAccuracy: geo.accuracy_radius,
|
|
31
|
-
},
|
|
28
|
+
location: (0, _0_location_js_1.constructLocation)(geo),
|
|
32
29
|
title: media_.title,
|
|
33
30
|
address: media_.address,
|
|
34
31
|
foursquareId: media_.venue_id,
|
|
@@ -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"}
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.constructStoryInteractions = constructStoryInteractions;
|
|
23
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
23
24
|
const _1_story_reaction_js_1 = require("./1_story_reaction.js");
|
|
24
25
|
function constructStoryInteractions(views_) {
|
|
25
26
|
const views = views_.views_count;
|
|
26
27
|
const forwards = views_.forwards_count ?? 0;
|
|
27
28
|
const reactionCount = views_.reactions_count;
|
|
28
29
|
const reactions = views_.reactions ? views_.reactions.map(_1_story_reaction_js_1.constructStoryReaction) : undefined;
|
|
29
|
-
return { reactions, reactionCount, views, forwards };
|
|
30
|
+
return (0, _1_utilities_js_1.cleanObject)({ reactions, reactionCount, views, forwards });
|
|
30
31
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"0_gunzip.d.ts","sourceRoot":"","sources":["../../src/utilities/0_gunzip.ts"],"names":[],"mappings":"AAEA,wBAAsB,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAcpE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.gunzip = gunzip;
|
|
4
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
5
|
+
async function gunzip(buffer) {
|
|
6
|
+
let readable;
|
|
7
|
+
if (ReadableStream.from) {
|
|
8
|
+
readable = ReadableStream.from([buffer]);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
readable = new ReadableStream({
|
|
12
|
+
pull(controller) {
|
|
13
|
+
controller.enqueue(buffer);
|
|
14
|
+
controller.close();
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
readable = readable.pipeThrough(new DecompressionStream("gzip"));
|
|
19
|
+
return new Uint8Array(await (0, _0_deps_js_1.toArrayBuffer)(readable));
|
|
20
|
+
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An abstract interface which when implemented provides an interface to read bytes into an array buffer asynchronously.
|
|
3
|
-
*/
|
|
4
|
-
export interface Reader {
|
|
5
|
-
/** Reads up to `p.byteLength` bytes into `p`. It resolves to the number of
|
|
6
|
-
* bytes read (`0` < `n` <= `p.byteLength`) and rejects if any error
|
|
7
|
-
* encountered. Even if `read()` resolves to `n` < `p.byteLength`, it may
|
|
8
|
-
* use all of `p` as scratch space during the call. If some data is
|
|
9
|
-
* available but not `p.byteLength` bytes, `read()` conventionally resolves
|
|
10
|
-
* to what is available instead of waiting for more.
|
|
11
|
-
*
|
|
12
|
-
* When `read()` encounters end-of-file condition, it resolves to EOF
|
|
13
|
-
* (`null`).
|
|
14
|
-
*
|
|
15
|
-
* When `read()` encounters an error, it rejects with an error.
|
|
16
|
-
*
|
|
17
|
-
* Callers should always process the `n` > `0` bytes returned before
|
|
18
|
-
* considering the EOF (`null`). Doing so correctly handles I/O errors that
|
|
19
|
-
* happen after reading some bytes and also both of the allowed EOF
|
|
20
|
-
* behaviors.
|
|
21
|
-
*
|
|
22
|
-
* Implementations should not retain a reference to `p`.
|
|
23
|
-
*
|
|
24
|
-
* Use
|
|
25
|
-
* {@linkcode https://deno.land/std@$STD_VERSION/io/to_iterator.ts?s=toIterator}
|
|
26
|
-
* to turn a {@linkcode Reader} into an {@linkcode AsyncIterableIterator}.
|
|
27
|
-
*/
|
|
28
|
-
read(p: Uint8Array): Promise<number | null>;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* An abstract interface which when implemented provides an interface to read bytes into an array buffer synchronously.
|
|
32
|
-
*/
|
|
33
|
-
export interface ReaderSync {
|
|
34
|
-
/** Reads up to `p.byteLength` bytes into `p`. It resolves to the number
|
|
35
|
-
* of bytes read (`0` < `n` <= `p.byteLength`) and rejects if any error
|
|
36
|
-
* encountered. Even if `read()` returns `n` < `p.byteLength`, it may use
|
|
37
|
-
* all of `p` as scratch space during the call. If some data is available
|
|
38
|
-
* but not `p.byteLength` bytes, `read()` conventionally returns what is
|
|
39
|
-
* available instead of waiting for more.
|
|
40
|
-
*
|
|
41
|
-
* When `readSync()` encounters end-of-file condition, it returns EOF
|
|
42
|
-
* (`null`).
|
|
43
|
-
*
|
|
44
|
-
* When `readSync()` encounters an error, it throws with an error.
|
|
45
|
-
*
|
|
46
|
-
* Callers should always process the `n` > `0` bytes returned before
|
|
47
|
-
* considering the EOF (`null`). Doing so correctly handles I/O errors that happen
|
|
48
|
-
* after reading some bytes and also both of the allowed EOF behaviors.
|
|
49
|
-
*
|
|
50
|
-
* Implementations should not retain a reference to `p`.
|
|
51
|
-
*
|
|
52
|
-
* Use
|
|
53
|
-
* {@linkcode https://deno.land/std@$STD_VERSION/io/to_iterator.ts?s=toIteratorSync}
|
|
54
|
-
* to turn a {@linkcode ReaderSync} into an {@linkcode IterableIterator}.
|
|
55
|
-
*/
|
|
56
|
-
readSync(p: Uint8Array): number | null;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource asynchronously.
|
|
60
|
-
*/
|
|
61
|
-
export interface Writer {
|
|
62
|
-
/** Writes `p.byteLength` bytes from `p` to the underlying data stream. It
|
|
63
|
-
* resolves to the number of bytes written from `p` (`0` <= `n` <=
|
|
64
|
-
* `p.byteLength`) or reject with the error encountered that caused the
|
|
65
|
-
* write to stop early. `write()` must reject with a non-null error if
|
|
66
|
-
* would resolve to `n` < `p.byteLength`. `write()` must not modify the
|
|
67
|
-
* slice data, even temporarily.
|
|
68
|
-
*
|
|
69
|
-
* Implementations should not retain a reference to `p`.
|
|
70
|
-
*/
|
|
71
|
-
write(p: Uint8Array): Promise<number>;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource synchronously.
|
|
75
|
-
*/
|
|
76
|
-
export interface WriterSync {
|
|
77
|
-
/** Writes `p.byteLength` bytes from `p` to the underlying data
|
|
78
|
-
* stream. It returns the number of bytes written from `p` (`0` <= `n`
|
|
79
|
-
* <= `p.byteLength`) and any error encountered that caused the write to
|
|
80
|
-
* stop early. `writeSync()` must throw a non-null error if it returns `n` <
|
|
81
|
-
* `p.byteLength`. `writeSync()` must not modify the slice data, even
|
|
82
|
-
* temporarily.
|
|
83
|
-
*
|
|
84
|
-
* Implementations should not retain a reference to `p`.
|
|
85
|
-
*/
|
|
86
|
-
writeSync(p: Uint8Array): number;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* An abstract interface which when implemented provides an interface to close files/resources that were previously opened.
|
|
90
|
-
*/
|
|
91
|
-
export interface Closer {
|
|
92
|
-
/** Closes the resource, "freeing" the backing file/resource. */
|
|
93
|
-
close(): void;
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.224.0/io/types.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACvC;AACD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;OAQG;IACH,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,gEAAgE;IAChE,KAAK,IAAI,IAAI,CAAC;CACf"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Writer, WriterSync } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Write all the content of the array buffer (`arr`) to the writer (`w`).
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```ts
|
|
7
|
-
* import { writeAll } from "https://deno.land/std@$STD_VERSION/io/write_all.ts";
|
|
8
|
-
|
|
9
|
-
* // Example writing to stdout
|
|
10
|
-
* let contentBytes = new TextEncoder().encode("Hello World");
|
|
11
|
-
* await writeAll(Deno.stdout, contentBytes);
|
|
12
|
-
*
|
|
13
|
-
* // Example writing to file
|
|
14
|
-
* contentBytes = new TextEncoder().encode("Hello World");
|
|
15
|
-
* using file = await Deno.open('test.file', {write: true});
|
|
16
|
-
* await writeAll(file, contentBytes);
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function writeAll(writer: Writer, data: Uint8Array): Promise<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Synchronously write all the content of the array buffer (`arr`) to the
|
|
22
|
-
* writer (`w`).
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* import { writeAllSync } from "https://deno.land/std@$STD_VERSION/io/write_all.ts";
|
|
27
|
-
*
|
|
28
|
-
* // Example writing to stdout
|
|
29
|
-
* let contentBytes = new TextEncoder().encode("Hello World");
|
|
30
|
-
* writeAllSync(Deno.stdout, contentBytes);
|
|
31
|
-
*
|
|
32
|
-
* // Example writing to file
|
|
33
|
-
* contentBytes = new TextEncoder().encode("Hello World");
|
|
34
|
-
* using file = Deno.openSync('test.file', {write: true});
|
|
35
|
-
* writeAllSync(file, contentBytes);
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export declare function writeAllSync(writer: WriterSync, data: Uint8Array): void;
|
|
39
|
-
//# sourceMappingURL=write_all.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"write_all.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/std@0.224.0/io/write_all.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,iBAK9D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,QAKhE"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
/**
|
|
4
|
-
* Write all the content of the array buffer (`arr`) to the writer (`w`).
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* import { writeAll } from "https://deno.land/std@$STD_VERSION/io/write_all.ts";
|
|
9
|
-
|
|
10
|
-
* // Example writing to stdout
|
|
11
|
-
* let contentBytes = new TextEncoder().encode("Hello World");
|
|
12
|
-
* await writeAll(Deno.stdout, contentBytes);
|
|
13
|
-
*
|
|
14
|
-
* // Example writing to file
|
|
15
|
-
* contentBytes = new TextEncoder().encode("Hello World");
|
|
16
|
-
* using file = await Deno.open('test.file', {write: true});
|
|
17
|
-
* await writeAll(file, contentBytes);
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export async function writeAll(writer, data) {
|
|
21
|
-
let nwritten = 0;
|
|
22
|
-
while (nwritten < data.length) {
|
|
23
|
-
nwritten += await writer.write(data.subarray(nwritten));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Synchronously write all the content of the array buffer (`arr`) to the
|
|
28
|
-
* writer (`w`).
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* import { writeAllSync } from "https://deno.land/std@$STD_VERSION/io/write_all.ts";
|
|
33
|
-
*
|
|
34
|
-
* // Example writing to stdout
|
|
35
|
-
* let contentBytes = new TextEncoder().encode("Hello World");
|
|
36
|
-
* writeAllSync(Deno.stdout, contentBytes);
|
|
37
|
-
*
|
|
38
|
-
* // Example writing to file
|
|
39
|
-
* contentBytes = new TextEncoder().encode("Hello World");
|
|
40
|
-
* using file = Deno.openSync('test.file', {write: true});
|
|
41
|
-
* writeAllSync(file, contentBytes);
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export function writeAllSync(writer, data) {
|
|
45
|
-
let nwritten = 0;
|
|
46
|
-
while (nwritten < data.length) {
|
|
47
|
-
nwritten += writer.writeSync(data.subarray(nwritten));
|
|
48
|
-
}
|
|
49
|
-
}
|