@haven_ai/sdk 0.0.0-dev.202610221321.4e01f35 → 0.0.0-dev.202610221510.6d3eacd
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/README.md +8 -5
- package/dist/{base64-DX5vkdXH.d.ts → base64-BWWgjsup.d.ts} +2 -2
- package/dist/{base64-DkDrBiuG.d.cts → base64-oMMfBMym.d.cts} +2 -2
- package/dist/{chunk-RBPNZHWI.cjs → chunk-7EJQHCSH.cjs} +2 -2
- package/dist/{chunk-RBPNZHWI.cjs.map → chunk-7EJQHCSH.cjs.map} +1 -1
- package/dist/{chunk-YG456BG4.js → chunk-C34UUES4.js} +4 -4
- package/dist/{chunk-YG456BG4.js.map → chunk-C34UUES4.js.map} +1 -1
- package/dist/{chunk-HTODD7DB.js → chunk-FJBOTEM4.js} +2 -2
- package/dist/{chunk-HTODD7DB.js.map → chunk-FJBOTEM4.js.map} +1 -1
- package/dist/{chunk-HUCSNVCE.js → chunk-GM25NMAE.js} +3 -3
- package/dist/{chunk-HUCSNVCE.js.map → chunk-GM25NMAE.js.map} +1 -1
- package/dist/{chunk-66FVYQQP.cjs → chunk-HR25DEAQ.cjs} +35 -35
- package/dist/{chunk-66FVYQQP.cjs.map → chunk-HR25DEAQ.cjs.map} +1 -1
- package/dist/{chunk-JJNPM5XJ.cjs → chunk-N7JCPJYO.cjs} +4 -4
- package/dist/{chunk-JJNPM5XJ.cjs.map → chunk-N7JCPJYO.cjs.map} +1 -1
- package/dist/edge.cjs +93 -93
- package/dist/edge.d.cts +4 -4
- package/dist/edge.d.ts +4 -4
- package/dist/edge.js +4 -4
- package/dist/index.cjs +326 -326
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/{receipt-StN9FcwL.d.cts → receipt-Cj00kvO5.d.cts} +1 -1
- package/dist/{receipt-Cwhj1MuB.d.ts → receipt-H6SbRIQO.d.ts} +1 -1
- package/dist/test-support.cjs +21 -21
- package/dist/test-support.d.cts +2 -2
- package/dist/test-support.d.ts +2 -2
- package/dist/test-support.js +2 -2
- package/dist/{types-D9n6fycN.d.cts → types-BhkQVGyy.d.cts} +4 -2
- package/dist/{types-D9n6fycN.d.ts → types-BhkQVGyy.d.ts} +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,11 +98,14 @@ shows up in your Haven dashboard activity feed.
|
|
|
98
98
|
## Step-by-Step API
|
|
99
99
|
|
|
100
100
|
Discovery and listing: `discoverTools({ verified?: 'any' | 'verified' | 'operator' })` returns the merged
|
|
101
|
-
catalog
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
catalog from three sources, each entry with `source`, `domainVerified` and `verifiedPayable`:
|
|
102
|
+
operator-curated rows (`source: 'operator'`), self-submitted directory entries (`'ingestion'`, epic
|
|
103
|
+
#1717), and rows the x402 Bazaar discovery cron wrote (`'bazaar'`, #4245; seller-asserted name and
|
|
104
|
+
description, only where a deployment enables discovery). `verified: 'verified'` (#2978) filters on the
|
|
105
|
+
badge, not the source: it returns any entry, from any source, whose endpoint Haven watched answer a
|
|
106
|
+
live quote probe (`verifiedPayable === true`); `domainVerified` stays true only for directory entries,
|
|
107
|
+
which also proved domain ownership. `verified: 'operator'` filters on provenance alone and returns
|
|
108
|
+
operator-curated rows only. `submitCatalogEntry(resourceUrl)`
|
|
106
109
|
submits a merchant endpoint to the Verified Payable Directory (queue-only; the seller still must prove
|
|
107
110
|
domain ownership before listing),
|
|
108
111
|
and `getCatalogSubmissionStatus(id)` returns coarse status plus the ownership-proof instructions while
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as AgentNextStep, Z as AgentPaymentNextAction, aM as X402PaymentOption, aL as X402ExpectedContext, X as X402PaymentRequired, I as HavenError, an as HavenSigningError } from './types-
|
|
1
|
+
import { Q as AgentNextStep, Z as AgentPaymentNextAction, aM as X402PaymentOption, aL as X402ExpectedContext, X as X402PaymentRequired, I as HavenError, an as HavenSigningError } from './types-BhkQVGyy.js';
|
|
2
2
|
import { PaymentRequirements } from 'x402/types';
|
|
3
3
|
import { Hex, Address } from 'viem';
|
|
4
4
|
|
|
@@ -200,7 +200,7 @@ declare function buildSweepAuthorizationMessage(auth: SweepAuthorization): strin
|
|
|
200
200
|
* This SDK's own version. Owned by `scripts/release-bump.mjs`, which rewrites
|
|
201
201
|
* it with the package version on every release — never hand-edit it.
|
|
202
202
|
*/
|
|
203
|
-
declare const SDK_VERSION = "0.0.0-dev.
|
|
203
|
+
declare const SDK_VERSION = "0.0.0-dev.202610221510.6d3eacd";
|
|
204
204
|
/** The request header every published Haven client sends. */
|
|
205
205
|
declare const HAVEN_CLIENT_HEADER = "X-Haven-Client";
|
|
206
206
|
/** `<package>/<version>` — the value of {@link HAVEN_CLIENT_HEADER}. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as AgentNextStep, Z as AgentPaymentNextAction, aM as X402PaymentOption, aL as X402ExpectedContext, X as X402PaymentRequired, I as HavenError, an as HavenSigningError } from './types-
|
|
1
|
+
import { Q as AgentNextStep, Z as AgentPaymentNextAction, aM as X402PaymentOption, aL as X402ExpectedContext, X as X402PaymentRequired, I as HavenError, an as HavenSigningError } from './types-BhkQVGyy.cjs';
|
|
2
2
|
import { PaymentRequirements } from 'x402/types';
|
|
3
3
|
import { Hex, Address } from 'viem';
|
|
4
4
|
|
|
@@ -200,7 +200,7 @@ declare function buildSweepAuthorizationMessage(auth: SweepAuthorization): strin
|
|
|
200
200
|
* This SDK's own version. Owned by `scripts/release-bump.mjs`, which rewrites
|
|
201
201
|
* it with the package version on every release — never hand-edit it.
|
|
202
202
|
*/
|
|
203
|
-
declare const SDK_VERSION = "0.0.0-dev.
|
|
203
|
+
declare const SDK_VERSION = "0.0.0-dev.202610221510.6d3eacd";
|
|
204
204
|
/** The request header every published Haven client sends. */
|
|
205
205
|
declare const HAVEN_CLIENT_HEADER = "X-Haven-Client";
|
|
206
206
|
/** `<package>/<version>` — the value of {@link HAVEN_CLIENT_HEADER}. */
|
|
@@ -1099,5 +1099,5 @@ exports.packedUserOperationHash = packedUserOperationHash;
|
|
|
1099
1099
|
exports.resolveConnectorChannel = resolveConnectorChannel;
|
|
1100
1100
|
exports.signerUpdateFallback = signerUpdateFallback;
|
|
1101
1101
|
exports.verifySettlementChild = verifySettlementChild;
|
|
1102
|
-
//# sourceMappingURL=chunk-
|
|
1103
|
-
//# sourceMappingURL=chunk-
|
|
1102
|
+
//# sourceMappingURL=chunk-7EJQHCSH.cjs.map
|
|
1103
|
+
//# sourceMappingURL=chunk-7EJQHCSH.cjs.map
|