create-aixyz-app 0.28.0 → 0.29.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/README.md
CHANGED
|
@@ -137,7 +137,7 @@ const server = new AixyzApp();
|
|
|
137
137
|
await server.withPlugin(new IndexPagePlugin());
|
|
138
138
|
|
|
139
139
|
// A2A: agent discovery + JSON-RPC endpoint
|
|
140
|
-
await server.withPlugin(new A2APlugin(agent));
|
|
140
|
+
await server.withPlugin(new A2APlugin([{ exports: agent }]));
|
|
141
141
|
|
|
142
142
|
// MCP: expose tools to MCP clients
|
|
143
143
|
await server.withPlugin(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-aixyz-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Payment-native SDK for AI Agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/bun": "^1.3.9",
|
|
35
35
|
"@types/node": "^22",
|
|
36
36
|
"ai": "^6",
|
|
37
|
-
"aixyz": "0.
|
|
37
|
+
"aixyz": "0.29.0",
|
|
38
38
|
"typescript": "^5",
|
|
39
39
|
"zod": "^4"
|
|
40
40
|
}
|
|
@@ -9,9 +9,8 @@ const metadata: ERC8004Registration = {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Declaring `export default
|
|
12
|
+
* Declaring `export default metadata` will expose ERC-8004 metadata at:
|
|
13
13
|
*
|
|
14
14
|
* GET /_aixyz/erc-8004.json
|
|
15
|
-
* GET /.well-known/erc-8004.json
|
|
16
15
|
*/
|
|
17
16
|
export default metadata;
|