@fedify/fedify 1.6.0-dev.814 → 1.6.0
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/dist/_virtual/rolldown_runtime.js +15 -0
- package/dist/codegen/fs.js +23 -0
- package/dist/codegen/schema.js +87 -0
- package/dist/codegen/type.js +392 -0
- package/dist/compat/mod.d.ts +5 -0
- package/dist/compat/mod.js +7 -0
- package/dist/compat/transformers.d.ts +101 -0
- package/dist/compat/transformers.js +98 -0
- package/dist/compat/transformers.test.d.ts +2 -0
- package/dist/compat/transformers.test.js +69 -0
- package/dist/compat/types.d.ts +18 -0
- package/dist/deno.js +123 -0
- package/dist/federation/builder.d.ts +19 -0
- package/dist/federation/builder.js +491 -0
- package/dist/federation/builder.test.d.ts +2 -0
- package/dist/federation/builder.test.js +123 -0
- package/dist/federation/callback.d.ts +211 -0
- package/dist/federation/collection.d.ts +36 -0
- package/dist/federation/collection.js +48 -0
- package/dist/federation/collection.test.d.ts +2 -0
- package/dist/federation/collection.test.js +25 -0
- package/dist/federation/context.d.ts +724 -0
- package/dist/federation/federation.d.ts +689 -0
- package/dist/federation/handler.d.ts +44 -0
- package/dist/federation/handler.js +543 -0
- package/dist/federation/handler.test.d.ts +2 -0
- package/dist/federation/handler.test.js +1186 -0
- package/dist/federation/inbox.js +165 -0
- package/dist/federation/inbox.test.d.ts +2 -0
- package/dist/federation/inbox.test.js +88 -0
- package/dist/federation/keycache.js +47 -0
- package/dist/federation/keycache.test.d.ts +2 -0
- package/dist/federation/keycache.test.js +55 -0
- package/dist/federation/kv.d.ts +74 -0
- package/dist/federation/kv.js +51 -0
- package/dist/federation/kv.test.d.ts +2 -0
- package/dist/federation/kv.test.js +25 -0
- package/dist/federation/middleware.d.ts +101 -0
- package/dist/federation/middleware.js +1775 -0
- package/dist/federation/middleware.test.d.ts +2 -0
- package/dist/federation/middleware.test.js +1491 -0
- package/dist/federation/mod.d.ts +15 -0
- package/dist/federation/mod.js +14 -0
- package/dist/federation/mq.d.ts +127 -0
- package/dist/federation/mq.js +147 -0
- package/dist/federation/mq.test.d.ts +2 -0
- package/dist/federation/mq.test.js +128 -0
- package/dist/federation/negotiation.js +63 -0
- package/dist/federation/retry.d.ts +71 -0
- package/dist/federation/retry.js +36 -0
- package/dist/federation/retry.test.d.ts +2 -0
- package/dist/federation/retry.test.js +44 -0
- package/dist/federation/router.d.ts +91 -0
- package/dist/federation/router.js +99 -0
- package/dist/federation/router.test.d.ts +2 -0
- package/dist/federation/router.test.js +78 -0
- package/dist/federation/send.d.ts +29 -0
- package/dist/federation/send.js +127 -0
- package/dist/federation/send.test.d.ts +2 -0
- package/dist/federation/send.test.js +214 -0
- package/dist/mod.d.ts +36 -0
- package/dist/mod.js +33 -0
- package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/mod.js +101 -0
- package/dist/node_modules/.pnpm/@jsr_hongminhee__deno-mock-fetch@0.3.2/node_modules/@jsr/hongminhee__deno-mock-fetch/router.js +93 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert.js +26 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js +49 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_exists.js +32 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_false.js +26 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater.js +34 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_greater_or_equal.js +34 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_instance_of.js +40 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_is_error.js +48 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_not_equals.js +36 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_object_match.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js +42 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_strict_equals.js +53 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_string_includes.js +32 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js +38 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assertion_error.js +33 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/equal.js +79 -0
- package/dist/node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/mod.js +19 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/assertion_state.js +177 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/build_message.js +101 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff.js +274 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/diff_str.js +148 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/format.js +37 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/mod.js +10 -0
- package/dist/node_modules/.pnpm/@jsr_std__internal@1.0.7/node_modules/@jsr/std__internal/styles.js +172 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/assert_path.js +11 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/constants.js +16 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +14 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +13 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +14 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize_string.js +60 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +15 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_os.js +9 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/basename.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/common.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/constants.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/dirname.js +35 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/extname.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/format.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/from_file_url.js +34 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/glob_to_regexp.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/is_absolute.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join.js +35 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/join_globs.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/mod.js +7 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/normalize_glob.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/parse.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/_util.js +13 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +54 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +27 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/join.js +47 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +59 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/relative.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/resolve.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_file_url.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/to_namespaced_path.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/_util.js +19 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/dirname.js +75 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +31 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/join.js +54 -0
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/normalize.js +87 -0
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/_strip.js +17 -0
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/dirname.js +38 -0
- package/dist/node_modules/.pnpm/@jsr_std__url@1.0.0-rc.3/node_modules/@jsr/std__url/join.js +36 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_chars.js +47 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_dumper_state.js +4 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_loader_state.js +884 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_schema.js +120 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/binary.js +92 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/bool.js +41 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/float.js +58 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/int.js +118 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/map.js +18 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/merge.js +14 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/nil.js +23 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/omap.js +31 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/pairs.js +22 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/regexp.js +29 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/seq.js +14 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/set.js +17 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/str.js +14 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/timestamp.js +57 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_type/undefined.js +24 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/_utils.js +17 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/mod.js +5 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/parse.js +54 -0
- package/dist/node_modules/.pnpm/@jsr_std__yaml@1.0.6/node_modules/@jsr/std__yaml/stringify.js +4 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/AlwaysShrinkableArbitrary.js +30 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayArbitrary.js +203 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ArrayInt64Arbitrary.js +122 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/BigIntArbitrary.js +63 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/ConstantArbitrary.js +58 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/FrequencyArbitrary.js +136 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/IntegerArbitrary.js +64 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/LazyArbitrary.js +29 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/StringUnitArbitrary.js +45 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/TupleArbitrary.js +74 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/WithShrinkFromOtherArbitrary.js +40 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/AnyArbitraryBuilder.js +97 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/BoxedArbitraryBuilder.js +13 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/CharacterArbitraryBuilder.js +17 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/RestrictedIntegerArbitraryBuilder.js +23 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/builders/TypedIntArrayArbitraryBuilder.js +32 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/data/GraphemeRanges.js +990 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ArrayInt64.js +98 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BiasNumericRange.js +53 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/BuildSlicedGenerator.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/CustomEqualSet.js +27 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DepthContext.js +24 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleHelpers.js +96 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/DoubleOnlyHelpers.js +25 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatHelpers.js +57 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatOnlyHelpers.js +26 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/FloatingOnlyHelpers.js +26 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/GraphemeRangesHelpers.js +58 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/MaxLengthFromMinLength.js +72 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/NoUndefinedAsContext.js +16 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/QualifiedObjectConstraints.js +58 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueSet.js +41 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SameValueZeroSet.js +33 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkBigInt.js +37 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/ShrinkInteger.js +41 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/SlicesForStringBuilder.js +74 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/StrictlyEqualSet.js +38 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/helpers/TokenizeString.js +47 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/NoopSlicedGenerator.js +21 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/implementations/SlicedBasedGenerator.js +53 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToMap.js +16 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/ArrayToSet.js +16 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/CodePointsToString.js +17 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToCharString.js +20 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToMappedConstant.js +69 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/IndexToPrintableIndex.js +18 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/KeyValuePairsToObject.js +42 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/PatternsToString.js +32 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/TimeToDate.js +30 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/_internals/mappers/UnboxedToBoxed.js +22 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/anything.js +14 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/array.js +22 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/bigInt.js +38 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/boolean.js +24 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constant.js +13 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/constantFrom.js +14 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/date.js +30 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/dictionary.js +27 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/double.js +54 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float.js +60 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float32Array.js +22 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/float64Array.js +22 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicode.js +24 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/fullUnicodeString.js +20 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int16Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int32Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/int8Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/integer.js +26 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/letrec.js +28 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/mapToConstant.js +26 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/maxSafeInteger.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/nat.js +17 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/noBias.js +11 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/oneof.js +31 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/sparseArray.js +68 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/string.js +32 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/tuple.js +13 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint16Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint32Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8Array.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uint8ClampedArray.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/arbitrary/uniqueArray.js +47 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Arbitrary.js +184 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/arbitrary/definition/Value.js +31 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js +19 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IRawProperty.js +12 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/IgnoreEqualValuesProperty.js +52 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.generic.js +77 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/Property.js +22 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/SkipAfterProperty.js +61 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/TimeoutProperty.js +52 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/property/UnbiasedProperty.js +29 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/DecorateProperty.js +26 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Runner.js +61 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/RunnerIterator.js +47 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/SourceValuesIterator.js +35 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/Tosser.js +33 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/GlobalParameters.js +12 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/QualifiedParameters.js +121 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/configuration/VerbosityLevel.js +14 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/ExecutionStatus.js +14 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/reporter/RunExecution.js +116 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/PathWalker.js +24 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js +135 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/symbols.js +15 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/random/generator/Random.js +48 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/LazyIterableIterator.js +24 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/Stream.js +84 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/stream/StreamHelpers.js +50 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/apply.js +28 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/globals.js +309 -0
- package/dist/node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/utils/stringify.js +217 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js +20 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js +20 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js +20 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js +20 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js +32 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js +43 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js +139 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js +26 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js +14 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js +53 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js +114 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js +26 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XorShift.js +83 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/generator/XoroShiro.js +83 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand-default.js +44 -0
- package/dist/node_modules/.pnpm/pure-rand@6.1.0/node_modules/pure-rand/lib/esm/pure-rand.js +22 -0
- package/dist/nodeinfo/client.d.ts +96 -0
- package/dist/nodeinfo/client.js +272 -0
- package/dist/nodeinfo/client.test.d.ts +2 -0
- package/dist/nodeinfo/client.test.js +968 -0
- package/dist/nodeinfo/handler.js +46 -0
- package/dist/nodeinfo/handler.test.d.ts +2 -0
- package/dist/nodeinfo/handler.test.js +94 -0
- package/dist/nodeinfo/mod.d.ts +6 -0
- package/dist/nodeinfo/mod.js +9 -0
- package/dist/nodeinfo/semver.d.ts +78 -0
- package/dist/nodeinfo/semver.js +148 -0
- package/dist/nodeinfo/semver.test.d.ts +2 -0
- package/dist/nodeinfo/semver.test.js +134 -0
- package/dist/nodeinfo/types.d.ts +140 -0
- package/dist/nodeinfo/types.js +50 -0
- package/dist/nodeinfo/types.test.d.ts +2 -0
- package/dist/nodeinfo/types.test.js +197 -0
- package/dist/runtime/authdocloader.d.ts +56 -0
- package/dist/runtime/authdocloader.js +52 -0
- package/dist/runtime/authdocloader.test.d.ts +2 -0
- package/dist/runtime/authdocloader.test.js +54 -0
- package/dist/runtime/contexts.js +4116 -0
- package/dist/runtime/docloader.d.ts +211 -0
- package/dist/runtime/docloader.js +291 -0
- package/dist/runtime/docloader.test.d.ts +2 -0
- package/dist/runtime/docloader.test.js +428 -0
- package/dist/runtime/key.d.ts +66 -0
- package/dist/runtime/key.js +156 -0
- package/dist/runtime/key.test.d.ts +2 -0
- package/dist/runtime/key.test.js +93 -0
- package/dist/runtime/langstr.d.ts +24 -0
- package/dist/runtime/langstr.js +32 -0
- package/dist/runtime/langstr.test.d.ts +2 -0
- package/dist/runtime/langstr.test.js +31 -0
- package/dist/runtime/mod.d.ts +7 -0
- package/dist/runtime/mod.js +10 -0
- package/dist/runtime/multibase/base.js +32 -0
- package/dist/runtime/multibase/constants.js +172 -0
- package/dist/runtime/multibase/index.js +57 -0
- package/dist/runtime/multibase/multibase.test.d.ts +2 -0
- package/dist/runtime/multibase/multibase.test.js +351 -0
- package/dist/runtime/multibase/rfc4648.js +61 -0
- package/dist/runtime/multibase/util.js +21 -0
- package/dist/runtime/url.js +67 -0
- package/dist/runtime/url.test.d.ts +2 -0
- package/dist/runtime/url.test.js +43 -0
- package/dist/sig/http.d.ts +143 -0
- package/dist/sig/http.js +720 -0
- package/dist/sig/http.test.d.ts +2 -0
- package/dist/sig/http.test.js +1094 -0
- package/dist/sig/key.d.ts +125 -0
- package/dist/sig/key.js +257 -0
- package/dist/sig/key.test.d.ts +2 -0
- package/dist/sig/key.test.js +242 -0
- package/dist/sig/ld.d.ts +150 -0
- package/dist/sig/ld.js +270 -0
- package/dist/sig/ld.test.d.ts +2 -0
- package/dist/sig/ld.test.js +224 -0
- package/dist/sig/mod.d.ts +8 -0
- package/dist/sig/mod.js +11 -0
- package/dist/sig/owner.d.ts +74 -0
- package/dist/sig/owner.js +89 -0
- package/dist/sig/owner.test.d.ts +2 -0
- package/dist/sig/owner.test.js +45 -0
- package/dist/sig/proof.d.ts +134 -0
- package/dist/sig/proof.js +262 -0
- package/dist/sig/proof.test.d.ts +2 -0
- package/dist/sig/proof.test.js +263 -0
- package/dist/testing/context.js +94 -0
- package/dist/testing/docloader.js +48 -0
- package/dist/testing/docloader.test.d.ts +2 -0
- package/dist/testing/docloader.test.js +15 -0
- package/dist/testing/keys.js +123 -0
- package/dist/testing/mod.js +136 -0
- package/dist/vocab/actor.d.ts +133 -0
- package/dist/vocab/actor.js +148 -0
- package/dist/vocab/actor.test.d.ts +2 -0
- package/dist/vocab/actor.test.js +114 -0
- package/dist/vocab/constants.d.ts +24 -0
- package/dist/vocab/constants.js +17 -0
- package/dist/vocab/lookup.d.ts +123 -0
- package/dist/vocab/lookup.js +162 -0
- package/dist/vocab/lookup.test.d.ts +2 -0
- package/dist/vocab/lookup.test.js +113 -0
- package/dist/vocab/mod.d.ts +8 -0
- package/dist/vocab/mod.js +11 -0
- package/dist/vocab/type.d.ts +107 -0
- package/dist/vocab/type.js +13 -0
- package/dist/vocab/type.test.d.ts +2 -0
- package/dist/vocab/type.test.js +24 -0
- package/dist/vocab/vocab.d.ts +14448 -0
- package/dist/vocab/vocab.js +35617 -0
- package/dist/vocab/vocab.test.d.ts +2 -0
- package/dist/vocab/vocab.test.js +849 -0
- package/dist/webfinger/handler.js +140 -0
- package/dist/webfinger/handler.test.d.ts +2 -0
- package/dist/webfinger/handler.test.js +483 -0
- package/dist/webfinger/jrd.d.ts +60 -0
- package/dist/webfinger/lookup.d.ts +47 -0
- package/dist/webfinger/lookup.js +131 -0
- package/dist/webfinger/lookup.test.d.ts +2 -0
- package/dist/webfinger/lookup.test.js +119 -0
- package/dist/webfinger/mod.d.ts +5 -0
- package/dist/webfinger/mod.js +7 -0
- package/dist/x/denokv.js +41 -0
- package/dist/x/hono.d.ts +40 -0
- package/dist/x/hono.js +48 -0
- package/dist/x/sveltekit.d.ts +36 -0
- package/dist/x/sveltekit.js +56 -0
- package/package.json +57 -60
- package/CHANGES.md +0 -3883
- package/CONTRIBUTING.md +0 -272
- package/FEDERATION.md +0 -85
- package/LICENSE +0 -20
- package/SECURITY.md +0 -22
- package/SPONSORS.md +0 -47
- package/esm/_dnt.polyfills.js +0 -15
- package/esm/_dnt.shims.js +0 -70
- package/esm/compat/mod.js +0 -3
- package/esm/compat/transformers.js +0 -95
- package/esm/compat/types.js +0 -1
- package/esm/deno.js +0 -110
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.js +0 -9
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.js +0 -28
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.js +0 -38
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.js +0 -35
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.js +0 -33
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.js +0 -15
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.js +0 -28
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.js +0 -44
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.js +0 -18
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.js +0 -60
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.js +0 -41
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.js +0 -34
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.js +0 -52
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.js +0 -33
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.js +0 -35
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.js +0 -18
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.js +0 -35
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.js +0 -29
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.js +0 -29
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.js +0 -22
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.js +0 -18
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.js +0 -31
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.js +0 -44
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.js +0 -39
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.js +0 -37
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.js +0 -32
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.js +0 -3
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.js +0 -13
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.js +0 -51
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.js +0 -10
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.js +0 -10
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.js +0 -2
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.js +0 -40
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.js +0 -10
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.js +0 -40
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.js +0 -42
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.js +0 -44
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.js +0 -97
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.js +0 -22
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.js +0 -86
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.js +0 -10
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.js +0 -28
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.js +0 -45
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.js +0 -47
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.js +0 -40
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.js +0 -41
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.js +0 -46
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.js +0 -18
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.js +0 -65
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.js +0 -13
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.js +0 -35
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.js +0 -18
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.js +0 -32
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.js +0 -32
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.js +0 -22
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.js +0 -70
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.js +0 -50
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.js +0 -201
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.js +0 -22
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.js +0 -49
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.js +0 -28
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.js +0 -28
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.js +0 -69
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.js +0 -71
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.js +0 -31
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.js +0 -27
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.js +0 -31
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.js +0 -66
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.js +0 -47
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.js +0 -66
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.js +0 -30
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.js +0 -25
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.js +0 -218
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.js +0 -40
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.js +0 -94
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.js +0 -24
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.js +0 -22
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.js +0 -17
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.js +0 -56
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.js +0 -31
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.js +0 -29
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.js +0 -52
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.js +0 -5
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.js +0 -69
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.js +0 -99
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.js +0 -29
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.js +0 -14
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.js +0 -64
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.js +0 -14
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.js +0 -21
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.js +0 -14
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.js +0 -16
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.js +0 -19
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.js +0 -20
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.js +0 -39
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.js +0 -36
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.js +0 -23
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.js +0 -26
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.js +0 -14
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.js +0 -38
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.js +0 -47
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.js +0 -41
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.js +0 -4
- package/esm/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.js +0 -33
- package/esm/federation/builder.js +0 -652
- package/esm/federation/callback.js +0 -1
- package/esm/federation/collection.js +0 -43
- package/esm/federation/context.js +0 -1
- package/esm/federation/federation.js +0 -1
- package/esm/federation/handler.js +0 -574
- package/esm/federation/inbox.js +0 -146
- package/esm/federation/keycache.js +0 -42
- package/esm/federation/kv.js +0 -52
- package/esm/federation/middleware.js +0 -2071
- package/esm/federation/mod.js +0 -17
- package/esm/federation/mq.js +0 -161
- package/esm/federation/negotiation.js +0 -92
- package/esm/federation/queue.js +0 -1
- package/esm/federation/retry.js +0 -34
- package/esm/federation/router.js +0 -97
- package/esm/federation/send.js +0 -129
- package/esm/mod.js +0 -52
- package/esm/nodeinfo/client.js +0 -372
- package/esm/nodeinfo/handler.js +0 -49
- package/esm/nodeinfo/mod.js +0 -11
- package/esm/nodeinfo/semver.js +0 -150
- package/esm/nodeinfo/types.js +0 -60
- package/esm/package.json +0 -3
- package/esm/runtime/contexts.js +0 -4191
- package/esm/runtime/docloader.js +0 -351
- package/esm/runtime/key.js +0 -153
- package/esm/runtime/langstr.js +0 -25
- package/esm/runtime/mod.js +0 -10
- package/esm/runtime/multibase/base.js +0 -30
- package/esm/runtime/multibase/constants.js +0 -78
- package/esm/runtime/multibase/index.js +0 -59
- package/esm/runtime/multibase/rfc4648.js +0 -79
- package/esm/runtime/multibase/util.js +0 -13
- package/esm/runtime/url.js +0 -96
- package/esm/sig/http.js +0 -845
- package/esm/sig/key.js +0 -253
- package/esm/sig/ld.js +0 -288
- package/esm/sig/mod.js +0 -11
- package/esm/sig/owner.js +0 -103
- package/esm/sig/proof.js +0 -269
- package/esm/vocab/actor.js +0 -168
- package/esm/vocab/constants.js +0 -9
- package/esm/vocab/lookup.js +0 -174
- package/esm/vocab/mod.js +0 -57
- package/esm/vocab/type.js +0 -6
- package/esm/vocab/vocab.js +0 -51266
- package/esm/webfinger/handler.js +0 -173
- package/esm/webfinger/jrd.js +0 -1
- package/esm/webfinger/lookup.js +0 -136
- package/esm/webfinger/mod.js +0 -8
- package/esm/x/hono.js +0 -65
- package/esm/x/sveltekit.js +0 -65
- package/logo.svg +0 -185
- package/types/_dnt.polyfills.d.ts +0 -18
- package/types/_dnt.polyfills.d.ts.map +0 -1
- package/types/_dnt.shims.d.ts +0 -14
- package/types/_dnt.shims.d.ts.map +0 -1
- package/types/compat/mod.d.ts +0 -4
- package/types/compat/mod.d.ts.map +0 -1
- package/types/compat/transformers.d.ts +0 -77
- package/types/compat/transformers.d.ts.map +0 -1
- package/types/compat/types.d.ts +0 -8
- package/types/compat/types.d.ts.map +0 -1
- package/types/deno.d.ts +0 -84
- package/types/deno.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.d.ts +0 -2
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/_internal/compareValues.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.d.ts +0 -17
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/at.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.d.ts +0 -25
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/chunk.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/compact.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.d.ts +0 -29
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/countBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/difference.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.d.ts +0 -34
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/differenceWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/drop.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropRightWhile.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/dropWhile.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.d.ts +0 -85
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/fill.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMap.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatMapDeep.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flatten.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/flattenDeep.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.d.ts +0 -47
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/forEachRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.d.ts +0 -34
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/groupBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.d.ts +0 -33
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/head.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.d.ts +0 -61
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.d.ts +0 -53
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/initial.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersection.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.d.ts +0 -35
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.d.ts +0 -36
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/intersectionWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.d.ts +0 -25
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubset.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.d.ts +0 -32
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/isSubsetWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.d.ts +0 -29
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/keyBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.d.ts +0 -47
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/last.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.d.ts +0 -44
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/maxBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.d.ts +0 -44
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/minBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.d.ts +0 -36
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/orderBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/partition.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pull.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/pullAt.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/remove.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sample.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sampleSize.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/shuffle.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.d.ts +0 -34
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/sortBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.d.ts +0 -66
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/tail.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/take.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.d.ts +0 -23
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeRightWhile.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/takeWhile.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.d.ts +0 -91
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/toFilled.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/union.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unionWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.d.ts +0 -17
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniq.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.d.ts +0 -28
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.d.ts +0 -17
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/uniqWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzip.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/unzipWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.d.ts +0 -49
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/windowed.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/without.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xor.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/xorWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.d.ts +0 -105
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zip.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.d.ts +0 -32
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipObject.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.d.ts +0 -71
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/array/zipWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.d.ts +0 -2
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getSymbols.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.d.ts +0 -9
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/getTag.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.d.ts +0 -27
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/_internal/tags.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isArray.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.d.ts +0 -26
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isObjectLike.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isPlainObject.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/predicate/isSymbol.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/eq.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toFinite.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toInteger.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/compat/util/toNumber.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.d.ts +0 -8
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/AbortError.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.d.ts +0 -8
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/TimeoutError.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.d.ts +0 -3
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/error/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/after.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/ary.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.d.ts +0 -11
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/asyncNoop.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/before.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.d.ts +0 -125
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curry.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.d.ts +0 -139
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/curryRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.d.ts +0 -74
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/debounce.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.d.ts +0 -131
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flow.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.d.ts +0 -143
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/flowRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/identity.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.d.ts +0 -123
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/memoize.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/negate.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.d.ts +0 -11
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/noop.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.d.ts +0 -34
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/once.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.d.ts +0 -552
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partial.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.d.ts +0 -629
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/partialRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.d.ts +0 -32
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/rest.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.d.ts +0 -77
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/retry.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/spread.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.d.ts +0 -48
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/throttle.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/function/unary.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.d.ts +0 -66
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.d.ts +0 -31
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/clamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.d.ts +0 -26
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/inRange.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.d.ts +0 -14
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/mean.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.d.ts +0 -17
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/meanBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/median.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/medianBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.d.ts +0 -29
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/random.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.d.ts +0 -25
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/randomInt.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.d.ts +0 -37
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/range.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.d.ts +0 -37
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/rangeRight.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/round.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sum.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.d.ts +0 -17
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/math/sumBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/clone.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.d.ts +0 -48
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeep.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.d.ts +0 -44
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/cloneDeepWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/findKey.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.d.ts +0 -36
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/flattenObject.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/invert.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapKeys.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mapValues.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.d.ts +0 -42
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.d.ts +0 -50
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/mergeWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omit.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/omitBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pick.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/pickBy.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.d.ts +0 -53
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toCamelCaseKeys.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.d.ts +0 -44
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toMerged.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.d.ts +0 -53
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/object/toSnakeCaseKeys.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.d.ts +0 -31
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isArrayBuffer.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBlob.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.d.ts +0 -24
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBoolean.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBrowser.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isBuffer.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isDate.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqual.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.d.ts +0 -37
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isEqualWith.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isError.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.d.ts +0 -20
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFile.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isFunction.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSON.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.d.ts +0 -55
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isJSONValue.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.d.ts +0 -23
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isLength.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isMap.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNil.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNode.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNotNil.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isNull.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.d.ts +0 -44
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPlainObject.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.d.ts +0 -30
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPrimitive.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isPromise.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isRegExp.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSet.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.d.ts +0 -19
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isString.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.d.ts +0 -25
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isSymbol.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.d.ts +0 -28
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isTypedArray.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isUndefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakMap.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/predicate/isWeakSet.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.d.ts +0 -38
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/delay.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.d.ts +0 -6
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.d.ts +0 -63
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/mutex.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.d.ts +0 -80
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/semaphore.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/timeout.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.d.ts +0 -27
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/promise/withTimeout.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/camelCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/capitalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/constantCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.d.ts +0 -21
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/deburr.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escape.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.d.ts +0 -13
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/escapeRegExp.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.d.ts +0 -22
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/kebabCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.d.ts +0 -13
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/lowerFirst.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pad.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/pascalCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/reverseString.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/snakeCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/startCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.d.ts +0 -14
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trim.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimEnd.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.d.ts +0 -18
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/trimStart.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.d.ts +0 -15
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/unescape.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.d.ts +0 -16
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperCase.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.d.ts +0 -13
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/upperFirst.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.d.ts +0 -37
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/string/words.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.d.ts +0 -41
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attempt.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.d.ts +0 -34
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/attemptAsync.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.d.ts +0 -5
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/index.d.ts.map +0 -1
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.d.ts +0 -39
- package/types/deps/jsr.io/@es-toolkit/es-toolkit/1.38.0/src/util/invariant.d.ts.map +0 -1
- package/types/federation/builder.d.ts +0 -79
- package/types/federation/builder.d.ts.map +0 -1
- package/types/federation/callback.d.ts +0 -202
- package/types/federation/callback.d.ts.map +0 -1
- package/types/federation/collection.d.ts +0 -27
- package/types/federation/collection.d.ts.map +0 -1
- package/types/federation/context.d.ts +0 -727
- package/types/federation/context.d.ts.map +0 -1
- package/types/federation/federation.d.ts +0 -682
- package/types/federation/federation.d.ts.map +0 -1
- package/types/federation/handler.d.ts +0 -120
- package/types/federation/handler.d.ts.map +0 -1
- package/types/federation/inbox.d.ts +0 -35
- package/types/federation/inbox.d.ts.map +0 -1
- package/types/federation/keycache.d.ts +0 -18
- package/types/federation/keycache.d.ts.map +0 -1
- package/types/federation/kv.d.ts +0 -66
- package/types/federation/kv.d.ts.map +0 -1
- package/types/federation/middleware.d.ts +0 -262
- package/types/federation/middleware.d.ts.map +0 -1
- package/types/federation/mod.d.ts +0 -19
- package/types/federation/mod.d.ts.map +0 -1
- package/types/federation/mq.d.ts +0 -119
- package/types/federation/mq.d.ts.map +0 -1
- package/types/federation/negotiation.d.ts +0 -37
- package/types/federation/negotiation.d.ts.map +0 -1
- package/types/federation/queue.d.ts +0 -47
- package/types/federation/queue.d.ts.map +0 -1
- package/types/federation/retry.d.ts +0 -64
- package/types/federation/retry.d.ts.map +0 -1
- package/types/federation/router.d.ts +0 -83
- package/types/federation/router.d.ts.map +0 -1
- package/types/federation/send.d.ts +0 -108
- package/types/federation/send.d.ts.map +0 -1
- package/types/mod.d.ts +0 -53
- package/types/mod.d.ts.map +0 -1
- package/types/nodeinfo/client.d.ts +0 -94
- package/types/nodeinfo/client.d.ts.map +0 -1
- package/types/nodeinfo/handler.d.ts +0 -32
- package/types/nodeinfo/handler.d.ts.map +0 -1
- package/types/nodeinfo/mod.d.ts +0 -12
- package/types/nodeinfo/mod.d.ts.map +0 -1
- package/types/nodeinfo/semver.d.ts +0 -71
- package/types/nodeinfo/semver.d.ts.map +0 -1
- package/types/nodeinfo/types.d.ts +0 -133
- package/types/nodeinfo/types.d.ts.map +0 -1
- package/types/runtime/contexts.d.ts +0 -3
- package/types/runtime/contexts.d.ts.map +0 -1
- package/types/runtime/docloader.d.ts +0 -225
- package/types/runtime/docloader.d.ts.map +0 -1
- package/types/runtime/key.d.ts +0 -54
- package/types/runtime/key.d.ts.map +0 -1
- package/types/runtime/langstr.d.ts +0 -15
- package/types/runtime/langstr.d.ts.map +0 -1
- package/types/runtime/mod.d.ts +0 -11
- package/types/runtime/mod.d.ts.map +0 -1
- package/types/runtime/multibase/base.d.ts +0 -15
- package/types/runtime/multibase/base.d.ts.map +0 -1
- package/types/runtime/multibase/constants.d.ts +0 -5
- package/types/runtime/multibase/constants.d.ts.map +0 -1
- package/types/runtime/multibase/index.d.ts +0 -24
- package/types/runtime/multibase/index.d.ts.map +0 -1
- package/types/runtime/multibase/rfc4648.d.ts +0 -6
- package/types/runtime/multibase/rfc4648.d.ts.map +0 -1
- package/types/runtime/multibase/util.d.ts +0 -4
- package/types/runtime/multibase/util.d.ts.map +0 -1
- package/types/runtime/url.d.ts +0 -11
- package/types/runtime/url.d.ts.map +0 -1
- package/types/shim/event.d.ts.map +0 -1
- package/types/sig/http.d.ts +0 -221
- package/types/sig/http.d.ts.map +0 -1
- package/types/sig/key.d.ts +0 -123
- package/types/sig/key.d.ts.map +0 -1
- package/types/sig/ld.d.ts +0 -152
- package/types/sig/ld.d.ts.map +0 -1
- package/types/sig/mod.d.ts +0 -12
- package/types/sig/mod.d.ts.map +0 -1
- package/types/sig/owner.d.ts +0 -65
- package/types/sig/owner.d.ts.map +0 -1
- package/types/sig/proof.d.ts +0 -122
- package/types/sig/proof.d.ts.map +0 -1
- package/types/vocab/actor.d.ts +0 -125
- package/types/vocab/actor.d.ts.map +0 -1
- package/types/vocab/constants.d.ts +0 -10
- package/types/vocab/constants.d.ts.map +0 -1
- package/types/vocab/lookup.d.ts +0 -115
- package/types/vocab/lookup.d.ts.map +0 -1
- package/types/vocab/mod.d.ts +0 -58
- package/types/vocab/mod.d.ts.map +0 -1
- package/types/vocab/type.d.ts +0 -82
- package/types/vocab/type.d.ts.map +0 -1
- package/types/vocab/vocab.d.ts +0 -14437
- package/types/vocab/vocab.d.ts.map +0 -1
- package/types/webfinger/handler.d.ts +0 -56
- package/types/webfinger/handler.d.ts.map +0 -1
- package/types/webfinger/jrd.d.ts +0 -52
- package/types/webfinger/jrd.d.ts.map +0 -1
- package/types/webfinger/lookup.d.ts +0 -39
- package/types/webfinger/lookup.d.ts.map +0 -1
- package/types/webfinger/mod.d.ts +0 -9
- package/types/webfinger/mod.d.ts.map +0 -1
- package/types/x/hono.d.ts +0 -46
- package/types/x/hono.d.ts.map +0 -1
- package/types/x/sveltekit.d.ts +0 -42
- package/types/x/sveltekit.d.ts.map +0 -1
- /package/{esm → dist}/codegen/schema.yaml +0 -0
- /package/{esm → dist}/testing/fixtures/activitypub.academy/users/brauca_darradiul +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/announce +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/collection +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/create +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/cross-origin-actor +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/hong-gildong +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/invite +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/key +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/key2 +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/object +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/orderedcollectionpage +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/paged/a +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/paged/b +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/paged-collection +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/person +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/person2 +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/test +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/users/handle +0 -0
- /package/{esm → dist}/testing/fixtures/example.com/wrong-type +0 -0
- /package/{esm → dist}/testing/fixtures/remote.domain/users/bob +0 -0
- /package/{esm → dist}/testing/fixtures/server.example/users/alice +0 -0
- /package/{esm → dist}/testing/fixtures/w3id.org/identity/v1 +0 -0
- /package/{esm → dist}/testing/fixtures/w3id.org/security/data-integrity/v1 +0 -0
- /package/{esm → dist}/testing/fixtures/w3id.org/security/multikey/v1 +0 -0
- /package/{esm → dist}/testing/fixtures/w3id.org/security/v1 +0 -0
- /package/{esm → dist}/testing/fixtures/wizard.casa/users/hongminhee +0 -0
- /package/{esm → dist}/testing/fixtures/www.w3.org/ns/activitystreams +0 -0
- /package/{esm → dist}/testing/fixtures/www.w3.org/ns/did/v1 +0 -0
- /package/{esm → dist}/vocab/accept.yaml +0 -0
- /package/{esm → dist}/vocab/activity.yaml +0 -0
- /package/{esm → dist}/vocab/add.yaml +0 -0
- /package/{esm → dist}/vocab/announce.yaml +0 -0
- /package/{esm → dist}/vocab/application.yaml +0 -0
- /package/{esm → dist}/vocab/arrive.yaml +0 -0
- /package/{esm → dist}/vocab/article.yaml +0 -0
- /package/{esm → dist}/vocab/audio.yaml +0 -0
- /package/{esm → dist}/vocab/block.yaml +0 -0
- /package/{esm → dist}/vocab/chatmessage.yaml +0 -0
- /package/{esm → dist}/vocab/collection.yaml +0 -0
- /package/{esm → dist}/vocab/collectionpage.yaml +0 -0
- /package/{esm → dist}/vocab/create.yaml +0 -0
- /package/{esm → dist}/vocab/dataintegrityproof.yaml +0 -0
- /package/{esm → dist}/vocab/delete.yaml +0 -0
- /package/{esm → dist}/vocab/didservice.yaml +0 -0
- /package/{esm → dist}/vocab/dislike.yaml +0 -0
- /package/{esm → dist}/vocab/document.yaml +0 -0
- /package/{esm → dist}/vocab/emoji.yaml +0 -0
- /package/{esm → dist}/vocab/emojireact.yaml +0 -0
- /package/{esm → dist}/vocab/endpoints.yaml +0 -0
- /package/{esm → dist}/vocab/event.yaml +0 -0
- /package/{esm → dist}/vocab/export.yaml +0 -0
- /package/{esm → dist}/vocab/flag.yaml +0 -0
- /package/{esm → dist}/vocab/follow.yaml +0 -0
- /package/{esm → dist}/vocab/group.yaml +0 -0
- /package/{esm → dist}/vocab/hashtag.yaml +0 -0
- /package/{esm → dist}/vocab/ignore.yaml +0 -0
- /package/{esm → dist}/vocab/image.yaml +0 -0
- /package/{esm → dist}/vocab/intransitiveactivity.yaml +0 -0
- /package/{esm → dist}/vocab/invite.yaml +0 -0
- /package/{esm → dist}/vocab/join.yaml +0 -0
- /package/{esm → dist}/vocab/key.yaml +0 -0
- /package/{esm → dist}/vocab/leave.yaml +0 -0
- /package/{esm → dist}/vocab/like.yaml +0 -0
- /package/{esm → dist}/vocab/link.yaml +0 -0
- /package/{esm → dist}/vocab/listen.yaml +0 -0
- /package/{esm → dist}/vocab/mention.yaml +0 -0
- /package/{esm → dist}/vocab/move.yaml +0 -0
- /package/{esm → dist}/vocab/multikey.yaml +0 -0
- /package/{esm → dist}/vocab/note.yaml +0 -0
- /package/{esm → dist}/vocab/object.yaml +0 -0
- /package/{esm → dist}/vocab/offer.yaml +0 -0
- /package/{esm → dist}/vocab/orderedcollection.yaml +0 -0
- /package/{esm → dist}/vocab/orderedcollectionpage.yaml +0 -0
- /package/{esm → dist}/vocab/organization.yaml +0 -0
- /package/{esm → dist}/vocab/page.yaml +0 -0
- /package/{esm → dist}/vocab/person.yaml +0 -0
- /package/{esm → dist}/vocab/place.yaml +0 -0
- /package/{esm → dist}/vocab/profile.yaml +0 -0
- /package/{esm → dist}/vocab/propertyvalue.yaml +0 -0
- /package/{esm → dist}/vocab/question.yaml +0 -0
- /package/{esm → dist}/vocab/read.yaml +0 -0
- /package/{esm → dist}/vocab/reject.yaml +0 -0
- /package/{esm → dist}/vocab/relationship.yaml +0 -0
- /package/{esm → dist}/vocab/remove.yaml +0 -0
- /package/{esm → dist}/vocab/service.yaml +0 -0
- /package/{esm → dist}/vocab/source.yaml +0 -0
- /package/{esm → dist}/vocab/tentativeaccept.yaml +0 -0
- /package/{esm → dist}/vocab/tentativereject.yaml +0 -0
- /package/{esm → dist}/vocab/tombstone.yaml +0 -0
- /package/{esm → dist}/vocab/travel.yaml +0 -0
- /package/{esm → dist}/vocab/undo.yaml +0 -0
- /package/{esm → dist}/vocab/update.yaml +0 -0
- /package/{esm → dist}/vocab/video.yaml +0 -0
- /package/{esm → dist}/vocab/view.yaml +0 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
import { Temporal } from "@js-temporal/polyfill";
|
2
|
+
import { URLPattern } from "urlpattern-polyfill";
|
3
|
+
import { DocumentLoader } from "../runtime/docloader.js";
|
4
|
+
import { CryptographicKey$1 as CryptographicKey, Multikey$1 as Multikey } from "../vocab/vocab.js";
|
5
|
+
import { TracerProvider } from "@opentelemetry/api";
|
6
|
+
|
7
|
+
//#region sig/key.d.ts
|
8
|
+
/**
|
9
|
+
* Generates a key pair which is appropriate for Fedify.
|
10
|
+
* @param algorithm The algorithm to use. Currently only RSASSA-PKCS1-v1_5 and
|
11
|
+
* Ed25519 are supported.
|
12
|
+
* @returns The generated key pair.
|
13
|
+
* @throws {TypeError} If the algorithm is unsupported.
|
14
|
+
*/
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Generates a key pair which is appropriate for Fedify.
|
18
|
+
* @param algorithm The algorithm to use. Currently only RSASSA-PKCS1-v1_5 and
|
19
|
+
* Ed25519 are supported.
|
20
|
+
* @returns The generated key pair.
|
21
|
+
* @throws {TypeError} If the algorithm is unsupported.
|
22
|
+
*/
|
23
|
+
declare function generateCryptoKeyPair(algorithm?: "RSASSA-PKCS1-v1_5" | "Ed25519"): Promise<CryptoKeyPair>;
|
24
|
+
/**
|
25
|
+
* Exports a key in JWK format.
|
26
|
+
* @param key The key to export. Either public or private key.
|
27
|
+
* @returns The exported key in JWK format. The key is suitable for
|
28
|
+
* serialization and storage.
|
29
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
30
|
+
*/
|
31
|
+
declare function exportJwk(key: CryptoKey): Promise<JsonWebKey>;
|
32
|
+
/**
|
33
|
+
* Imports a key from JWK format.
|
34
|
+
* @param jwk The key in JWK format.
|
35
|
+
* @param type Which type of key to import, either `"public"` or `"private"`.
|
36
|
+
* @returns The imported key.
|
37
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
38
|
+
*/
|
39
|
+
declare function importJwk(jwk: JsonWebKey, type: "public" | "private"): Promise<CryptoKey>;
|
40
|
+
/**
|
41
|
+
* Options for {@link fetchKey}.
|
42
|
+
* @since 1.3.0
|
43
|
+
*/
|
44
|
+
interface FetchKeyOptions {
|
45
|
+
/**
|
46
|
+
* The document loader for loading remote JSON-LD documents.
|
47
|
+
*/
|
48
|
+
documentLoader?: DocumentLoader;
|
49
|
+
/**
|
50
|
+
* The context loader for loading remote JSON-LD contexts.
|
51
|
+
*/
|
52
|
+
contextLoader?: DocumentLoader;
|
53
|
+
/**
|
54
|
+
* The key cache to use for caching public keys.
|
55
|
+
* @since 0.12.0
|
56
|
+
*/
|
57
|
+
keyCache?: KeyCache;
|
58
|
+
/**
|
59
|
+
* The OpenTelemetry tracer provider to use for tracing. If omitted,
|
60
|
+
* the global tracer provider is used.
|
61
|
+
* @since 1.3.0
|
62
|
+
*/
|
63
|
+
tracerProvider?: TracerProvider;
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* The result of {@link fetchKey}.
|
67
|
+
* @since 1.3.0
|
68
|
+
*/
|
69
|
+
interface FetchKeyResult<T extends CryptographicKey | Multikey> {
|
70
|
+
/**
|
71
|
+
* The fetched (or cached) key.
|
72
|
+
*/
|
73
|
+
readonly key: T & {
|
74
|
+
publicKey: CryptoKey;
|
75
|
+
} | null;
|
76
|
+
/**
|
77
|
+
* Whether the key is fetched from the cache.
|
78
|
+
*/
|
79
|
+
readonly cached: boolean;
|
80
|
+
}
|
81
|
+
/**
|
82
|
+
* Fetches a {@link CryptographicKey} or {@link Multikey} from the given URL.
|
83
|
+
* If the given URL contains an {@link Actor} object, it tries to find
|
84
|
+
* the corresponding key in the `publicKey` or `assertionMethod` property.
|
85
|
+
* @typeParam T The type of the key to fetch. Either {@link CryptographicKey}
|
86
|
+
* or {@link Multikey}.
|
87
|
+
* @param keyId The URL of the key.
|
88
|
+
* @param cls The class of the key to fetch. Either {@link CryptographicKey}
|
89
|
+
* or {@link Multikey}.
|
90
|
+
* @param options Options for fetching the key. See {@link FetchKeyOptions}.
|
91
|
+
* @returns The fetched key or `null` if the key is not found.
|
92
|
+
* @since 1.3.0
|
93
|
+
*/
|
94
|
+
declare function fetchKey<T extends CryptographicKey | Multikey>(keyId: URL | string, cls: (new (...args: any[]) => T) & {
|
95
|
+
fromJsonLd(jsonLd: unknown, options: {
|
96
|
+
documentLoader?: DocumentLoader;
|
97
|
+
contextLoader?: DocumentLoader;
|
98
|
+
tracerProvider?: TracerProvider;
|
99
|
+
}): Promise<T>;
|
100
|
+
}, options?: FetchKeyOptions): Promise<FetchKeyResult<T>>;
|
101
|
+
/**
|
102
|
+
* A cache for storing cryptographic keys.
|
103
|
+
* @since 0.12.0
|
104
|
+
*/
|
105
|
+
interface KeyCache {
|
106
|
+
/**
|
107
|
+
* Gets a key from the cache.
|
108
|
+
* @param keyId The key ID.
|
109
|
+
* @returns The key if found, `null` if the key is not available (e.g.,
|
110
|
+
* fetching the key was tried but failed), or `undefined`
|
111
|
+
* if the cache is not available.
|
112
|
+
*/
|
113
|
+
get(keyId: URL): Promise<CryptographicKey | Multikey | null | undefined>;
|
114
|
+
/**
|
115
|
+
* Sets a key to the cache.
|
116
|
+
*
|
117
|
+
* Note that this caches unavailable keys (i.e., `null`) as well,
|
118
|
+
* and it is recommended to make unavailable keys expire after a short period.
|
119
|
+
* @param keyId The key ID.
|
120
|
+
* @param key The key to cache. `null` means the key is not available
|
121
|
+
* (e.g., fetching the key was tried but failed).
|
122
|
+
*/
|
123
|
+
set(keyId: URL, key: CryptographicKey | Multikey | null): Promise<void>;
|
124
|
+
} //#endregion
|
125
|
+
export { FetchKeyOptions, FetchKeyResult, KeyCache, exportJwk as exportJwk$1, fetchKey as fetchKey$1, generateCryptoKeyPair as generateCryptoKeyPair$1, importJwk as importJwk$1 };
|
package/dist/sig/key.js
ADDED
@@ -0,0 +1,257 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
|
+
import { deno_default } from "../deno.js";
|
6
|
+
import { getDocumentLoader } from "../runtime/docloader.js";
|
7
|
+
import { CryptographicKey, Object as Object$1 } from "../vocab/vocab.js";
|
8
|
+
import { isActor } from "../vocab/actor.js";
|
9
|
+
import { getLogger } from "@logtape/logtape";
|
10
|
+
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
11
|
+
|
12
|
+
//#region sig/key.ts
|
13
|
+
/**
|
14
|
+
* Checks if the given key is valid and supported. No-op if the key is valid,
|
15
|
+
* otherwise throws an error.
|
16
|
+
* @param key The key to check.
|
17
|
+
* @param type Which type of key to check. If not specified, the key can be
|
18
|
+
* either public or private.
|
19
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
20
|
+
*/
|
21
|
+
function validateCryptoKey(key, type) {
|
22
|
+
if (type != null && key.type !== type) throw new TypeError(`The key is not a ${type} key.`);
|
23
|
+
if (!key.extractable) throw new TypeError("The key is not extractable.");
|
24
|
+
if (key.algorithm.name !== "RSASSA-PKCS1-v1_5" && key.algorithm.name !== "Ed25519") throw new TypeError("Currently only RSASSA-PKCS1-v1_5 and Ed25519 keys are supported. More algorithms will be added in the future!");
|
25
|
+
if (key.algorithm.name === "RSASSA-PKCS1-v1_5") {
|
26
|
+
const algorithm = key.algorithm;
|
27
|
+
if (algorithm.hash.name !== "SHA-256") throw new TypeError("For compatibility with the existing Fediverse software (e.g., Mastodon), hash algorithm for RSASSA-PKCS1-v1_5 keys must be SHA-256.");
|
28
|
+
}
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Generates a key pair which is appropriate for Fedify.
|
32
|
+
* @param algorithm The algorithm to use. Currently only RSASSA-PKCS1-v1_5 and
|
33
|
+
* Ed25519 are supported.
|
34
|
+
* @returns The generated key pair.
|
35
|
+
* @throws {TypeError} If the algorithm is unsupported.
|
36
|
+
*/
|
37
|
+
function generateCryptoKeyPair(algorithm) {
|
38
|
+
if (algorithm == null) getLogger([
|
39
|
+
"fedify",
|
40
|
+
"sig",
|
41
|
+
"key"
|
42
|
+
]).warn("No algorithm specified. Using RSASSA-PKCS1-v1_5 by default, but it is recommended to specify the algorithm explicitly as the parameter will be required in the future.");
|
43
|
+
if (algorithm == null || algorithm === "RSASSA-PKCS1-v1_5") return crypto.subtle.generateKey({
|
44
|
+
name: "RSASSA-PKCS1-v1_5",
|
45
|
+
modulusLength: 4096,
|
46
|
+
publicExponent: new Uint8Array([
|
47
|
+
1,
|
48
|
+
0,
|
49
|
+
1
|
50
|
+
]),
|
51
|
+
hash: "SHA-256"
|
52
|
+
}, true, ["sign", "verify"]);
|
53
|
+
else if (algorithm === "Ed25519") return crypto.subtle.generateKey("Ed25519", true, ["sign", "verify"]);
|
54
|
+
throw new TypeError("Unsupported algorithm: " + algorithm);
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* Exports a key in JWK format.
|
58
|
+
* @param key The key to export. Either public or private key.
|
59
|
+
* @returns The exported key in JWK format. The key is suitable for
|
60
|
+
* serialization and storage.
|
61
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
62
|
+
*/
|
63
|
+
async function exportJwk(key) {
|
64
|
+
validateCryptoKey(key);
|
65
|
+
const jwk = await crypto.subtle.exportKey("jwk", key);
|
66
|
+
if (jwk.crv === "Ed25519") jwk.alg = "Ed25519";
|
67
|
+
return jwk;
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Imports a key from JWK format.
|
71
|
+
* @param jwk The key in JWK format.
|
72
|
+
* @param type Which type of key to import, either `"public"` or `"private"`.
|
73
|
+
* @returns The imported key.
|
74
|
+
* @throws {TypeError} If the key is invalid or unsupported.
|
75
|
+
*/
|
76
|
+
async function importJwk(jwk, type) {
|
77
|
+
let key;
|
78
|
+
if (jwk.kty === "RSA" && jwk.alg === "RS256") key = await crypto.subtle.importKey("jwk", jwk, {
|
79
|
+
name: "RSASSA-PKCS1-v1_5",
|
80
|
+
hash: "SHA-256"
|
81
|
+
}, true, type === "public" ? ["verify"] : ["sign"]);
|
82
|
+
else if (jwk.kty === "OKP" && jwk.crv === "Ed25519") key = await crypto.subtle.importKey("jwk", jwk, "Ed25519", true, type === "public" ? ["verify"] : ["sign"]);
|
83
|
+
else throw new TypeError("Unsupported JWK format.");
|
84
|
+
validateCryptoKey(key, type);
|
85
|
+
return key;
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Fetches a {@link CryptographicKey} or {@link Multikey} from the given URL.
|
89
|
+
* If the given URL contains an {@link Actor} object, it tries to find
|
90
|
+
* the corresponding key in the `publicKey` or `assertionMethod` property.
|
91
|
+
* @typeParam T The type of the key to fetch. Either {@link CryptographicKey}
|
92
|
+
* or {@link Multikey}.
|
93
|
+
* @param keyId The URL of the key.
|
94
|
+
* @param cls The class of the key to fetch. Either {@link CryptographicKey}
|
95
|
+
* or {@link Multikey}.
|
96
|
+
* @param options Options for fetching the key. See {@link FetchKeyOptions}.
|
97
|
+
* @returns The fetched key or `null` if the key is not found.
|
98
|
+
* @since 1.3.0
|
99
|
+
*/
|
100
|
+
function fetchKey(keyId, cls, options = {}) {
|
101
|
+
const tracerProvider = options.tracerProvider ?? trace.getTracerProvider();
|
102
|
+
const tracer = tracerProvider.getTracer(deno_default.name, deno_default.version);
|
103
|
+
keyId = typeof keyId === "string" ? new URL(keyId) : keyId;
|
104
|
+
return tracer.startActiveSpan("activitypub.fetch_key", {
|
105
|
+
kind: SpanKind.CLIENT,
|
106
|
+
attributes: {
|
107
|
+
"http.method": "GET",
|
108
|
+
"url.full": keyId.href,
|
109
|
+
"url.scheme": keyId.protocol.replace(/:$/, ""),
|
110
|
+
"url.domain": keyId.hostname,
|
111
|
+
"url.path": keyId.pathname,
|
112
|
+
"url.query": keyId.search.replace(/^\?/, ""),
|
113
|
+
"url.fragment": keyId.hash.replace(/^#/, "")
|
114
|
+
}
|
115
|
+
}, async (span) => {
|
116
|
+
try {
|
117
|
+
const result = await fetchKeyInternal(keyId, cls, options);
|
118
|
+
span.setAttribute("activitypub.actor.key.cached", result.cached);
|
119
|
+
return result;
|
120
|
+
} catch (e) {
|
121
|
+
span.setStatus({
|
122
|
+
code: SpanStatusCode.ERROR,
|
123
|
+
message: String(e)
|
124
|
+
});
|
125
|
+
throw e;
|
126
|
+
} finally {
|
127
|
+
span.end();
|
128
|
+
}
|
129
|
+
});
|
130
|
+
}
|
131
|
+
async function fetchKeyInternal(keyId, cls, { documentLoader, contextLoader, keyCache, tracerProvider } = {}) {
|
132
|
+
const logger = getLogger([
|
133
|
+
"fedify",
|
134
|
+
"sig",
|
135
|
+
"key"
|
136
|
+
]);
|
137
|
+
const cacheKey = typeof keyId === "string" ? new URL(keyId) : keyId;
|
138
|
+
keyId = typeof keyId === "string" ? keyId : keyId.href;
|
139
|
+
if (keyCache != null) {
|
140
|
+
const cachedKey = await keyCache.get(cacheKey);
|
141
|
+
if (cachedKey instanceof cls && cachedKey.publicKey != null) {
|
142
|
+
logger.debug("Key {keyId} found in cache.", { keyId });
|
143
|
+
return {
|
144
|
+
key: cachedKey,
|
145
|
+
cached: true
|
146
|
+
};
|
147
|
+
} else if (cachedKey === null) {
|
148
|
+
logger.debug("Entry {keyId} found in cache, but it is unavailable.", { keyId });
|
149
|
+
return {
|
150
|
+
key: null,
|
151
|
+
cached: true
|
152
|
+
};
|
153
|
+
}
|
154
|
+
}
|
155
|
+
logger.debug("Fetching key {keyId} to verify signature...", { keyId });
|
156
|
+
let document;
|
157
|
+
try {
|
158
|
+
const remoteDocument = await (documentLoader ?? getDocumentLoader())(keyId);
|
159
|
+
document = remoteDocument.document;
|
160
|
+
} catch (_) {
|
161
|
+
logger.debug("Failed to fetch key {keyId}.", { keyId });
|
162
|
+
await keyCache?.set(cacheKey, null);
|
163
|
+
return {
|
164
|
+
key: null,
|
165
|
+
cached: false
|
166
|
+
};
|
167
|
+
}
|
168
|
+
let object;
|
169
|
+
try {
|
170
|
+
object = await Object$1.fromJsonLd(document, {
|
171
|
+
documentLoader,
|
172
|
+
contextLoader,
|
173
|
+
tracerProvider
|
174
|
+
});
|
175
|
+
} catch (e) {
|
176
|
+
if (!(e instanceof TypeError)) throw e;
|
177
|
+
try {
|
178
|
+
object = await cls.fromJsonLd(document, {
|
179
|
+
documentLoader,
|
180
|
+
contextLoader,
|
181
|
+
tracerProvider
|
182
|
+
});
|
183
|
+
} catch (e$1) {
|
184
|
+
if (e$1 instanceof TypeError) {
|
185
|
+
logger.debug("Failed to verify; key {keyId} returned an invalid object.", { keyId });
|
186
|
+
await keyCache?.set(cacheKey, null);
|
187
|
+
return {
|
188
|
+
key: null,
|
189
|
+
cached: false
|
190
|
+
};
|
191
|
+
}
|
192
|
+
throw e$1;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
let key = null;
|
196
|
+
if (object instanceof cls) key = object;
|
197
|
+
else if (isActor(object)) {
|
198
|
+
const keys = cls === CryptographicKey ? object.getPublicKeys({
|
199
|
+
documentLoader,
|
200
|
+
contextLoader,
|
201
|
+
tracerProvider
|
202
|
+
}) : object.getAssertionMethods({
|
203
|
+
documentLoader,
|
204
|
+
contextLoader,
|
205
|
+
tracerProvider
|
206
|
+
});
|
207
|
+
let length = 0;
|
208
|
+
let lastKey = null;
|
209
|
+
for await (const k of keys) {
|
210
|
+
length++;
|
211
|
+
lastKey = k;
|
212
|
+
if (k.id?.href === keyId) {
|
213
|
+
key = k;
|
214
|
+
break;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
const keyIdUrl = new URL(keyId);
|
218
|
+
if (key == null && keyIdUrl.hash === "" && length === 1) key = lastKey;
|
219
|
+
if (key == null) {
|
220
|
+
logger.debug("Failed to verify; object {keyId} returned an {actorType}, but has no key matching {keyId}.", {
|
221
|
+
keyId,
|
222
|
+
actorType: object.constructor.name
|
223
|
+
});
|
224
|
+
await keyCache?.set(cacheKey, null);
|
225
|
+
return {
|
226
|
+
key: null,
|
227
|
+
cached: false
|
228
|
+
};
|
229
|
+
}
|
230
|
+
} else {
|
231
|
+
logger.debug("Failed to verify; key {keyId} returned an invalid object.", { keyId });
|
232
|
+
await keyCache?.set(cacheKey, null);
|
233
|
+
return {
|
234
|
+
key: null,
|
235
|
+
cached: false
|
236
|
+
};
|
237
|
+
}
|
238
|
+
if (key.publicKey == null) {
|
239
|
+
logger.debug("Failed to verify; key {keyId} has no publicKeyPem field.", { keyId });
|
240
|
+
await keyCache?.set(cacheKey, null);
|
241
|
+
return {
|
242
|
+
key: null,
|
243
|
+
cached: false
|
244
|
+
};
|
245
|
+
}
|
246
|
+
if (keyCache != null) {
|
247
|
+
await keyCache.set(cacheKey, key);
|
248
|
+
logger.debug("Key {keyId} cached.", { keyId });
|
249
|
+
}
|
250
|
+
return {
|
251
|
+
key,
|
252
|
+
cached: false
|
253
|
+
};
|
254
|
+
}
|
255
|
+
|
256
|
+
//#endregion
|
257
|
+
export { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey };
|
@@ -0,0 +1,242 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
|
5
|
+
import { CryptographicKey, Multikey } from "../vocab/vocab.js";
|
6
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key.js";
|
7
|
+
import { assertEquals } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_equals.js";
|
8
|
+
import { test } from "../testing/mod.js";
|
9
|
+
import { assertRejects } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_rejects.js";
|
10
|
+
import { assertThrows } from "../node_modules/.pnpm/@jsr_std__assert@0.226.0/node_modules/@jsr/std__assert/assert_throws.js";
|
11
|
+
import { mockDocumentLoader } from "../testing/docloader.js";
|
12
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../testing/keys.js";
|
13
|
+
|
14
|
+
//#region sig/key.test.ts
|
15
|
+
test("validateCryptoKey()", async () => {
|
16
|
+
const pkcs1v15 = await crypto.subtle.generateKey({
|
17
|
+
name: "RSASSA-PKCS1-v1_5",
|
18
|
+
modulusLength: 2048,
|
19
|
+
publicExponent: new Uint8Array([
|
20
|
+
1,
|
21
|
+
0,
|
22
|
+
1
|
23
|
+
]),
|
24
|
+
hash: "SHA-256"
|
25
|
+
}, true, ["sign", "verify"]);
|
26
|
+
validateCryptoKey(pkcs1v15.privateKey, "private");
|
27
|
+
validateCryptoKey(pkcs1v15.privateKey);
|
28
|
+
validateCryptoKey(pkcs1v15.publicKey, "public");
|
29
|
+
validateCryptoKey(pkcs1v15.publicKey);
|
30
|
+
const ed25519 = await crypto.subtle.generateKey("Ed25519", true, ["sign", "verify"]);
|
31
|
+
validateCryptoKey(ed25519.privateKey, "private");
|
32
|
+
validateCryptoKey(ed25519.privateKey);
|
33
|
+
validateCryptoKey(ed25519.publicKey, "public");
|
34
|
+
validateCryptoKey(ed25519.publicKey);
|
35
|
+
assertThrows(() => validateCryptoKey(pkcs1v15.privateKey, "public"), TypeError, "The key is not a public key.");
|
36
|
+
assertThrows(() => validateCryptoKey(pkcs1v15.publicKey, "private"), TypeError, "The key is not a private key.");
|
37
|
+
assertThrows(() => validateCryptoKey(ed25519.privateKey, "public"), TypeError, "The key is not a public key.");
|
38
|
+
assertThrows(() => validateCryptoKey(ed25519.publicKey, "private"), TypeError, "The key is not a private key.");
|
39
|
+
const ecdsa = await crypto.subtle.generateKey({
|
40
|
+
name: "ECDSA",
|
41
|
+
namedCurve: "P-256"
|
42
|
+
}, true, ["sign", "verify"]);
|
43
|
+
assertThrows(() => validateCryptoKey(ecdsa.publicKey), TypeError, "only RSASSA-PKCS1-v1_5 and Ed25519");
|
44
|
+
const pkcs1v15Sha512 = await crypto.subtle.generateKey({
|
45
|
+
name: "RSASSA-PKCS1-v1_5",
|
46
|
+
modulusLength: 2048,
|
47
|
+
publicExponent: new Uint8Array([
|
48
|
+
1,
|
49
|
+
0,
|
50
|
+
1
|
51
|
+
]),
|
52
|
+
hash: "SHA-512"
|
53
|
+
}, true, ["sign", "verify"]);
|
54
|
+
assertThrows(() => validateCryptoKey(pkcs1v15Sha512.privateKey), TypeError, "hash algorithm for RSASSA-PKCS1-v1_5 keys must be SHA-256");
|
55
|
+
});
|
56
|
+
test("generateCryptoKeyPair()", async () => {
|
57
|
+
const rsaKeyPair = await generateCryptoKeyPair();
|
58
|
+
assertEquals(rsaKeyPair.privateKey.algorithm, {
|
59
|
+
name: "RSASSA-PKCS1-v1_5",
|
60
|
+
hash: { name: "SHA-256" },
|
61
|
+
modulusLength: 4096,
|
62
|
+
publicExponent: new Uint8Array([
|
63
|
+
1,
|
64
|
+
0,
|
65
|
+
1
|
66
|
+
])
|
67
|
+
});
|
68
|
+
validateCryptoKey(rsaKeyPair.privateKey, "private");
|
69
|
+
validateCryptoKey(rsaKeyPair.publicKey, "public");
|
70
|
+
const rsaKeyPair2 = await generateCryptoKeyPair("RSASSA-PKCS1-v1_5");
|
71
|
+
assertEquals(rsaKeyPair2.privateKey.algorithm, {
|
72
|
+
name: "RSASSA-PKCS1-v1_5",
|
73
|
+
hash: { name: "SHA-256" },
|
74
|
+
modulusLength: 4096,
|
75
|
+
publicExponent: new Uint8Array([
|
76
|
+
1,
|
77
|
+
0,
|
78
|
+
1
|
79
|
+
])
|
80
|
+
});
|
81
|
+
validateCryptoKey(rsaKeyPair2.privateKey, "private");
|
82
|
+
validateCryptoKey(rsaKeyPair2.publicKey, "public");
|
83
|
+
const ed25519KeyPair = await generateCryptoKeyPair("Ed25519");
|
84
|
+
assertEquals(ed25519KeyPair.privateKey.algorithm, { name: "Ed25519" });
|
85
|
+
validateCryptoKey(ed25519KeyPair.privateKey, "private");
|
86
|
+
validateCryptoKey(ed25519KeyPair.publicKey, "public");
|
87
|
+
});
|
88
|
+
const rsaPublicJwk = {
|
89
|
+
alg: "RS256",
|
90
|
+
kty: "RSA",
|
91
|
+
e: "AQAB",
|
92
|
+
n: "oRmBtnxbdFutoRd1GLGwwGTrsqlRRWUe11hHQaoRLGf5LwQ0tIc6I9q-dynliw-2kxYsLn9SH2je6HcTYOolgW7F_cOWXZQN04b-OiYcU1ConAhLjmn4k1uKawJ614y0ScPNd8PQ-CljsnlPxbq9ofaCMe2BV3B6y09aCuGFJ0nxn1_ubjmIBIWWFTAznoz1J9BhJDGyt3IO3ABy3f9zDVlR32L_n5VIkXnxkjUKdzMAOzYb62kuKOp1iznRTPrV71SNtivJMwSh_LVgBrmZjtIn_oim-KyX_fdLU3tQ7VClyqmJzyAjccOH6Qj6nFTPh-vX07gqN8IlLT2uye4waw",
|
93
|
+
key_ops: ["verify"],
|
94
|
+
ext: true
|
95
|
+
};
|
96
|
+
const rsaPrivateJwk = {
|
97
|
+
alg: "RS256",
|
98
|
+
kty: "RSA",
|
99
|
+
d: "f-Pa2L7Sb4YUSa1wlSEC-0li35uQ3DFRkY0QTG2xYnpMFGoXWTV9D1epGrqU8pePzias_mCvFiZPx2Y4aRiYm68P2Mu7hCBz9XfWPN1iYTXIFM51BOLVpk3mjdsTICkgOusJI0m9jDR3ZAjwLj14K6qhYvd0VbECmoItLjQoW64Sc9iDgD3CvGoTqv71oTfW70cy-Ve1xQ9CThAmMOTKe6rYCUTA8tMZcPszifZ4iOasOjgvRxyel86LqGNtyslY8k86gQlMtFpR3VeZV_8otAWZn0mDc4vVU8HUO-DzYiIFdAcVxfPJh6tx7snCTsdzze_98OEAK4EWYBn7vsGFeQ",
|
100
|
+
dp: "lrXReSkZQXSmSxQ1TimV5kMt96gSu4_r-OGIabVmoG5irhjMyN08Jjc3qK9oZS3uNM-LxAOg4OdzefjsF9IMfZJl6wuLd85g_l4BHSaEk5zC8l3QugX1IU9XZ7wDxXUrutMoNtZXDtdbveAMtHNZlIu-qmEBDWzkqJiz2WpW-AE",
|
101
|
+
dq: "TCLoYcX0ywuNA9DSU6v94KmBh1e_IELEFVbJb5vvLKlAK-ycMK0rfzC1co9Hhkski1LskTnxnoqwZ5oF-7X10eZvy3Te_FHSl0IsTar8ST2-MRtGh2UjTdvP_nnygj4GcXvKfngjPEfthDzVfVMeR38oDhDxMFD5AaY_v9aMH_U",
|
102
|
+
e: "AQAB",
|
103
|
+
n: "oRmBtnxbdFutoRd1GLGwwGTrsqlRRWUe11hHQaoRLGf5LwQ0tIc6I9q-dynliw-2kxYsLn9SH2je6HcTYOolgW7F_cOWXZQN04b-OiYcU1ConAhLjmn4k1uKawJ614y0ScPNd8PQ-CljsnlPxbq9ofaCMe2BV3B6y09aCuGFJ0nxn1_ubjmIBIWWFTAznoz1J9BhJDGyt3IO3ABy3f9zDVlR32L_n5VIkXnxkjUKdzMAOzYb62kuKOp1iznRTPrV71SNtivJMwSh_LVgBrmZjtIn_oim-KyX_fdLU3tQ7VClyqmJzyAjccOH6Qj6nFTPh-vX07gqN8IlLT2uye4waw",
|
104
|
+
p: "xuDd7tE_47NWwvDTpB403X13EPA3768MlNpl_v_BGiuP-1uvWUnsOVZB0F3HXSVg1sBVNtec46v7OU0P693gvYUhouTmSQpayY_VFqMklprWgs7cfneqbeDzv3C4Fw5waY-vjoINDsE1jYELUnl5cVjXXyxuGFG-IaLJKmHmHX0",
|
105
|
+
q: "z17X2t9zO6WcMp6W04gXdKmniJlxekOrOmWnrX9AwaM8NYCLN3y23r59nqNP9aUAWG1eoGFmav2rYQitWhz_VsEu2pQUsfsYKZYHchu5p_jCYwuM3rIg7aCbhtGv_tBoWAf1NvKMhtp2es0ZaHZCzKDGSOkIYDOB-ZDmNigWigc",
|
106
|
+
qi: "KC6gWhVM_x7iQgl-gEoSh_iM1Jf314ZLJKAAz1DsTHMi5yuCkCMmmY7h6jlkAJVngK3KIf5LPoAeUoGJ26E1kocbRU_nZBftMDVXHCYICz8qMQXR5euN_5SeJnu_VWXH-CY83MKhPYAorWSZ1-G9gh-C16LlRMzJwoE6h5QNeNo",
|
107
|
+
key_ops: ["sign"],
|
108
|
+
ext: true
|
109
|
+
};
|
110
|
+
test("exportJwk()", async () => {
|
111
|
+
assertEquals(await exportJwk(rsaPrivateKey2), rsaPrivateJwk);
|
112
|
+
assertEquals(await exportJwk(rsaPublicKey2.publicKey), rsaPublicJwk);
|
113
|
+
});
|
114
|
+
test("importJwk()", async () => {
|
115
|
+
assertEquals(await importJwk(rsaPrivateJwk, "private"), rsaPrivateKey2);
|
116
|
+
assertEquals(await importJwk(rsaPublicJwk, "public"), rsaPublicKey2.publicKey);
|
117
|
+
assertRejects(() => importJwk(rsaPublicJwk, "private"));
|
118
|
+
assertRejects(() => importJwk(rsaPrivateJwk, "public"));
|
119
|
+
});
|
120
|
+
test("fetchKey()", async () => {
|
121
|
+
const cache = {};
|
122
|
+
const options = {
|
123
|
+
documentLoader: mockDocumentLoader,
|
124
|
+
contextLoader: mockDocumentLoader,
|
125
|
+
keyCache: {
|
126
|
+
get(keyId) {
|
127
|
+
return Promise.resolve(cache[keyId.href]);
|
128
|
+
},
|
129
|
+
set(keyId, key) {
|
130
|
+
cache[keyId.href] = key;
|
131
|
+
return Promise.resolve();
|
132
|
+
}
|
133
|
+
}
|
134
|
+
};
|
135
|
+
assertEquals(await fetchKey("https://example.com/nothing", CryptographicKey, options), {
|
136
|
+
key: null,
|
137
|
+
cached: false
|
138
|
+
});
|
139
|
+
assertEquals(cache, { "https://example.com/nothing": null });
|
140
|
+
assertEquals(await fetchKey("https://example.com/nothing", CryptographicKey, options), {
|
141
|
+
key: null,
|
142
|
+
cached: true
|
143
|
+
});
|
144
|
+
assertEquals(cache, { "https://example.com/nothing": null });
|
145
|
+
assertEquals(await fetchKey("https://example.com/object", CryptographicKey, options), {
|
146
|
+
key: null,
|
147
|
+
cached: false
|
148
|
+
});
|
149
|
+
assertEquals(cache, {
|
150
|
+
"https://example.com/nothing": null,
|
151
|
+
"https://example.com/object": null
|
152
|
+
});
|
153
|
+
assertEquals(await fetchKey("https://example.com/key", CryptographicKey, options), {
|
154
|
+
key: rsaPublicKey1,
|
155
|
+
cached: false
|
156
|
+
});
|
157
|
+
assertEquals(cache, {
|
158
|
+
"https://example.com/nothing": null,
|
159
|
+
"https://example.com/object": null,
|
160
|
+
"https://example.com/key": rsaPublicKey1
|
161
|
+
});
|
162
|
+
assertEquals(await fetchKey("https://example.com/key", CryptographicKey, options), {
|
163
|
+
key: rsaPublicKey1,
|
164
|
+
cached: true
|
165
|
+
});
|
166
|
+
assertEquals(cache, {
|
167
|
+
"https://example.com/nothing": null,
|
168
|
+
"https://example.com/object": null,
|
169
|
+
"https://example.com/key": rsaPublicKey1
|
170
|
+
});
|
171
|
+
assertEquals(await fetchKey("https://example.com/person#no-key", CryptographicKey, options), {
|
172
|
+
key: null,
|
173
|
+
cached: false
|
174
|
+
});
|
175
|
+
assertEquals(cache, {
|
176
|
+
"https://example.com/nothing": null,
|
177
|
+
"https://example.com/object": null,
|
178
|
+
"https://example.com/key": rsaPublicKey1,
|
179
|
+
"https://example.com/person#no-key": null
|
180
|
+
});
|
181
|
+
assertEquals(await fetchKey("https://example.com/person2#key3", CryptographicKey, options), {
|
182
|
+
key: rsaPublicKey3,
|
183
|
+
cached: false
|
184
|
+
});
|
185
|
+
assertEquals(cache, {
|
186
|
+
"https://example.com/nothing": null,
|
187
|
+
"https://example.com/object": null,
|
188
|
+
"https://example.com/key": rsaPublicKey1,
|
189
|
+
"https://example.com/person#no-key": null,
|
190
|
+
"https://example.com/person2#key3": rsaPublicKey3
|
191
|
+
});
|
192
|
+
assertEquals(await fetchKey("https://example.com/person2#key3", CryptographicKey, options), {
|
193
|
+
key: rsaPublicKey3,
|
194
|
+
cached: true
|
195
|
+
});
|
196
|
+
assertEquals(cache, {
|
197
|
+
"https://example.com/nothing": null,
|
198
|
+
"https://example.com/object": null,
|
199
|
+
"https://example.com/key": rsaPublicKey1,
|
200
|
+
"https://example.com/person#no-key": null,
|
201
|
+
"https://example.com/person2#key3": rsaPublicKey3
|
202
|
+
});
|
203
|
+
assertEquals(await fetchKey("https://example.com/person2#key4", Multikey, options), {
|
204
|
+
key: ed25519Multikey,
|
205
|
+
cached: false
|
206
|
+
});
|
207
|
+
assertEquals(cache, {
|
208
|
+
"https://example.com/nothing": null,
|
209
|
+
"https://example.com/object": null,
|
210
|
+
"https://example.com/key": rsaPublicKey1,
|
211
|
+
"https://example.com/person#no-key": null,
|
212
|
+
"https://example.com/person2#key3": rsaPublicKey3,
|
213
|
+
"https://example.com/person2#key4": ed25519Multikey
|
214
|
+
});
|
215
|
+
assertEquals(await fetchKey("https://example.com/person2#key4", Multikey, options), {
|
216
|
+
key: ed25519Multikey,
|
217
|
+
cached: true
|
218
|
+
});
|
219
|
+
assertEquals(await fetchKey("https://example.com/key", CryptographicKey, {
|
220
|
+
...options,
|
221
|
+
keyCache: void 0
|
222
|
+
}), {
|
223
|
+
key: rsaPublicKey1,
|
224
|
+
cached: false
|
225
|
+
});
|
226
|
+
assertEquals(await fetchKey("https://example.com/users/handle", CryptographicKey, options), {
|
227
|
+
key: new CryptographicKey({
|
228
|
+
id: new URL("https://example.com/users/handle#main-key"),
|
229
|
+
publicKey: await importJwk({
|
230
|
+
kty: "RSA",
|
231
|
+
alg: "RS256",
|
232
|
+
n: "oRmBtnxbdFutoRd1GLGwwGTrsqlRRWUe11hHQaoRLGf5LwQ0tIc6I9q-dynliw-2kxYsLn9SH2je6HcTYOolgW7F_cOWXZQN04b-OiYcU1ConAhLjmn4k1uKawJ614y0ScPNd8PQ-CljsnlPxbq9ofaCMe2BV3B6y09aCuGFJ0nxn1_ubjmIBIWWFTAznoz1J9BhJDGyt3IO3ABy3f9zDVlR32L_n5VIkXnxkjUKdzMAOzYb62kuKOp1iznRTPrV71SNtivJMwSh_LVgBrmZjtIn_oim-KyX_fdLU3tQ7VClyqmJzyAjccOH6Qj6nFTPh-vX07gqN8IlLT2uye4waw",
|
233
|
+
e: "AQAB",
|
234
|
+
key_ops: ["verify"],
|
235
|
+
ext: true
|
236
|
+
}, "public")
|
237
|
+
}),
|
238
|
+
cached: false
|
239
|
+
});
|
240
|
+
});
|
241
|
+
|
242
|
+
//#endregion
|