New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@relaybox/rest

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relaybox/rest - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

2

dist/relaybox.js

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

prepareRequestParams(roomId, event, data) {
const timestamp = new Date().toISOString();
const timestamp = Date.now();
const body = JSON.stringify({

@@ -88,0 +88,0 @@ event,

@@ -1,2 +0,2 @@

export declare const allowedPermissions: readonly ["subscribe", "publish", "presence", "metrics", "*"];
export declare const allowedPermissions: readonly ["subscribe", "publish", "presence", "metrics", "history", "*"];
export type Permission = (typeof allowedPermissions)[number];

@@ -3,0 +3,0 @@ export interface Permissions {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.allowedPermissions = void 0;
exports.allowedPermissions = ['subscribe', 'publish', 'presence', 'metrics', '*'];
exports.allowedPermissions = [
'subscribe',
'publish',
'presence',
'metrics',
'history',
'*'
];
{
"name": "@relaybox/rest",
"version": "1.0.5",
"version": "1.1.0",
"description": "RelayBox REST Services SDK. Enables seemless integration between server-side applications and RelayBox's authentication and realtime services. It provides robust functionality for generating authentication tokens, publishing events, and interacting efficiently with RelayBox's suite of services.",

@@ -43,3 +43,3 @@ "keywords": [

},
"homepage": "https://github.com/relaybox/relaybox-rest-js#readme",
"homepage": "https://relaybox.net",
"dependencies": {

@@ -46,0 +46,0 @@ "jsonwebtoken": "^9.0.2"

@@ -23,3 +23,3 @@ ![npm version](https://img.shields.io/npm/v/@relaybox/rest)

## RelayBox Class
## RelayBox Constructor

@@ -58,3 +58,3 @@ Instantiate a new RelayBox object to enable usage of the server-side SDK.

const allowedPermissions: readonly ['subscribe', 'publish', 'presence', 'metrics', '*'];
const allowedPermissions: readonly ['subscribe', 'publish', 'presence', 'metrics', 'history', '*'];

@@ -165,3 +165,4 @@ type Permission = (typeof allowedPermissions)[number];

'presence',
'metrics'
'metrics',
'history'
];

@@ -168,0 +169,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