Skip to content

Commit

Permalink
chore: update role helper class
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Sep 22, 2022
1 parent d562b6e commit 429d860
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
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:

```html
<script src="https://cdn.jsdelivr.net/npm/appwrite@10.0.1"></script>
<script src="https://cdn.jsdelivr.net/npm/appwrite@10.0.0"></script>
```


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "appwrite",
"homepage": "https://appwrite.io/support",
"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",
"version": "10.0.1",
"version": "10.0.0",
"license": "BSD-3-Clause",
"main": "dist/cjs/sdk.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Client {
'x-sdk-name': 'Web',
'x-sdk-platform': 'client',
'x-sdk-language': 'web',
'x-sdk-version': '10.0.1',
'x-sdk-version': '10.0.0',
'X-Appwrite-Response-Format': '1.0.0',
};

Expand Down
4 changes: 0 additions & 4 deletions src/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,4 @@ export class Role {
public static member(id: string): string {
return `member:${id}`
}

public static status(status: string): string {
return `status:${status}`
}
}

0 comments on commit 429d860

Please sign in to comment.