parse 8.2.0-alpha.1 → 8.2.0-alpha.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/dist/parse.js +3 -2
- package/dist/parse.min.js +1 -1
- package/dist/parse.weapp.js +3 -2
- package/dist/parse.weapp.min.js +1 -1
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/ParseFile.js +2 -1
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/ParseFile.js +2 -1
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/ParseFile.js +2 -1
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/ParseFile.js +2 -1
- package/package.json +1 -1
package/dist/parse.js
CHANGED
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
SERVER_URL: "https://api.parse.com/1",
|
|
192
192
|
LIVEQUERY_SERVER_URL: null,
|
|
193
193
|
ENCRYPTED_KEY: null,
|
|
194
|
-
VERSION: "js8.2.0-alpha.
|
|
194
|
+
VERSION: "js8.2.0-alpha.2",
|
|
195
195
|
APPLICATION_ID: null,
|
|
196
196
|
JAVASCRIPT_KEY: null,
|
|
197
197
|
MAINTENANCE_KEY: null,
|
|
@@ -9934,7 +9934,8 @@
|
|
|
9934
9934
|
throw new Error("saveBinary can only be used with Buffer or Stream sources.");
|
|
9935
9935
|
}
|
|
9936
9936
|
const headers = {
|
|
9937
|
-
"X-Parse-Application-ID": CoreManager.get("APPLICATION_ID")
|
|
9937
|
+
"X-Parse-Application-ID": CoreManager.get("APPLICATION_ID"),
|
|
9938
|
+
"X-Parse-Upload-Mode": "stream"
|
|
9938
9939
|
};
|
|
9939
9940
|
headers["Content-Type"] = (source.type || "application/octet-stream").replace(/[\r\n]/g, "");
|
|
9940
9941
|
const jsKey = CoreManager.get("JAVASCRIPT_KEY");
|