@mtkruto/node 0.1.119 → 0.1.122
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 +3 -3
- package/esm/0_deps.js +3 -3
- package/esm/2_tl.d.ts +3 -3
- package/esm/2_tl.js +3 -3
- package/esm/3_errors.d.ts +509 -509
- package/esm/3_errors.js +509 -509
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +2 -2
- package/esm/4_errors.d.ts +7 -7
- package/esm/4_errors.js +6 -6
- package/esm/_dnt.shims.js +0 -1
- package/esm/client/0_password.d.ts +2 -2
- package/esm/client/0_password.js +4 -4
- package/esm/client/0_utilities.d.ts +3 -3
- package/esm/client/0_utilities.js +1 -2
- package/esm/client/2_client_plain.js +20 -20
- package/esm/client/5_client.d.ts +20 -6
- package/esm/client/5_client.js +313 -256
- package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
- package/esm/storage/0_storage.d.ts +5 -5
- package/esm/tl/1_tl_object.d.ts +4 -0
- package/esm/tl/1_tl_object.js +11 -4
- package/esm/tl/2_types.d.ts +11385 -6448
- package/esm/tl/2_types.js +16324 -10139
- package/esm/tl/3_functions.d.ts +6773 -2401
- package/esm/tl/3_functions.js +9440 -3368
- package/esm/tl/3_utilities.d.ts +2 -2
- package/esm/tl/3_utilities.js +4 -4
- package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +2 -1
- package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +4 -1
- package/esm/tl/6_message.d.ts +1 -1
- package/esm/tl/6_message.js +1 -1
- package/esm/tl/7_message_container.d.ts +2 -1
- package/esm/tl/7_message_container.js +4 -1
- package/esm/types/0__file_id.js +1 -2
- package/esm/types/0_audio.js +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +3 -3
- package/esm/types/0_chat_administrator_rights.js +20 -20
- package/esm/types/0_chat_photo.js +8 -8
- package/esm/types/0_contact.js +4 -4
- package/esm/types/0_force_reply.d.ts +1 -1
- package/esm/types/0_location.js +4 -4
- package/esm/types/0_mask_position.d.ts +2 -2
- package/esm/types/0_message_entity.d.ts +3 -3
- package/esm/types/0_message_entity.js +8 -8
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
- package/esm/types/0_restriction_reason.d.ts +2 -2
- package/esm/types/0_thumbnail.js +3 -3
- package/esm/types/0_venue.js +3 -3
- package/esm/types/0_voice.js +1 -1
- package/esm/types/1_animation.js +2 -2
- package/esm/types/1_bot_command_scope.d.ts +1 -2
- package/esm/types/1_bot_command_scope.js +1 -1
- package/esm/types/1_chat.js +9 -9
- package/esm/types/1_document.js +2 -2
- package/esm/types/1_input_invoice_message_content.d.ts +1 -1
- package/esm/types/1_keyboard_button.d.ts +3 -3
- package/esm/types/1_keyboard_button.js +35 -35
- package/esm/types/1_photo.js +1 -1
- package/esm/types/1_poll.js +6 -6
- package/esm/types/1_sticker.js +3 -3
- package/esm/types/1_user.js +6 -6
- package/esm/types/1_video.js +1 -1
- package/esm/types/2_game.js +3 -3
- package/esm/types/2_inline_keyboard_button.d.ts +3 -3
- package/esm/types/2_inline_keyboard_button.js +9 -9
- package/esm/types/2_inline_query.js +8 -8
- package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
- package/esm/types/2_reply_keyboard_markup.js +2 -2
- package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
- package/esm/types/3_message.d.ts +4 -4
- package/esm/types/3_message.js +64 -64
- package/esm/types/4_callback_query.js +6 -6
- package/esm/types/4_reply_markup.d.ts +1 -1
- package/esm/types/5_inline_query_result.d.ts +1 -2
- package/esm/types/5_inline_query_result.js +30 -30
- package/package.json +13 -12
- package/script/0_deps.d.ts +3 -3
- package/script/0_deps.js +3 -3
- package/script/2_tl.d.ts +3 -3
- package/script/2_tl.js +5 -15
- package/script/3_errors.d.ts +509 -509
- package/script/3_errors.js +509 -509
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +2 -2
- package/script/4_errors.d.ts +7 -7
- package/script/4_errors.js +6 -6
- package/script/_dnt.shims.js +0 -1
- package/script/client/0_password.d.ts +2 -2
- package/script/client/0_password.js +4 -4
- package/script/client/0_utilities.d.ts +3 -3
- package/script/client/0_utilities.js +1 -2
- package/script/client/2_client_plain.js +20 -20
- package/script/client/5_client.d.ts +20 -6
- package/script/client/5_client.js +312 -255
- package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
- package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
- package/script/storage/0_storage.d.ts +5 -5
- package/script/storage/0_utilities.js +1 -1
- package/script/tl/1_tl_object.d.ts +4 -0
- package/script/tl/1_tl_object.js +12 -5
- package/script/tl/2_types.d.ts +11385 -6448
- package/script/tl/2_types.js +18033 -11825
- package/script/tl/3_functions.d.ts +6773 -2401
- package/script/tl/3_functions.js +10051 -3994
- package/script/tl/3_utilities.d.ts +2 -2
- package/script/tl/3_utilities.js +7 -30
- package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +2 -1
- package/script/tl/{5_rpc_result.js → 4_rpc_result.js} +3 -0
- package/script/tl/6_message.d.ts +1 -1
- package/script/tl/6_message.js +4 -4
- package/script/tl/7_message_container.d.ts +2 -1
- package/script/tl/7_message_container.js +3 -0
- package/script/types/0__file_id.js +4 -4
- package/script/types/0_audio.js +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +3 -3
- package/script/types/0_chat_administrator_rights.js +20 -20
- package/script/types/0_chat_photo.js +8 -8
- package/script/types/0_contact.js +4 -4
- package/script/types/0_force_reply.d.ts +1 -1
- package/script/types/0_location.js +4 -4
- package/script/types/0_mask_position.d.ts +2 -2
- package/script/types/0_message_entity.d.ts +3 -3
- package/script/types/0_message_entity.js +8 -8
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_reply_keyboard_remove.d.ts +1 -1
- package/script/types/0_restriction_reason.d.ts +2 -2
- package/script/types/0_thumbnail.js +3 -3
- package/script/types/0_venue.js +3 -3
- package/script/types/0_voice.js +1 -1
- package/script/types/1_animation.js +2 -2
- package/script/types/1_bot_command_scope.d.ts +1 -2
- package/script/types/1_bot_command_scope.js +1 -1
- package/script/types/1_chat.js +9 -9
- package/script/types/1_document.js +2 -2
- package/script/types/1_input_invoice_message_content.d.ts +1 -1
- package/script/types/1_keyboard_button.d.ts +3 -3
- package/script/types/1_keyboard_button.js +35 -35
- package/script/types/1_photo.js +1 -1
- package/script/types/1_poll.js +6 -6
- package/script/types/1_sticker.js +3 -3
- package/script/types/1_user.js +6 -6
- package/script/types/1_video.js +1 -1
- package/script/types/2_game.js +3 -3
- package/script/types/2_inline_keyboard_button.d.ts +3 -3
- package/script/types/2_inline_keyboard_button.js +9 -9
- package/script/types/2_inline_query.js +8 -8
- package/script/types/2_reply_keyboard_markup.d.ts +1 -1
- package/script/types/2_reply_keyboard_markup.js +2 -2
- package/script/types/3_inline_keyboard_markup.d.ts +1 -1
- package/script/types/3_message.d.ts +4 -4
- package/script/types/3_message.js +64 -64
- package/script/types/4_callback_query.js +6 -6
- package/script/types/4_reply_markup.d.ts +1 -1
- package/script/types/5_inline_query_result.d.ts +1 -2
- package/script/types/5_inline_query_result.js +30 -30
- package/esm/_dnt.test_shims.d.ts +0 -10
- package/esm/client/0_password_test.d.ts +0 -1
- package/esm/client/0_utilities_test.d.ts +0 -1
- package/esm/storage/0_utilities_test.d.ts +0 -1
- package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
- package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
- package/esm/tl/1_tl_object_test.d.ts +0 -1
- package/esm/tl/2_types_test.d.ts +0 -1
- package/esm/tl/3_deserialize_test.d.ts +0 -1
- package/esm/tl/3_functions_test.d.ts +0 -1
- package/esm/tl/6_message_test.d.ts +0 -1
- package/esm/utilities/0_base64_test.d.ts +0 -1
- package/esm/utilities/0_bigint_test.d.ts +0 -1
- package/esm/utilities/0_buffer_test.d.ts +0 -1
- package/esm/utilities/0_rle_test.d.ts +0 -1
- package/script/_dnt.test_shims.d.ts +0 -10
- package/script/client/0_password_test.d.ts +0 -1
- package/script/client/0_utilities_test.d.ts +0 -1
- package/script/storage/0_utilities_test.d.ts +0 -1
- package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
- package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
- package/script/tl/1_tl_object_test.d.ts +0 -1
- package/script/tl/2_types_test.d.ts +0 -1
- package/script/tl/3_deserialize_test.d.ts +0 -1
- package/script/tl/3_functions_test.d.ts +0 -1
- package/script/tl/6_message_test.d.ts +0 -1
- package/script/utilities/0_base64_test.d.ts +0 -1
- package/script/utilities/0_bigint_test.d.ts +0 -1
- package/script/utilities/0_buffer_test.d.ts +0 -1
- package/script/utilities/0_rle_test.d.ts +0 -1
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
package/esm/types/3_message.js
CHANGED
|
@@ -26,8 +26,8 @@ import { constructReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
|
|
|
26
26
|
import { constructInlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
|
|
27
27
|
const d = debug("types/Message");
|
|
28
28
|
async function getSender(message_, getEntity) {
|
|
29
|
-
if (message_.
|
|
30
|
-
const entity = await getEntity(message_.
|
|
29
|
+
if (message_.from_id instanceof types.PeerUser) {
|
|
30
|
+
const entity = await getEntity(message_.from_id);
|
|
31
31
|
if (entity) {
|
|
32
32
|
return { from: constructUser(entity) };
|
|
33
33
|
}
|
|
@@ -35,8 +35,8 @@ async function getSender(message_, getEntity) {
|
|
|
35
35
|
UNREACHABLE();
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
else if (message_.
|
|
39
|
-
const entity = await getEntity(message_.
|
|
38
|
+
else if (message_.from_id instanceof types.PeerChannel) {
|
|
39
|
+
const entity = await getEntity(message_.from_id);
|
|
40
40
|
if (entity) {
|
|
41
41
|
return { senderChat: constructChat(entity) };
|
|
42
42
|
}
|
|
@@ -46,20 +46,20 @@ async function getSender(message_, getEntity) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
async function getReply(message_, chat, getMessage) {
|
|
49
|
-
if (getMessage && message_.
|
|
49
|
+
if (getMessage && message_.reply_to instanceof types.MessageReplyHeader && message_.reply_to.reply_to_msg_id) {
|
|
50
50
|
let isTopicMessage = false;
|
|
51
|
-
if (message_.
|
|
51
|
+
if (message_.reply_to.forum_topic) {
|
|
52
52
|
isTopicMessage = true;
|
|
53
53
|
}
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
return {
|
|
54
|
+
const reply_toMessage = await getMessage(chat.id, message_.reply_to.reply_to_msg_id);
|
|
55
|
+
if (reply_toMessage) {
|
|
56
|
+
return { reply_toMessage, threadId: message_.reply_to.reply_to_top_id, isTopicMessage };
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
d("couldn't get replied message");
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return {
|
|
62
|
+
return { reply_toMessage: undefined, threadId: undefined, isTopicMessage: undefined };
|
|
63
63
|
}
|
|
64
64
|
async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
65
65
|
const message = {
|
|
@@ -73,7 +73,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
73
73
|
if (message_.action instanceof types.MessageActionChatAddUser) {
|
|
74
74
|
message.newChatMembers = [];
|
|
75
75
|
for (const user_ of message_.action.users) {
|
|
76
|
-
const entity = await getEntity(new types.PeerUser({
|
|
76
|
+
const entity = await getEntity(new types.PeerUser({ user_id: user_ }));
|
|
77
77
|
if (entity) {
|
|
78
78
|
const user = constructUser(entity);
|
|
79
79
|
message.newChatMembers.push(user);
|
|
@@ -84,7 +84,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
else if (message_.action instanceof types.MessageActionChatDeleteUser) {
|
|
87
|
-
const entity = await getEntity(new types.PeerUser({
|
|
87
|
+
const entity = await getEntity(new types.PeerUser({ user_id: message_.action.user_id }));
|
|
88
88
|
if (entity) {
|
|
89
89
|
const user = constructUser(entity);
|
|
90
90
|
message.leftChatMember = user;
|
|
@@ -106,7 +106,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
106
106
|
message.groupCreated = true;
|
|
107
107
|
message.newChatMembers = [];
|
|
108
108
|
for (const user_ of message_.action.users) {
|
|
109
|
-
const entity = await getEntity(new types.PeerUser({
|
|
109
|
+
const entity = await getEntity(new types.PeerUser({ user_id: user_ }));
|
|
110
110
|
if (entity) {
|
|
111
111
|
const user = constructUser(entity);
|
|
112
112
|
message.newChatMembers.push(user);
|
|
@@ -128,18 +128,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
else if (message_.action instanceof types.MessageActionChatMigrateTo) {
|
|
131
|
-
message.chatMigratedTo = ZERO_CHANNEL_ID + Number(-message_.action.
|
|
131
|
+
message.chatMigratedTo = ZERO_CHANNEL_ID + Number(-message_.action.channel_id);
|
|
132
132
|
}
|
|
133
133
|
else if (message_.action instanceof types.MessageActionChannelMigrateFrom) {
|
|
134
|
-
message.chatMigratedFrom = Number(-message_.action.
|
|
134
|
+
message.chatMigratedFrom = Number(-message_.action.chat_id);
|
|
135
135
|
}
|
|
136
136
|
else if (message_.action instanceof types.MessageActionPinMessage) {
|
|
137
|
-
const {
|
|
138
|
-
message.pinnedMessage =
|
|
137
|
+
const { reply_toMessage } = await getReply(message_, chat, getMessage);
|
|
138
|
+
message.pinnedMessage = reply_toMessage;
|
|
139
139
|
}
|
|
140
140
|
else if (message_.action instanceof types.MessageActionRequestedPeer) {
|
|
141
141
|
const user = message_.action.peer[as](types.PeerUser);
|
|
142
|
-
message.userShared = { requestId: message_.action.
|
|
142
|
+
message.userShared = { requestId: message_.action.button_id, userId: Number(user.user_id) };
|
|
143
143
|
}
|
|
144
144
|
else if (message_.action instanceof types.MessageActionBotAllowed) {
|
|
145
145
|
const webAppName = message_.action.app ? message_.action.app[as](types.BotApp).title : undefined;
|
|
@@ -148,18 +148,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
148
148
|
else if (message_.action instanceof types.MessageActionTopicCreate) {
|
|
149
149
|
message.forumTopicCreated = {
|
|
150
150
|
name: message_.action.title,
|
|
151
|
-
iconColor: "#" + message_.action.
|
|
152
|
-
iconCutsomEmojiId: message_.action.
|
|
151
|
+
iconColor: "#" + message_.action.icon_color.toString(16).padStart(6, "0"),
|
|
152
|
+
iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
else if (message_.action instanceof types.MessageActionTopicEdit) {
|
|
156
156
|
if (message_.action.closed) {
|
|
157
157
|
message.forumTopicClosed = {};
|
|
158
158
|
}
|
|
159
|
-
else if (message_.action.title || message_.action.
|
|
159
|
+
else if (message_.action.title || message_.action.icon_emoji_id) {
|
|
160
160
|
message.forumTopicEdited = {
|
|
161
161
|
name: message_.action.title,
|
|
162
|
-
iconCutsomEmojiId: message_.action.
|
|
162
|
+
iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
@@ -167,7 +167,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
else if (message_.action instanceof types.MessageActionGroupCallScheduled) {
|
|
170
|
-
message.videoChatScheduled = { startDate: new Date(message_.action.
|
|
170
|
+
message.videoChatScheduled = { startDate: new Date(message_.action.schedule_date * 1000) };
|
|
171
171
|
}
|
|
172
172
|
else if (message_.action instanceof types.MessageActionGroupCall) {
|
|
173
173
|
if (message_.action.duration) {
|
|
@@ -188,8 +188,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
188
188
|
}
|
|
189
189
|
let link;
|
|
190
190
|
let chat_ = null;
|
|
191
|
-
if (message_.
|
|
192
|
-
const entity = await getEntity(message_.
|
|
191
|
+
if (message_.peer_id instanceof types.PeerUser) {
|
|
192
|
+
const entity = await getEntity(message_.peer_id);
|
|
193
193
|
if (entity) {
|
|
194
194
|
chat_ = constructChat(entity);
|
|
195
195
|
}
|
|
@@ -197,8 +197,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
197
197
|
UNREACHABLE();
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
else if (message_.
|
|
201
|
-
const entity = await getEntity(message_.
|
|
200
|
+
else if (message_.peer_id instanceof types.PeerChat) {
|
|
201
|
+
const entity = await getEntity(message_.peer_id);
|
|
202
202
|
if (entity) {
|
|
203
203
|
chat_ = constructChat(entity);
|
|
204
204
|
}
|
|
@@ -206,9 +206,9 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
206
206
|
UNREACHABLE();
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
else if (message_.
|
|
210
|
-
link = `https://t.me/c/${message_.
|
|
211
|
-
const entity = await getEntity(message_.
|
|
209
|
+
else if (message_.peer_id instanceof types.PeerChannel) {
|
|
210
|
+
link = `https://t.me/c/${message_.peer_id.channel_id}/${message_.id}`;
|
|
211
|
+
const entity = await getEntity(message_.peer_id);
|
|
212
212
|
if (entity) {
|
|
213
213
|
chat_ = constructChat(entity);
|
|
214
214
|
}
|
|
@@ -237,8 +237,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
237
237
|
if (message_.media instanceof types.MessageMediaPhoto || message_.media instanceof types.MessageMediaDocument) {
|
|
238
238
|
message.hasMediaSpoiler = message_.media.spoiler || false;
|
|
239
239
|
}
|
|
240
|
-
if (message_.
|
|
241
|
-
message.mediaGroupId = String(message_.
|
|
240
|
+
if (message_.grouped_id != undefined) {
|
|
241
|
+
message.mediaGroupId = String(message_.grouped_id);
|
|
242
242
|
}
|
|
243
243
|
if (message_.message) {
|
|
244
244
|
if (message_.media == undefined) {
|
|
@@ -256,28 +256,28 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
256
256
|
message.captionEntities = message_.entities.map(constructMessageEntity).filter((v) => v);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
if (message_.
|
|
260
|
-
message.editDate = new Date(message_.
|
|
259
|
+
if (message_.edit_date != undefined) {
|
|
260
|
+
message.editDate = new Date(message_.edit_date * 1000);
|
|
261
261
|
}
|
|
262
|
-
if (message_.
|
|
263
|
-
if (message_.
|
|
264
|
-
message.replyMarkup = constructReplyKeyboardMarkup(message_.
|
|
262
|
+
if (message_.reply_markup) {
|
|
263
|
+
if (message_.reply_markup instanceof types.ReplyKeyboardMarkup) {
|
|
264
|
+
message.replyMarkup = constructReplyKeyboardMarkup(message_.reply_markup);
|
|
265
265
|
}
|
|
266
|
-
else if (message_.
|
|
267
|
-
message.replyMarkup = constructInlineKeyboardMarkup(message_.
|
|
266
|
+
else if (message_.reply_markup instanceof types.ReplyInlineMarkup) {
|
|
267
|
+
message.replyMarkup = constructInlineKeyboardMarkup(message_.reply_markup);
|
|
268
268
|
}
|
|
269
|
-
else if (message_.
|
|
270
|
-
message.replyMarkup = constructReplyKeyboardRemove(message_.
|
|
269
|
+
else if (message_.reply_markup instanceof types.ReplyKeyboardHide) {
|
|
270
|
+
message.replyMarkup = constructReplyKeyboardRemove(message_.reply_markup);
|
|
271
271
|
}
|
|
272
|
-
else if (message_.
|
|
273
|
-
message.replyMarkup = constructForceReply(message_.
|
|
272
|
+
else if (message_.reply_markup instanceof types.ReplyKeyboardForceReply) {
|
|
273
|
+
message.replyMarkup = constructForceReply(message_.reply_markup);
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
276
276
|
UNREACHABLE();
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
if (message_.
|
|
280
|
-
const viaBot = await getEntity(new types.PeerUser({
|
|
279
|
+
if (message_.via_bot_id != undefined) {
|
|
280
|
+
const viaBot = await getEntity(new types.PeerUser({ user_id: message_.via_bot_id }));
|
|
281
281
|
if (viaBot) {
|
|
282
282
|
message.viaBot = constructUser(viaBot);
|
|
283
283
|
}
|
|
@@ -285,17 +285,17 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
285
285
|
UNREACHABLE();
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
if (message_.
|
|
289
|
-
message.authorSignature = message_.
|
|
288
|
+
if (message_.post_author != undefined) {
|
|
289
|
+
message.authorSignature = message_.post_author;
|
|
290
290
|
}
|
|
291
|
-
if (message_.
|
|
292
|
-
message.isAutomaticForward = message_.
|
|
293
|
-
message.forwardSenderName = message_.
|
|
294
|
-
message.forwardId = message_.
|
|
295
|
-
message.forwardSignature = message_.
|
|
291
|
+
if (message_.fwd_from instanceof types.MessageFwdHeader) {
|
|
292
|
+
message.isAutomaticForward = message_.fwd_from.saved_from_peer != undefined && message_.fwd_from.saved_from_msg_id != undefined;
|
|
293
|
+
message.forwardSenderName = message_.fwd_from.from_name;
|
|
294
|
+
message.forwardId = message_.fwd_from.channel_post;
|
|
295
|
+
message.forwardSignature = message_.fwd_from.post_author;
|
|
296
296
|
message.forwardDate = new Date(message_.date * 1000);
|
|
297
|
-
if (message_.
|
|
298
|
-
const entity = await getEntity(message_.
|
|
297
|
+
if (message_.fwd_from.from_id instanceof types.PeerUser) {
|
|
298
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
299
299
|
if (entity) {
|
|
300
300
|
message.forwardFrom = constructUser(entity);
|
|
301
301
|
}
|
|
@@ -303,8 +303,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
303
303
|
UNREACHABLE();
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
else if (message_.
|
|
307
|
-
const entity = await getEntity(message_.
|
|
306
|
+
else if (message_.fwd_from.from_id instanceof types.PeerChat) {
|
|
307
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
308
308
|
if (entity) {
|
|
309
309
|
message.forwardFromChat = constructChat(entity);
|
|
310
310
|
}
|
|
@@ -312,8 +312,8 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
312
312
|
UNREACHABLE();
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
else if (message_.
|
|
316
|
-
const entity = await getEntity(message_.
|
|
315
|
+
else if (message_.fwd_from.from_id instanceof types.PeerChannel) {
|
|
316
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
317
317
|
if (entity) {
|
|
318
318
|
message.forwardFromChat = constructChat(entity);
|
|
319
319
|
}
|
|
@@ -334,10 +334,10 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
334
334
|
else if (message_.media instanceof types.MessageMediaDocument) {
|
|
335
335
|
const { document } = message_.media;
|
|
336
336
|
if (document instanceof types.Document) {
|
|
337
|
-
const getFileId = (type) => new FileID(null, null, type, document.
|
|
337
|
+
const getFileId = (type) => new FileID(null, null, type, document.dc_id, {
|
|
338
338
|
mediaId: document.id,
|
|
339
|
-
accessHash: document.
|
|
340
|
-
fileReference: document.
|
|
339
|
+
accessHash: document.access_hash,
|
|
340
|
+
fileReference: document.file_reference,
|
|
341
341
|
}).encode();
|
|
342
342
|
const fileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: document.id }).encode();
|
|
343
343
|
const animated = document.attributes.find((v) => v instanceof types.DocumentAttributeAnimated);
|
|
@@ -349,11 +349,11 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
349
349
|
message.animation = constructAnimation(document, video, fileName, getFileId(FileType.Animation), fileUniqueId);
|
|
350
350
|
}
|
|
351
351
|
else if (video) {
|
|
352
|
-
if (video.
|
|
352
|
+
if (video.round_message) {
|
|
353
353
|
message.videoNote = constructVideoNote(document, video, getFileId(FileType.VideoNote), fileUniqueId);
|
|
354
354
|
}
|
|
355
355
|
else {
|
|
356
|
-
message.video = constructVideo(document, video, fileName?.
|
|
356
|
+
message.video = constructVideo(document, video, fileName?.file_name, getFileId(FileType.Video), fileUniqueId);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
else if (audio) {
|
|
@@ -371,7 +371,7 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
|
|
|
371
371
|
message.document = constructDocument(document, fileName, getFileId(FileType.Document), fileUniqueId);
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
|
-
message.document = constructDocument(document, new types.DocumentAttributeFilename({
|
|
374
|
+
message.document = constructDocument(document, new types.DocumentAttributeFilename({ file_name: "Unknown" }), getFileId(FileType.Document), fileUniqueId);
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
}
|
|
@@ -2,23 +2,23 @@ import { cleanObject, UNREACHABLE } from "../1_utilities.js";
|
|
|
2
2
|
import { peerToChatId, types } from "../2_tl.js";
|
|
3
3
|
import { constructUser } from "./1_user.js";
|
|
4
4
|
export async function constructCallbackQuery(callbackQuery, getEntity, getMessage) {
|
|
5
|
-
const user_ = await getEntity(new types.PeerUser({
|
|
5
|
+
const user_ = await getEntity(new types.PeerUser({ user_id: callbackQuery.user_id }));
|
|
6
6
|
if (!user_) {
|
|
7
7
|
UNREACHABLE();
|
|
8
8
|
}
|
|
9
9
|
const user = constructUser(user_);
|
|
10
|
-
const id = String(callbackQuery.
|
|
11
|
-
const gameShortName = callbackQuery.
|
|
10
|
+
const id = String(callbackQuery.query_id);
|
|
11
|
+
const gameShortName = callbackQuery.game_short_name;
|
|
12
12
|
const data = callbackQuery.data !== undefined ? new TextDecoder().decode(callbackQuery.data) : undefined;
|
|
13
|
-
const chatInstance = callbackQuery.
|
|
13
|
+
const chatInstance = callbackQuery.chat_instance == 0n ? "" : String(callbackQuery.chat_instance);
|
|
14
14
|
if (callbackQuery instanceof types.UpdateBotCallbackQuery) {
|
|
15
|
-
const message = await getMessage(peerToChatId(callbackQuery.peer), Number(callbackQuery.
|
|
15
|
+
const message = await getMessage(peerToChatId(callbackQuery.peer), Number(callbackQuery.msg_id));
|
|
16
16
|
if (message == null) {
|
|
17
17
|
UNREACHABLE();
|
|
18
18
|
}
|
|
19
19
|
return cleanObject({ id, from: user, message, chatInstance, data, gameShortName });
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
|
-
return cleanObject({ id, from: user, inlineMessageId: Number(callbackQuery.
|
|
22
|
+
return cleanObject({ id, from: user, inlineMessageId: Number(callbackQuery.msg_id.id), chatInstance, data, gameShortName });
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -4,4 +4,4 @@ import { UsernameResolver } from "./1__getters.js";
|
|
|
4
4
|
import { ReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
|
|
5
5
|
import { InlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
|
|
6
6
|
export type ReplyMarkup = InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
7
|
-
export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").
|
|
7
|
+
export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").ReplyKeyboardHide_ | import("../tl/2_types.js").ReplyKeyboardForceReply_ | import("../tl/2_types.js").ReplyKeyboardMarkup_ | import("../tl/2_types.js").ReplyInlineMarkup_>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { types } from "../2_tl.js";
|
|
2
1
|
import { MessageEntity } from "./0_message_entity.js";
|
|
3
2
|
import { ParseMode } from "./0_parse_mode.js";
|
|
4
3
|
import { UsernameResolver } from "./1__getters.js";
|
|
@@ -26,4 +25,4 @@ export type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResult
|
|
|
26
25
|
export declare function inlineQueryResultToTlObject(result_: InlineQueryResult, parseText: (text: string, params?: {
|
|
27
26
|
parseMode?: ParseMode;
|
|
28
27
|
entities?: MessageEntity[];
|
|
29
|
-
}) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<
|
|
28
|
+
}) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").InputBotInlineResult_ | import("../tl/2_types.js").InputBotInlineResultDocument_>;
|
|
@@ -13,7 +13,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
13
13
|
document = new types.InputWebDocument({
|
|
14
14
|
url: result_.audioUrl,
|
|
15
15
|
size: 0,
|
|
16
|
-
|
|
16
|
+
mime_type: "audio/mpeg",
|
|
17
17
|
attributes: [
|
|
18
18
|
new types.DocumentAttributeAudio({
|
|
19
19
|
duration: result_.audioDuration ?? 0,
|
|
@@ -32,7 +32,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
32
32
|
document = new types.InputWebDocument({
|
|
33
33
|
url: result_.videoUrl,
|
|
34
34
|
size: 0,
|
|
35
|
-
|
|
35
|
+
mime_type: result_.mimeType ?? "video/mp4",
|
|
36
36
|
attributes: [
|
|
37
37
|
new types.DocumentAttributeVideo({
|
|
38
38
|
duration: result_.videoDuration ?? 0,
|
|
@@ -50,7 +50,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
50
50
|
if ("documentUrl" in result_) {
|
|
51
51
|
document = new types.InputWebDocument({
|
|
52
52
|
url: result_.documentUrl,
|
|
53
|
-
|
|
53
|
+
mime_type: "application/octet-stream",
|
|
54
54
|
attributes: [],
|
|
55
55
|
size: 0,
|
|
56
56
|
});
|
|
@@ -64,7 +64,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
64
64
|
document = new types.InputWebDocument({
|
|
65
65
|
url: result_.gifUrl,
|
|
66
66
|
size: 0,
|
|
67
|
-
|
|
67
|
+
mime_type: "image/gif",
|
|
68
68
|
attributes: [
|
|
69
69
|
new types.DocumentAttributeVideo({
|
|
70
70
|
duration: result_.gifDuration ?? 0,
|
|
@@ -83,14 +83,14 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
83
83
|
document = new types.InputWebDocument({
|
|
84
84
|
url: result_.mpeg4Url,
|
|
85
85
|
size: 0,
|
|
86
|
-
|
|
86
|
+
mime_type: "video/mp4",
|
|
87
87
|
attributes: [
|
|
88
88
|
new types.DocumentAttributeVideo({
|
|
89
89
|
nosound: true,
|
|
90
90
|
duration: result_.mpeg4Duration ?? 0,
|
|
91
91
|
w: result_.mpeg4Width ?? 0,
|
|
92
92
|
h: result_.mpeg4Height ?? 0,
|
|
93
|
-
|
|
93
|
+
supports_streaming: true,
|
|
94
94
|
}),
|
|
95
95
|
],
|
|
96
96
|
});
|
|
@@ -104,7 +104,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
104
104
|
document = new types.InputWebDocument({
|
|
105
105
|
url: result_.photoUrl,
|
|
106
106
|
size: 0,
|
|
107
|
-
|
|
107
|
+
mime_type: "image/jpeg",
|
|
108
108
|
attributes: [new types.DocumentAttributeImageSize({ w: result_.photoWidth ?? 0, h: result_.photoHeight ?? 0 })],
|
|
109
109
|
});
|
|
110
110
|
}
|
|
@@ -120,7 +120,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
120
120
|
document = new types.InputWebDocument({
|
|
121
121
|
url: result_.voiceUrl,
|
|
122
122
|
size: 0,
|
|
123
|
-
|
|
123
|
+
mime_type: "audio/mpeg",
|
|
124
124
|
attributes: [
|
|
125
125
|
new types.DocumentAttributeAudio({
|
|
126
126
|
duration: result_.voiceDuration ?? 0,
|
|
@@ -139,7 +139,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
139
139
|
thumb = new types.InputWebDocument({
|
|
140
140
|
url: result_.thumbnailUrl,
|
|
141
141
|
size: 0,
|
|
142
|
-
|
|
142
|
+
mime_type: "image/jpeg",
|
|
143
143
|
attributes: [],
|
|
144
144
|
});
|
|
145
145
|
}
|
|
@@ -155,7 +155,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
155
155
|
const sendMessage = new types.InputBotInlineMessageMediaAuto({
|
|
156
156
|
message,
|
|
157
157
|
entities,
|
|
158
|
-
replyMarkup,
|
|
158
|
+
reply_markup: replyMarkup,
|
|
159
159
|
});
|
|
160
160
|
const title = "title" in result_ ? result_.title : undefined;
|
|
161
161
|
const description = "description" in result_ ? result_.description : undefined;
|
|
@@ -167,10 +167,10 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
167
167
|
description,
|
|
168
168
|
thumb: thumb == null ? undefined : thumb,
|
|
169
169
|
content: document,
|
|
170
|
-
|
|
170
|
+
send_message: new types.InputBotInlineMessageMediaAuto({
|
|
171
171
|
message,
|
|
172
172
|
entities,
|
|
173
|
-
replyMarkup,
|
|
173
|
+
reply_markup: replyMarkup,
|
|
174
174
|
}),
|
|
175
175
|
});
|
|
176
176
|
}
|
|
@@ -183,10 +183,10 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
183
183
|
description,
|
|
184
184
|
document: new types.InputDocument({
|
|
185
185
|
id: fileId.params.mediaId,
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
access_hash: fileId.params.accessHash,
|
|
187
|
+
file_reference: fileId.params.fileReference,
|
|
188
188
|
}),
|
|
189
|
-
sendMessage,
|
|
189
|
+
send_message: sendMessage,
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
else if (result_.type == "location") {
|
|
@@ -195,16 +195,16 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
195
195
|
type,
|
|
196
196
|
title,
|
|
197
197
|
description,
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
send_message: new types.InputBotInlineMessageMediaGeo({
|
|
199
|
+
geo_point: new types.InputGeoPoint({
|
|
200
200
|
lat: result_.latitude,
|
|
201
201
|
long: result_.longitude,
|
|
202
|
-
|
|
202
|
+
accuracy_radius: result_.horizontalAccuracy,
|
|
203
203
|
}),
|
|
204
204
|
heading: result_.heading,
|
|
205
205
|
period: result_.livePeriod,
|
|
206
|
-
|
|
207
|
-
replyMarkup,
|
|
206
|
+
proximity_notification_radius: result_.proximityAlertRadius,
|
|
207
|
+
reply_markup: replyMarkup,
|
|
208
208
|
}),
|
|
209
209
|
});
|
|
210
210
|
}
|
|
@@ -214,8 +214,8 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
214
214
|
type,
|
|
215
215
|
title,
|
|
216
216
|
description,
|
|
217
|
-
|
|
218
|
-
replyMarkup,
|
|
217
|
+
send_message: new types.InputBotInlineMessageGame({
|
|
218
|
+
reply_markup: replyMarkup,
|
|
219
219
|
}),
|
|
220
220
|
});
|
|
221
221
|
}
|
|
@@ -229,11 +229,11 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
229
229
|
type,
|
|
230
230
|
title,
|
|
231
231
|
description,
|
|
232
|
-
|
|
232
|
+
send_message: new types.InputBotInlineMessageText({
|
|
233
233
|
message,
|
|
234
234
|
entities,
|
|
235
|
-
|
|
236
|
-
replyMarkup,
|
|
235
|
+
no_webpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
|
|
236
|
+
reply_markup: replyMarkup,
|
|
237
237
|
}),
|
|
238
238
|
});
|
|
239
239
|
}
|
|
@@ -246,14 +246,14 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
|
|
|
246
246
|
type,
|
|
247
247
|
title,
|
|
248
248
|
description,
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
send_message: new types.InputBotInlineMessageMediaVenue({
|
|
250
|
+
geo_point: new types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
|
|
251
251
|
address: result_.address,
|
|
252
252
|
provider: "foursquare",
|
|
253
253
|
title: result_.title,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
replyMarkup,
|
|
254
|
+
venue_id: result_.fourSquareId,
|
|
255
|
+
venue_type: result_.foursquareType,
|
|
256
|
+
reply_markup: replyMarkup,
|
|
257
257
|
}),
|
|
258
258
|
});
|
|
259
259
|
}
|
package/package.json
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"module": "./esm/mod.js",
|
|
3
|
-
"main": "./script/mod.js",
|
|
4
2
|
"name": "@mtkruto/node",
|
|
5
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.122",
|
|
6
4
|
"description": "MTKruto for Node.js",
|
|
7
5
|
"author": "Roj <rojvv@icloud.com>",
|
|
8
|
-
"license": "LGPL-3.0-or-later",
|
|
9
6
|
"repository": {
|
|
10
7
|
"type": "git",
|
|
11
8
|
"url": "git+https://github.com/MTKruto/MTKruto.git"
|
|
12
9
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"@types/ws": "^8.5.4",
|
|
17
|
-
"@types/object-inspect": "^1.8.1"
|
|
18
|
-
},
|
|
10
|
+
"license": "LGPL-3.0-or-later",
|
|
11
|
+
"main": "./script/mod.js",
|
|
12
|
+
"module": "./esm/mod.js",
|
|
19
13
|
"exports": {
|
|
20
14
|
".": {
|
|
21
15
|
"import": "./esm/mod.js",
|
|
@@ -28,8 +22,15 @@
|
|
|
28
22
|
"dependencies": {
|
|
29
23
|
"async-mutex": "0.4.0",
|
|
30
24
|
"object-inspect": "1.12.3",
|
|
31
|
-
"@deno/shim-deno": "~0.
|
|
25
|
+
"@deno/shim-deno": "~0.17.0",
|
|
32
26
|
"@deno/shim-crypto": "~0.3.1",
|
|
33
27
|
"ws": "^8.13.0"
|
|
34
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^20.9.0",
|
|
31
|
+
"picocolors": "^1.0.0",
|
|
32
|
+
"@types/ws": "^8.5.4",
|
|
33
|
+
"@types/object-inspect": "^1.8.1"
|
|
34
|
+
},
|
|
35
|
+
"_generatedBy": "dnt@0.39.0"
|
|
35
36
|
}
|
package/script/0_deps.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.208.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.208.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.208.0/encoding/base64.js";
|
|
4
4
|
export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
|
|
5
5
|
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
|
|
6
6
|
export { Mutex, type MutexInterface } from "async-mutex";
|
package/script/0_deps.js
CHANGED
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.debug = exports.Parser = exports.Mutex = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
|
|
30
|
-
__exportStar(require("./deps/deno.land/std@0.
|
|
31
|
-
exports.path = __importStar(require("./deps/deno.land/std@0.
|
|
32
|
-
var base64_js_1 = require("./deps/deno.land/std@0.
|
|
30
|
+
__exportStar(require("./deps/deno.land/std@0.208.0/assert/mod.js"), exports);
|
|
31
|
+
exports.path = __importStar(require("./deps/deno.land/std@0.208.0/path/mod.js"));
|
|
32
|
+
var base64_js_1 = require("./deps/deno.land/std@0.208.0/encoding/base64.js");
|
|
33
33
|
Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
|
|
34
34
|
Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
|
|
35
35
|
var mod_js_1 = require("./deps/deno.land/x/tgcrypto@0.3.3/mod.js");
|
package/script/2_tl.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { TLError } from "./tl/0_tl_raw_reader.js";
|
|
2
2
|
export * from "./tl/1_tl_object.js";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export { type enums, types } from "./tl/2_types.js";
|
|
4
|
+
export { functions } from "./tl/3_functions.js";
|
|
5
5
|
export * from "./tl/3_tl_reader.js";
|
|
6
6
|
export * from "./tl/3_utilities.js";
|
|
7
7
|
export * from "./tl/4_tl_writer.js";
|
|
8
|
-
export * from "./tl/
|
|
8
|
+
export * from "./tl/4_rpc_result.js";
|
|
9
9
|
export * from "./tl/6_message.js";
|
|
10
10
|
export * from "./tl/7_message_container.js";
|