@fedify/fedify 2.0.0-dev.161 → 2.0.0-dev.166

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.
Files changed (84) hide show
  1. package/dist/{builder-CulJ6Oa9.js → builder-Khy2m25E.js} +3 -3
  2. package/dist/{client-BivSNrEg.d.ts → client-CUTUGgvJ.d.ts} +18 -18
  3. package/dist/{client-CgMTXmAD.js → client-Dg7OfUDA.js} +27 -22
  4. package/dist/{client-94iWEfQa.d.cts → client-by-PEGAJ.d.cts} +18 -18
  5. package/dist/compat/mod.d.cts +4 -4
  6. package/dist/compat/mod.d.ts +4 -4
  7. package/dist/compat/transformers.test.js +13 -13
  8. package/dist/{context-CYZ2i00R.d.ts → context-C7vzWilY.d.ts} +58 -58
  9. package/dist/{context-D2MrtLch.d.cts → context-CrB9RFy5.d.cts} +58 -58
  10. package/dist/{deno-DIwNGswC.js → deno-Cif1-iL_.js} +1 -1
  11. package/dist/{docloader-D2992pGD.js → docloader-CVaWaEcp.js} +2 -2
  12. package/dist/federation/builder.test.js +3 -3
  13. package/dist/federation/handler.test.js +13 -13
  14. package/dist/federation/idempotency.test.js +13 -13
  15. package/dist/federation/inbox.test.js +2 -2
  16. package/dist/federation/middleware.test.js +13 -13
  17. package/dist/federation/mod.cjs +5 -5
  18. package/dist/federation/mod.d.cts +4 -4
  19. package/dist/federation/mod.d.ts +4 -4
  20. package/dist/federation/mod.js +5 -5
  21. package/dist/federation/send.test.js +5 -5
  22. package/dist/federation/webfinger.test.js +13 -13
  23. package/dist/{http-BV9SKFK0.js → http-B99rtXjf.js} +2 -2
  24. package/dist/{http-3fEbsHa0.js → http-CY-Bbe9s.js} +1 -1
  25. package/dist/{http-C06iL_Qv.cjs → http-DfyrqzT4.cjs} +1 -1
  26. package/dist/{inbox-DCV2fS3F.js → inbox-BC3B2xqc.js} +1 -1
  27. package/dist/{key-Bdc11xlQ.js → key-Bw4eVboO.js} +1 -1
  28. package/dist/{kv-D8q9fLkA.d.cts → kv-B4vFhIYL.d.cts} +2 -2
  29. package/dist/{kv-CtOmTRNc.d.ts → kv-CYySNrsn.d.ts} +2 -2
  30. package/dist/{kv-cache-B4-ASVht.js → kv-cache-BCsLgQXU.js} +1 -1
  31. package/dist/{kv-cache-CQjPwWHu.cjs → kv-cache-Cerg94jw.cjs} +1 -1
  32. package/dist/{ld-C7be04RF.js → ld-1OEVoX2N.js} +2 -2
  33. package/dist/{middleware-C4_a2DNI.js → middleware-7qNi2Qwp.js} +9 -10
  34. package/dist/{middleware-9RlUwILK.js → middleware-B7mdNwwo.js} +5 -5
  35. package/dist/{middleware-C3xnTI2Z.js → middleware-CQv0UNYy.js} +16 -17
  36. package/dist/{middleware-B_mOdzoC.cjs → middleware-CvNusBTn.cjs} +9 -10
  37. package/dist/middleware-Dem4kH_q.js +26 -0
  38. package/dist/middleware-TgcMW8QT.cjs +12 -0
  39. package/dist/{mod-DcPRcifg.d.cts → mod-0p9zUdzg.d.cts} +5 -5
  40. package/dist/{mod-CS-MS7gZ.d.cts → mod-0qnPv4EC.d.cts} +1 -1
  41. package/dist/{mod-DqFSzJA0.d.ts → mod-C3SOvTD1.d.ts} +1 -1
  42. package/dist/{mod-CNNTHyBC.d.cts → mod-D6pS5_xJ.d.cts} +1 -1
  43. package/dist/{mod-D_cmv2il.d.ts → mod-waqu-BL_.d.ts} +1 -1
  44. package/dist/{mod-CJgbdSqb.d.ts → mod-xc20HhMD.d.ts} +5 -5
  45. package/dist/mod.cjs +5 -5
  46. package/dist/mod.d.cts +6 -6
  47. package/dist/mod.d.ts +6 -6
  48. package/dist/mod.js +5 -5
  49. package/dist/nodeinfo/client.test.js +1 -1
  50. package/dist/nodeinfo/handler.test.js +13 -13
  51. package/dist/nodeinfo/mod.cjs +1 -1
  52. package/dist/nodeinfo/mod.d.cts +1 -1
  53. package/dist/nodeinfo/mod.d.ts +1 -1
  54. package/dist/nodeinfo/mod.js +1 -1
  55. package/dist/nodeinfo/types.test.js +1 -1
  56. package/dist/otel/exporter.test.js +7 -13
  57. package/dist/otel/mod.cjs +7 -13
  58. package/dist/otel/mod.d.cts +22 -22
  59. package/dist/otel/mod.d.ts +22 -22
  60. package/dist/otel/mod.js +7 -13
  61. package/dist/{owner-Bs5Y5twE.js → owner-w_YNARRI.js} +1 -1
  62. package/dist/{proof-CFwktc0B.js → proof-C8vStykH.js} +2 -2
  63. package/dist/{proof-CaA7ysDp.cjs → proof-CJZ5gNjq.cjs} +1 -1
  64. package/dist/{proof-C-751PeN.js → proof-aPT2G2bY.js} +1 -1
  65. package/dist/{send-C288Vw8b.js → send-C77cZsvd.js} +2 -2
  66. package/dist/sig/http.test.js +3 -3
  67. package/dist/sig/key.test.js +2 -2
  68. package/dist/sig/ld.test.js +3 -3
  69. package/dist/sig/mod.cjs +2 -2
  70. package/dist/sig/mod.js +2 -2
  71. package/dist/sig/owner.test.js +3 -3
  72. package/dist/sig/proof.test.js +3 -3
  73. package/dist/testing/mod.d.ts +64 -64
  74. package/dist/{types-hKTi53FO.js → types-8l28uC8o.js} +30 -25
  75. package/dist/{types-Q-qkJXBV.cjs → types-B6z6CqIz.cjs} +30 -25
  76. package/dist/{types-BEdCLHqP.js → types-CPz01LGH.js} +3 -3
  77. package/dist/utils/docloader.test.js +4 -4
  78. package/dist/utils/mod.cjs +2 -2
  79. package/dist/utils/mod.d.cts +2 -2
  80. package/dist/utils/mod.d.ts +2 -2
  81. package/dist/utils/mod.js +2 -2
  82. package/package.json +6 -6
  83. package/dist/middleware-C9iGBAP1.cjs +0 -12
  84. package/dist/middleware-CYlahvpt.js +0 -26
