@gooddata/api-client-bear
Version:
API Client for the GoodData platform
12 lines • 574 B
JavaScript
// (C) 2007-2022 GoodData Corporation
import "isomorphic-fetch";
import { factory, SDK } from "./gooddata.js";
export * from "./caching/index.js";
const getFactoryBrowser = (config) => factory(fetch.bind(window))(config);
// Fetch requests will be sent through the isomorphic-fetch. Our authentication
// relies on cookies, so it will work in browser environment automatically.
// For node see `gooddata-node.js` file.
export { getFactoryBrowser as getFactory, SDK };
export * from "./api.js";
export default getFactoryBrowser();
//# sourceMappingURL=gooddata-browser.js.map