react-native-appwrite 0.13.0 → 0.14.0
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/cjs/sdk.js +2 -1
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +2 -1
- package/dist/esm/sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/models.ts +1 -1
- package/src/query.ts +5 -2
- package/types/models.d.ts +1 -1
- package/types/query.d.ts +3 -2
package/dist/cjs/sdk.js
CHANGED
|
@@ -100,7 +100,7 @@ class Client {
|
|
|
100
100
|
'x-sdk-name': 'React Native',
|
|
101
101
|
'x-sdk-platform': 'client',
|
|
102
102
|
'x-sdk-language': 'reactnative',
|
|
103
|
-
'x-sdk-version': '0.
|
|
103
|
+
'x-sdk-version': '0.14.0',
|
|
104
104
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
105
105
|
};
|
|
106
106
|
this.realtime = {
|
|
@@ -4251,6 +4251,7 @@ Query.select = (attributes) => new Query("select", undefined, attributes).toStri
|
|
|
4251
4251
|
Query.search = (attribute, value) => new Query("search", attribute, value).toString();
|
|
4252
4252
|
Query.orderDesc = (attribute) => new Query("orderDesc", attribute).toString();
|
|
4253
4253
|
Query.orderAsc = (attribute) => new Query("orderAsc", attribute).toString();
|
|
4254
|
+
Query.orderRandom = () => new Query("orderRandom").toString();
|
|
4254
4255
|
Query.cursorAfter = (documentId) => new Query("cursorAfter", undefined, documentId).toString();
|
|
4255
4256
|
Query.cursorBefore = (documentId) => new Query("cursorBefore", undefined, documentId).toString();
|
|
4256
4257
|
Query.limit = (limit) => new Query("limit", undefined, limit).toString();
|