@minia2a/sdk 1.0.2 → 1.0.3
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 +4 -4
- package/cli.js +2 -2
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @minia2a/sdk
|
|
2
2
|
|
|
3
|
-
The marketplace companion for [@x402/express](https://www.npmjs.com/package/@x402/express) — discover, list, and trial 1,
|
|
3
|
+
The marketplace companion for [@x402/express](https://www.npmjs.com/package/@x402/express) — discover, list, and trial 1,680+ agent-to-agent services from the command line.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install -g @minia2a/sdk
|
|
@@ -26,7 +26,7 @@ minia2a register
|
|
|
26
26
|
|
|
27
27
|
| Command | Description |
|
|
28
28
|
|---------|-------------|
|
|
29
|
-
| `minia2a discover <query>` | Search 1,
|
|
29
|
+
| `minia2a discover <query>` | Search 1,680+ services by keyword |
|
|
30
30
|
| `minia2a list` | Show top 20 most-used services |
|
|
31
31
|
| `minia2a trial <id>` | Call a service's free trial endpoint |
|
|
32
32
|
| `minia2a register` | Get 5 free trial calls |
|
|
@@ -41,7 +41,7 @@ minia2a publish
|
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Your service gets:
|
|
44
|
-
- Listed in the 1,
|
|
44
|
+
- Listed in the 1,680+-service catalog on [minia2a.uk](https://minia2a.uk)
|
|
45
45
|
- Free trial traffic from agent developers
|
|
46
46
|
- USDC revenue on Base — direct to your wallet
|
|
47
47
|
- 5% marketplace fee only on paid calls
|
|
@@ -68,4 +68,4 @@ const { services, walletUsers } = await stats();
|
|
|
68
68
|
|
|
69
69
|
---
|
|
70
70
|
|
|
71
|
-
Powered by [minia2a.uk](https://minia2a.uk) — 1,
|
|
71
|
+
Powered by [minia2a.uk](https://minia2a.uk) — 1,680+ services, USDC on Base
|
package/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ function usage() {
|
|
|
39
39
|
minia2a <command> [args]
|
|
40
40
|
|
|
41
41
|
Commands:
|
|
42
|
-
discover <query> Search the 1,
|
|
42
|
+
discover <query> Search the 1,680+-service marketplace
|
|
43
43
|
list Show popular x402 services
|
|
44
44
|
trial <service> Get trial instructions for a service
|
|
45
45
|
register Register your agent (5 free trial calls)
|
|
@@ -238,7 +238,7 @@ async function publish() {
|
|
|
238
238
|
║ }' ║
|
|
239
239
|
║ ║
|
|
240
240
|
║ Your service gets: ║
|
|
241
|
-
║ • Listed in the 1,
|
|
241
|
+
║ • Listed in the 1,680+-service catalog ║
|
|
242
242
|
║ • Free trial traffic from agent developers ║
|
|
243
243
|
║ • USDC revenue on Base — direct to your wallet ║
|
|
244
244
|
║ • 5% marketplace fee only on paid calls ║
|
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ async function fetchJSON(path) {
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Search services by keyword query.
|
|
18
|
-
* Returns scored & sorted matches from the 1,
|
|
18
|
+
* Returns scored & sorted matches from the 1,680+-service catalog.
|
|
19
19
|
*/
|
|
20
20
|
async function discover(query) {
|
|
21
21
|
const data = await fetchJSON("/api/services");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minia2a/sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "The marketplace companion for @x402/express — discover, list, and trial 1,
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "The marketplace companion for @x402/express — discover, list, and trial 1,680+ agent-to-agent services from the command line.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"minia2a": "./cli.js"
|