@actual-app/api 26.1.0-nightly.20251222 → 26.1.0-nightly.20251223
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.
|
@@ -55,10 +55,16 @@ export declare class RuleError extends Error {
|
|
|
55
55
|
type: string;
|
|
56
56
|
constructor(name: string, message: string);
|
|
57
57
|
}
|
|
58
|
-
export declare function APIError(msg: string, meta?:
|
|
58
|
+
export declare function APIError(msg: string, meta?: {
|
|
59
|
+
conditionErrors: string[];
|
|
60
|
+
actionErrors: string[];
|
|
61
|
+
}): {
|
|
59
62
|
type: string;
|
|
60
63
|
message: string;
|
|
61
|
-
meta:
|
|
64
|
+
meta: {
|
|
65
|
+
conditionErrors: string[];
|
|
66
|
+
actionErrors: string[];
|
|
67
|
+
};
|
|
62
68
|
};
|
|
63
69
|
export declare function FileDownloadError(reason: string, meta?: {
|
|
64
70
|
fileId?: string;
|
package/dist/app/bundle.api.js
CHANGED
|
@@ -59616,12 +59616,12 @@ async function upload() {
|
|
|
59616
59616
|
res = await fetchJSON(getServer().SYNC_SERVER + "/upload-user-file", {
|
|
59617
59617
|
method: "POST",
|
|
59618
59618
|
headers: {
|
|
59619
|
-
"Content-Length": uploadContent.length,
|
|
59619
|
+
"Content-Length": String(uploadContent.length),
|
|
59620
59620
|
"Content-Type": "application/encrypted-file",
|
|
59621
59621
|
"X-ACTUAL-TOKEN": userToken,
|
|
59622
59622
|
"X-ACTUAL-FILE-ID": cloudFileId,
|
|
59623
59623
|
"X-ACTUAL-NAME": encodeURIComponent(budgetName),
|
|
59624
|
-
"X-ACTUAL-FORMAT": 2,
|
|
59624
|
+
"X-ACTUAL-FORMAT": "2",
|
|
59625
59625
|
...uploadMeta ? { "X-ACTUAL-ENCRYPT-META": JSON.stringify(uploadMeta) } : null,
|
|
59626
59626
|
...groupId ? { "X-ACTUAL-GROUP-ID": groupId } : null
|
|
59627
59627
|
// TODO: fix me
|
package/dist/package.json
CHANGED