Skip to content

Commit

Permalink
Merge pull request #12 from appwrite/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar authored Feb 16, 2023
2 parents e1a58bb + 04535e8 commit 934ec07
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022 Appwrite (https://appwrite.io) and individual contributors.
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Appwrite Deno SDK

![License](https://img.shields.io/github/license/appwrite/sdk-for-deno.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.2.0-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.2.1-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
Expand Down Expand Up @@ -86,6 +86,8 @@ You can use the following resources to learn more and get help
- 🚂 [Appwrite Deno Playground](https://github.com/appwrite/playground-for-deno)


> Minimal supported version for Deno SDK is 1.19.0.
## Contribution

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.
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class Client {
'x-sdk-name': 'Deno',
'x-sdk-platform': 'server',
'x-sdk-language': 'deno',
'x-sdk-version': '6.2.0',
'x-sdk-version': '6.2.1',
'X-Appwrite-Response-Format':'1.0.0',
};

Expand Down
4 changes: 1 addition & 3 deletions src/inputFile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { readableStreamFromReader } from "https://deno.land/std/streams/conversion.ts";

const _bufferToString = (buffer: Uint8Array): ReadableStream<Uint8Array> => {
return new ReadableStream({
start(controller) {
Expand All @@ -16,7 +14,7 @@ export class InputFile {

static fromPath = (filePath: string, filename: string): InputFile => {
const file = Deno.openSync(filePath);
const stream = readableStreamFromReader(file);
const stream = file.readable;
const size = Deno.statSync(filePath).size;
return new InputFile(stream, filename, size);
};
Expand Down
2 changes: 1 addition & 1 deletion src/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ export namespace Models {
*/
continent: string;
/**
* True if country is part of the Europian Union.
* True if country is part of the European Union.
*/
eu: boolean;
/**
Expand Down

0 comments on commit 934ec07

Please sign in to comment.