Skip to content

Commit bccadf4

Browse files
committed
Update scopes
1 parent cc559f0 commit bccadf4

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/appwrite@20.1.0-rc.1"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/appwrite@20.2.0-rc.1"></script>
3737
```
3838

3939

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "appwrite",
33
"homepage": "https://appwrite.io/support",
44
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "20.1.0-rc.1",
5+
"version": "20.2.0-rc.1",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class Client {
316316
'x-sdk-name': 'Web',
317317
'x-sdk-platform': 'client',
318318
'x-sdk-language': 'web',
319-
'x-sdk-version': '20.1.0-rc.1',
319+
'x-sdk-version': '20.2.0-rc.1',
320320
'X-Appwrite-Response-Format': '1.8.0',
321321
};
322322

src/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ export namespace Models {
10391039
*/
10401040
requestPath: string;
10411041
/**
1042-
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
1042+
* HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
10431043
*/
10441044
requestHeaders: Headers[];
10451045
/**

src/query.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,14 @@ export class Query {
195195
static orderAsc = (attribute: string): string =>
196196
new Query("orderAsc", attribute).toString();
197197

198+
/**
199+
* Sort results randomly.
200+
*
201+
* @returns {string}
202+
*/
203+
static orderRandom = (): string =>
204+
new Query("orderRandom").toString();
205+
198206
/**
199207
* Return results after documentId.
200208
*

0 commit comments

Comments
 (0)