Socket
Socket
Sign inDemoInstall

@84codes/sparoid

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

4

package.json
{
"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

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