lion/packages/ajax/index.js
Goffert van Gool 73d4e222f6
Update public API of ajax & refactor package (#1371)
feat(ajax): align / break public API

Co-authored-by: Ahmet Yesil <yesil.ahmet@ing.com>
2021-05-12 15:21:18 +02:00

12 lines
341 B
JavaScript

import { Ajax } from './src/Ajax.js';
export { Ajax } from './src/Ajax.js';
export { AjaxFetchError } from './src/AjaxFetchError.js';
export {
acceptLanguageRequestInterceptor,
createXsrfRequestInterceptor,
createCacheInterceptors,
} from './src/interceptors/index.js';
// globally available instance
export const ajax = new Ajax();