Skip to content

Commit

Permalink
feat: export buildRequestInit function so we can use for downloadFile
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsChaceD authored Jun 16, 2023
1 parent def3bcb commit 95b0575
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ export { Capacitor, registerPlugin } from './global';
export { WebPlugin, WebPluginConfig, ListenerCallback } from './web-plugin';

// Core Plugins APIs
export { CapacitorCookies, CapacitorHttp, WebView } from './core-plugins';
export {
CapacitorCookies,
CapacitorHttp,
WebView,
buildRequestInit,
} from './core-plugins';

// Core Plugin definitions
export type {
Expand Down

0 comments on commit 95b0575

Please sign in to comment.