'use strict';

import { PluginData } from './types/plugin-data';
import FreyaSyncService from './freya-sync-service';

const data: PluginData = {
    // @ts-ignore
    ajax_url: php_data.ajax_url,
    // @ts-ignore
    nonce: php_data.nonce,
    // @ts-ignore
    api_url: php_data.api_url,
    // @ts-ignore
    version: php_data.version,
};

await FreyaSyncService.bootstrap(data);
