Skip to content

A local-first personal finance app

:recycle: (api) removing deprecated 'methods' export (#4350)

Matiss Janis Aboltins52ce2a179e58
diff --git a/packages/api/index.ts b/packages/api/index.ts
index be3f92d8bf..8fa8577eb9 100644
--- a/packages/api/index.ts
+++ b/packages/api/index.ts
@@ -1,8 +1,7 @@
import type {
RequestInfo as FetchInfo,
RequestInit as FetchInit,
- // @ts-ignore: false-positive commonjs module error on build until typescript 5.3
-} from 'node-fetch'; // with { 'resolution-mode': 'import' };
+} from 'node-fetch';
// loot-core types
import type { InitConfig } from 'loot-core/server/main';
@@ -16,9 +15,6 @@ import { validateNodeVersion } from './validateNodeVersion';
let actualApp: null | typeof bundle.lib;
export const internal = bundle.lib;
-// DEPRECATED: remove the next line in @actual-app/api v7
-export * as methods from './methods';
-
export * from './methods';
export * as utils from './utils';
diff --git a/upcoming-release-notes/4350.md b/upcoming-release-notes/4350.md
new file mode 100644
index 0000000000..9a0fdf388a
--- /dev/null
+++ b/upcoming-release-notes/4350.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+API: remove deprecated exports of methods.