parse 3.3.1 → 3.4.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/README.md +36 -49
- package/dist/parse.js +3132 -2238
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +3130 -2236
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/Cloud.js +2 -2
- package/lib/browser/CoreManager.js +1 -1
- package/lib/browser/LiveQueryClient.js +3 -5
- package/lib/browser/LocalDatastore.js +3 -5
- package/lib/browser/LocalDatastoreController.js +3 -5
- package/lib/browser/LocalDatastoreUtils.js +1 -1
- package/lib/browser/ObjectStateMutations.js +12 -9
- package/lib/browser/OfflineQuery.js +3 -5
- package/lib/browser/Parse.js +77 -6
- package/lib/browser/ParseCLP.js +9 -8
- package/lib/browser/ParseFile.js +6 -3
- package/lib/browser/ParseHooks.js +9 -9
- package/lib/browser/ParseObject.js +61 -9
- package/lib/browser/ParseOp.js +1 -5
- package/lib/browser/Push.js +1 -1
- package/lib/browser/RESTController.js +6 -3
- package/lib/browser/SingleInstanceStateController.js +67 -14
- package/lib/browser/UniqueInstanceStateController.js +68 -15
- package/lib/browser/promiseUtils.js +1 -1
- package/lib/node/Cloud.js +2 -2
- package/lib/node/CoreManager.js +1 -1
- package/lib/node/LocalDatastoreUtils.js +1 -1
- package/lib/node/ObjectStateMutations.js +13 -9
- package/lib/node/Parse.js +28 -17
- package/lib/node/ParseCLP.js +7 -3
- package/lib/node/ParseFile.js +7 -3
- package/lib/node/ParseHooks.js +9 -9
- package/lib/node/ParseObject.js +17 -15
- package/lib/node/ParseOp.js +1 -5
- package/lib/node/Push.js +1 -1
- package/lib/node/RESTController.js +7 -3
- package/lib/node/SingleInstanceStateController.js +23 -25
- package/lib/node/UniqueInstanceStateController.js +23 -25
- package/lib/node/promiseUtils.js +2 -2
- package/lib/react-native/Cloud.js +2 -2
- package/lib/react-native/CoreManager.js +1 -1
- package/lib/react-native/LiveQueryClient.js +15 -19
- package/lib/react-native/LocalDatastore.js +15 -19
- package/lib/react-native/LocalDatastoreController.js +15 -19
- package/lib/react-native/LocalDatastoreUtils.js +1 -1
- package/lib/react-native/ObjectStateMutations.js +13 -9
- package/lib/react-native/OfflineQuery.js +15 -19
- package/lib/react-native/Parse.js +65 -5
- package/lib/react-native/ParseCLP.js +22 -22
- package/lib/react-native/ParseFile.js +7 -3
- package/lib/react-native/ParseHooks.js +9 -9
- package/lib/react-native/ParseObject.js +72 -24
- package/lib/react-native/ParseOp.js +1 -1
- package/lib/react-native/Push.js +1 -1
- package/lib/react-native/RESTController.js +7 -3
- package/lib/react-native/SingleInstanceStateController.js +63 -15
- package/lib/react-native/UniqueInstanceStateController.js +63 -15
- package/lib/react-native/promiseUtils.js +1 -1
- package/lib/weapp/Cloud.js +2 -2
- package/lib/weapp/CoreManager.js +1 -1
- package/lib/weapp/LiveQueryClient.js +3 -5
- package/lib/weapp/LocalDatastore.js +3 -5
- package/lib/weapp/LocalDatastoreController.js +3 -5
- package/lib/weapp/LocalDatastoreUtils.js +1 -1
- package/lib/weapp/ObjectStateMutations.js +12 -9
- package/lib/weapp/OfflineQuery.js +3 -5
- package/lib/weapp/Parse.js +77 -6
- package/lib/weapp/ParseCLP.js +9 -8
- package/lib/weapp/ParseFile.js +6 -3
- package/lib/weapp/ParseHooks.js +9 -9
- package/lib/weapp/ParseObject.js +61 -9
- package/lib/weapp/ParseOp.js +1 -5
- package/lib/weapp/Push.js +1 -1
- package/lib/weapp/RESTController.js +6 -3
- package/lib/weapp/SingleInstanceStateController.js +67 -14
- package/lib/weapp/UniqueInstanceStateController.js +68 -15
- package/lib/weapp/promiseUtils.js +1 -1
- package/package.json +13 -6
- package/CHANGELOG.md +0 -429
package/README.md
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
[](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Aalpha)
|
|
6
|
+
[](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Arelease)
|
|
7
|
+
[](https://snyk.io/test/github/parse-community/Parse-SDK-JS)
|
|
8
|
+
[](http://codecov.io/github/parse-community/Parse-SDK-JS?branch=alpha)
|
|
9
|
+
|
|
10
|
+
[](https://nodejs.org/)
|
|
11
|
+
[](https://github.com/parse-community/parse-dashboard/releases)
|
|
12
|
+
|
|
13
|
+
[](https://www.npmjs.com/package/parse)
|
|
14
|
+
[](https://www.npmjs.com/package/parse)
|
|
15
|
+
<!-- [](https://www.npmjs.com/package/parse) -->
|
|
16
|
+
|
|
17
|
+
[][open-collective-link]
|
|
18
|
+
[][open-collective-link]
|
|
19
|
+
[][license-link]
|
|
20
|
+
[](https://community.parseplatform.org/c/client-sdks/javascript-sdk)
|
|
21
|
+
[](https://twitter.com/intent/follow?screen_name=ParsePlatform)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
A library that gives you access to the powerful Parse Server backend from your JavaScript app. For more information on Parse and its features, see [the website](https://parseplatform.org), [the JavaScript guide](https://docs.parseplatform.org/js/guide/), [the Cloud Code guide](https://docs.parseplatform.org/cloudcode/guide/) or [API Reference](https://parseplatform.org/Parse-SDK-JS/api/).
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
- [Getting Started](#getting-started)
|
|
30
|
+
- [Using Parse on Different Platforms](#using-parse-on-different-platforms)
|
|
31
|
+
- [Upgrading to Parse SDK 2.0.0](#upgrading-to-parse-sdk-200)
|
|
32
|
+
- [3rd Party Authentications](#3rd-party-authentications)
|
|
33
|
+
- [Want to ride the bleeding edge?](#want-to-ride-the-bleeding-edge)
|
|
34
|
+
- [Experimenting](#experimenting)
|
|
35
|
+
- [Contributing](#contributing)
|
|
29
36
|
|
|
30
37
|
## Getting Started
|
|
31
38
|
|
|
@@ -91,14 +98,6 @@ We have curated a [migration guide][migration] that should help you migrate your
|
|
|
91
98
|
|
|
92
99
|
Parse Server supports many [3rd Party Authenications][3rd-party-auth]. It is possible to [linkWith][link-with] any 3rd Party Authentication by creating a [custom authentication module][custom-auth-module].
|
|
93
100
|
|
|
94
|
-
## Want to ride the bleeding edge?
|
|
95
|
-
|
|
96
|
-
We recommend using the most recent tagged build published to npm for production. However, you can test not-yet-released versions of the Parse-SDK-JS by referencing specific branches in your `package.json`. For example, to use the master branch:
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
npm install parse-community/Parse-SDK-JS.git#master
|
|
100
|
-
```
|
|
101
|
-
|
|
102
101
|
### Experimenting
|
|
103
102
|
|
|
104
103
|
You can also use your own forks, and work in progress branches by specifying them:
|
|
@@ -113,19 +112,6 @@ And don't forget, if you plan to deploy it remotely, you should run `npm install
|
|
|
113
112
|
|
|
114
113
|
We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Javascript SDK guide][contributing].
|
|
115
114
|
|
|
116
|
-
## License
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
Copyright (c) 2015-present, Parse, LLC.
|
|
120
|
-
All rights reserved.
|
|
121
|
-
|
|
122
|
-
This source code is licensed under the BSD-style license found in the
|
|
123
|
-
LICENSE file in the root directory of this source tree. An additional grant
|
|
124
|
-
of patent rights can be found in the PATENTS file in the same directory.
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
-----
|
|
128
|
-
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
|
|
129
115
|
|
|
130
116
|
[3rd-party-auth]: http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
|
|
131
117
|
[contributing]: https://github.com/parse-community/Parse-SDK-JS/blob/master/CONTRIBUTING.md
|
|
@@ -134,3 +120,4 @@ As of April 5, 2017, Parse, LLC has transferred this code to the parse-community
|
|
|
134
120
|
[migration]: https://github.com/parse-community/Parse-SDK-JS/blob/master/2.0.0.md
|
|
135
121
|
[open-collective-link]: https://opencollective.com/parse-server
|
|
136
122
|
[types-parse]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse
|
|
123
|
+
[license-link]: LICENSE
|