Skip to content

Commit 934ec07

Browse files
Merge pull request #12 from appwrite/dev
2 parents e1a58bb + 04535e8 commit 934ec07

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 Appwrite (https://appwrite.io) and individual contributors.
1+
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Appwrite Deno SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-deno.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.2.0-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.2.1-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)
@@ -86,6 +86,8 @@ You can use the following resources to learn more and get help
8686
- 🚂 [Appwrite Deno Playground](https://github.com/appwrite/playground-for-deno)
8787

8888

89+
> Minimal supported version for Deno SDK is 1.19.0.
90+
8991
## Contribution
9092

9193
This library is auto-generated by Appwrite custom [SDK Generator](https://github.com/appwrite/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Client {
1414
'x-sdk-name': 'Deno',
1515
'x-sdk-platform': 'server',
1616
'x-sdk-language': 'deno',
17-
'x-sdk-version': '6.2.0',
17+
'x-sdk-version': '6.2.1',
1818
'X-Appwrite-Response-Format':'1.0.0',
1919
};
2020

src/inputFile.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { readableStreamFromReader } from "https://deno.land/std/streams/conversion.ts";
2-
31
const _bufferToString = (buffer: Uint8Array): ReadableStream<Uint8Array> => {
42
return new ReadableStream({
53
start(controller) {
@@ -16,7 +14,7 @@ export class InputFile {
1614

1715
static fromPath = (filePath: string, filename: string): InputFile => {
1816
const file = Deno.openSync(filePath);
19-
const stream = readableStreamFromReader(file);
17+
const stream = file.readable;
2018
const size = Deno.statSync(filePath).size;
2119
return new InputFile(stream, filename, size);
2220
};

src/models.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ export namespace Models {
11801180
*/
11811181
continent: string;
11821182
/**
1183-
* True if country is part of the Europian Union.
1183+
* True if country is part of the European Union.
11841184
*/
11851185
eu: boolean;
11861186
/**

0 commit comments

Comments
 (0)