@capacitor/ios 4.6.2-nightly-20230113T150525.0 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.6.2](https://github.com/ionic-team/capacitor/compare/4.6.1...4.6.2) (2023-01-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ios:** CapacitorHttp cannot use delete method ([#6220](https://github.com/ionic-team/capacitor/issues/6220)) ([4d238a9](https://github.com/ionic-team/capacitor/commit/4d238a9e0dcf1e3e8c105c3aa4c7361abf16398e))
|
|
12
|
+
* **ios:** encode whitespace in http plugin urls ([#6169](https://github.com/ionic-team/capacitor/issues/6169)) ([dccb0a9](https://github.com/ionic-team/capacitor/commit/dccb0a99850c7c878906156a509ecd675836ef1a))
|
|
13
|
+
* **ios/android:** better http error handling ([#6208](https://github.com/ionic-team/capacitor/issues/6208)) ([7d4d70a](https://github.com/ionic-team/capacitor/commit/7d4d70a0500b7996c710c0762907f44bdf27c92b))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [4.6.1](https://github.com/ionic-team/capacitor/compare/4.6.0...4.6.1) (2022-12-05)
|
|
7
20
|
|
|
8
21
|
**Note:** Version bump only for package @capacitor/ios
|
|
@@ -170,7 +170,7 @@ class HttpRequestHandler {
|
|
|
170
170
|
} catch {
|
|
171
171
|
// Explicitly reject if the http request body was not set successfully,
|
|
172
172
|
// so as to not send a known malformed request, and to provide the developer with additional context.
|
|
173
|
-
call.reject(
|
|
173
|
+
call.reject(error.localizedDescription, (error as NSError).domain, error, nil)
|
|
174
174
|
return
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -180,7 +180,8 @@ class HttpRequestHandler {
|
|
|
180
180
|
let task = urlSession.dataTask(with: urlRequest) { (data, response, error) in
|
|
181
181
|
urlSession.invalidateAndCancel()
|
|
182
182
|
|
|
183
|
-
if error
|
|
183
|
+
if let error = error {
|
|
184
|
+
call.reject(error.localizedDescription, (error as NSError).domain, error, nil)
|
|
184
185
|
return
|
|
185
186
|
}
|
|
186
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/ios",
|
|
3
|
-
"version": "4.6.2
|
|
3
|
+
"version": "4.6.2",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "4f4a9ef8a6a643ea350fa0697ac1a80b47b5b169"
|
|
34
34
|
}
|