Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jscent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscent - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

0.2.0
=====
* fixed deprecated usage of node-uuid in request dep, thanks @skarbovskiy. Details in [#9](https://github.com/centrifugal/jscent/pull/9)
0.1.2

@@ -2,0 +7,0 @@ =====

4

package.json
{
"name": "jscent",
"description": "Node.js client to interact with the Centrifugo HTTP API",
"version": "0.1.2",
"version": "0.2.0",
"author": "Alexandr Emelin <frvzmb@gmail.com>",
"contributors": [],
"dependencies": {
"request": "=2.45.0"
"request": "=2.87.0"
},

@@ -10,0 +10,0 @@ "devDependencies": {},

@@ -29,1 +29,12 @@ # Node.js library for Centrifugo HTTP API.

### generating a token
to create a token as described here:
https://fzambia.gitbooks.io/centrifugal/content/clients/javascript.html#token-required
```javascript
var Token = require('jscent').Token;
var TokenGen = new Token('SECRET_KEY');
var token = TokenGen.clientToken(user, timestamp, info);
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc