@liveblocks/core 1.1.2-beta1 → 1.2.0-internal1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10 -0
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1670,6 +1670,16 @@ declare type RoomStateServerMsg<TUserMeta extends BaseUserMeta> = {
|
|
|
1670
1670
|
scopes: string[];
|
|
1671
1671
|
};
|
|
1672
1672
|
};
|
|
1673
|
+
/**
|
|
1674
|
+
* Informs the client what their actor ID is.
|
|
1675
|
+
* @since v1.2 (WS API v7)
|
|
1676
|
+
*/
|
|
1677
|
+
readonly actor: number;
|
|
1678
|
+
/**
|
|
1679
|
+
* Informs the client whether their access is read-only.
|
|
1680
|
+
* @since v1.2 (WS API v7)
|
|
1681
|
+
*/
|
|
1682
|
+
readonly isReadOnly: boolean;
|
|
1673
1683
|
};
|
|
1674
1684
|
/**
|
|
1675
1685
|
* Sent by the WebSocket server to a single client in response to the client
|
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ var onMessageFromPanel = eventSource.observable;
|
|
|
145
145
|
// src/devtools/index.ts
|
|
146
146
|
var VERSION = true ? (
|
|
147
147
|
/* istanbul ignore next */
|
|
148
|
-
"1.
|
|
148
|
+
"1.2.0-internal1"
|
|
149
149
|
) : "dev";
|
|
150
150
|
var _devtoolsSetupHasRun = false;
|
|
151
151
|
function setupDevTools(getAllRooms) {
|
|
@@ -5304,7 +5304,7 @@ function makeCreateSocketDelegateForRoom(liveblocksServer, WebSocketPolyfill) {
|
|
|
5304
5304
|
// @ts-ignore (__PACKAGE_VERSION__ will be injected by the build script)
|
|
5305
5305
|
true ? (
|
|
5306
5306
|
/* istanbul ignore next */
|
|
5307
|
-
"1.
|
|
5307
|
+
"1.2.0-internal1"
|
|
5308
5308
|
) : "dev"}`
|
|
5309
5309
|
);
|
|
5310
5310
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-internal1",
|
|
4
4
|
"description": "Shared code and foundational internals for Liveblocks",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"test:types": "tsd",
|
|
28
28
|
"test:watch": "jest --silent --verbose --color=always --watch",
|
|
29
29
|
"test:e2e": "jest --silent --verbose --color=always --config=./jest.config.e2e.js",
|
|
30
|
-
"test:deps": "depcruise src --exclude __tests__
|
|
31
|
-
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --
|
|
32
|
-
"showdeps:high-level": "depcruise src --include-only '^src' --exclude='(^src/index.ts|shallow.ts|__tests__)' --collapse='^src/(refs|lib|compat|types|crdts|protocol)' --
|
|
30
|
+
"test:deps": "depcruise src --exclude __tests__",
|
|
31
|
+
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg",
|
|
32
|
+
"showdeps:high-level": "depcruise src --include-only '^src' --exclude='(^src/index.ts|shallow.ts|__tests__)' --collapse='^src/(refs|lib|compat|types|crdts|protocol)' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg"
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"devDependencies": {
|