Socket
Socket
Sign inDemoInstall

appwrite

Package Overview
Dependencies
2
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.5 to 3.1.0

2

package.json

@@ -5,3 +5,3 @@ {

"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": "3.0.5",
"version": "3.1.0",
"license": "BSD-3-Clause",

@@ -8,0 +8,0 @@ "main": "dist/cjs/sdk.js",

@@ -37,3 +37,3 @@ # Appwrite Web SDK

```html
<script src="https://cdn.jsdelivr.net/npm/appwrite@3.0.5"></script>
<script src="https://cdn.jsdelivr.net/npm/appwrite@3.1.0"></script>
```

@@ -54,8 +54,7 @@

// Init your Web SDK
const appwrite = new Appwrite();
const sdk = new Appwrite();
appwrite
sdk
.setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
.setProject('455x34dfkj') // Your project ID
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
;

@@ -69,9 +68,8 @@ ```

// Register User
appwrite
.account.create('me@example.com', 'password', 'Jane Doe')
.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
sdk.account.create('me@example.com', 'password', 'Jane Doe')
.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});

@@ -83,18 +81,16 @@ ```

// Init your Web SDK
const appwrite = new Appwrite();
const sdk = new Appwrite();
appwrite
sdk
.setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
.setProject('455x34dfkj')
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
;
// Register User
appwrite
.account.create('me@example.com', 'password', 'Jane Doe')
.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
sdk.account.create('me@example.com', 'password', 'Jane Doe')
.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
```

@@ -101,0 +97,0 @@

@@ -23,4 +23,4 @@ import pkg from "./package.json";

file: pkg.jsdelivr,
name: "Appwrite",
esModule: false,
name: "window",
extend: true,
globals: {

@@ -27,0 +27,0 @@ "cross-fetch": "window",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc