From 95b0575e3fbc1b1408aa69b61c58e18bf8882cea Mon Sep 17 00:00:00 2001 From: Chace Daniels Date: Fri, 16 Jun 2023 09:04:04 -0700 Subject: [PATCH] feat: export buildRequestInit function so we can use for downloadFile --- core/src/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/index.ts b/core/src/index.ts index e874a7294e..d1a8d3fbfb 100644 --- a/core/src/index.ts +++ b/core/src/index.ts @@ -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 {