parse 4.3.0-alpha.2 → 4.3.0-alpha.3

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Parse JavaScript SDK v4.3.0-alpha.2
2
+ * Parse JavaScript SDK v4.3.0-alpha.3
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -557,7 +557,7 @@ var config /*: Config & { [key: string]: mixed }*/ = {
557
557
  SERVER_AUTH_TOKEN: null,
558
558
  LIVEQUERY_SERVER_URL: null,
559
559
  ENCRYPTED_KEY: null,
560
- VERSION: 'js' + "4.3.0-alpha.2",
560
+ VERSION: 'js' + "4.3.0-alpha.3",
561
561
  APPLICATION_ID: null,
562
562
  JAVASCRIPT_KEY: null,
563
563
  MASTER_KEY: null,
@@ -9246,7 +9246,7 @@ var ParseObject = /*#__PURE__*/function () {
9246
9246
  case 5:
9247
9247
  _context4.prev = 5;
9248
9248
  _context4.t0 = _context4["catch"](0);
9249
- if (!(_context4.t0.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"')) {
9249
+ if (!(_context4.t0.code === _ParseError.default.CONNECTION_FAILED)) {
9250
9250
  _context4.next = 11;
9251
9251
  break;
9252
9252
  }
@@ -9412,7 +9412,7 @@ var ParseObject = /*#__PURE__*/function () {
9412
9412
  case 5:
9413
9413
  _context5.prev = 5;
9414
9414
  _context5.t0 = _context5["catch"](0);
9415
- if (!(_context5.t0.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"')) {
9415
+ if (!(_context5.t0.code === _ParseError.default.CONNECTION_FAILED)) {
9416
9416
  _context5.next = 11;
9417
9417
  break;
9418
9418
  }