@84codes/sparoid
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"scripts": { | ||
"test": "ava" | ||
"test": "ava --verbose" | ||
}, | ||
@@ -10,3 +10,3 @@ "devDependencies": { | ||
"name": "@84codes/sparoid", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "SPAroid client", | ||
@@ -13,0 +13,0 @@ "main": "src/sparoid.mjs", |
@@ -8,5 +8,9 @@ # SPAroid | ||
```javascript | ||
import Sparoid from 'sparoid' | ||
import Sparoid from '@84codes/sparoid' | ||
new Sparoid(host, port).auth | ||
// Sparoid will read the environment variables SPAROID_KEY and SPAROID_HMAC_KEY | ||
await new Sparoid(host, port).auth() | ||
// alternatively | ||
await new Sparoid(host, port, key, hmac_key).auth() | ||
``` |
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
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
4093
93
16
4