Socket
Socket
Sign inDemoInstall

@liveblocks/core

Package Overview
Dependencies
Maintainers
5
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/core - npm Package Compare versions

Comparing version 0.19.0 to 0.19.1-test1

38

dist/index.d.ts

@@ -21,21 +21,2 @@ /**

declare type AppOnlyAuthToken = {
appId: string;
roomId?: never;
scopes: string[];
};
declare type RoomAuthToken = {
appId: string;
roomId: string;
scopes: string[];
actor: number;
maxConnectionsPerRoom?: number;
id?: string;
info?: Json;
};
declare type AuthToken = AppOnlyAuthToken | RoomAuthToken;
declare function isAppOnlyAuthToken(data: JsonObject): data is AppOnlyAuthToken;
declare function isRoomAuthToken(data: JsonObject): data is RoomAuthToken;
declare function isAuthToken(data: JsonObject): data is AuthToken;
declare enum OpCode {

@@ -526,2 +507,21 @@ INIT = 0,

declare type AppOnlyAuthToken = {
appId: string;
roomId?: never;
scopes: string[];
};
declare type RoomAuthToken = {
appId: string;
roomId: string;
scopes: string[];
actor: number;
maxConnectionsPerRoom?: number;
id?: string;
info?: Json;
};
declare type AuthToken = AppOnlyAuthToken | RoomAuthToken;
declare function isAppOnlyAuthToken(data: JsonObject): data is AppOnlyAuthToken;
declare function isRoomAuthToken(data: JsonObject): data is RoomAuthToken;
declare function isAuthToken(data: JsonObject): data is AuthToken;
declare enum ClientMsgCode {

@@ -528,0 +528,0 @@ UPDATE_PRESENCE = 100,

{
"name": "@liveblocks/core",
"version": "0.19.0",
"version": "0.19.1-test1",
"description": "Shared code and foundational internals for Liveblocks",

@@ -22,9 +22,12 @@ "main": "./dist/index.js",

"scripts": {
"dev": "tsup --watch --onSuccess ../../scripts/build.sh",
"build": "tsup && ../../scripts/build.sh",
"dev": "tsup --watch",
"build": "tsup",
"format": "eslint --fix src/ && prettier --write src/",
"lint": "eslint src/",
"test": "jest --silent --verbose",
"test:watch": "jest --silent --verbose --watch",
"test-e2e": "jest --silent --verbose --config=./jest.config.e2e.js"
"test": "jest --silent --verbose --color=always",
"test:watch": "jest --silent --verbose --color=always --watch",
"test:e2e": "jest --silent --verbose --color=always --config=./jest.config.e2e.js",
"test:deps": "depcruise src --exclude __tests__ --config",
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --config --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg",
"showdeps:high-level": "depcruise src --include-only '^src' --exclude='(^src/index.ts|shallow.ts|__tests__)' --collapse='^src/(refs|lib|compat|types|crdts|protocol)' --config --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg"
},

@@ -31,0 +34,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is too big to display

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