parse 7.0.0 → 7.0.1

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.
@@ -17,7 +17,7 @@ const config = {
17
17
  SERVER_URL: 'https://api.parse.com/1',
18
18
  LIVEQUERY_SERVER_URL: null,
19
19
  ENCRYPTED_KEY: null,
20
- VERSION: 'js' + "7.0.0",
20
+ VERSION: 'js' + "7.0.1",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
@@ -197,7 +197,8 @@ const RESTController = {
197
197
  promise.reject('Unable to connect to the Parse API');
198
198
  } else {
199
199
  // After the retry limit is reached, fail
200
- promise.reject(response);
200
+ const error = await response.json();
201
+ promise.reject(error);
201
202
  }
202
203
  } else {
203
204
  promise.reject(response);
@@ -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' + "7.0.0",
17
+ VERSION: 'js' + "7.0.1",
18
18
  APPLICATION_ID: null,
19
19
  JAVASCRIPT_KEY: null,
20
20
  MAINTENANCE_KEY: null,
@@ -189,7 +189,8 @@ const RESTController = {
189
189
  promise.reject('Unable to connect to the Parse API');
190
190
  } else {
191
191
  // After the retry limit is reached, fail
192
- promise.reject(response);
192
+ const error = await response.json();
193
+ promise.reject(error);
193
194
  }
194
195
  } else {
195
196
  promise.reject(response);
@@ -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' + "7.0.0",
13
+ VERSION: 'js' + "7.0.1",
14
14
  APPLICATION_ID: null,
15
15
  JAVASCRIPT_KEY: null,
16
16
  MAINTENANCE_KEY: null,
@@ -169,7 +169,8 @@ var RESTController = {
169
169
  } else if (status === 0) {
170
170
  promise.reject('Unable to connect to the Parse API');
171
171
  } else {
172
- promise.reject(response);
172
+ var _error = yield response.json();
173
+ promise.reject(_error);
173
174
  }
174
175
  } else {
175
176
  promise.reject(response);
@@ -17,7 +17,7 @@ const config = {
17
17
  SERVER_URL: 'https://api.parse.com/1',
18
18
  LIVEQUERY_SERVER_URL: null,
19
19
  ENCRYPTED_KEY: null,
20
- VERSION: 'js' + "7.0.0",
20
+ VERSION: 'js' + "7.0.1",
21
21
  APPLICATION_ID: null,
22
22
  JAVASCRIPT_KEY: null,
23
23
  MAINTENANCE_KEY: null,
@@ -198,7 +198,8 @@ const RESTController = {
198
198
  promise.reject('Unable to connect to the Parse API');
199
199
  } else {
200
200
  // After the retry limit is reached, fail
201
- promise.reject(response);
201
+ const error = await response.json();
202
+ promise.reject(error);
202
203
  }
203
204
  } else {
204
205
  promise.reject(response);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parse",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Parse JavaScript SDK",
5
5
  "homepage": "https://parseplatform.org",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "ws": "8.18.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.28.0",
41
+ "@babel/core": "7.28.4",
42
42
  "@babel/plugin-proposal-class-properties": "7.18.6",
43
43
  "@babel/plugin-transform-runtime": "7.28.0",
44
44
  "@babel/preset-env": "7.26.9",
@@ -59,7 +59,7 @@
59
59
  "babel-plugin-minify-dead-code-elimination": "0.5.2",
60
60
  "babel-plugin-transform-inline-environment-variables": "0.4.4",
61
61
  "codecov": "3.8.3",
62
- "core-js": "3.44.0",
62
+ "core-js": "3.46.0",
63
63
  "cross-env": "10.1.0",
64
64
  "eslint": "9.37.0",
65
65
  "eslint-plugin-expect-type": "0.6.2",