@paystage/trade-preflight 0.1.0 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +41 -15
  2. package/server.json +2 -2
package/package.json CHANGED
@@ -1,36 +1,62 @@
1
1
  {
2
2
  "name": "@paystage/trade-preflight",
3
- "version": "0.1.0",
4
- "description": "MCP tool: evaluate HIP-3/trade.xyz orders against a local TradePolicy before trading",
3
+ "version": "0.1.2",
4
+ "description": "Evaluate HIP-3/trade.xyz orders against a local TradePolicy before an agent trades",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
7
15
  "bin": {
8
- "paystage-trade-preflight": "dist/index.js"
16
+ "paystage-trade-preflight": "./dist/cli.js"
9
17
  },
10
- "main": "dist/index.js",
11
18
  "files": [
12
19
  "dist",
13
- "README.md",
14
- "server.json"
20
+ "server.json",
21
+ "README.md"
15
22
  ],
16
23
  "mcpName": "xyz.paystage/trade-preflight",
17
- "publishConfig": {
18
- "access": "public"
24
+ "engines": {
25
+ "node": ">=20"
26
+ },
27
+ "keywords": [
28
+ "mcp",
29
+ "hyperliquid",
30
+ "hip-3",
31
+ "trade.xyz",
32
+ "preflight",
33
+ "policy",
34
+ "agent-trading"
35
+ ],
36
+ "homepage": "https://paystage.xyz",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/base-buzz/paystage.git",
40
+ "directory": "packages/trade-preflight"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/base-buzz/paystage/issues"
19
44
  },
20
45
  "scripts": {
21
- "build": "tsc -p tsconfig.json",
22
- "start": "node dist/index.js",
23
- "prepublishOnly": "npm run build"
46
+ "build": "tsc",
47
+ "test": "vitest run",
48
+ "typecheck": "tsc --noEmit"
24
49
  },
25
50
  "dependencies": {
26
- "@modelcontextprotocol/sdk": "^1.0.0",
51
+ "@modelcontextprotocol/sdk": "^1.12.0",
27
52
  "zod": "^3.23.8"
28
53
  },
29
54
  "devDependencies": {
55
+ "@types/node": "^20.14.0",
30
56
  "typescript": "^5.5.4",
31
- "@types/node": "^20.14.0"
57
+ "vitest": "^2.0.5"
32
58
  },
33
- "engines": {
34
- "node": ">=18"
59
+ "publishConfig": {
60
+ "access": "public"
35
61
  }
36
62
  }
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "xyz.paystage/trade-preflight",
4
4
  "title": "PayStage Trade Preflight",
5
5
  "description": "MCP tool: evaluate HIP-3/trade.xyz orders against a local TradePolicy before trading",
6
- "version": "0.1.0",
6
+ "version": "0.1.2",
7
7
  "websiteUrl": "https://paystage.xyz",
8
8
  "repository": {
9
9
  "url": "https://github.com/base-buzz/paystage",
@@ -15,7 +15,7 @@
15
15
  "registryType": "npm",
16
16
  "registryBaseUrl": "https://registry.npmjs.org",
17
17
  "identifier": "@paystage/trade-preflight",
18
- "version": "0.1.0",
18
+ "version": "0.1.2",
19
19
  "transport": {
20
20
  "type": "stdio"
21
21
  },