@nuanu-ai/agentify 0.2.4 → 0.2.5
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 +6 -6
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ const agentify = createClient({
|
|
|
34
34
|
|
|
35
35
|
There are two addresses, one per world. At `https://test.agentify.ad` you
|
|
36
36
|
build: payments settle on a test chain and the money there is not real. At
|
|
37
|
-
`https://
|
|
37
|
+
`https://agentify.ad` you sell, and it is. A key issued in one does not
|
|
38
38
|
open the other, and the key says which one you are holding: `csk_test_` for the
|
|
39
39
|
first, `csk_live_` for the second. This package picks neither address for you,
|
|
40
40
|
and the worker's first log line names the one it started against and whether
|
|
@@ -107,17 +107,17 @@ in files.
|
|
|
107
107
|
That is one half of checking yourself. The other half — whether your handler
|
|
108
108
|
holds against a real order, and against that same order arriving twice — is a
|
|
109
109
|
test purchase on the test site rather than anything this command can do; the
|
|
110
|
-
[quickstart](https://
|
|
110
|
+
[quickstart](https://agentify.ad/docs/quickstart) walks you through one.
|
|
111
111
|
|
|
112
112
|
## Where the rest of it is written
|
|
113
113
|
|
|
114
114
|
The merchant documentation is public. [The first test
|
|
115
|
-
sale](https://
|
|
115
|
+
sale](https://agentify.ad/docs/quickstart) walks from an empty project to
|
|
116
116
|
a test purchase your side runs end to end; the other three pages are [the
|
|
117
|
-
product card](https://
|
|
118
|
-
fulfillment modes](https://
|
|
117
|
+
product card](https://agentify.ad/docs/cards) field by field, [orders and
|
|
118
|
+
fulfillment modes](https://agentify.ad/docs/orders) for delivering later
|
|
119
119
|
rather than in the answer to the purchase, and [what can go
|
|
120
|
-
wrong](https://
|
|
120
|
+
wrong](https://agentify.ad/docs/failures).
|
|
121
121
|
|
|
122
122
|
## Versions
|
|
123
123
|
|
package/dist/client.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export interface ClientOptions {
|
|
|
72
72
|
readonly apiKey: string | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Where the gateway is: `https://test.agentify.ad` while the merchant
|
|
75
|
-
* is building, `https://
|
|
75
|
+
* is building, `https://agentify.ad` once they are live.
|
|
76
76
|
*
|
|
77
77
|
* Optional, and there is deliberately no default behind it. Both addresses
|
|
78
78
|
* are settled and this package still refuses to pick one, because which of
|
package/dist/client.js
CHANGED
|
@@ -292,7 +292,7 @@ export const createClient = (options) => {
|
|
|
292
292
|
};
|
|
293
293
|
const reachable = () => {
|
|
294
294
|
if (gateway.baseUrl === "") {
|
|
295
|
-
throw new TypeError("this client has no gateway address: pass baseUrl to createClient — https://test.agentify.ad while you are building, https://
|
|
295
|
+
throw new TypeError("this client has no gateway address: pass baseUrl to createClient — https://test.agentify.ad while you are building, https://agentify.ad once you are live. There is no default on purpose: which of the two you talk to is the difference between a sale and a rehearsal, and an address this package chose for you would point somebody's production at the wrong one without a word");
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuanu-ai/agentify",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Sell your existing products to AI agents: publish product cards to an x402 storefront and fill the paid orders from your own service.",
|
|
6
6
|
"keywords": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"stablecoin-payments",
|
|
12
12
|
"usdc"
|
|
13
13
|
],
|
|
14
|
-
"homepage": "https://
|
|
14
|
+
"homepage": "https://agentify.ad/docs/",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|