@capacitor/ios
Advanced tools
Comparing version 6.0.0-nightly-20240312T150444.0 to 6.0.0-nightly-20240313T150530.0
@@ -145,7 +145,9 @@ | ||
return url; | ||
let proxyUrl = new URL(url); | ||
const proxyUrl = new URL(url); | ||
const bridgeUrl = new URL((_b = (_a = win.Capacitor) === null || _a === void 0 ? void 0 : _a.getServerUrl()) !== null && _b !== void 0 ? _b : ''); | ||
const isHttps = proxyUrl.protocol === 'https:'; | ||
const originalHost = encodeURIComponent(proxyUrl.host); | ||
const originalPathname = proxyUrl.pathname; | ||
proxyUrl = new URL((_b = (_a = win.Capacitor) === null || _a === void 0 ? void 0 : _a.getServerUrl()) !== null && _b !== void 0 ? _b : ''); | ||
proxyUrl.protocol = bridgeUrl.protocol; | ||
proxyUrl.host = bridgeUrl.host; | ||
proxyUrl.pathname = `${isHttps ? CAPACITOR_HTTPS_INTERCEPTOR : CAPACITOR_HTTP_INTERCEPTOR}/${originalHost}${originalPathname}`; | ||
@@ -152,0 +154,0 @@ return proxyUrl.toString(); |
{ | ||
"name": "@capacitor/ios", | ||
"version": "6.0.0-nightly-20240312T150444.0", | ||
"version": "6.0.0-nightly-20240313T150530.0", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -23,3 +23,3 @@ "homepage": "https://capacitorjs.com", | ||
"scripts": { | ||
"verify": "npm run xc:build:Capacitor && npm run xc:build:CapacitorCordova && pod lib lint --allow-warnings Capacitor.podspec && pod lib lint --allow-warnings CapacitorCordova.podspec", | ||
"verify": "npm run xc:build:Capacitor && npm run xc:build:CapacitorCordova", | ||
"xc:build:Capacitor": "cd Capacitor && xcodebuild -workspace Capacitor.xcworkspace -scheme Capacitor && cd ..", | ||
@@ -30,3 +30,3 @@ "xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd ..", | ||
"peerDependencies": { | ||
"@capacitor/core": "^6.0.0-nightly-20240312T150444.0" | ||
"@capacitor/core": "^6.0.0-nightly-20240313T150530.0" | ||
}, | ||
@@ -33,0 +33,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
1009
375000