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

cent.js

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cent.js - npm Package Compare versions

Comparing version 4.0.0 to 5.0.0

2

dist/cent.client.js

@@ -29,3 +29,3 @@ "use strict";

'Content-Type': 'application/json',
Authorization: `apikey ${this.centOptions.token}`
'X-API-Key': this.centOptions.apiKey
}

@@ -32,0 +32,0 @@ });

export interface CentOptions {
url: string;
token?: string;
apiKey?: string;
timeout?: number;
}
{
"name": "cent.js",
"description": "Javascript library to communicate with Centrifugo HTTP API",
"version": "4.0.0",
"version": "5.0.0",
"scripts": {

@@ -27,21 +27,21 @@ "build": "rimraf -rf dist && tsc -p tsconfig.json",

"dependencies": {
"undici": "5.27.0"
"undici": "6.10.2"
},
"devDependencies": {
"@commitlint/cli": "18.2.0",
"@commitlint/config-angular": "18.1.0",
"@types/jest": "29.5.7",
"@types/node": "20.8.10",
"@commitlint/cli": "19.2.1",
"@commitlint/config-angular": "19.1.0",
"@types/jest": "29.5.12",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.29.0",
"husky": "8.0.3",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"husky": "9.0.11",
"jest": "29.7.0",
"prettier": "3.0.3",
"release-it": "16.2.1",
"prettier": "3.2.5",
"release-it": "17.1.1",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
"ts-jest": "29.1.2",
"typescript": "5.4.3"
},

@@ -48,0 +48,0 @@ "repository": {

@@ -23,3 +23,3 @@ # cent.js

url: 'http://localhost:8000/api',
token: 'XXX'
apiKey: 'XXX'
});

@@ -26,0 +26,0 @@

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