@capacitor/android
Advanced tools
Comparing version 6.0.0-nightly-20240412T150441.0 to 6.0.0-nightly-20240415T150449.0
@@ -501,7 +501,7 @@ | ||
} | ||
if (!(options === null || options === void 0 ? void 0 : options.method) || | ||
options.method.toLocaleUpperCase() === 'GET' || | ||
options.method.toLocaleUpperCase() === 'HEAD' || | ||
options.method.toLocaleUpperCase() === 'OPTIONS' || | ||
options.method.toLocaleUpperCase() === 'TRACE') { | ||
const { method } = request; | ||
if (method.toLocaleUpperCase() === 'GET' || | ||
method.toLocaleUpperCase() === 'HEAD' || | ||
method.toLocaleUpperCase() === 'OPTIONS' || | ||
method.toLocaleUpperCase() === 'TRACE') { | ||
if (typeof resource === 'string') { | ||
@@ -518,3 +518,3 @@ return await win.CapacitorWebFetch(createProxyUrl(resource, win), options); | ||
try { | ||
const { body, method } = request; | ||
const { body } = request; | ||
const optionHeaders = Object.fromEntries(request.headers.entries()); | ||
@@ -521,0 +521,0 @@ const { data: requestData, type, headers, } = await convertBody((options === null || options === void 0 ? void 0 : options.body) || body || undefined, optionHeaders['Content-Type'] || optionHeaders['content-type']); |
{ | ||
"name": "@capacitor/android", | ||
"version": "6.0.0-nightly-20240412T150441.0", | ||
"version": "6.0.0-nightly-20240415T150449.0", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -26,3 +26,3 @@ "homepage": "https://capacitorjs.com", | ||
"peerDependencies": { | ||
"@capacitor/core": "^6.0.0-nightly-20240412T150441.0" | ||
"@capacitor/core": "^6.0.0-nightly-20240415T150449.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
427948