@uqpay/cli 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -97,6 +97,14 @@ For connected accounts, add `--on-behalf-of <account-id>` to all three flows.
97
97
  Reuse an idempotency key only for the same normalized Create request. Create
98
98
  returns HTTP 200 application data; usable bank details arrive asynchronously.
99
99
 
100
+ For all mutating commands, the CLI keeps one `x-idempotency-key` across safe
101
+ HTTP retries such as token refresh and rate limiting. If a connection failure,
102
+ response-read failure, or HTTP 5xx response leaves the remote result uncertain,
103
+ the CLI does not automatically replay the write. JSON output reports
104
+ `error: "reconcile_required"` together with `method`, `path`, and
105
+ `idempotency_key`; inspect the corresponding resource before deciding whether
106
+ to submit another logical request.
107
+
100
108
  Successful Gateway Create and Retrieve application data and each List summary
101
109
  include required `account_id` and `direct_id` fields. `account_id` is the UUID of
102
110
  the account that owns the application. `direct_id` is an ordinary string: `"0"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uqpay/cli",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "UQPAY command-line tool for banking, issuing, and payment APIs",
5
5
  "bin": {
6
6
  "uqpay": "scripts/run.js"