Skip to content

Commit ca8cb1d

Browse files
authored
Merge pull request appwrite#81 from appwrite/dev
Dev
2 parents ca4ef6d + 598469c commit ca8cb1d

File tree

13 files changed

+124
-113
lines changed

13 files changed

+124
-113
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Appwrite Web SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-web.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.4.2-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -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/[email protected].0"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/[email protected].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": "13.0.0",
5+
"version": "13.0.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
@@ -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': '13.0.0',
105+
'x-sdk-version': '13.0.1',
106106
'X-Appwrite-Response-Format': '1.4.0',
107107
};
108108

src/models.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export namespace Models {
206206
*/
207207
$updatedAt: string;
208208
/**
209-
* Document permissions. [Learn more about permissions](/docs/permissions).
209+
* Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
210210
*/
211211
$permissions: string[];
212212
[key: string]: any;
@@ -733,7 +733,7 @@ export namespace Models {
733733
*/
734734
$updatedAt: string;
735735
/**
736-
* File permissions. [Learn more about permissions](/docs/permissions).
736+
* File permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
737737
*/
738738
$permissions: string[];
739739
/**

src/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Query {
2828
`isNotNull("${attribute}")`;
2929

3030
static between = (attribute: string, start: string|number, end: string|number): string =>
31-
`between("${attribute}", [${Query.parseValues(start)},${Query.parseValues(end)}])`;
31+
`between("${attribute}", ${Query.parseValues(start)}, ${Query.parseValues(end)})`;
3232

3333
static startsWith = (attribute: string, value: string): string =>
3434
Query.addQuery(attribute, "startsWith", value);

0 commit comments

Comments
 (0)