Skip to content

Commit

Permalink
Fix new version names
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Oct 9, 2024
1 parent 61b1621 commit c759b99
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 95 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.io/console";
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.io/[email protected].1"></script>
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/[email protected].2"></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.io/console",
"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": "1.2.1",
"version": "1.2.2",
"license": "BSD-3-Clause",
"main": "dist/cjs/sdk.js",
"exports": {
Expand Down
3 changes: 1 addition & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class Client {
'x-sdk-name': 'Console',
'x-sdk-platform': 'console',
'x-sdk-language': 'web',
'x-sdk-version': '1.2.1',
'x-sdk-version': '1.2.2',
'X-Appwrite-Response-Format': '1.6.0',
};

Expand Down Expand Up @@ -602,7 +602,6 @@ class Client {
let options: RequestInit = {
method,
headers,
credentials: 'include',
};

if (method === 'GET') {
Expand Down
4 changes: 2 additions & 2 deletions src/enums/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export enum Runtime {
Node190 = 'node-19.0',
Node200 = 'node-20.0',
Node210 = 'node-21.0',
Node220 = 'node-22.0',
Node22 = 'node-22',
Php80 = 'php-8.0',
Php81 = 'php-8.1',
Php82 = 'php-8.2',
Expand Down Expand Up @@ -42,7 +42,7 @@ export enum Runtime {
Java170 = 'java-17.0',
Java180 = 'java-18.0',
Java210 = 'java-21.0',
Java220 = 'java-22.0',
Java22 = 'java-22',
Swift55 = 'swift-5.5',
Swift58 = 'swift-5.8',
Swift59 = 'swift-5.9',
Expand Down
1 change: 0 additions & 1 deletion src/enums/s-m-t-p-secure.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export enum SMTPSecure {
Tls = 'tls',
Ssl = 'ssl',
}
88 changes: 0 additions & 88 deletions src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -646,14 +646,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* Attribute size.
*/
Expand Down Expand Up @@ -691,14 +683,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* Minimum value to enforce for new documents.
*/
Expand Down Expand Up @@ -740,14 +724,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* Minimum value to enforce for new documents.
*/
Expand Down Expand Up @@ -789,14 +765,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* Default value for attribute when not provided. Cannot be set when attribute is required.
*/
Expand Down Expand Up @@ -830,14 +798,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* String format.
*/
Expand Down Expand Up @@ -875,14 +835,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* Array of elements in enumerated type.
*/
Expand Down Expand Up @@ -924,14 +876,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* String format.
*/
Expand Down Expand Up @@ -969,14 +913,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* String format.
*/
Expand Down Expand Up @@ -1014,14 +950,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* ISO 8601 format.
*/
Expand Down Expand Up @@ -1059,14 +987,6 @@ export namespace Models {
* Is attribute an array?
*/
array?: boolean;
/**
* Attribute creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Attribute update date in ISO 8601 format.
*/
$updatedAt: string;
/**
* The ID of the related collection.
*/
Expand Down Expand Up @@ -1120,14 +1040,6 @@ export namespace Models {
* Index orders.
*/
orders?: string[];
/**
* Index creation date in ISO 8601 format.
*/
$createdAt: string;
/**
* Index update date in ISO 8601 format.
*/
$updatedAt: string;
}
/**
* Document
Expand Down

0 comments on commit c759b99

Please sign in to comment.