@fiber-pay/cli 0.1.0-rc.4 → 0.1.0-rc.5

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/error-codes.json CHANGED
@@ -76,6 +76,16 @@
76
76
  "meaning": "Payment send arguments are incomplete or invalid",
77
77
  "agentAction": "Provide invoice, or provide `--to` with `--amount`"
78
78
  },
79
+ {
80
+ "code": "PAYMENT_REBALANCE_INPUT_INVALID",
81
+ "meaning": "Payment rebalance arguments are invalid or inconsistent",
82
+ "agentAction": "Provide a valid positive `--amount`; use non-empty `--hops` for manual mode; avoid `--max-fee` when `--hops` is set"
83
+ },
84
+ {
85
+ "code": "CHANNEL_REBALANCE_INPUT_INVALID",
86
+ "meaning": "Channel rebalance arguments are invalid or channel selection cannot map to a valid guided route",
87
+ "agentAction": "Provide a valid positive `--amount`; in guided mode provide both `--from-channel` and `--to-channel` with different peer ids"
88
+ },
79
89
  {
80
90
  "code": "PAYMENT_WATCH_TIMEOUT",
81
91
  "meaning": "Payment did not reach terminal state in timeout window",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiber-pay/cli",
3
- "version": "0.1.0-rc.4",
3
+ "version": "0.1.0-rc.5",
4
4
  "description": "Command-line tool for managing Fiber Network nodes",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,9 +28,9 @@
28
28
  "dependencies": {
29
29
  "commander": "^13.1.0",
30
30
  "yaml": "^2.8.2",
31
- "@fiber-pay/node": "0.1.0-rc.4",
32
- "@fiber-pay/runtime": "0.1.0-rc.4",
33
- "@fiber-pay/sdk": "0.1.0-rc.4"
31
+ "@fiber-pay/node": "0.1.0-rc.5",
32
+ "@fiber-pay/runtime": "0.1.0-rc.5",
33
+ "@fiber-pay/sdk": "0.1.0-rc.5"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup",