@go-labs-sg/bb 3.14.0 → 3.16.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 +31 -31
- 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.28.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.28.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.28.0+86c0a2ff0813b553/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.28.0+86c0a2ff0813b553/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) {
|
|
@@ -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.28.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.28.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)
|
|
@@ -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.28.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);
|
|
@@ -7509,7 +7509,7 @@ AsyncGenerator.prototype[typeof Symbol == "function" && Symbol.asyncIterator ||
|
|
|
7509
7509
|
};
|
|
7510
7510
|
var trackedSymbol = Symbol();
|
|
7511
7511
|
|
|
7512
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7512
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/TRPCClientError-DE6-fd1n.mjs
|
|
7513
7513
|
function isTRPCClientError(cause) {
|
|
7514
7514
|
return cause instanceof TRPCClientError;
|
|
7515
7515
|
}
|
|
@@ -7555,7 +7555,7 @@ var TRPCClientError = class TRPCClientError extends Error {
|
|
|
7555
7555
|
}
|
|
7556
7556
|
};
|
|
7557
7557
|
|
|
7558
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7558
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/unstable-internals.mjs
|
|
7559
7559
|
function getTransformer(transformer) {
|
|
7560
7560
|
const _transformer = transformer;
|
|
7561
7561
|
if (!_transformer)
|
|
@@ -7577,7 +7577,7 @@ function getTransformer(transformer) {
|
|
|
7577
7577
|
};
|
|
7578
7578
|
}
|
|
7579
7579
|
|
|
7580
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7580
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/httpUtils-CtMuyl9j.mjs
|
|
7581
7581
|
var isFunction2 = (fn) => typeof fn === "function";
|
|
7582
7582
|
function getFetch(customFetchImpl) {
|
|
7583
7583
|
if (customFetchImpl)
|
|
@@ -7625,6 +7625,23 @@ function raceAbortSignalsWithCleanup(...signals) {
|
|
|
7625
7625
|
cleanup
|
|
7626
7626
|
};
|
|
7627
7627
|
}
|
|
7628
|
+
var AbortError = class extends Error {
|
|
7629
|
+
constructor() {
|
|
7630
|
+
const name = "AbortError";
|
|
7631
|
+
super(name);
|
|
7632
|
+
this.name = name;
|
|
7633
|
+
this.message = name;
|
|
7634
|
+
}
|
|
7635
|
+
};
|
|
7636
|
+
var throwIfAborted = (signal) => {
|
|
7637
|
+
var _signal$throwIfAborte;
|
|
7638
|
+
if (!(signal === null || signal === undefined ? undefined : signal.aborted))
|
|
7639
|
+
return;
|
|
7640
|
+
(_signal$throwIfAborte = signal.throwIfAborted) === null || _signal$throwIfAborte === undefined || _signal$throwIfAborte.call(signal);
|
|
7641
|
+
if (typeof DOMException !== "undefined")
|
|
7642
|
+
throw new DOMException("AbortError", "AbortError");
|
|
7643
|
+
throw new AbortError;
|
|
7644
|
+
};
|
|
7628
7645
|
function resolveHTTPLinkOptions(opts) {
|
|
7629
7646
|
return {
|
|
7630
7647
|
url: opts.url.toString(),
|
|
@@ -7680,23 +7697,6 @@ var jsonHttpRequester = (opts) => {
|
|
|
7680
7697
|
getBody
|
|
7681
7698
|
}));
|
|
7682
7699
|
};
|
|
7683
|
-
var AbortError = class extends Error {
|
|
7684
|
-
constructor() {
|
|
7685
|
-
const name = "AbortError";
|
|
7686
|
-
super(name);
|
|
7687
|
-
this.name = name;
|
|
7688
|
-
this.message = name;
|
|
7689
|
-
}
|
|
7690
|
-
};
|
|
7691
|
-
var throwIfAborted = (signal) => {
|
|
7692
|
-
var _signal$throwIfAborte;
|
|
7693
|
-
if (!(signal === null || signal === undefined ? undefined : signal.aborted))
|
|
7694
|
-
return;
|
|
7695
|
-
(_signal$throwIfAborte = signal.throwIfAborted) === null || _signal$throwIfAborte === undefined || _signal$throwIfAborte.call(signal);
|
|
7696
|
-
if (typeof DOMException !== "undefined")
|
|
7697
|
-
throw new DOMException("AbortError", "AbortError");
|
|
7698
|
-
throw new AbortError;
|
|
7699
|
-
};
|
|
7700
7700
|
async function fetchHTTPResponse(opts) {
|
|
7701
7701
|
var _opts$methodOverride, _opts$trpcAcceptHeade;
|
|
7702
7702
|
throwIfAborted(opts.signal);
|
|
@@ -7730,7 +7730,7 @@ async function httpRequest(opts) {
|
|
|
7730
7730
|
};
|
|
7731
7731
|
}
|
|
7732
7732
|
|
|
7733
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7733
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/httpBatchLink-BkVNtNND.mjs
|
|
7734
7734
|
var throwFatalError = () => {
|
|
7735
7735
|
throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new");
|
|
7736
7736
|
};
|
|
@@ -7925,7 +7925,7 @@ function httpBatchLink(opts) {
|
|
|
7925
7925
|
};
|
|
7926
7926
|
}
|
|
7927
7927
|
|
|
7928
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
7928
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/links/loggerLink.mjs
|
|
7929
7929
|
function isFormData(value) {
|
|
7930
7930
|
if (typeof FormData === "undefined")
|
|
7931
7931
|
return false;
|
|
@@ -8037,7 +8037,7 @@ function loggerLink(opts = {}) {
|
|
|
8037
8037
|
};
|
|
8038
8038
|
}
|
|
8039
8039
|
|
|
8040
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
8040
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/wsLink-BiIe_j6D.mjs
|
|
8041
8041
|
var resultOf = (value, ...args) => {
|
|
8042
8042
|
return typeof value === "function" ? value(...args) : value;
|
|
8043
8043
|
};
|
|
@@ -8190,7 +8190,7 @@ var WsConnection = class WsConnection {
|
|
|
8190
8190
|
};
|
|
8191
8191
|
_defineProperty(WsConnection, "connectCount", 0);
|
|
8192
8192
|
|
|
8193
|
-
// ../../../node_modules/.bun/@trpc+client@11.
|
|
8193
|
+
// ../../../node_modules/.bun/@trpc+client@11.28.0+86c0a2ff0813b553/node_modules/@trpc/client/dist/index.mjs
|
|
8194
8194
|
var observerKeys = [
|
|
8195
8195
|
"onStarted",
|
|
8196
8196
|
"onData",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-labs-sg/bb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.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",
|