@fedify/fedify 0.10.0-dev.186 → 0.10.0-dev.190

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. package/CHANGES.md +31 -0
  2. package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/mod.js +32 -21
  3. package/esm/federation/handler.js +3 -5
  4. package/esm/federation/middleware.js +115 -25
  5. package/esm/nodeinfo/types.js +1 -1
  6. package/esm/runtime/key.js +23 -3
  7. package/esm/sig/key.js +44 -16
  8. package/esm/testing/fixtures/example.com/key4 +7 -0
  9. package/esm/testing/fixtures/example.com/person2 +6 -0
  10. package/package.json +2 -1
  11. package/types/deps/jsr.io/@std/assert/0.226.0/assert.d.ts.map +1 -0
  12. package/types/deps/jsr.io/@std/assert/0.226.0/assertion_error.d.ts.map +1 -0
  13. package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/common.d.ts.map +1 -1
  14. package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/encoding.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/language.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/media_type.d.ts.map +1 -1
  17. package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/negotiation.d.ts +26 -21
  18. package/types/deps/jsr.io/@std/http/0.224.3/negotiation.d.ts.map +1 -0
  19. package/types/deps/jsr.io/@std/semver/0.224.2/_constants.d.ts.map +1 -0
  20. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_shared.d.ts.map +1 -1
  21. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_test_comparator_set.d.ts.map +1 -1
  22. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/can_parse.d.ts.map +1 -1
  23. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/compare.d.ts.map +1 -1
  24. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/constants.d.ts.map +1 -1
  25. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/difference.d.ts.map +1 -1
  26. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/equals.d.ts.map +1 -1
  27. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format_range.d.ts.map +1 -1
  29. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_or_equal.d.ts.map +1 -1
  30. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than_range.d.ts.map +1 -1
  32. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/increment.d.ts.map +1 -1
  33. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_range.d.ts.map +1 -1
  34. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_semver.d.ts.map +1 -1
  35. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_or_equal.d.ts.map +1 -1
  36. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than_range.d.ts.map +1 -1
  38. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/max_satisfying.d.ts.map +1 -1
  39. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/min_satisfying.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/mod.d.ts +32 -21
  41. package/types/deps/jsr.io/@std/semver/0.224.2/mod.d.ts.map +1 -0
  42. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/not_equals.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse_range.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_intersects.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_max.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_min.d.ts.map +1 -1
  48. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/satisfies.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/test_range.d.ts.map +1 -1
  50. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse.d.ts.map +1 -1
  51. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse_range.d.ts.map +1 -1
  52. package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/types.d.ts.map +1 -1
  53. package/types/deps/jsr.io/@std/text/{0.224.1 → 0.224.2}/_util.d.ts.map +1 -1
  54. package/types/deps/jsr.io/@std/text/0.224.2/case.d.ts.map +1 -0
  55. package/types/deps/jsr.io/@std/text/0.224.2/closest_string.d.ts.map +1 -0
  56. package/types/deps/jsr.io/@std/text/0.224.2/compare_similarity.d.ts.map +1 -0
  57. package/types/deps/jsr.io/@std/text/0.224.2/levenshtein_distance.d.ts.map +1 -0
  58. package/types/deps/jsr.io/@std/text/0.224.2/mod.d.ts.map +1 -0
  59. package/types/deps/jsr.io/@std/text/0.224.2/word_similarity_sort.d.ts.map +1 -0
  60. package/types/federation/callback.d.ts +16 -0
  61. package/types/federation/callback.d.ts.map +1 -1
  62. package/types/federation/context.d.ts +24 -2
  63. package/types/federation/context.d.ts.map +1 -1
  64. package/types/federation/handler.d.ts.map +1 -1
  65. package/types/federation/middleware.d.ts +14 -4
  66. package/types/federation/middleware.d.ts.map +1 -1
  67. package/types/nodeinfo/types.d.ts +1 -1
  68. package/types/runtime/key.d.ts +2 -0
  69. package/types/runtime/key.d.ts.map +1 -1
  70. package/types/sig/key.d.ts +5 -2
  71. package/types/sig/key.d.ts.map +1 -1
  72. package/types/testing/context.d.ts.map +1 -1
  73. package/types/testing/keys.d.ts.map +1 -1
  74. package/types/deps/jsr.io/@std/assert/0.225.3/assert.d.ts.map +0 -1
  75. package/types/deps/jsr.io/@std/assert/0.225.3/assertion_error.d.ts.map +0 -1
  76. package/types/deps/jsr.io/@std/http/0.224.2/negotiation.d.ts.map +0 -1
  77. package/types/deps/jsr.io/@std/semver/0.224.1/_constants.d.ts.map +0 -1
  78. package/types/deps/jsr.io/@std/semver/0.224.1/mod.d.ts.map +0 -1
  79. package/types/deps/jsr.io/@std/text/0.224.1/case.d.ts.map +0 -1
  80. package/types/deps/jsr.io/@std/text/0.224.1/closest_string.d.ts.map +0 -1
  81. package/types/deps/jsr.io/@std/text/0.224.1/compare_similarity.d.ts.map +0 -1
  82. package/types/deps/jsr.io/@std/text/0.224.1/levenshtein_distance.d.ts.map +0 -1
  83. package/types/deps/jsr.io/@std/text/0.224.1/mod.d.ts.map +0 -1
  84. package/types/deps/jsr.io/@std/text/0.224.1/word_similarity_sort.d.ts.map +0 -1
  85. /package/esm/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/common.js +0 -0
  86. /package/esm/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/encoding.js +0 -0
  87. /package/esm/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/language.js +0 -0
  88. /package/esm/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/media_type.js +0 -0
  89. /package/esm/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/negotiation.js +0 -0
  90. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_constants.js +0 -0
  91. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_shared.js +0 -0
  92. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_test_comparator_set.js +0 -0
  93. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/can_parse.js +0 -0
  94. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/compare.js +0 -0
  95. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/constants.js +0 -0
  96. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/difference.js +0 -0
  97. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/equals.js +0 -0
  98. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format.js +0 -0
  99. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format_range.js +0 -0
  100. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_or_equal.js +0 -0
  101. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than.js +0 -0
  102. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than_range.js +0 -0
  103. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/increment.js +0 -0
  104. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_range.js +0 -0
  105. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_semver.js +0 -0
  106. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_or_equal.js +0 -0
  107. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than.js +0 -0
  108. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than_range.js +0 -0
  109. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/max_satisfying.js +0 -0
  110. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/min_satisfying.js +0 -0
  111. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/not_equals.js +0 -0
  112. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse.js +0 -0
  113. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse_range.js +0 -0
  114. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_intersects.js +0 -0
  115. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_max.js +0 -0
  116. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_min.js +0 -0
  117. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/satisfies.js +0 -0
  118. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/test_range.js +0 -0
  119. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse.js +0 -0
  120. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse_range.js +0 -0
  121. /package/esm/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/types.js +0 -0
  122. /package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/common.d.ts +0 -0
  123. /package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/encoding.d.ts +0 -0
  124. /package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/language.d.ts +0 -0
  125. /package/types/deps/jsr.io/@std/http/{0.224.2 → 0.224.3}/_negotiation/media_type.d.ts +0 -0
  126. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_constants.d.ts +0 -0
  127. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_shared.d.ts +0 -0
  128. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/_test_comparator_set.d.ts +0 -0
  129. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/can_parse.d.ts +0 -0
  130. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/compare.d.ts +0 -0
  131. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/constants.d.ts +0 -0
  132. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/difference.d.ts +0 -0
  133. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/equals.d.ts +0 -0
  134. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format.d.ts +0 -0
  135. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/format_range.d.ts +0 -0
  136. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_or_equal.d.ts +0 -0
  137. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than.d.ts +0 -0
  138. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/greater_than_range.d.ts +0 -0
  139. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/increment.d.ts +0 -0
  140. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_range.d.ts +0 -0
  141. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/is_semver.d.ts +0 -0
  142. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_or_equal.d.ts +0 -0
  143. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than.d.ts +0 -0
  144. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/less_than_range.d.ts +0 -0
  145. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/max_satisfying.d.ts +0 -0
  146. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/min_satisfying.d.ts +0 -0
  147. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/not_equals.d.ts +0 -0
  148. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse.d.ts +0 -0
  149. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/parse_range.d.ts +0 -0
  150. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_intersects.d.ts +0 -0
  151. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_max.d.ts +0 -0
  152. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/range_min.d.ts +0 -0
  153. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/satisfies.d.ts +0 -0
  154. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/test_range.d.ts +0 -0
  155. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse.d.ts +0 -0
  156. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/try_parse_range.d.ts +0 -0
  157. /package/types/deps/jsr.io/@std/semver/{0.224.1 → 0.224.2}/types.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAM5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAoB,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE1E,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,OAAO,EAEP,cAAc,EACd,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAQtB,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,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,EAAE,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,GAC/C,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAErC;;;;;;OAMG;IACH,OAAO,CACL,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAAC,GACvC,mBAAmB,CAAC,YAAY,CAAC,CAAC;CACtC;AAED,UAAU,2BAA4B,SAAQ,mBAAmB;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { type SemVer } from "../deps/jsr.io/@std/semver/0.224.1/mod.js";
