appwrite / appwrite/templates

🐛 Bug Report: Old deno2 template sdk import

Open
#331 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
174
Forks
129
Avg merge
2h 46m
Merged PRs (30d)
3

Description

### 👟 Reproduction steps

Hello, in the starter template for DENO 2 an old SDK is imported in which APIs are missing and not up to date. It took me some time to find the error.

in: deno/starter/src/main.ts

`import { Client, Users } from "https://deno.land/x/appwrite@7.0.0/mod.ts";`

change to

`import { Client, Users } from "https://deno.land/x/appwrite/mod.ts";`

Version 7 is old and is missing some APIs.

### 👍 Expected behavior

the starter templates work and provide a good start

### 👎 Actual Behavior

old SDK import

### 🎲 Appwrite version

Appwrite Cloud

### 💻 Operating system

Linux

### 🧱 Your Environment

_No response_

### 👀 Have you spent some time to check if this issue has been raised before?

- [x] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.