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
|
@@ -18,7 +18,7 @@ const config = {
|
|
|
18
18
|
SERVER_URL: 'https://api.parse.com/1',
|
|
19
19
|
LIVEQUERY_SERVER_URL: null,
|
|
20
20
|
ENCRYPTED_KEY: null,
|
|
21
|
-
VERSION: 'js' + "8.2.0-alpha.
|
|
21
|
+
VERSION: 'js' + "8.2.0-alpha.2",
|
|
22
22
|
APPLICATION_ID: null,
|
|
23
23
|
JAVASCRIPT_KEY: null,
|
|
24
24
|
MAINTENANCE_KEY: null,
|
package/lib/browser/ParseFile.js
CHANGED
|
@@ -546,7 +546,8 @@ const DefaultController = {
|
|
|
546
546
|
throw new Error('saveBinary can only be used with Buffer or Stream sources.');
|
|
547
547
|
}
|
|
548
548
|
const headers = {
|
|
549
|
-
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID')
|
|
549
|
+
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID'),
|
|
550
|
+
'X-Parse-Upload-Mode': 'stream'
|
|
550
551
|
};
|
|
551
552
|
headers['Content-Type'] = (source.type || 'application/octet-stream').replace(/[\r\n]/g, '');
|
|
552
553
|
const jsKey = _CoreManager.default.get('JAVASCRIPT_KEY');
|
package/lib/node/CoreManager.js
CHANGED
|
@@ -14,7 +14,7 @@ const config = {
|
|
|
14
14
|
SERVER_URL: 'https://api.parse.com/1',
|
|
15
15
|
LIVEQUERY_SERVER_URL: null,
|
|
16
16
|
ENCRYPTED_KEY: null,
|
|
17
|
-
VERSION: 'js' + "8.2.0-alpha.
|
|
17
|
+
VERSION: 'js' + "8.2.0-alpha.2",
|
|
18
18
|
APPLICATION_ID: null,
|
|
19
19
|
JAVASCRIPT_KEY: null,
|
|
20
20
|
MAINTENANCE_KEY: null,
|
package/lib/node/ParseFile.js
CHANGED
|
@@ -506,7 +506,8 @@ const DefaultController = {
|
|
|
506
506
|
throw new Error('saveBinary can only be used with Buffer or Stream sources.');
|
|
507
507
|
}
|
|
508
508
|
const headers = {
|
|
509
|
-
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID')
|
|
509
|
+
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID'),
|
|
510
|
+
'X-Parse-Upload-Mode': 'stream'
|
|
510
511
|
};
|
|
511
512
|
headers['Content-Type'] = (source.type || 'application/octet-stream').replace(/[\r\n]/g, '');
|
|
512
513
|
const jsKey = _CoreManager.default.get('JAVASCRIPT_KEY');
|
|
@@ -394,7 +394,8 @@ var DefaultController = {
|
|
|
394
394
|
throw new Error('saveBinary can only be used with Buffer or Stream sources.');
|
|
395
395
|
}
|
|
396
396
|
var headers = {
|
|
397
|
-
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID')
|
|
397
|
+
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID'),
|
|
398
|
+
'X-Parse-Upload-Mode': 'stream'
|
|
398
399
|
};
|
|
399
400
|
headers['Content-Type'] = (source.type || 'application/octet-stream').replace(/[\r\n]/g, '');
|
|
400
401
|
var jsKey = _CoreManager.default.get('JAVASCRIPT_KEY');
|
package/lib/weapp/CoreManager.js
CHANGED
|
@@ -18,7 +18,7 @@ const config = {
|
|
|
18
18
|
SERVER_URL: 'https://api.parse.com/1',
|
|
19
19
|
LIVEQUERY_SERVER_URL: null,
|
|
20
20
|
ENCRYPTED_KEY: null,
|
|
21
|
-
VERSION: 'js' + "8.2.0-alpha.
|
|
21
|
+
VERSION: 'js' + "8.2.0-alpha.2",
|
|
22
22
|
APPLICATION_ID: null,
|
|
23
23
|
JAVASCRIPT_KEY: null,
|
|
24
24
|
MAINTENANCE_KEY: null,
|
package/lib/weapp/ParseFile.js
CHANGED
|
@@ -546,7 +546,8 @@ const DefaultController = {
|
|
|
546
546
|
throw new Error('saveBinary can only be used with Buffer or Stream sources.');
|
|
547
547
|
}
|
|
548
548
|
const headers = {
|
|
549
|
-
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID')
|
|
549
|
+
'X-Parse-Application-ID': _CoreManager.default.get('APPLICATION_ID'),
|
|
550
|
+
'X-Parse-Upload-Mode': 'stream'
|
|
550
551
|
};
|
|
551
552
|
headers['Content-Type'] = (source.type || 'application/octet-stream').replace(/[\r\n]/g, '');
|
|
552
553
|
const jsKey = _CoreManager.default.get('JAVASCRIPT_KEY');
|