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.
@@ -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,
@@ -9204,7 +9204,7 @@ var ParseObject = /*#__PURE__*/function () {
9204
9204
  case 5:
9205
9205
  _context4.prev = 5;
9206
9206
  _context4.t0 = _context4["catch"](0);
9207
- if (!(_context4.t0.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"')) {
9207
+ if (!(_context4.t0.code === _ParseError.default.CONNECTION_FAILED)) {
9208
9208
  _context4.next = 11;
9209
9209
  break;
9210
9210
  }
@@ -9370,7 +9370,7 @@ var ParseObject = /*#__PURE__*/function () {
9370
9370
  case 5:
9371
9371
  _context5.prev = 5;
9372
9372
  _context5.t0 = _context5["catch"](0);
9373
- if (!(_context5.t0.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"')) {
9373
+ if (!(_context5.t0.code === _ParseError.default.CONNECTION_FAILED)) {
9374
9374
  _context5.next = 11;
9375
9375
  break;
9376
9376
  }