Newer
Older
/* eslint-disable import/no-unused-modules */
// eslint-disable-next-line import/extensions
import * as bundle from './app/bundle.api.js';
import * as injected from './injected';
// DEPRECATED: remove the next line in @actual-app/api v7
export * from './methods';
export * as utils from './utils';
export async function init(config = {}) {
global.fetch = (...args) =>
import('node-fetch').then(({ default: fetch }) => fetch(...args));
await actualApp.send('close-budget');
actualApp = null;
}
}