@@ -1,4 +1,4 @@
1
- import { KvKey, KvStore } from "../kv-D8q9fLkA.cjs";
1
+ import { KvKey, KvStore } from "../kv-B4vFhIYL.cjs";
2
2
  import { ReadableSpan, SpanExporter } from "@opentelemetry/sdk-trace-base";
3
3
  import { ExportResultCode } from "@opentelemetry/core";
4
4
 
@@ -18,15 +18,15 @@ interface SignatureVerificationDetails {
18
18
  /**
19
19
  * Whether HTTP Signatures were verified.
20
20
  */
21
- httpSignaturesVerified: boolean;
21
+ readonly httpSignaturesVerified: boolean;
22
22
  /**
23
23
  * The key ID used for HTTP signature verification, if available.
24
24
  */
25
- httpSignaturesKeyId?: string;
25
+ readonly httpSignaturesKeyId?: string;
26
26
  /**
27
27
  * Whether Linked Data Signatures were verified.
28
28
  */
29
- ldSignaturesVerified: boolean;
29
+ readonly ldSignaturesVerified: boolean;
30
30
  }
31
31
  /**
32
32
  * A record of an activity captured from a trace span.
@@ -39,51 +39,51 @@ interface TraceActivityRecord {
39
39
  /**
40
40
  * The trace ID from OpenTelemetry.
41
41
  */
42
- traceId: string;
42
+ readonly traceId: string;
43
43
  /**
44
44
  * The span ID from OpenTelemetry.
45
45
  */
46
- spanId: string;
46
+ readonly spanId: string;
47
47
  /**
48
48
  * The parent span ID, if any.
49
49
  */
50
- parentSpanId?: string;
50
+ readonly parentSpanId?: string;
51
51
  /**
52
52
  * Whether this is an inbound or outbound activity.
53
53
  */
54
- direction: ActivityDirection;
54
+ readonly direction: ActivityDirection;
55
55
  /**
56
56
  * The ActivityPub activity type (e.g., "Create", "Follow", "Like").
57
57
  */
58
- activityType: string;
58
+ readonly activityType: string;
59
59
  /**
60
60
  * The activity's ID URL, if present.
61
61
  */
62
- activityId?: string;
62
+ readonly activityId?: string;
63
63
  /**
64
64
  * The actor ID URL (sender of the activity).
65
65
  */
66
- actorId?: string;
66
+ readonly actorId?: string;
67
67
  /**
68
68
  * The full JSON representation of the activity.
69
69
  */
70
- activityJson: string;
70
+ readonly activityJson: string;
71
71
  /**
72
72
  * Whether the activity was verified (for inbound activities).
73
73
  */
74
- verified?: boolean;
74
+ readonly verified?: boolean;
75
75
  /**
76
76
  * Detailed signature verification information (for inbound activities).
77
77
  */
78
- signatureDetails?: SignatureVerificationDetails;
78
+ readonly signatureDetails?: SignatureVerificationDetails;
79
79
  /**
80
80
  * The timestamp when this record was created (ISO 8601 format).
81
81
  */
82
- timestamp: string;
82
+ readonly timestamp: string;
83
83
  /**
84
84
  * The target inbox URL (for outbound activities).
85
85
  */
86
- inboxUrl?: string;
86
+ readonly inboxUrl?: string;
87
87
  }
88
88
  /**
89
89
  * Summary information about a trace.
@@ -94,19 +94,19 @@ interface TraceSummary {
94
94
  /**
95
95
  * The trace ID.
96
96
  */
97
- traceId: string;
97
+ readonly traceId: string;
98
98
  /**
99
99
  * The timestamp of the first activity in the trace.
100
100
  */
101
- timestamp: string;
101
+ readonly timestamp: string;
102
102
  /**
103
103
  * The number of activities in the trace.
104
104
  */
105
- activityCount: number;
105
+ readonly activityCount: number;
106
106
  /**
107
107
  * Activity types present in this trace.
108
108
  */
109
- activityTypes: string[];
109
+ readonly activityTypes: readonly string[];
110
110
  }
111
111
  /**
112
112
  * Options for configuring the {@link FedifySpanExporter}.
@@ -119,12 +119,12 @@ interface FedifySpanExporterOptions {
119
119
  * If not specified, data will be stored indefinitely
120
120
  * (or until manually deleted).
121
121
  */
122
- ttl?: Temporal.Duration;
122
+ readonly ttl?: Temporal.Duration;
123
123
  /**
124
124
  * The key prefix for storing trace data in the KvStore.
125
125
  * Defaults to `["fedify", "traces"]`.
126
126
  */
127
- keyPrefix?: KvKey;
127
+ readonly keyPrefix?: KvKey;
128
128
  }
129
129
  /**
130
130
  * Options for the {@link FedifySpanExporter.getRecentTraces} method.
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore } from "../kv-CtOmTRNc.js";
3
+ import { KvKey, KvStore } from "../kv-CYySNrsn.js";
4
4
  import { ExportResultCode } from "@opentelemetry/core";
5
5
  import { ReadableSpan, SpanExporter } from "@opentelemetry/sdk-trace-base";
6
6
 
@@ -20,15 +20,15 @@ interface SignatureVerificationDetails {
20
20
  /**
21
21
  * Whether HTTP Signatures were verified.
22
22
  */
23
- httpSignaturesVerified: boolean;
23
+ readonly httpSignaturesVerified: boolean;
24
24
  /**
25
25
  * The key ID used for HTTP signature verification, if available.
26
26
  */
27
- httpSignaturesKeyId?: string;
27
+ readonly httpSignaturesKeyId?: string;
28
28
  /**
29
29
  * Whether Linked Data Signatures were verified.
30
30
  */
31
- ldSignaturesVerified: boolean;
31
+ readonly ldSignaturesVerified: boolean;
32
32
  }
33
33
  /**
34
34
  * A record of an activity captured from a trace span.
@@ -41,51 +41,51 @@ interface TraceActivityRecord {
41
41
  /**
42
42
  * The trace ID from OpenTelemetry.
43
43
  */
44
- traceId: string;
44
+ readonly traceId: string;
45
45
  /**
46
46
  * The span ID from OpenTelemetry.
47
47
  */
48
- spanId: string;
48
+ readonly spanId: string;
49
49
  /**
50
50
  * The parent span ID, if any.
51
51
  */
52
- parentSpanId?: string;
52
+ readonly parentSpanId?: string;
53
53
  /**
54
54
  * Whether this is an inbound or outbound activity.
55
55
  */
