@capacitor/core 5.1.2-nightly-20230711T150546.0 → 5.2.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
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)",
|
package/types/core-plugins.d.ts
CHANGED
|
@@ -85,6 +85,11 @@ export interface HttpOptions {
|
|
|
85
85
|
* (already encoded, azure/firebase testing, etc.). The default is _true_.
|
|
86
86
|
*/
|
|
87
87
|
shouldEncodeUrlParams?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* This is used if we've had to convert the data from a JS type that needs
|
|
90
|
+
* special handling in the native layer
|
|
91
|
+
*/
|
|
92
|
+
dataType?: 'file' | 'formData';
|
|
88
93
|
}
|
|
89
94
|
export interface HttpParams {
|
|
90
95
|
[key: string]: string | string[];
|