diff --git a/packages/api/index.js b/packages/api/index.js index 71f97f69b6ceb038e6bd93cef33f3116bb2837e6..b601d97d39cd0195dc62acff9f8e6cdeb270e47a 100644 --- a/packages/api/index.js +++ b/packages/api/index.js @@ -6,7 +6,10 @@ import * as injected from './injected'; let actualApp; 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'; export async function init(config = {}) { diff --git a/upcoming-release-notes/1054.md b/upcoming-release-notes/1054.md new file mode 100644 index 0000000000000000000000000000000000000000..742feea131893e9736e14dc03a4d5dbea1cdb9ba --- /dev/null +++ b/upcoming-release-notes/1054.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [j-f1] +--- + +Re-export the API methods at the top level of the `@actual-budget/api` package like they were in the past. Note: If you were using the `api.methods.<method>` syntax to access API methods in recent versions, that is now deprecated and will stop working with the next major release of the API package.