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/esm/sdk.js
CHANGED
|
@@ -78,7 +78,7 @@ class Client {
|
|
|
78
78
|
'x-sdk-name': 'React Native',
|
|
79
79
|
'x-sdk-platform': 'client',
|
|
80
80
|
'x-sdk-language': 'reactnative',
|
|
81
|
-
'x-sdk-version': '0.
|
|
81
|
+
'x-sdk-version': '0.14.0',
|
|
82
82
|
'X-Appwrite-Response-Format': '1.8.0',
|
|
83
83
|
};
|
|
84
84
|
this.realtime = {
|
|
@@ -4229,6 +4229,7 @@ Query.select = (attributes) => new Query("select", undefined, attributes).toStri
|
|
|
4229
4229
|
Query.search = (attribute, value) => new Query("search", attribute, value).toString();
|
|
4230
4230
|
Query.orderDesc = (attribute) => new Query("orderDesc", attribute).toString();
|
|
4231
4231
|
Query.orderAsc = (attribute) => new Query("orderAsc", attribute).toString();
|
|
4232
|
+
Query.orderRandom = () => new Query("orderRandom").toString();
|
|
4232
4233
|
Query.cursorAfter = (documentId) => new Query("cursorAfter", undefined, documentId).toString();
|
|
4233
4234
|
Query.cursorBefore = (documentId) => new Query("cursorBefore", undefined, documentId).toString();
|
|
4234
4235
|
Query.limit = (limit) => new Query("limit", undefined, limit).toString();
|