@actual-app/api 26.1.0 → 26.2.0-nightly.20260106

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.
@@ -91,4 +91,5 @@ export declare function sortByKey<T>(arr: T[], key: keyof T): T[];
91
91
  export declare function tsToRelativeTime(ts: string | null, locale: Locale, options?: {
92
92
  capitalize: boolean;
93
93
  }): string;
94
+ export declare function applyFindReplace(text: string | null | undefined, find: string, replace: string, useRegex: boolean): string;
94
95
  export {};
package/dist/package.json CHANGED
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.1.0",
4
- "license": "MIT",
3
+ "version": "26.2.0-nightly.20260106",
5
4
  "description": "An API for Actual",
6
- "engines": {
7
- "node": ">=20"
8
- },
9
- "main": "dist/index.js",
10
- "types": "@types/index.d.ts",
5
+ "license": "MIT",
11
6
  "files": [
12
- "dist",
13
- "@types"
7
+ "@types",
8
+ "dist"
14
9
  ],
10
+ "main": "dist/index.js",
11
+ "types": "@types/index.d.ts",
15
12
  "scripts": {
16
13
  "build:app": "yarn workspace loot-core build:api",
17
14
  "build:crdt": "yarn workspace @actual-app/crdt build",
@@ -33,5 +30,8 @@
33
30
  "tsc-alias": "^1.8.16",
34
31
  "typescript": "^5.9.3",
35
32
  "vitest": "^4.0.9"
33
+ },
34
+ "engines": {
35
+ "node": ">=20"
36
36
  }
37
37
  }
package/package.json CHANGED
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.1.0",
4
- "license": "MIT",
3
+ "version": "26.2.0-nightly.20260106",
5
4
  "description": "An API for Actual",
6
- "engines": {
7
- "node": ">=20"
8
- },
9
- "main": "dist/index.js",
10
- "types": "@types/index.d.ts",
5
+ "license": "MIT",
11
6
  "files": [
12
- "dist",
13
- "@types"
7
+ "@types",
8
+ "dist"
14
9
  ],
10
+ "main": "dist/index.js",
11
+ "types": "@types/index.d.ts",
15
12
  "scripts": {
16
13
  "build:app": "yarn workspace loot-core build:api",
17
14
  "build:crdt": "yarn workspace @actual-app/crdt build",
@@ -33,5 +30,8 @@
33
30
  "tsc-alias": "^1.8.16",
34
31
  "typescript": "^5.9.3",
35
32
  "vitest": "^4.0.9"
33
+ },
34
+ "engines": {
35
+ "node": ">=20"
36
36
  }
37
37
  }