2
+ import { type SemVer } from "../deps/jsr.io/@std/semver/0.224.2/mod.js";
3
3
  /**
4
4
  * The type of the result of parsing JSON.
5
5
  */
@@ -3,6 +3,7 @@ import * as dntShim from "../_dnt.shims.js";
3
3
  * Imports a PEM-SPKI formatted public key.
4
4
  * @param pem The PEM-SPKI formatted public key.
5
5
  * @returns The imported public key.
6
+ * @throws {TypeError} If the key is invalid or unsupported.
6
7
  * @since 0.5.0
7
8
  */
8
9
  export declare function importSpki(pem: string): Promise<dntShim.CryptoKey>;
@@ -10,6 +11,7 @@ export declare function importSpki(pem: string): Promise<dntShim.CryptoKey>;
10
11
  * Exports a public key in PEM-SPKI format.
11
12
  * @param key The public key to export.
12
13
  * @returns The exported public key in PEM-SPKI format.
14
+ * @throws {TypeError} If the key is invalid or unsupported.
13
15
  * @since 0.5.0
14
16
  */
15
17
  export declare function exportSpki(key: dntShim.CryptoKey): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/runtime/key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAWxE;AAED;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAKxE"}
1
+ {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/runtime/key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAgB5C;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAqBxE;AAED;;;;;;GAMG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAMxE"}
@@ -1,3 +1,4 @@
1
+ import * as dntShim from "../_dnt.shims.js";
1
2
  /**
2
3
  * Checks if the given key is valid and supported. No-op if the key is valid,
3
4
  * otherwise throws an error.
@@ -6,13 +7,15 @@
6
7
  * either public or private.
7
8
  * @throws {TypeError} If the key is invalid or unsupported.
8
9
  */
9
- import * as dntShim from "../_dnt.shims.js";
10
10
  export declare function validateCryptoKey(key: dntShim.CryptoKey, type?: "public" | "private"): void;
11
11
  /**
12
12
  * Generates a key pair which is appropriate for Fedify.
13
+ * @param algorithm The algorithm to use. Currently only RSASSA-PKCS1-v1_5 and
14
+ * Ed25519 are supported.
13
15
  * @returns The generated key pair.
16
+ * @throws {TypeError} If the algorithm is unsupported.
14
17
  */
15
- export declare function generateCryptoKeyPair(): Promise<dntShim.CryptoKeyPair>;
18
+ export declare function generateCryptoKeyPair(algorithm?: "RSASSA-PKCS1-v1_5" | "Ed25519"): Promise<dntShim.CryptoKeyPair>;
16
19
  /**
17
20
  * Exports a key in JWK format.
18
21
  * @param key The key to export. Either public or private key.
@@ -1 +1 @@
1
- {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/sig/key.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAE5C,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,OAAO,CAAC,SAAS,EACtB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAC1B,IAAI,CAqBN;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAWtE;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAGnF;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,GAAG,EAAE,OAAO,CAAC,UAAU,EACvB,IAAI,EAAE,QAAQ,GAAG,SAAS,GACzB,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAU5B"}
1
+ {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/sig/key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,OAAO,CAAC,SAAS,EACtB,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAC1B,IAAI,CA2BN;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,CAAC,EAAE,mBAAmB,GAAG,SAAS,GAC1C,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CA2BhC;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAGnF;AAED;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,GAAG,EAAE,OAAO,CAAC,UAAU,EACvB,IAAI,EAAE,QAAQ,GAAG,SAAS,GACzB,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAuB5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO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ACA,cAAc,CAAC,YAAY,CAAC,CAa9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/testing/keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,UAAU,kBA2BrB,CAAC;AAEH,eAAO,MAAM,WAAW,mBAyCvB,CAAC;AAEF,eAAO,MAAM,UAAU,kBAuBrB,CAAC;AAEH,eAAO,MAAM,WAAW,mBA6DvB,CAAC;AAEF,eAAO,MAAM,UAAU,kBA6BrB,CAAC"}
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/testing/keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,aAAa,kBA2BxB,CAAC;AAEH,eAAO,MAAM,cAAc,mBAyC1B,CAAC;AAEF,eAAO,MAAM,aAAa,kBAuBxB,CAAC;AAEH,eAAO,MAAM,cAAc,mBA6D1B,CAAC;AAEF,eAAO,MAAM,aAAa,kBA6BxB,CAAC;AAEH,eAAO,MAAM,iBAAiB,mBAe7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,kBAkB3B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/0.225.3/assert.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,CAI5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/0.225.3/assertion_error.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,iCAAiC;gBACrB,OAAO,EAAE,MAAM;CAI5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"negotiation.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/http/0.224.2/negotiation.ts"],"names":[],"mappings":"AAcA,yCAAyC;AACzC,MAAM,MAAM,OAAO,GAAG;IACpB,OAAO,EAAE;QACP,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;KACjC,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AACpD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,OAAO,EAChB,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC;AAatB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AAC7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,GAAG,SAAS,EAAE,MAAM,EAAE,GACrB,MAAM,GAAG,SAAS,CAAC;AAetB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AAC7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"_constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224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cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AAEnC,8BAA8B;AAC9B,eAAO,MAAM,mBAAmB,UAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"case.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/case.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIjD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGjD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGlD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGjD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"closest_string.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/closest_string.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EAAE,EACvB,OAAO,CAAC,EAAE;IACR,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GACA,MAAM,CAwBR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"compare_similarity.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/compare_similarity.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,GACpC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAUlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"levenshtein_distance.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/levenshtein_distance.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CA8BtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"word_similarity_sort.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/text/0.224.1/word_similarity_sort.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EAAE,EACvB,OAAO,CAAC,EAAE;IACR,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GACA,MAAM,EAAE,CAOV"}