Skip to content

Commit 98d0c5a

Browse files
Merge pull request #39 from appwrite/dev
chore: update role helper class
2 parents 2552f83 + db6bcae commit 98d0c5a

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
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@10.0.1"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/appwrite@10.1.0"></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": "10.0.1",
5+
"version": "10.1.0",
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
@@ -102,7 +102,7 @@ class Client {
102102
'x-sdk-name': 'Web',
103103
'x-sdk-platform': 'client',
104104
'x-sdk-language': 'web',
105-
'x-sdk-version': '10.0.1',
105+
'x-sdk-version': '10.1.0',
106106
'X-Appwrite-Response-Format': '1.0.0',
107107
};
108108

src/role.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,4 @@ export class Role {
3131
public static member(id: string): string {
3232
return `member:${id}`
3333
}
34-
35-
public static status(status: string): string {
36-
return `status:${status}`
37-
}
3834
}

0 commit comments

Comments
 (0)