troxy-cli 1.4.17 → 1.4.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "troxy-cli",
3
- "version": "1.4.17",
3
+ "version": "1.4.18",
4
4
  "description": "AI payment control — protect your agent's payments with policies",
5
5
  "type": "module",
6
6
  "bin": {
package/src/mcp-server.js CHANGED
@@ -104,7 +104,7 @@ export async function runMcp() {
104
104
  'based on your Troxy policies. Call this before initiating any payment.',
105
105
  inputSchema: {
106
106
  type: 'object',
107
- required: ['merchant_name', 'amount'],
107
+ required: ['merchant_name', 'amount', 'currency'],
108
108
  properties: {
109
109
  merchant_name: {
110
110
  type: 'string',
@@ -124,7 +124,7 @@ export async function runMcp() {
124
124
  },
125
125
  currency: {
126
126
  type: 'string',
127
- description: 'Currency code, defaults to USD (optional)',
127
+ description: 'ISO 4217 currency code always include this. Examples: "ILS" for Israeli Shekel (NIS), "USD" for US Dollar, "EUR" for Euro.',
128
128
  },
129
129
  approval_token: {
130
130
  type: 'string',