@liveblocks/core
Advanced tools
Comparing version 0.19.0 to 0.19.1-test1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184139
4
5707