@go-labs-sg/bb 3.13.0 → 3.14.0
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/dist/index.js +60 -86
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6839,7 +6839,7 @@ var normalizeApiBaseUrl = (value) => {
|
|
|
6839
6839
|
return url.toString().replace(/\/$/, "");
|
|
6840
6840
|
};
|
|
6841
6841
|
|
|
6842
|
-
// ../../../node_modules/.bun/@trpc+server@11.
|
|
6842
|
+
// ../../../node_modules/.bun/@trpc+server@11.26.0+431a08decb845963/node_modules/@trpc/server/dist/observable-CodTG6Sf.mjs
|
|
6843
6843
|
function observable(subscribe) {
|
|
6844
6844
|
const self = {
|
|
6845
6845
|
subscribe(observer) {
|
|
@@ -7055,7 +7055,7 @@ function observableToAsyncIterable(observable, signal) {
|
|
|
7055
7055
|
return iterator;
|
|
7056
7056
|
}
|
|
7057
7057
|
|
|
7058
|
-
// ../../../node_modules/.bun/@trpc+server@11.
|
|
7058
|
+
// ../../../node_modules/.bun/@trpc+server@11.26.0+431a08decb845963/node_modules/@trpc/server/dist/observable-BjUZYMQq.mjs
|
|
7059
7059
|
function share(_opts) {
|
|
7060
7060
|
return (source) => {
|
|
7061
7061
|
let refCount = 0;
|
|
@@ -7200,7 +7200,7 @@ function behaviorSubject(initialValue) {
|
|
|
7200
7200
|
return obs;
|
|
7201
7201
|
}
|
|
7202
7202
|
|
|
7203
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7203
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/splitLink-PFsRy7Mf.mjs
|
|
7204
7204
|
function createChain(opts) {
|
|
7205
7205
|
return observable((observer) => {
|
|
7206
7206
|
function execute(index = 0, op = opts.op) {
|
|
@@ -7218,7 +7218,7 @@ function createChain(opts) {
|
|
|
7218
7218
|
});
|
|
7219
7219
|
}
|
|
7220
7220
|
|
|
7221
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7221
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/objectSpread2-pyA4QVO4.mjs
|
|
7222
7222
|
function _typeof(o) {
|
|
7223
7223
|
"@babel/helpers - typeof";
|
|
7224
7224
|
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
@@ -7227,17 +7227,17 @@ function _typeof(o) {
|
|
|
7227
7227
|
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7228
7228
|
}, _typeof(o);
|
|
7229
7229
|
}
|
|
7230
|
-
function toPrimitive(t,
|
|
7230
|
+
function toPrimitive(t, e) {
|
|
7231
7231
|
if (_typeof(t) != "object" || !t)
|
|
7232
7232
|
return t;
|
|
7233
|
-
var
|
|
7234
|
-
if (
|
|
7235
|
-
var i =
|
|
7233
|
+
var r;
|
|
7234
|
+
if (typeof Symbol != "undefined" && (r = t[Symbol.toPrimitive]) !== undefined) {
|
|
7235
|
+
var i = r.call(t, e || "default");
|
|
7236
7236
|
if (_typeof(i) != "object")
|
|
7237
7237
|
return i;
|
|
7238
7238
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7239
7239
|
}
|
|
7240
|
-
return (
|
|
7240
|
+
return (e === "string" ? String : Number)(t);
|
|
7241
7241
|
}
|
|
7242
7242
|
function toPropertyKey(t) {
|
|
7243
7243
|
var i = toPrimitive(t, "string");
|
|
@@ -7273,7 +7273,7 @@ function _objectSpread2(e) {
|
|
|
7273
7273
|
return e;
|
|
7274
7274
|
}
|
|
7275
7275
|
|
|
7276
|
-
// ../../../node_modules/.bun/@trpc+server@11.
|
|
7276
|
+
// ../../../node_modules/.bun/@trpc+server@11.26.0+431a08decb845963/node_modules/@trpc/server/dist/codes-BCsCCyMj.mjs
|
|
7277
7277
|
function isObject2(value) {
|
|
7278
7278
|
return !!value && !Array.isArray(value) && typeof value === "object";
|
|
7279
7279
|
}
|
|
@@ -7310,7 +7310,7 @@ var retryableRpcCodes = [
|
|
|
7310
7310
|
TRPC_ERROR_CODES_BY_KEY.INTERNAL_SERVER_ERROR
|
|
7311
7311
|
];
|
|
7312
7312
|
|
|
7313
|
-
// ../../../node_modules/.bun/@trpc+server@11.
|
|
7313
|
+
// ../../../node_modules/.bun/@trpc+server@11.26.0+431a08decb845963/node_modules/@trpc/server/dist/getErrorShape-CVrl8_-w.mjs
|
|
7314
7314
|
var noop = () => {};
|
|
7315
7315
|
var freezeIfAvailable = (obj) => {
|
|
7316
7316
|
if (Object.freeze)
|
|
@@ -7367,17 +7367,17 @@ function _typeof2(o) {
|
|
|
7367
7367
|
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
7368
7368
|
}, _typeof2(o);
|
|
7369
7369
|
}
|
|
7370
|
-
function toPrimitive2(t,
|
|
7370
|
+
function toPrimitive2(t, e) {
|
|
7371
7371
|
if (_typeof2(t) != "object" || !t)
|
|
7372
7372
|
return t;
|
|
7373
|
-
var
|
|
7374
|
-
if (
|
|
7375
|
-
var i =
|
|
7373
|
+
var r;
|
|
7374
|
+
if (typeof Symbol != "undefined" && (r = t[Symbol.toPrimitive]) !== undefined) {
|
|
7375
|
+
var i = r.call(t, e || "default");
|
|
7376
7376
|
if (_typeof2(i) != "object")
|
|
7377
7377
|
return i;
|
|
7378
7378
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7379
7379
|
}
|
|
7380
|
-
return (
|
|
7380
|
+
return (e === "string" ? String : Number)(t);
|
|
7381
7381
|
}
|
|
7382
7382
|
function toPropertyKey2(t) {
|
|
7383
7383
|
var i = toPrimitive2(t, "string");
|
|
@@ -7413,7 +7413,7 @@ function _objectSpread22(e) {
|
|
|
7413
7413
|
return e;
|
|
7414
7414
|
}
|
|
7415
7415
|
|
|
7416
|
-
// ../../../node_modules/.bun/@trpc+server@11.
|
|
7416
|
+
// ../../../node_modules/.bun/@trpc+server@11.26.0+431a08decb845963/node_modules/@trpc/server/dist/asyncGeneratorDelegate-BRQGtkYG.mjs
|
|
7417
7417
|
function transformResultInner(response, transformer) {
|
|
7418
7418
|
if ("error" in response) {
|
|
7419
7419
|
const error = transformer.deserialize(response.error);
|
|
@@ -7460,54 +7460,41 @@ function _OverloadYield(e, d) {
|
|
|
7460
7460
|
this.v = e, this.k = d;
|
|
7461
7461
|
}
|
|
7462
7462
|
function AsyncGenerator(e) {
|
|
7463
|
-
var
|
|
7464
|
-
function resume(
|
|
7463
|
+
var t, n;
|
|
7464
|
+
function resume(t, n) {
|
|
7465
7465
|
try {
|
|
7466
|
-
var
|
|
7467
|
-
Promise.resolve(u ? o.v : o).then(function(
|
|
7466
|
+
var r = e[t](n), o = r.value, u = o instanceof _OverloadYield;
|
|
7467
|
+
Promise.resolve(u ? o.v : o).then(function(n) {
|
|
7468
7468
|
if (u) {
|
|
7469
|
-
var i =
|
|
7470
|
-
if (!o.k ||
|
|
7471
|
-
return resume(i,
|
|
7472
|
-
|
|
7469
|
+
var i = t === "return" && o.k ? t : "next";
|
|
7470
|
+
if (!o.k || n.done)
|
|
7471
|
+
return resume(i, n);
|
|
7472
|
+
n = e[i](n).value;
|
|
7473
7473
|
}
|
|
7474
|
-
settle(
|
|
7474
|
+
settle(!!r.done, n);
|
|
7475
7475
|
}, function(e) {
|
|
7476
7476
|
resume("throw", e);
|
|
7477
7477
|
});
|
|
7478
7478
|
} catch (e) {
|
|
7479
|
-
settle(
|
|
7479
|
+
settle(2, e);
|
|
7480
7480
|
}
|
|
7481
7481
|
}
|
|
7482
|
-
function settle(e,
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
done: true
|
|
7488
|
-
});
|
|
7489
|
-
break;
|
|
7490
|
-
case "throw":
|
|
7491
|
-
r.reject(n);
|
|
7492
|
-
break;
|
|
7493
|
-
default:
|
|
7494
|
-
r.resolve({
|
|
7495
|
-
value: n,
|
|
7496
|
-
done: false
|
|
7497
|
-
});
|
|
7498
|
-
}
|
|
7499
|
-
(r = r.next) ? resume(r.key, r.arg) : t = null;
|
|
7482
|
+
function settle(e, r) {
|
|
7483
|
+
e === 2 ? t.reject(r) : t.resolve({
|
|
7484
|
+
value: r,
|
|
7485
|
+
done: e
|
|
7486
|
+
}), (t = t.next) ? resume(t.key, t.arg) : n = null;
|
|
7500
7487
|
}
|
|
7501
|
-
this._invoke = function(e,
|
|
7488
|
+
this._invoke = function(e, r) {
|
|
7502
7489
|
return new Promise(function(o, u) {
|
|
7503
7490
|
var i = {
|
|
7504
7491
|
key: e,
|
|
7505
|
-
arg:
|
|
7492
|
+
arg: r,
|
|
7506
7493
|
resolve: o,
|
|
7507
7494
|
reject: u,
|
|
7508
7495
|
next: null
|
|
7509
7496
|
};
|
|
7510
|
-
|
|
7497
|
+
n ? n = n.next = i : (t = n = i, resume(e, r));
|
|
7511
7498
|
});
|
|
7512
7499
|
}, typeof e["return"] != "function" && (this["return"] = undefined);
|
|
7513
7500
|
}
|
|
@@ -7522,7 +7509,7 @@ AsyncGenerator.prototype[typeof Symbol == "function" && Symbol.asyncIterator ||
|
|
|
7522
7509
|
};
|
|
7523
7510
|
var trackedSymbol = Symbol();
|
|
7524
7511
|
|
|
7525
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7512
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/TRPCClientError-DE6-fd1n.mjs
|
|
7526
7513
|
function isTRPCClientError(cause) {
|
|
7527
7514
|
return cause instanceof TRPCClientError;
|
|
7528
7515
|
}
|
|
@@ -7568,7 +7555,7 @@ var TRPCClientError = class TRPCClientError extends Error {
|
|
|
7568
7555
|
}
|
|
7569
7556
|
};
|
|
7570
7557
|
|
|
7571
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7558
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/unstable-internals.mjs
|
|
7572
7559
|
function getTransformer(transformer) {
|
|
7573
7560
|
const _transformer = transformer;
|
|
7574
7561
|
if (!_transformer)
|
|
@@ -7590,7 +7577,7 @@ function getTransformer(transformer) {
|
|
|
7590
7577
|
};
|
|
7591
7578
|
}
|
|
7592
7579
|
|
|
7593
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7580
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/httpUtils-CWtyfi2N.mjs
|
|
7594
7581
|
var isFunction2 = (fn) => typeof fn === "function";
|
|
7595
7582
|
function getFetch(customFetchImpl) {
|
|
7596
7583
|
if (customFetchImpl)
|
|
@@ -7743,7 +7730,7 @@ async function httpRequest(opts) {
|
|
|
7743
7730
|
};
|
|
7744
7731
|
}
|
|
7745
7732
|
|
|
7746
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7733
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/httpBatchLink-C3x3d8vz.mjs
|
|
7747
7734
|
var throwFatalError = () => {
|
|
7748
7735
|
throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new");
|
|
7749
7736
|
};
|
|
@@ -7938,7 +7925,7 @@ function httpBatchLink(opts) {
|
|
|
7938
7925
|
};
|
|
7939
7926
|
}
|
|
7940
7927
|
|
|
7941
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7928
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/links/loggerLink.mjs
|
|
7942
7929
|
function isFormData(value) {
|
|
7943
7930
|
if (typeof FormData === "undefined")
|
|
7944
7931
|
return false;
|
|
@@ -8050,7 +8037,7 @@ function loggerLink(opts = {}) {
|
|
|
8050
8037
|
};
|
|
8051
8038
|
}
|
|
8052
8039
|
|
|
8053
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
8040
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/wsLink-BiIe_j6D.mjs
|
|
8054
8041
|
var resultOf = (value, ...args) => {
|
|
8055
8042
|
return typeof value === "function" ? value(...args) : value;
|
|
8056
8043
|
};
|
|
@@ -8203,7 +8190,7 @@ var WsConnection = class WsConnection {
|
|
|
8203
8190
|
};
|
|
8204
8191
|
_defineProperty(WsConnection, "connectCount", 0);
|
|
8205
8192
|
|
|
8206
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
8193
|
+
// ../../../node_modules/.bun/@trpc+client@11.26.0+2254e82f702320cc/node_modules/@trpc/client/dist/index.mjs
|
|
8207
8194
|
var observerKeys = [
|
|
8208
8195
|
"onStarted",
|
|
8209
8196
|
"onData",
|
|
@@ -8347,54 +8334,41 @@ function _OverloadYield2(e, d) {
|
|
|
8347
8334
|
this.v = e, this.k = d;
|
|
8348
8335
|
}
|
|
8349
8336
|
function AsyncGenerator2(e) {
|
|
8350
|
-
var
|
|
8351
|
-
function resume(
|
|
8337
|
+
var t, n;
|
|
8338
|
+
function resume(t, n) {
|
|
8352
8339
|
try {
|
|
8353
|
-
var
|
|
8354
|
-
Promise.resolve(u ? o.v : o).then(function(
|
|
8340
|
+
var r = e[t](n), o = r.value, u = o instanceof _OverloadYield2;
|
|
8341
|
+
Promise.resolve(u ? o.v : o).then(function(n) {
|
|
8355
8342
|
if (u) {
|
|
8356
|
-
var i =
|
|
8357
|
-
if (!o.k ||
|
|
8358
|
-
return resume(i,
|
|
8359
|
-
|
|
8343
|
+
var i = t === "return" && o.k ? t : "next";
|
|
8344
|
+
if (!o.k || n.done)
|
|
8345
|
+
return resume(i, n);
|
|
8346
|
+
n = e[i](n).value;
|
|
8360
8347
|
}
|
|
8361
|
-
settle(
|
|
8348
|
+
settle(!!r.done, n);
|
|
8362
8349
|
}, function(e) {
|
|
8363
8350
|
resume("throw", e);
|
|
8364
8351
|
});
|
|
8365
8352
|
} catch (e) {
|
|
8366
|
-
settle(
|
|
8353
|
+
settle(2, e);
|
|
8367
8354
|
}
|
|
8368
8355
|
}
|
|
8369
|
-
function settle(e,
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
done: true
|
|
8375
|
-
});
|
|
8376
|
-
break;
|
|
8377
|
-
case "throw":
|
|
8378
|
-
r.reject(n);
|
|
8379
|
-
break;
|
|
8380
|
-
default:
|
|
8381
|
-
r.resolve({
|
|
8382
|
-
value: n,
|
|
8383
|
-
done: false
|
|
8384
|
-
});
|
|
8385
|
-
}
|
|
8386
|
-
(r = r.next) ? resume(r.key, r.arg) : t = null;
|
|
8356
|
+
function settle(e, r) {
|
|
8357
|
+
e === 2 ? t.reject(r) : t.resolve({
|
|
8358
|
+
value: r,
|
|
8359
|
+
done: e
|
|
8360
|
+
}), (t = t.next) ? resume(t.key, t.arg) : n = null;
|
|
8387
8361
|
}
|
|
8388
|
-
this._invoke = function(e,
|
|
8362
|
+
this._invoke = function(e, r) {
|
|
8389
8363
|
return new Promise(function(o, u) {
|
|
8390
8364
|
var i = {
|
|
8391
8365
|
key: e,
|
|
8392
|
-
arg:
|
|
8366
|
+
arg: r,
|
|
8393
8367
|
resolve: o,
|
|
8394
8368
|
reject: u,
|
|
8395
8369
|
next: null
|
|
8396
8370
|
};
|
|
8397
|
-
|
|
8371
|
+
n ? n = n.next = i : (t = n = i, resume(e, r));
|
|
8398
8372
|
});
|
|
8399
8373
|
}, typeof e["return"] != "function" && (this["return"] = undefined);
|
|
8400
8374
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-labs-sg/bb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0",
|
|
4
4
|
"description": "Budget Builder CLI for AI agents — manage budgets, bills, claims, quotations, and customer invoices with explicit workflow previews for sensitive changes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|