@oneaddress/conformance 3.2.0 → 3.3.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/checks.d.ts CHANGED
@@ -205,6 +205,14 @@ identity?: {
205
205
  * and then mis-handles its own 14-day window in production.
206
206
  */
207
207
  retentionPeriodDays?: number | null | undefined): Promise<string>;
208
+ /**
209
+ * Pull-API request signature, version 2: covers the method, path and query so
210
+ * a captured header pair cannot be replayed against another endpoint or query.
211
+ * Mirrors `pullSigningStringV2` in @oneaddress/protocol (this package carries
212
+ * no runtime dependency on it); pinned to `PULL_SIGNATURE_V2_VECTOR`. Sent with
213
+ * `X-OneAddress-Signature-Version: 2`.
214
+ */
215
+ declare function signPullV2(timestamp: string, secret: string, url: string, method?: string, body?: string): string;
208
216
  interface RunChecksOptions {
209
217
  /** Target webhook URL (required) */
210
218
  targetUrl: string;
@@ -366,4 +374,4 @@ declare function runChecks(options: RunChecksOptions): Promise<CheckResult[]>;
366
374
  */
367
375
  declare function markUnprovenChecks(results: CheckResult[]): CheckResult[];
368
376
 
369
- export { type CheckBasis, type CheckResult, type ConformanceKey, type ConformanceRun, DEFAULT_ACCOUNT_REF, DEFAULT_CONFORMANCE_KEY_ID, type RunChecksOptions, asConformanceKey, buildBody, markUnprovenChecks, runChecks, runChecksDetailed };
377
+ export { type CheckBasis, type CheckResult, type ConformanceKey, type ConformanceRun, DEFAULT_ACCOUNT_REF, DEFAULT_CONFORMANCE_KEY_ID, type RunChecksOptions, asConformanceKey, buildBody, markUnprovenChecks, runChecks, runChecksDetailed, signPullV2 };