aixyz 0.26.0 → 0.27.1
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 +2 -0
- package/app/index.ts +4 -0
- package/package.json +4 -4
package/README.md
CHANGED
package/app/index.ts
CHANGED
|
@@ -4,8 +4,12 @@ import { type HttpMethod, type RouteHandler, type Middleware, type RouteEntry }
|
|
|
4
4
|
import { PaymentGateway } from "./payment/payment";
|
|
5
5
|
import { Network } from "@x402/core/types";
|
|
6
6
|
import { getAixyzConfig } from "@aixyz/config";
|
|
7
|
+
import { loadEnvConfig } from "@next/env";
|
|
7
8
|
import { BasePlugin } from "./plugin";
|
|
8
9
|
|
|
10
|
+
// Load .env and .env.production files at runtime (local files are excluded at build time).
|
|
11
|
+
loadEnvConfig(process.cwd());
|
|
12
|
+
|
|
9
13
|
export { BasePlugin };
|
|
10
14
|
export type { HttpMethod, RouteHandler, Middleware, RouteEntry };
|
|
11
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aixyz",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Payment-native SDK for AI Agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@a2a-js/sdk": "^0.3.10",
|
|
41
|
-
"@aixyz/cli": "0.
|
|
42
|
-
"@aixyz/config": "0.
|
|
43
|
-
"@aixyz/erc-8004": "0.
|
|
41
|
+
"@aixyz/cli": "0.27.1",
|
|
42
|
+
"@aixyz/config": "0.27.1",
|
|
43
|
+
"@aixyz/erc-8004": "0.27.1",
|
|
44
44
|
"@kitajs/html": "^4.2.13",
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
46
46
|
"@next/env": "^16.1.6",
|