parse 3.5.0-alpha.5 → 3.5.0-alpha.6
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 +8 -4
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +613 -954
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/IndexedDBStorageController.js +6 -2
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/IndexedDBStorageController.js +6 -2
- package/lib/node/Parse.js +0 -1
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/IndexedDBStorageController.js +4 -2
- package/lib/react-native/Parse.js +0 -1
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/IndexedDBStorageController.js +6 -2
- package/lib/weapp/Parse.js +0 -1
- package/package.json +1 -1
package/dist/parse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v3.5.0-alpha.
|
|
2
|
+
* Parse JavaScript SDK v3.5.0-alpha.6
|
|
3
3
|
*
|
|
4
4
|
* The source tree of this library can be found at
|
|
5
5
|
* https://github.com/ParsePlatform/Parse-SDK-JS
|
|
@@ -699,7 +699,7 @@ var config
|
|
|
699
699
|
SERVER_AUTH_TOKEN: null,
|
|
700
700
|
LIVEQUERY_SERVER_URL: null,
|
|
701
701
|
ENCRYPTED_KEY: null,
|
|
702
|
-
VERSION: 'js' + "3.5.0-alpha.
|
|
702
|
+
VERSION: 'js' + "3.5.0-alpha.6",
|
|
703
703
|
APPLICATION_ID: null,
|
|
704
704
|
JAVASCRIPT_KEY: null,
|
|
705
705
|
MASTER_KEY: null,
|
|
@@ -2390,8 +2390,10 @@ var _idbKeyval = _dereq_("idb-keyval");
|
|
|
2390
2390
|
* @flow
|
|
2391
2391
|
*/
|
|
2392
2392
|
|
|
2393
|
+
/* global window */
|
|
2393
2394
|
|
|
2394
|
-
|
|
2395
|
+
|
|
2396
|
+
if (typeof window !== 'undefined' && window.indexedDB) {
|
|
2395
2397
|
var ParseStore = (0, _idbKeyval.createStore)('parseDB', 'parseStore');
|
|
2396
2398
|
var IndexedDBStorageController = {
|
|
2397
2399
|
async: 1,
|
|
@@ -2420,7 +2422,9 @@ try {
|
|
|
2420
2422
|
}
|
|
2421
2423
|
};
|
|
2422
2424
|
module.exports = IndexedDBStorageController;
|
|
2423
|
-
}
|
|
2425
|
+
} else {
|
|
2426
|
+
// IndexedDB not supported
|
|
2427
|
+
module.exports = undefined;
|
|
2424
2428
|
}
|
|
2425
2429
|
},{"@babel/runtime-corejs3/core-js-stable/instance/keys":67,"idb-keyval":606}],10:[function(_dereq_,module,exports){
|
|
2426
2430
|
"use strict";
|