cascrow-mcp 1.1.3 → 1.1.4

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/index.js +5 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -155,6 +155,10 @@ const TOOLS = [
155
155
  type: "number",
156
156
  description: "Days from now until deadline (e.g. 7)",
157
157
  },
158
+ amountUSD: {
159
+ type: "number",
160
+ description: "Optional RLUSD amount to lock in escrow (e.g. 1.0). Omit or set to 0 for verification-only.",
161
+ },
158
162
  },
159
163
  },
160
164
  },
@@ -309,7 +313,7 @@ async function handleCreateContract({ milestones }) {
309
313
  const payload = {
310
314
  milestones: milestones.map((m) => ({
311
315
  title: `${m.title} — ${m.description}`,
312
- amountUSD: 0, // verification-only — $0.10 charged per verification trigger
316
+ amountUSD: m.amountUSD ?? 0,
313
317
  cancelAfter: deadline(m.deadlineDays ?? 7),
314
318
  })),
315
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cascrow-mcp",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "MCP server for Cascrow — agentic escrow and verification",
5
5
  "type": "module",
6
6
  "main": "index.js",