@fedify/fedify 0.9.0-dev.177 → 0.9.0-dev.181
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @fedify/fedify might be problematic. Click here for more details.
- package/CHANGES.md +13 -0
- package/esm/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/base64.js +14 -7
- package/esm/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/hex.js +24 -7
- package/esm/deps/jsr.io/@std/semver/0.224.1/can_parse.js +30 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/compare.js +17 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/difference.js +37 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/equals.js +27 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format.js +14 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format_range.js +9 -1
- package/esm/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.js +25 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/greater_than.js +27 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/greater_than_range.js +19 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/increment.js +18 -2
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_range.js +10 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_semver.js +16 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/less_or_equal.js +25 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/less_than.js +25 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/less_than_range.js +21 -3
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/max_satisfying.js +12 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/min_satisfying.js +12 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.js +3 -2
- package/esm/deps/jsr.io/@std/semver/0.224.1/not_equals.js +24 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/parse.js +16 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/parse_range.js +18 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_intersects.js +16 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_max.js +16 -5
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_min.js +16 -5
- package/esm/deps/jsr.io/@std/semver/0.224.1/satisfies.js +26 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/test_range.js +28 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/try_parse.js +30 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/try_parse_range.js +16 -1
- package/esm/federation/collection.js +1 -1
- package/esm/federation/handler.js +1 -1
- package/esm/federation/middleware.js +7 -3
- package/esm/httpsig/mod.js +60 -283
- package/esm/nodeinfo/types.js +1 -1
- package/esm/runtime/docloader.js +3 -3
- package/esm/runtime/key.js +1 -1
- package/esm/sig/http.js +229 -0
- package/esm/{httpsig → sig}/key.js +0 -3
- package/esm/sig/mod.js +8 -0
- package/esm/sig/owner.js +94 -0
- package/esm/vocab/tombstone.yaml +20 -0
- package/esm/vocab/vocab.js +165 -0
- package/package.json +7 -1
- package/types/deps/jsr.io/@std/assert/0.225.3/assert.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/assert/0.225.3/assertion_error.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{0.224.2/_util.d.ts → 0.224.3/_validate_binary_like.d.ts} +1 -1
- package/types/deps/jsr.io/@std/encoding/0.224.3/_validate_binary_like.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/base64.d.ts +9 -4
- package/types/deps/jsr.io/@std/encoding/0.224.3/base64.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/0.224.3/hex.d.ts +37 -0
- package/types/deps/jsr.io/@std/encoding/0.224.3/hex.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/negotiation.d.ts +27 -6
- package/types/deps/jsr.io/@std/http/0.224.2/negotiation.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/_constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/can_parse.d.ts +17 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/can_parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/compare.d.ts +28 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/compare.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/difference.d.ts +27 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/difference.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/equals.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/equals.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format.d.ts +14 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/format_range.d.ts +17 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/format_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than_range.d.ts +22 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/increment.d.ts +18 -2
- package/types/deps/jsr.io/@std/semver/0.224.1/increment.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_range.d.ts +10 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/is_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_semver.d.ts +16 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/is_semver.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_or_equal.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_or_equal.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than_range.d.ts +22 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/max_satisfying.d.ts +12 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/max_satisfying.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/min_satisfying.d.ts +12 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/min_satisfying.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.d.ts +3 -2
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/not_equals.d.ts +23 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/not_equals.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse.d.ts +25 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse_range.d.ts +26 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/range_intersects.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/range_intersects.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_max.d.ts +16 -5
- package/types/deps/jsr.io/@std/semver/0.224.1/range_max.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_min.d.ts +16 -5
- package/types/deps/jsr.io/@std/semver/0.224.1/range_min.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/satisfies.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/satisfies.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/test_range.d.ts +27 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/test_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse.d.ts +21 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse_range.d.ts +23 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/types.d.ts +7 -2
- package/types/deps/jsr.io/@std/semver/0.224.1/types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/case.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/0.224.1/closest_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/0.224.1/compare_similarity.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/levenshtein_distance.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/0.224.1/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/0.224.1/word_similarity_sort.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_dumper/dumper.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_dumper/dumper_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_error.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_loader/loader.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_loader/loader_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_mark.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/binary.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/bool.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/float.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/function.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/int.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/map.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/merge.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/nil.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/omap.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/pairs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/seq.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/str.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/timestamp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/undefined.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/0.224.1/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/core.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/default.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/extended.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/failsafe.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/json.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/stringify.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/type.d.ts.map +1 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/httpsig/mod.d.ts +45 -48
- package/types/httpsig/mod.d.ts.map +1 -1
- package/types/nodeinfo/types.d.ts +1 -1
- package/types/sig/http.d.ts +54 -0
- package/types/sig/http.d.ts.map +1 -0
- package/types/sig/http.test.d.ts.map +1 -0
- package/types/{httpsig → sig}/key.d.ts +0 -3
- package/types/sig/key.d.ts.map +1 -0
- package/types/sig/key.test.d.ts.map +1 -0
- package/types/sig/mod.d.ts +9 -0
- package/types/sig/mod.d.ts.map +1 -0
- package/types/sig/owner.d.ts +50 -0
- package/types/sig/owner.d.ts.map +1 -0
- package/types/sig/owner.test.d.ts.map +1 -0
- package/types/vocab/vocab.d.ts +143 -0
- package/types/vocab/vocab.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/semver/0.224.0/can_parse.js +0 -15
- package/esm/deps/jsr.io/@std/semver/0.224.0/difference.js +0 -16
- package/esm/deps/jsr.io/@std/semver/0.224.0/equals.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/greater_than.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/less_or_equal.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/less_than.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/not_equals.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/satisfies.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/test_range.js +0 -13
- package/esm/deps/jsr.io/@std/semver/0.224.0/try_parse.js +0 -17
- package/types/deps/jsr.io/@std/encoding/0.224.2/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/0.224.2/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/0.224.2/hex.d.ts +0 -24
- package/types/deps/jsr.io/@std/encoding/0.224.2/hex.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/http/0.224.1/negotiation.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/_constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/can_parse.d.ts +0 -2
- package/types/deps/jsr.io/@std/semver/0.224.0/can_parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/compare.d.ts +0 -11
- package/types/deps/jsr.io/@std/semver/0.224.0/compare.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/difference.d.ts +0 -6
- package/types/deps/jsr.io/@std/semver/0.224.0/difference.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/equals.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/equals.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/format_range.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/format_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than_range.d.ts +0 -4
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/increment.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/is_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/is_semver.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_or_equal.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/less_or_equal.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than_range.d.ts +0 -4
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/max_satisfying.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/min_satisfying.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/not_equals.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/not_equals.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/parse.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/parse_range.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/parse_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_intersects.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/range_intersects.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_max.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_min.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/satisfies.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/satisfies.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/test_range.d.ts +0 -12
- package/types/deps/jsr.io/@std/semver/0.224.0/test_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse_range.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/closest_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/compare_similarity.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/word_similarity_sort.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/0.224.0/_utils.d.ts.map +0 -1
- package/types/httpsig/key.d.ts.map +0 -1
- package/types/httpsig/key.test.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/encoding/{0.224.2/_util.js → 0.224.3/_validate_binary_like.js} +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/negotiation.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_constants.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/types.js +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"seq.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"seq.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_type/seq.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,eAAO,MAAM,GAAG,MAKd,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_type/set.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAqBlC,eAAO,MAAM,GAAG,MAId,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"str.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"str.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_type/str.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,GAAG,MAKd,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_type/timestamp.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAoFlC,eAAO,MAAM,SAAS,MAMpB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"undefined.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"undefined.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_type/undefined.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,aAAa,MAcxB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/_utils.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,GAAG,GAAG,GAAG,CAAC;AAEtB,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,OAAO,CAE1D;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,CAEpD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAQzD;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;CAChB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/mod.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/parse.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAE9C;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAEtE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,UAAU,EACpB,OAAO,CAAC,EAAE,YAAY,GACrB,IAAI,CAAC;AACR,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/core.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,MAExB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,IAAI,QAAc,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/default.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAItC;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAI3B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,GAAG,QAAiB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"extended.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"extended.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/extended.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAItC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,eAAe,EAAE,MAG5B,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,QAAQ,QAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"failsafe.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"failsafe.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/failsafe.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,MAE5B,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,QAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/json.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAItC;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,MAGxB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema/mod.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/schema.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AA6BpD,MAAM,MAAM,OAAO,GAAG;KAAG,CAAC,IAAI,QAAQ,GAAG,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC;CAAE,CAAC;AAmB1E,qBAAa,MAAO,YAAW,gBAAgB;IAC7C,OAAc,cAAc,CAAC,EAAE,MAAM,CAAC;IAE/B,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,gBAAgB,EAAE,IAAI,EAAE,CAAC;IACzB,gBAAgB,EAAE,IAAI,EAAE,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;gBAEpB,UAAU,EAAE,gBAAgB;IAsBjC,MAAM,CAAC,UAAU,EAAE,gBAAgB,GAAG,MAAM;WAYrC,MAAM;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"stringify.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/stringify.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,EACb,OAAO,CAAC,EAAE,WAAW,GACpB,MAAM,CAER"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/0.224.1/type.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,CAAC;AAC/E,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,YAAY,KAAK,GAAG,CAAC;AAEnE,UAAU,WAAW;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAC;IAClC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B;AAMD,qBAAa,IAAI;IACR,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAQ;IAC7B,UAAU,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAEf,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW;IAavC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,OAAO,CAAuB;IACvD,SAAS,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,GAAG,CAAuB;CAC7D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAM5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAoB,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1E,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EAC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C,YAAY,CAAC,GAC1C,yBAAyB,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB,CAAC,YAAY;IAC/C;;;;;;OAMG;IACH,EAAE,CAAC,SAAS,SAAS,QAAQ,EAE3B,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EACvC,QAAQ,EAAE,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,GAC/C,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAErC;;;;;;OAMG;IACH,OAAO,CACL,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACvC,mBAAmB,CAAC,YAAY,CAAC,CAAC;CACtC;AAED,UAAU,2BAA4B,SAAQ,mBAAmB;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
package/types/httpsig/mod.d.ts
CHANGED
@@ -5,12 +5,13 @@
|
|
5
5
|
* Signatures](https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-12).
|
6
6
|
*
|
7
7
|
* @module
|
8
|
+
* @deprecated
|
8
9
|
*/
|
9
10
|
import * as dntShim from "../_dnt.shims.js";
|
10
|
-
import { type
|
11
|
-
import { type
|
12
|
-
import
|
13
|
-
|
11
|
+
import { type VerifyRequestOptions } from "../sig/http.js";
|
12
|
+
import { type DoesActorOwnKeyOptions as NewDoesActorOwnKeyOptions, type GetKeyOwnerOptions as NewGetKeyOwnerOptions } from "../sig/owner.js";
|
13
|
+
import type { Actor } from "../vocab/actor.js";
|
14
|
+
import type { Activity, CryptographicKey } from "../vocab/vocab.js";
|
14
15
|
/**
|
15
16
|
* Signs a request using the given private key.
|
16
17
|
* @param request The request to sign.
|
@@ -19,34 +20,16 @@ export { exportJwk, generateCryptoKeyPair, importJwk } from "./key.js";
|
|
19
20
|
* verifier.
|
20
21
|
* @returns The signed request.
|
21
22
|
* @throws {TypeError} If the private key is invalid or unsupported.
|
23
|
+
* @deprecated
|
22
24
|
*/
|
23
25
|
export declare function sign(request: Request, privateKey: dntShim.CryptoKey, keyId: URL): Promise<Request>;
|
24
26
|
/**
|
25
27
|
* Options for {@link verify}.
|
26
28
|
*
|
27
29
|
* @since 0.9.0
|
30
|
+
* @deprecated
|
28
31
|
*/
|
29
|
-
export
|
30
|
-
/**
|
31
|
-
* The document loader to use for fetching the public key.
|
32
|
-
*/
|
33
|
-
documentLoader?: DocumentLoader;
|
34
|
-
/**
|
35
|
-
* The context loader to use for JSON-LD context retrieval.
|
36
|
-
*/
|
37
|
-
contextLoader?: DocumentLoader;
|
38
|
-
/**
|
39
|
-
* The time window to allow for the request date. The actual time window is
|
40
|
-
* twice the value of this option, with the current time as the center.
|
41
|
-
* A minute by default.
|
42
|
-
*/
|
43
|
-
timeWindow?: dntShim.Temporal.DurationLike;
|
44
|
-
/**
|
45
|
-
* The current time. If not specified, the current time is used. This is
|
46
|
-
* useful for testing.
|
47
|
-
*/
|
48
|
-
currentTime?: dntShim.Temporal.Instant;
|
49
|
-
}
|
32
|
+
export type VerifyOptions = VerifyRequestOptions;
|
50
33
|
/**
|
51
34
|
* Verifies the signature of a request.
|
52
35
|
*
|
@@ -59,44 +42,30 @@ export interface VerifyOptions {
|
|
59
42
|
* @param options Options for verifying the request.
|
60
43
|
* @returns The public key of the verified signature, or `null` if the signature
|
61
44
|
* could not be verified.
|
45
|
+
* @deprecated
|
62
46
|
*/
|
63
|
-
export declare function verify(request: Request,
|
47
|
+
export declare function verify(request: Request, options?: VerifyRequestOptions): Promise<CryptographicKey | null>;
|
64
48
|
/**
|
65
49
|
* Options for {@link doesActorOwnKey}.
|
66
50
|
* @since 0.8.0
|
51
|
+
* @deprecated
|
67
52
|
*/
|
68
|
-
export
|
69
|
-
/**
|
70
|
-
* The document loader to use for fetching the actor.
|
71
|
-
*/
|
72
|
-
documentLoader?: DocumentLoader;
|
73
|
-
/**
|
74
|
-
* The context loader to use for JSON-LD context retrieval.
|
75
|
-
*/
|
76
|
-
contextLoader?: DocumentLoader;
|
77
|
-
}
|
53
|
+
export type DoesActorOwnKeyOptions = NewDoesActorOwnKeyOptions;
|
78
54
|
/**
|
79
55
|
* Checks if the actor of the given activity owns the specified key.
|
80
56
|
* @param activity The activity to check.
|
81
57
|
* @param key The public key to check.
|
82
58
|
* @param options Options for checking the key ownership.
|
83
59
|
* @returns Whether the actor is the owner of the key.
|
60
|
+
* @deprecated
|
84
61
|
*/
|
85
|
-
export declare function doesActorOwnKey(activity: Activity, key: CryptographicKey, options:
|
62
|
+
export declare function doesActorOwnKey(activity: Activity, key: CryptographicKey, options: NewDoesActorOwnKeyOptions): Promise<boolean>;
|
86
63
|
/**
|
87
64
|
* Options for {@link getKeyOwner}.
|
88
65
|
* @since 0.8.0
|
66
|
+
* @deprecated
|
89
67
|
*/
|
90
|
-
export
|
91
|
-
/**
|
92
|
-
* The document loader to use for fetching the key and its owner.
|
93
|
-
*/
|
94
|
-
documentLoader?: DocumentLoader;
|
95
|
-
/**
|
96
|
-
* The context loader to use for JSON-LD context retrieval.
|
97
|
-
*/
|
98
|
-
contextLoader?: DocumentLoader;
|
99
|
-
}
|
68
|
+
export type GetKeyOwnerOptions = NewGetKeyOwnerOptions;
|
100
69
|
/**
|
101
70
|
* Gets the actor that owns the specified key. Returns `null` if the key has no
|
102
71
|
* known owner.
|
@@ -106,6 +75,34 @@ export interface GetKeyOwnerOptions {
|
|
106
75
|
* @returns The actor that owns the key, or `null` if the key has no known
|
107
76
|
* owner.
|
108
77
|
* @since 0.7.0
|
78
|
+
* @deprecated
|
109
79
|
*/
|
110
|
-
export declare function getKeyOwner(keyId: URL | CryptographicKey, options:
|
80
|
+
export declare function getKeyOwner(keyId: URL | CryptographicKey, options: NewGetKeyOwnerOptions): Promise<Actor | null>;
|
81
|
+
/**
|
82
|
+
* Generates a key pair which is appropriate for Fedify.
|
83
|
+
* @returns The generated key pair.
|
84
|
+
* @since 0.3.0
|
85
|
+
* @deprecated
|
86
|
+
*/
|
87
|
+
export declare function generateCryptoKeyPair(): Promise<dntShim.CryptoKeyPair>;
|
88
|
+
/**
|
89
|
+
* Exports a key in JWK format.
|
90
|
+
* @param key The key to export. Either public or private key.
|
91
|
+
* @returns The exported key in JWK format. The key is suitable for
|
92
|
+
* serialization and storage.
|
93
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
94
|
+
* @since 0.3.0
|
95
|
+
* @deprecated
|
96
|
+
*/
|
97
|
+
export declare function exportJwk(key: dntShim.CryptoKey): Promise<dntShim.JsonWebKey>;
|
98
|
+
/**
|
99
|
+
* Imports a key from JWK format.
|
100
|
+
* @param jwk The key in JWK format.
|
101
|
+
* @param type Which type of key to import, either `"public"`" or `"private"`".
|
102
|
+
* @returns The imported key.
|
103
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
104
|
+
* @since 0.3.0
|
105
|
+
* @deprecated
|
106
|
+
*/
|
107
|
+
export declare function importJwk(jwk: dntShim.JsonWebKey, type: "public" | "private"): Promise<dntShim.CryptoKey>;
|
111
108
|
//# sourceMappingURL=mod.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/httpsig/mod.ts"],"names":[],"mappings":";;AAAA
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/httpsig/mod.ts"],"names":[],"mappings":";;AAAA;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,gBAAgB,CAAC;AAMxB,OAAO,EAEL,KAAK,sBAAsB,IAAI,yBAAyB,EAExD,KAAK,kBAAkB,IAAI,qBAAqB,EACjD,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;;;;;;;;GASG;AACH,wBAAgB,I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Shim from "../_dnt.shims.js";
|
4
|
+
import { type DocumentLoader } from "../runtime/docloader.js";
|
5
|
+
import { CryptographicKey } from "../vocab/vocab.js";
|
6
|
+
/**
|
7
|
+
* Signs a request using the given private key.
|
8
|
+
* @param request The request to sign.
|
9
|
+
* @param privateKey The private key to use for signing.
|
10
|
+
* @param keyId The key ID to use for the signature. It will be used by the
|
11
|
+
* verifier.
|
12
|
+
* @returns The signed request.
|
13
|
+
* @throws {TypeError} If the private key is invalid or unsupported.
|
14
|
+
*/
|
15
|
+
export declare function signRequest(request: Request, privateKey: dntShim.CryptoKey, keyId: URL): Promise<Request>;
|
16
|
+
/**
|
17
|
+
* Options for {@link verify}.
|
18
|
+
*/
|
19
|
+
export interface VerifyRequestOptions {
|
20
|
+
/**
|
21
|
+
* The document loader to use for fetching the public key.
|
22
|
+
*/
|
23
|
+
documentLoader?: DocumentLoader;
|
24
|
+
/**
|
25
|
+
* The context loader to use for JSON-LD context retrieval.
|
26
|
+
*/
|
27
|
+
contextLoader?: DocumentLoader;
|
28
|
+
/**
|
29
|
+
* The time window to allow for the request date. The actual time window is
|
30
|
+
* twice the value of this option, with the current time as the center.
|
31
|
+
* A minute by default.
|
32
|
+
*/
|
33
|
+
timeWindow?: dntShim.Temporal.DurationLike;
|
34
|
+
/**
|
35
|
+
* The current time. If not specified, the current time is used. This is
|
36
|
+
* useful for testing.
|
37
|
+
*/
|
38
|
+
currentTime?: dntShim.Temporal.Instant;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Verifies the signature of a request.
|
42
|
+
*
|
43
|
+
* Note that this function consumes the request body, so it should not be used
|
44
|
+
* if the request body is already consumed. Consuming the request body after
|
45
|
+
* calling this function is okay, since this function clones the request
|
46
|
+
* under the hood.
|
47
|
+
*
|
48
|
+
* @param request The request to verify.
|
49
|
+
* @param options Options for verifying the request.
|
50
|
+
* @returns The public key of the verified signature, or `null` if the signature
|
51
|
+
* could not be verified.
|
52
|
+
*/
|
53
|
+
export declare function verifyRequest(request: Request, { documentLoader, contextLoader, timeWindow, currentTime }?: VerifyRequestOptions): Promise<CryptographicKey | null>;
|
54
|
+
//# sourceMappingURL=http.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/sig/http.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAI5C,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAsB,MAAM,mBAAmB,CAAC;AAGzE;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,OAAO,CAAC,SAAS,EAC7B,KAAK,EAAE,GAAG,GACT,OAAO,CAAC,OAAO,CAAC,CAuClB;AAQD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;IAE/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;IAE3C;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;CACxC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,OAAO,EAChB,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,GACxD,oBAAyB,GAC1B,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CA+NlC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http.test.d.ts","sourceRoot":"","sources":["../../src/sig/http.test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
@@ -11,7 +11,6 @@ export declare function validateCryptoKey(key: dntShim.CryptoKey, type?: "public
|
|
11
11
|
/**
|
12
12
|
* Generates a key pair which is appropriate for Fedify.
|
13
13
|
* @returns The generated key pair.
|
14
|
-
* @since 0.3.0
|
15
14
|
*/
|
16
15
|
export declare function generateCryptoKeyPair(): Promise<dntShim.CryptoKeyPair>;
|
17
16
|
/**
|
@@ -20,7 +19,6 @@ export declare function generateCryptoKeyPair(): Promise<dntShim.CryptoKeyPair>;
|
|
20
19
|
* @returns The exported key in JWK format. The key is suitable for
|
21
20
|
* serialization and storage.
|
22
21
|
* @throws {TypeError} If the key is invalid or unsupported.
|
23
|
-
* @since 0.3.0
|
24
22
|
*/
|
25
23
|
export declare function exportJwk(key: dntShim.CryptoKey): Promise<dntShim.JsonWebKey>;
|
26
24
|
/**
|
@@ -29,7 +27,6 @@ export declare function exportJwk(key: dntShim.CryptoKey): Promise<dntShim.JsonW
|
|
29
27
|
* @param type Which type of key to import, either `"public"`" or `"private"`".
|
30
28
|
* @returns The imported key.
|
31
29
|
* @throws {TypeError} If the key is invalid or unsupported.
|
32
|
-
* @since 0.3.0
|
33
30
|
*/
|
34
31
|
export declare function importJwk(jwk: dntShim.JsonWebKey, type: "public" | "private"): Promise<dntShim.CryptoKey>;
|
35
32
|
//# sourceMappingURL=key.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/sig/key.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAE5C,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,OAAO,CAAC,SAAS,EACtB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAC1B,IAAI,CAqBN;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAWtE;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAGnF;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,GAAG,EAAE,OAAO,CAAC,UAAU,EACvB,IAAI,EAAE,QAAQ,GAAG,SAAS,GACzB,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAU5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"key.test.d.ts","sourceRoot":"","sources":["../../src/sig/key.test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* HTTP Signatures implementation.
|
3
|
+
*
|
4
|
+
* @module
|
5
|
+
*/
|
6
|
+
export { signRequest, verifyRequest, type VerifyRequestOptions, } from "./http.js";
|
7
|
+
export { exportJwk, generateCryptoKeyPair, importJwk } from "./key.js";
|
8
|
+
export { doesActorOwnKey, type DoesActorOwnKeyOptions, getKeyOwner, type GetKeyOwnerOptions, } from "./owner.js";
|
9
|
+
//# sourceMappingURL=mod.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/sig/mod.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,WAAW,EACX,aAAa,EACb,KAAK,oBAAoB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EACL,eAAe,EACf,KAAK,sBAAsB,EAC3B,WAAW,EACX,KAAK,kBAAkB,GACxB,MAAM,YAAY,CAAC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { type DocumentLoader } from "../runtime/docloader.js";
|
3
|
+
import { type Actor } from "../vocab/actor.js";
|
4
|
+
import { type Activity, CryptographicKey } from "../vocab/vocab.js";
|
5
|
+
export { exportJwk, generateCryptoKeyPair, importJwk } from "./key.js";
|
6
|
+
/**
|
7
|
+
* Options for {@link doesActorOwnKey}.
|
8
|
+
*/
|
9
|
+
export interface DoesActorOwnKeyOptions {
|
10
|
+
/**
|
11
|
+
* The document loader to use for fetching the actor.
|
12
|
+
*/
|
13
|
+
documentLoader?: DocumentLoader;
|
14
|
+
/**
|
15
|
+
* The context loader to use for JSON-LD context retrieval.
|
16
|
+
*/
|
17
|
+
contextLoader?: DocumentLoader;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* Checks if the actor of the given activity owns the specified key.
|
21
|
+
* @param activity The activity to check.
|
22
|
+
* @param key The public key to check.
|
23
|
+
* @param options Options for checking the key ownership.
|
24
|
+
* @returns Whether the actor is the owner of the key.
|
25
|
+
*/
|
26
|
+
export declare function doesActorOwnKey(activity: Activity, key: CryptographicKey, options: DoesActorOwnKeyOptions): Promise<boolean>;
|
27
|
+
/**
|
28
|
+
* Options for {@link getKeyOwner}.
|
29
|
+
*/
|
30
|
+
export interface GetKeyOwnerOptions {
|
31
|
+
/**
|
32
|
+
* The document loader to use for fetching the key and its owner.
|
33
|
+
*/
|
34
|
+
documentLoader?: DocumentLoader;
|
35
|
+
/**
|
36
|
+
* The context loader to use for JSON-LD context retrieval.
|
37
|
+
*/
|
38
|
+
contextLoader?: DocumentLoader;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Gets the actor that owns the specified key. Returns `null` if the key has no
|
42
|
+
* known owner.
|
43
|
+
*
|
44
|
+
* @param keyId The ID of the key to check, or the key itself.
|
45
|
+
* @param options Options for getting the key owner.
|
46
|
+
* @returns The actor that owns the key, or `null` if the key has no known
|
47
|
+
* owner.
|
48
|
+
*/
|
49
|
+
export declare function getKeyOwner(keyId: URL | CryptographicKey, options: GetKeyOwnerOptions): Promise<Actor | null>;
|
50
|
+
//# sourceMappingURL=owner.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"owner.d.ts","sourceRoot":"","sources":["../../src/sig/owner.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,KAAK,EAAW,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACL,KAAK,QAAQ,EACb,gBAAgB,EAEjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,gBAAgB,EACrB,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,OAAO,CAAC,CAUlB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,GAAG,GAAG,gBAAgB,EAC7B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAgDvB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"owner.test.d.ts","sourceRoot":"","sources":["../../src/sig/owner.test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
package/types/vocab/vocab.d.ts
CHANGED
@@ -7350,6 +7350,149 @@ export declare class Service extends Object {
|
|
7350
7350
|
}): Promise<Service>;
|
7351
7351
|
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7352
7352
|
}
|
7353
|
+
/** A `Tombstone` represents a content object that has been deleted.
|
7354
|
+
* It can be used in {@link Collection}s to signify that there used to be
|
7355
|
+
* an object at this position, but it has been deleted.
|
7356
|
+
*/
|
7357
|
+
export declare class Tombstone extends Object {
|
7358
|
+
#private;
|
7359
|
+
/**
|
7360
|
+
* The type URI of {@link Tombstone}: `https://www.w3.org/ns/activitystreams#Tombstone`.
|
7361
|
+
*/
|
7362
|
+
static get typeId(): URL;
|
7363
|
+
/**
|
7364
|
+
* Constructs a new instance of Tombstone with the given values.
|
7365
|
+
* @param values The values to initialize the instance with.
|
7366
|
+
* @param options The options to use for initialization.
|
7367
|
+
*/
|
7368
|
+
constructor(values: {
|
7369
|
+
id?: URL | null;
|
7370
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
7371
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
7372
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
7373
|
+
audience?: Object | URL | null;
|
7374
|
+
audiences?: (Object | URL)[];
|
7375
|
+
content?: string | LanguageString | null;
|
7376
|
+
contents?: (string | LanguageString)[];
|
7377
|
+
contexts?: (Object | Link | URL)[];
|
7378
|
+
name?: string | LanguageString | null;
|
7379
|
+
names?: (string | LanguageString)[];
|
7380
|
+
endTime?: dntShim.Temporal.Instant | null;
|
7381
|
+
generators?: (Object | Link | URL)[];
|
7382
|
+
icon?: Image | URL | null;
|
7383
|
+
icons?: (Image | URL)[];
|
7384
|
+
image?: Image | URL | null;
|
7385
|
+
images?: (Image | URL)[];
|
7386
|
+
replyTarget?: Object | Link | URL | null;
|
7387
|
+
replyTargets?: (Object | Link | URL)[];
|
7388
|
+
location?: Object | Link | URL | null;
|
7389
|
+
locations?: (Object | Link | URL)[];
|
7390
|
+
preview?: Link | Object | URL | null;
|
7391
|
+
previews?: (Link | Object | URL)[];
|
7392
|
+
published?: dntShim.Temporal.Instant | null;
|
7393
|
+
replies?: Collection | URL | null;
|
7394
|
+
startTime?: dntShim.Temporal.Instant | null;
|
7395
|
+
summary?: string | LanguageString | null;
|
7396
|
+
summaries?: (string | LanguageString)[];
|
7397
|
+
tags?: (Object | Link | URL)[];
|
7398
|
+
updated?: dntShim.Temporal.Instant | null;
|
7399
|
+
url?: URL | Link | null;
|
7400
|
+
urls?: (URL | Link)[];
|
7401
|
+
to?: Object | URL | null;
|
7402
|
+
tos?: (Object | URL)[];
|
7403
|
+
bto?: Object | URL | null;
|
7404
|
+
btos?: (Object | URL)[];
|
7405
|
+
cc?: Object | URL | null;
|
7406
|
+
ccs?: (Object | URL)[];
|
7407
|
+
bcc?: Object | URL | null;
|
7408
|
+
bccs?: (Object | URL)[];
|
7409
|
+
mediaType?: string | null;
|
7410
|
+
duration?: dntShim.Temporal.Duration | null;
|
7411
|
+
sensitive?: boolean | null;
|
7412
|
+
deleted?: dntShim.Temporal.Instant | null;
|
7413
|
+
}, { documentLoader, contextLoader, }?: {
|
7414
|
+
documentLoader?: DocumentLoader;
|
7415
|
+
contextLoader?: DocumentLoader;
|
7416
|
+
});
|
7417
|
+
/**
|
7418
|
+
* Clones this instance, optionally updating it with the given values.
|
7419
|
+
* @param values The values to update the clone with.
|
7420
|
+
* @options The options to use for cloning.
|
7421
|
+
* @returns The cloned instance.
|
7422
|
+
*/
|
7423
|
+
clone(values?: {
|
7424
|
+
id?: URL | null;
|
7425
|
+
attachments?: (Object | Link | PropertyValue | URL)[];
|
7426
|
+
attribution?: Application | Group | Organization | Person | Service | URL | null;
|
7427
|
+
attributions?: (Application | Group | Organization | Person | Service | URL)[];
|
7428
|
+
audience?: Object | URL | null;
|
7429
|
+
audiences?: (Object | URL)[];
|
7430
|
+
content?: string | LanguageString | null;
|
7431
|
+
contents?: (string | LanguageString)[];
|
7432
|
+
contexts?: (Object | Link | URL)[];
|
7433
|
+
name?: string | LanguageString | null;
|
7434
|
+
names?: (string | LanguageString)[];
|
7435
|
+
endTime?: dntShim.Temporal.Instant | null;
|
7436
|
+
generators?: (Object | Link | URL)[];
|
7437
|
+
icon?: Image | URL | null;
|
7438
|
+
icons?: (Image | URL)[];
|
7439
|
+
image?: Image | URL | null;
|
7440
|
+
images?: (Image | URL)[];
|
7441
|
+
replyTarget?: Object | Link | URL | null;
|
7442
|
+
replyTargets?: (Object | Link | URL)[];
|
7443
|
+
location?: Object | Link | URL | null;
|
7444
|
+
locations?: (Object | Link | URL)[];
|
7445
|
+
preview?: Link | Object | URL | null;
|
7446
|
+
previews?: (Link | Object | URL)[];
|
7447
|
+
published?: dntShim.Temporal.Instant | null;
|
7448
|
+
replies?: Collection | URL | null;
|
7449
|
+
startTime?: dntShim.Temporal.Instant | null;
|
7450
|
+
summary?: string | LanguageString | null;
|
7451
|
+
summaries?: (string | LanguageString)[];
|
7452
|
+
tags?: (Object | Link | URL)[];
|
7453
|
+
updated?: dntShim.Temporal.Instant | null;
|
7454
|
+
url?: URL | Link | null;
|
7455
|
+
urls?: (URL | Link)[];
|
7456
|
+
to?: Object | URL | null;
|
7457
|
+
tos?: (Object | URL)[];
|
7458
|
+
bto?: Object | URL | null;
|
7459
|
+
btos?: (Object | URL)[];
|
7460
|
+
cc?: Object | URL | null;
|
7461
|
+
ccs?: (Object | URL)[];
|
7462
|
+
bcc?: Object | URL | null;
|
7463
|
+
bccs?: (Object | URL)[];
|
7464
|
+
mediaType?: string | null;
|
7465
|
+
duration?: dntShim.Temporal.Duration | null;
|
7466
|
+
sensitive?: boolean | null;
|
7467
|
+
deleted?: dntShim.Temporal.Instant | null;
|
7468
|
+
}, options?: {
|
7469
|
+
documentLoader?: DocumentLoader;
|
7470
|
+
contextLoader?: DocumentLoader;
|
7471
|
+
}): Tombstone;
|
7472
|
+
/** On a `Tombstone` object, the `deleted` property is a timestamp for when
|
7473
|
+
* the object was deleted.
|
7474
|
+
*/
|
7475
|
+
get deleted(): dntShim.Temporal.Instant | null;
|
7476
|
+
/**
|
7477
|
+
* Converts this object to a JSON-LD structure.
|
7478
|
+
* @returns The JSON-LD representation of this object.
|
7479
|
+
*/
|
7480
|
+
toJsonLd(options?: {
|
7481
|
+
expand?: boolean;
|
7482
|
+
contextLoader?: DocumentLoader;
|
7483
|
+
}): Promise<unknown>;
|
7484
|
+
/**
|
7485
|
+
* Converts a JSON-LD structure to an object of this type.
|
7486
|
+
* @param json The JSON-LD structure to convert.
|
7487
|
+
* @returns The object of this type.
|
7488
|
+
* @throws {TypeError} If the given `json` is invalid.
|
7489
|
+
*/
|
7490
|
+
static fromJsonLd(json: unknown, options?: {
|
7491
|
+
documentLoader?: DocumentLoader;
|
7492
|
+
contextLoader?: DocumentLoader;
|
7493
|
+
}): Promise<Tombstone>;
|
7494
|
+
protected _getCustomInspectProxy(): Record<string, unknown>;
|
7495
|
+
}
|
7353
7496
|
/** Indicates that the `actor` is undoing the `object`. In most cases,
|
7354
7497
|
* the `object` will be an {@link Activity} describing some previously performed
|
7355
7498
|
* action (for instance, a person may have previously "liked" an article but,
|