@mtkruto/node 0.18.1 → 0.19.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 +7 -7
- package/esm/0_deps.js +7 -7
- package/esm/3_types.d.ts +4 -4
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +4 -4
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +1 -1
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_storage_operations.d.ts +1 -1
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +2 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.d.ts +1 -1
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/1_client_plain.d.ts +1 -1
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +4 -16
- package/esm/client/4_gift_manager.d.ts +3 -3
- package/esm/client/4_gift_manager.d.ts.map +1 -1
- package/esm/client/4_gift_manager.js +10 -10
- package/esm/client/5_client.d.ts +7 -7
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +8 -8
- package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
- package/{script/deps/jsr.io/@std/bytes/1.0.4 → esm/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
- package/esm/tl/0_api.d.ts +283 -73
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +436 -120
- package/esm/transport/0_transport.d.ts +2 -2
- package/esm/transport/0_transport.d.ts.map +1 -1
- package/esm/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
- package/esm/types/4_claimed_gift.d.ts.map +1 -0
- package/esm/types/{4_user_gift.js → 4_claimed_gift.js} +16 -11
- package/{script/types/5_user_gifts.d.ts → esm/types/5_claimed_gifts.d.ts} +6 -6
- package/esm/types/5_claimed_gifts.d.ts.map +1 -0
- package/esm/types/{5_user_gifts.js → 5_claimed_gifts.js} +19 -5
- package/esm/utilities/0_part_stream.d.ts +1 -1
- package/esm/utilities/0_part_stream.d.ts.map +1 -1
- package/esm/utilities/1_base64.d.ts +1 -1
- package/esm/utilities/1_base64.d.ts.map +1 -1
- package/esm/utilities/1_crypto.d.ts +2 -2
- package/esm/utilities/1_crypto.d.ts.map +1 -1
- package/package.json +2 -2
- package/script/0_deps.d.ts +7 -7
- package/script/0_deps.js +7 -7
- package/script/3_types.d.ts +4 -4
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +4 -4
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +1 -1
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_storage_operations.d.ts +1 -1
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +2 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/1_client_encrypted.d.ts +1 -1
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/1_client_plain.d.ts +1 -1
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +4 -16
- package/script/client/4_gift_manager.d.ts +3 -3
- package/script/client/4_gift_manager.d.ts.map +1 -1
- package/script/client/4_gift_manager.js +9 -9
- package/script/client/5_client.d.ts +7 -7
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +8 -8
- package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.js +3 -0
- package/{esm/deps/jsr.io/@std/bytes/1.0.4 → script/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
- package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.js +3 -0
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
- package/script/tl/0_api.d.ts +283 -73
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +436 -120
- package/script/transport/0_transport.d.ts +2 -2
- package/script/transport/0_transport.d.ts.map +1 -1
- package/script/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
- package/script/types/4_claimed_gift.d.ts.map +1 -0
- package/script/types/{4_user_gift.js → 4_claimed_gift.js} +17 -12
- package/{esm/types/5_user_gifts.d.ts → script/types/5_claimed_gifts.d.ts} +6 -6
- package/script/types/5_claimed_gifts.d.ts.map +1 -0
- package/script/types/{5_user_gifts.js → 5_claimed_gifts.js} +20 -6
- package/script/utilities/0_part_stream.d.ts +1 -1
- package/script/utilities/0_part_stream.d.ts.map +1 -1
- package/script/utilities/1_base64.d.ts +1 -1
- package/script/utilities/1_base64.d.ts.map +1 -1
- package/script/utilities/1_crypto.d.ts +2 -2
- package/script/utilities/1_crypto.d.ts.map +1 -1
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
- package/esm/types/4_user_gift.d.ts.map +0 -1
- package/esm/types/5_user_gifts.d.ts.map +0 -1
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
- package/script/types/4_user_gift.d.ts.map +0 -1
- package/script/types/5_user_gifts.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
|
@@ -247,7 +247,7 @@ class Client extends Composer {
|
|
|
247
247
|
};
|
|
248
248
|
const chat_ = "messageReactions" in update ? update.messageReactions.chat : "messageReactionCount" in update ? update.messageReactionCount.chat : "chatMember" in update ? update.chatMember.chat : "joinRequest" in update ? update.joinRequest.chat : "story" in update ? update.story.chat : undefined;
|
|
249
249
|
const chat = chat_ ?? msg?.chat;
|
|
250
|
-
const from =
|
|
250
|
+
const from = "callbackQuery" in update ? update.callbackQuery.from : "inlineQuery" in update ? update.inlineQuery.from : "chatMember" in update ? update.chatMember.from : "messageReactions" in update ? update.messageReactions.user : "preCheckoutQuery" in update ? update.preCheckoutQuery.from : "joinRequest" in update ? update.joinRequest.user : "businessConnection" in update ? update.businessConnection.user : msg?.from ? msg.from : undefined;
|
|
251
251
|
const senderChat = msg?.senderChat;
|
|
252
252
|
const getReplyTo = (quote, chatId, messageId) => {
|
|
253
253
|
if ("story" in update) {
|
|
@@ -3011,23 +3011,23 @@ class Client extends Composer {
|
|
|
3011
3011
|
return await __classPrivateFieldGet(this, _Client_giftManager, "f").getGifts();
|
|
3012
3012
|
}
|
|
3013
3013
|
/**
|
|
3014
|
-
* Get gifts claimed by a
|
|
3014
|
+
* Get gifts claimed by a user or a channel. User-only.
|
|
3015
3015
|
*
|
|
3016
3016
|
* @method gf
|
|
3017
|
-
* @param
|
|
3017
|
+
* @param chatId The identifier of a user or a channel to get gifts for.
|
|
3018
3018
|
*/
|
|
3019
|
-
async
|
|
3020
|
-
return await __classPrivateFieldGet(this, _Client_giftManager, "f").
|
|
3019
|
+
async getClaimedGifts(chatId, params) {
|
|
3020
|
+
return await __classPrivateFieldGet(this, _Client_giftManager, "f").getClaimedGifts(chatId, params);
|
|
3021
3021
|
}
|
|
3022
3022
|
/**
|
|
3023
3023
|
* Send a gift.
|
|
3024
3024
|
*
|
|
3025
3025
|
* @method gf
|
|
3026
|
-
* @param
|
|
3026
|
+
* @param chatId The identifier of a user or a channel to send the gift to.
|
|
3027
3027
|
* @param giftId The identifier of the gift to send.
|
|
3028
3028
|
*/
|
|
3029
|
-
async sendGift(
|
|
3030
|
-
await __classPrivateFieldGet(this, _Client_giftManager, "f").sendGift(
|
|
3029
|
+
async sendGift(chatId, giftId, params) {
|
|
3030
|
+
await __classPrivateFieldGet(this, _Client_giftManager, "f").sendGift(chatId, giftId, params);
|
|
3031
3031
|
}
|
|
3032
3032
|
/**
|
|
3033
3033
|
* Sell a gift.
|
|
@@ -6,7 +6,7 @@ export declare function init(): Promise<void>;
|
|
|
6
6
|
* @param key 32-byte encryption key
|
|
7
7
|
* @param iv 32-byte initialization vector
|
|
8
8
|
*/
|
|
9
|
-
export declare function ige256Encrypt(data: Uint8Array, key: Uint8Array, iv: Uint8Array): Uint8Array
|
|
9
|
+
export declare function ige256Encrypt(data: Uint8Array, key: Uint8Array, iv: Uint8Array): Uint8Array<ArrayBuffer>;
|
|
10
10
|
/**
|
|
11
11
|
* Performs IGE-256 decryption.
|
|
12
12
|
*
|
|
@@ -14,5 +14,5 @@ export declare function ige256Encrypt(data: Uint8Array, key: Uint8Array, iv: Uin
|
|
|
14
14
|
* @param key 32-byte encryption key
|
|
15
15
|
* @param iv 32-byte initialization vector
|
|
16
16
|
*/
|
|
17
|
-
export declare function ige256Decrypt(data: Uint8Array, key: Uint8Array, iv: Uint8Array): Uint8Array
|
|
17
|
+
export declare function ige256Decrypt(data: Uint8Array, key: Uint8Array, iv: Uint8Array): Uint8Array<ArrayBuffer>;
|
|
18
18
|
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.ts"],"names":[],"mappings":"AAMA,wBAAsB,IAAI,kBAEzB;AAgBD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,UAAU,EACf,EAAE,EAAE,UAAU,GACb,UAAU,CAAC,WAAW,CAAC,CAiBzB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,UAAU,EACf,EAAE,EAAE,UAAU,GACb,UAAU,CAAC,WAAW,CAAC,CAiBzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tgcrypto.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.js"],"names":[],"mappings":";AAKA,sDAOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"almost_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"almost_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/almost_equals.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,MAAM,EAClB,GAAG,CAAC,EAAE,MAAM,QAmBb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertAlmostEquals = assertAlmostEquals;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"array_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/array_includes.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EACvB,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,EACzB,GAAG,CAAC,EAAE,MAAM,QAwBb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertArrayIncludes = assertArrayIncludes;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const equal_js_1 = require("./equal.js");
|
|
7
7
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/assert.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,CAI5D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assert = assert;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/assertion_error.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC;;;;OAIG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;CAIpD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright 2018-
|
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.AssertionError = void 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/equal.ts"],"names":[],"mappings":"AA2FA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO,CAuGrD"}
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.equal = equal;
|
|
27
|
-
// Copyright 2018-
|
|
27
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
28
28
|
// This module is browser compatible.
|
|
29
29
|
const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
|
|
30
30
|
function isKeyedCollection(x) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/equals.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAkBb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertEquals = assertEquals;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const equal_js_1 = require("./equal.js");
|
|
7
7
|
const build_message_js_1 = require("../../internal/1.0.5/build_message.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/exists.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,WAAW,CAAC,CAAC,CAAC,CAOlC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertExists = assertExists;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/fail.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAGxC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fail = fail;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"false.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"false.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/false.ts"],"names":[],"mappings":"AAIA,uDAAuD;AACvD,MAAM,MAAM,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3D;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,IAAI,KAAK,CAI1E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertFalse = assertFalse;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greater.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"greater.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/greater.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMpE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertGreater = assertGreater;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
7
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/greater_or_equal.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertGreaterOrEqual = assertGreaterOrEqual;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
7
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/instance_of.ts"],"names":[],"mappings":"AAIA,sBAAsB;AAEtB,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AACzD,4BAA4B;AAC5B,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,cAAc,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAE3E;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAE9B,CAAC,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAE9C,MAAM,EAAE,OAAO,EACf,YAAY,EAAE,CAAC,EACf,GAAG,SAAK,GACP,OAAO,CAAC,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,CA6BnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertInstanceOf = assertInstanceOf;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"is_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/is_error.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,KAAK,EAAE,OAAO,EAEd,UAAU,CAAC,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAC5B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,KAAK,IAAI,CAAC,CA8BpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertIsError = assertIsError;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
const styles_js_1 = require("../../internal/1.0.5/styles.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"less.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"less.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/less.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAMjE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertLess = assertLess;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
7
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/less_or_equal.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertLessOrEqual = assertLessOrEqual;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
7
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertMatch = assertMatch;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright 2018-
|
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/not_equals.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAUtE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright 2018-
|
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.assertNotEquals = assertNotEquals;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/not_instance_of.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,CAAC,EAET,cAAc,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAClD,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAKjC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotInstanceOf = assertNotInstanceOf;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const false_js_1 = require("./false.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/not_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotMatch = assertNotMatch;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAYb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertNotStrictEquals = assertNotStrictEquals;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/object_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,iBAAiB,CAE/B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACtC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAUN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertObjectMatch = assertObjectMatch;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const equals_js_1 = require("./equals.js");
|
|
7
7
|
/**
|
|
@@ -45,14 +45,22 @@ actual, expected, msg) {
|
|
|
45
45
|
function isObject(val) {
|
|
46
46
|
return typeof val === "object" && val !== null;
|
|
47
47
|
}
|
|
48
|
+
function defineProperty(target, key, value) {
|
|
49
|
+
return Object.defineProperty(target, key, {
|
|
50
|
+
value,
|
|
51
|
+
configurable: true,
|
|
52
|
+
enumerable: true,
|
|
53
|
+
writable: true,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
48
56
|
function filter(a, b) {
|
|
49
57
|
const seen = new WeakMap();
|
|
50
58
|
return filterObject(a, b);
|
|
51
59
|
function filterObject(a, b) {
|
|
52
60
|
// Prevent infinite loop with circular references with same filter
|
|
53
|
-
|
|
61
|
+
const memo = seen.get(a);
|
|
62
|
+
if (memo && (memo === b))
|
|
54
63
|
return a;
|
|
55
|
-
}
|
|
56
64
|
try {
|
|
57
65
|
seen.set(a, b);
|
|
58
66
|
}
|
|
@@ -70,53 +78,52 @@ function filter(a, b) {
|
|
|
70
78
|
if (keysA.length && keysB.length && !entries.length) {
|
|
71
79
|
// If both objects are not empty but don't have the same keys or symbols,
|
|
72
80
|
// returns the entries in object a.
|
|
73
|
-
for (const key of keysA)
|
|
74
|
-
filtered
|
|
75
|
-
}
|
|
81
|
+
for (const key of keysA)
|
|
82
|
+
defineProperty(filtered, key, a[key]);
|
|
76
83
|
return filtered;
|
|
77
84
|
}
|
|
78
85
|
for (const [key, value] of entries) {
|
|
79
86
|
// On regexp references, keep value as it to avoid loosing pattern and flags
|
|
80
87
|
if (value instanceof RegExp) {
|
|
81
|
-
filtered
|
|
88
|
+
defineProperty(filtered, key, value);
|
|
82
89
|
continue;
|
|
83
90
|
}
|
|
84
91
|
const subset = b[key];
|
|
85
92
|
// On array references, build a filtered array and filter nested objects inside
|
|
86
93
|
if (Array.isArray(value) && Array.isArray(subset)) {
|
|
87
|
-
filtered
|
|
94
|
+
defineProperty(filtered, key, filterArray(value, subset));
|
|
88
95
|
continue;
|
|
89
96
|
}
|
|
90
97
|
// On nested objects references, build a filtered object recursively
|
|
91
98
|
if (isObject(value) && isObject(subset)) {
|
|
92
99
|
// When both operands are maps, build a filtered map with common keys and filter nested objects inside
|
|
93
100
|
if ((value instanceof Map) && (subset instanceof Map)) {
|
|
94
|
-
filtered
|
|
101
|
+
defineProperty(filtered, key, new Map([...value].filter(([k]) => subset.has(k)).map(([k, v]) => {
|
|
95
102
|
const v2 = subset.get(k);
|
|
96
103
|
if (isObject(v) && isObject(v2)) {
|
|
97
104
|
return [k, filterObject(v, v2)];
|
|
98
105
|
}
|
|
99
106
|
return [k, v];
|
|
100
|
-
}));
|
|
107
|
+
})));
|
|
101
108
|
continue;
|
|
102
109
|
}
|
|
103
110
|
// When both operands are set, build a filtered set with common values
|
|
104
111
|
if ((value instanceof Set) && (subset instanceof Set)) {
|
|
105
|
-
filtered
|
|
112
|
+
defineProperty(filtered, key, value.intersection(subset));
|
|
106
113
|
continue;
|
|
107
114
|
}
|
|
108
|
-
filtered
|
|
115
|
+
defineProperty(filtered, key, filterObject(value, subset));
|
|
109
116
|
continue;
|
|
110
117
|
}
|
|
111
|
-
filtered
|
|
118
|
+
defineProperty(filtered, key, value);
|
|
112
119
|
}
|
|
113
120
|
return filtered;
|
|
114
121
|
}
|
|
115
122
|
function filterArray(a, b) {
|
|
116
123
|
// Prevent infinite loop with circular references with same filter
|
|
117
|
-
|
|
124
|
+
const memo = seen.get(a);
|
|
125
|
+
if (memo && (memo === b))
|
|
118
126
|
return a;
|
|
119
|
-
}
|
|
120
127
|
seen.set(a, b);
|
|
121
128
|
const filtered = [];
|
|
122
129
|
const count = Math.min(a.length, b.length);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/rejects.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAAC;AACpB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAE9B,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertRejects = assertRejects;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
const is_error_js_1 = require("./is_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/strict_equals.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,CAAC,CA+BrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertStrictEquals = assertStrictEquals;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const build_message_js_1 = require("../../internal/1.0.5/build_message.js");
|
|
7
7
|
const diff_js_1 = require("../../internal/1.0.5/diff.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/string_includes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertStringIncludes = assertStringIncludes;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/throws.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAC1B,EAAE,EAAE,MAAM,OAAO,EACjB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC;AACX;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAClD,EAAE,EAAE,MAAM,OAAO,EAEjB,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.assertThrows = assertThrows;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const is_error_js_1 = require("./is_error.js");
|
|
7
7
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unimplemented.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"unimplemented.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/unimplemented.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAGjD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unimplemented = unimplemented;
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unreachable.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.
|
|
1
|
+
{"version":3,"file":"unreachable.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.11/unreachable.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAG/C"}
|