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.
- 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/RESTController.js +2 -1
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/RESTController.js +2 -1
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/RESTController.js +2 -1
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/RESTController.js +2 -1
- package/package.json +3 -3
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: "js7.0.
|
|
194
|
+
VERSION: "js7.0.1",
|
|
195
195
|
APPLICATION_ID: null,
|
|
196
196
|
JAVASCRIPT_KEY: null,
|
|
197
197
|
MAINTENANCE_KEY: null,
|
|
@@ -55078,7 +55078,8 @@ Attributes: ${JSON.stringify(this.attributes, null, 2)}`;
|
|
|
55078
55078
|
} else if (status === 0) {
|
|
55079
55079
|
promise.reject("Unable to connect to the Parse API");
|
|
55080
55080
|
} else {
|
|
55081
|
-
|
|
55081
|
+
const error = await response.json();
|
|
55082
|
+
promise.reject(error);
|
|
55082
55083
|
}
|
|
55083
55084
|
} else {
|
|
55084
55085
|
promise.reject(response);
|