parse 8.2.0-alpha.1 → 8.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.
@@ -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.1",
21
+ VERSION: 'js' + "8.2.0",
22
22
  APPLICATION_ID: null,
23
23
  JAVASCRIPT_KEY: null,
24
24
  MAINTENANCE_KEY: null,
@@ -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');
@@ -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.1",
17
+ VERSION: 'js' + "8.2.0",
18
18
  APPLICATION_ID: null,
19
19
  JAVASCRIPT_KEY: null,
20
20
  MAINTENANCE_KEY: null,
@@ -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');
@@ -10,7 +10,7 @@ var config = {
10
10
  SERVER_URL: 'https://api.parse.com/1',
11
11
  LIVEQUERY_SERVER_URL: null,
12
12
  ENCRYPTED_KEY: null,
13
- VERSION: 'js' + "8.2.0-alpha.1",
13
+ VERSION: 'js' + "8.2.0",
14
14
  APPLICATION_ID: null,
15
15
  JAVASCRIPT_KEY: null,
16
16
  MAINTENANCE_KEY: null,
@@ -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');
@@ -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.1",
21
+ VERSION: 'js' + "8.2.0",
22
22
  APPLICATION_ID: null,
23
23
  JAVASCRIPT_KEY: null,
24
24
  MAINTENANCE_KEY: null,
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse",
3
- "version": "8.2.0-alpha.1",
3
+ "version": "8.2.0",
4
4
  "description": "Parse JavaScript SDK",
5
5
  "homepage": "https://parseplatform.org",
6
6
  "keywords": [