@replit/database
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "@replit/database", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Client for Repl.it Database", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,4 +12,4 @@ [![npm version](https://badge.fury.io/js/%40replit%2Fdatabase.svg)](https://badge.fury.io/js/%40replit%2Fdatabase) | ||
const client = new Client(); | ||
await Client.set("key", "value"); | ||
let key = await Client.get("key"); | ||
await client.set("key", "value"); | ||
let key = await client.get("key"); | ||
console.log(key); | ||
@@ -30,3 +30,3 @@ ``` | ||
```js | ||
Client.get("key", { raw: false }).then(console.log); | ||
client.get("key", { raw: false }).then(console.log); | ||
``` | ||
@@ -33,0 +33,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10235
8
6