56
- direction: ActivityDirection;
56
+ readonly direction: ActivityDirection;
57
57
  /**
58
58
  * The ActivityPub activity type (e.g., "Create", "Follow", "Like").
59
59
  */
60
- activityType: string;
60
+ readonly activityType: string;
61
61
  /**
62
62
  * The activity's ID URL, if present.
63
63
  */
64
- activityId?: string;
64
+ readonly activityId?: string;
65
65
  /**
66
66
  * The actor ID URL (sender of the activity).
67
67
  */
68
- actorId?: string;
68
+ readonly actorId?: string;
69
69
  /**
70
70
  * The full JSON representation of the activity.
71
71
  */
72
- activityJson: string;
72
+ readonly activityJson: string;
73
73
  /**
74
74
  * Whether the activity was verified (for inbound activities).
75
75
  */
76
- verified?: boolean;
76
+ readonly verified?: boolean;
77
77
  /**
78
78
  * Detailed signature verification information (for inbound activities).
79
79
  */
80
- signatureDetails?: SignatureVerificationDetails;
80
+ readonly signatureDetails?: SignatureVerificationDetails;
81
81
  /**
82
82
  * The timestamp when this record was created (ISO 8601 format).
83
83
  */
84
- timestamp: string;
84
+ readonly timestamp: string;
85
85
  /**
86
86
  * The target inbox URL (for outbound activities).
87
87
  */
88
- inboxUrl?: string;
88
+ readonly inboxUrl?: string;
89
89
  }
90
90
  /**
91
91
  * Summary information about a trace.
@@ -96,19 +96,19 @@ interface TraceSummary {
96
96
  /**
97
97
  * The trace ID.
98
98
  */
99
- traceId: string;
99
+ readonly traceId: string;
100
100
  /**
101
101
  * The timestamp of the first activity in the trace.
102
102
  */
103
- timestamp: string;
103
+ readonly timestamp: string;
104
104
  /**
105
105
  * The number of activities in the trace.
106
106
  */
107
- activityCount: number;
107
+ readonly activityCount: number;
108
108
  /**
109
109
  * Activity types present in this trace.
110
110
  */
111
- activityTypes: string[];
111
+ readonly activityTypes: readonly string[];
112
112
  }
113
113
  /**
114
114
  * Options for configuring the {@link FedifySpanExporter}.
@@ -121,12 +121,12 @@ interface FedifySpanExporterOptions {
121
121
  * If not specified, data will be stored indefinitely
122
122
  * (or until manually deleted).
123
123
  */
124
- ttl?: Temporal.Duration;
124
+ readonly ttl?: Temporal.Duration;
125
125
  /**
126
126
  * The key prefix for storing trace data in the KvStore.
127
127
  * Defaults to `["fedify", "traces"]`.
128
128
  */
129
- keyPrefix?: KvKey;
129
+ readonly keyPrefix?: KvKey;
130
130
  }
131
131
  /**
132
132
  * Options for the {@link FedifySpanExporter.getRecentTraces} method.
package/dist/otel/mod.js CHANGED
@@ -204,20 +204,14 @@ var FedifySpanExporter = class {
204
204
  record.traceId
205
205
  ];
206
206
  await this.#setWithCasRetry(summaryKey, (existing) => {
207
- const summary = existing != null ? {
208
- traceId: existing.traceId,
209
- timestamp: existing.timestamp,
210
- activityCount: existing.activityCount,
211
- activityTypes: [...existing.activityTypes]
212
- } : {
213
- traceId: record.traceId,
214
- timestamp: record.timestamp,
215
- activityCount: 0,
216
- activityTypes: []
207
+ const activityCount = existing != null ? existing.activityCount + 1 : 1;
208
+ const activityTypes = existing != null ? existing.activityTypes.includes(record.activityType) ? existing.activityTypes : [...existing.activityTypes, record.activityType] : [record.activityType];
209
+ return {
210
+ traceId: existing?.traceId ?? record.traceId,
211
+ timestamp: existing?.timestamp ?? record.timestamp,
212
+ activityCount,
213
+ activityTypes
217
214
  };
218
- summary.activityCount += 1;
219
- if (!summary.activityTypes.includes(record.activityType)) summary.activityTypes.push(record.activityType);
220
- return summary;
221
215
  }, options);
222
216
  }
223
217
  /**
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-DIwNGswC.js";
6
+ import { deno_default } from "./deno-Cif1-iL_.js";
7
7
  import { CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
8
8
  import { getDocumentLoader } from "@fedify/vocab-runtime";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-DIwNGswC.js";
7
- import { fetchKey, validateCryptoKey } from "./key-Bdc11xlQ.js";
6
+ import { deno_default } from "./deno-Cif1-iL_.js";
7
+ import { fetchKey, validateCryptoKey } from "./key-Bw4eVboO.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { Activity, DataIntegrityProof, Multikey, getTypeId } from "@fedify/vocab";
10
10
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,7 +3,7 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_http = require('./http-C06iL_Qv.cjs');
6
+ const require_http = require('./http-DfyrqzT4.cjs');
7
7
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
8
8
  const __fedify_vocab = require_chunk.__toESM(require("@fedify/vocab"));
9
9
  const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
@@ -2,7 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, fetchKey, validateCryptoKey } from "./http-3fEbsHa0.js";
5
+ import { deno_default, fetchKey, validateCryptoKey } from "./http-CY-Bbe9s.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { Activity, CryptographicKey, DataIntegrityProof, Multikey, Object as Object$1, getTypeId, isActor } from "@fedify/vocab";
8
8
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
@@ -3,8 +3,8 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default } from "./deno-DIwNGswC.js";
7
- import { doubleKnock } from "./http-BV9SKFK0.js";
6
+ import { deno_default } from "./deno-Cif1-iL_.js";
7
+ import { doubleKnock } from "./http-B99rtXjf.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
10
10
 
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-DIwNGswC.js";
11
- import { exportJwk } from "../key-Bdc11xlQ.js";
12
- import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-BV9SKFK0.js";
10
+ import "../deno-Cif1-iL_.js";
11
+ import { exportJwk } from "../key-Bw4eVboO.js";
12
+ import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-B99rtXjf.js";
13
13
  import { assertExists, assertStringIncludes } from "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -7,8 +7,8 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-DIwNGswC.js";
11
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-Bdc11xlQ.js";
10
+ import "../deno-Cif1-iL_.js";
11
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-Bw4eVboO.js";
12
12
  import "../std__assert-DWivtrGR.js";
13
13
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
14
14
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
@@ -6,9 +6,9 @@
6
6
  import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
- import "../deno-DIwNGswC.js";
10
- import { generateCryptoKeyPair } from "../key-Bdc11xlQ.js";
11
- import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-C7be04RF.js";
9
+ import "../deno-Cif1-iL_.js";
10
+ import { generateCryptoKeyPair } from "../key-Bw4eVboO.js";
11
+ import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-1OEVoX2N.js";
12
12
  import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
13
13
  import { assertThrows } from "../assert_throws-BNXdRGWP.js";
14
14
  import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-ZbcByPg9.js";
package/dist/sig/mod.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
  const { Temporal } = require("@js-temporal/polyfill");
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
- const require_http = require('../http-C06iL_Qv.cjs');
6
- const require_proof = require('../proof-CaA7ysDp.cjs');
5
+ const require_http = require('../http-DfyrqzT4.cjs');
6
+ const require_proof = require('../proof-CJZ5gNjq.cjs');
7
7
  require('../sig-DeXX2xnj.cjs');
8
8
 
9
9
  exports.attachSignature = require_proof.attachSignature;
package/dist/sig/mod.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-3fEbsHa0.js";
6
- import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-C-751PeN.js";
5
+ import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-CY-Bbe9s.js";
6
+ import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-aPT2G2bY.js";
7
7
  import "../sig-CwuONEzF.js";
8
8
 
9
9
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
@@ -7,9 +7,9 @@ import { createTestTracerProvider, mockDocumentLoader, test } from "../dist-B5f6
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-DIwNGswC.js";
11
- import "../key-Bdc11xlQ.js";
12
- import { doesActorOwnKey, getKeyOwner } from "../owner-Bs5Y5twE.js";
10
+ import "../deno-Cif1-iL_.js";
11
+ import "../key-Bw4eVboO.js";
12
+ import { doesActorOwnKey, getKeyOwner } from "../owner-w_YNARRI.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";
@@ -7,9 +7,9 @@ import { mockDocumentLoader, test } from "../dist-B5f6a8Tt.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../deno-DIwNGswC.js";
11
- import "../key-Bdc11xlQ.js";
12
- import { createProof, signObject, verifyObject, verifyProof } from "../proof-CFwktc0B.js";
10
+ import "../deno-Cif1-iL_.js";
11
+ import "../key-Bw4eVboO.js";
12
+ import { createProof, signObject, verifyObject, verifyProof } from "../proof-C8vStykH.js";
13
13
  import "../std__assert-DWivtrGR.js";
14
14
  import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
15
15
  import "../assert_throws-BNXdRGWP.js";