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

@cord-sdk/server

Package Overview
Dependencies
Maintainers
4
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cord-sdk/server - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

dist/cjs/index.js

@@ -12,3 +12,3 @@ 'use strict';

function getClientAuthToken(app_id, app_secret, payload) {
return jwt__default["default"].sign(Object.assign(Object.assign({}, payload), { app_id }), app_secret, {
return jwt__default["default"].sign({ ...payload, app_id }, app_secret, {
algorithm: 'HS512',

@@ -15,0 +15,0 @@ expiresIn: '1 min',

import jwt from 'jsonwebtoken';
function getClientAuthToken(app_id, app_secret, payload) {
return jwt.sign(Object.assign(Object.assign({}, payload), { app_id }), app_secret, {
return jwt.sign({ ...payload, app_id }, app_secret, {
algorithm: 'HS512',

@@ -6,0 +6,0 @@ expiresIn: '1 min',

{
"name": "@cord-sdk/server",
"description": "Server-side portion of the Cord SDK",
"version": "0.0.9",
"version": "0.0.10",
"homepage": "https://docs.cord.com/",

@@ -6,0 +6,0 @@ "license": "MIT",

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