Function bootstrap

Bootstraps the GlobalFooterClient by loading it from the specified entry URL.

import { bootstrap } from '@govflanders/vl-widget-global-footer-types';

const url = 'https://widgets.vlaanderen.be/api/v2/widget/your-widget-id/entry';
const client = await bootstrap(url);
// Use the GlobalFooterClient instance
const config = await client.getConfig();