@go-labs-sg/bb 1.0.2 → 1.0.3

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/dist/commands.js +1 -2
  2. package/package.json +1 -1
package/dist/commands.js CHANGED
@@ -55,8 +55,7 @@ export async function approveBill(billId) {
55
55
  (n.billId === billId || n.bill?.id === billId));
56
56
  const approval = pending[0];
57
57
  if (!approval) {
58
- out({ error: "No pending bill approval found for this bill." });
59
- process.exit(1);
58
+ throw new Error("No pending bill approval found for this bill.");
60
59
  }
61
60
  const result = await api.bill.updateApproval.mutate({
62
61
  billApprovalId: approval.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-labs-sg/bb",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Budget Builder CLI — list budgets, bills, approvals, suppliers; approve bills; change status. For AI agents (e.g. Chuck/OpenClaw).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",