uvd-x402-sdk 2.58.0 → 2.60.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/index.d.mts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.js +792 -756
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +792 -756
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dx402.ts +96 -6
package/dist/index.d.mts
CHANGED
|
@@ -284,13 +284,6 @@ interface AnchorOptions {
|
|
|
284
284
|
facilitator?: string;
|
|
285
285
|
fetch?: typeof fetch;
|
|
286
286
|
}
|
|
287
|
-
/**
|
|
288
|
-
* Seal a response body, anchor it, and return the `X-Durable-Evidence` value.
|
|
289
|
-
*
|
|
290
|
-
* **It never throws.** Every failure resolves to a skip notice, because evidence
|
|
291
|
-
* is an addition to the payment path and must never be a gate in front of it —
|
|
292
|
-
* an unreachable facilitator has to cost the receipt, never the sale.
|
|
293
|
-
*/
|
|
294
287
|
declare function anchorEvidence(body: Uint8Array, opts: AnchorOptions): Promise<Record<string, unknown>>;
|
|
295
288
|
/** Encode an anchor result for the `X-Durable-Evidence` response header. */
|
|
296
289
|
declare function evidenceHeader(evidence: unknown): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -284,13 +284,6 @@ interface AnchorOptions {
|
|
|
284
284
|
facilitator?: string;
|
|
285
285
|
fetch?: typeof fetch;
|
|
286
286
|
}
|
|
287
|
-
/**
|
|
288
|
-
* Seal a response body, anchor it, and return the `X-Durable-Evidence` value.
|
|
289
|
-
*
|
|
290
|
-
* **It never throws.** Every failure resolves to a skip notice, because evidence
|
|
291
|
-
* is an addition to the payment path and must never be a gate in front of it —
|
|
292
|
-
* an unreachable facilitator has to cost the receipt, never the sale.
|
|
293
|
-
*/
|
|
294
287
|
declare function anchorEvidence(body: Uint8Array, opts: AnchorOptions): Promise<Record<string, unknown>>;
|
|
295
288
|
/** Encode an anchor result for the `X-Durable-Evidence` response header. */
|
|
296
289
|
declare function evidenceHeader(evidence: unknown): string;
|