@liveblocks/core 0.19.0-beta0 → 0.19.1-test1
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 +681 -675
- package/dist/index.js +287 -270
- package/package.json +9 -6
- package/dist/index.mjs +0 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/core",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1-test1",
|
|
4
4
|
"description": "Shared code and foundational internals for Liveblocks",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -19,13 +19,16 @@
|
|
|
19
19
|
"url": "https://github.com/liveblocks/liveblocks/issues"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"dev": "tsup --watch
|
|
23
|
-
"build": "tsup
|
|
22
|
+
"dev": "tsup --watch",
|
|
23
|
+
"build": "tsup",
|
|
24
24
|
"format": "eslint --fix src/ && prettier --write src/",
|
|
25
25
|
"lint": "eslint src/",
|
|
26
|
-
"test": "jest --silent --verbose",
|
|
27
|
-
"test:watch": "jest --silent --verbose --watch",
|
|
28
|
-
"test
|
|
26
|
+
"test": "jest --silent --verbose --color=always",
|
|
27
|
+
"test:watch": "jest --silent --verbose --color=always --watch",
|
|
28
|
+
"test:e2e": "jest --silent --verbose --color=always --config=./jest.config.e2e.js",
|
|
29
|
+
"test:deps": "depcruise src --exclude __tests__ --config",
|
|
30
|
+
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --config --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg",
|
|
31
|
+
"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"
|
|
29
32
|
},
|
|
30
33
|
"license": "Apache-2.0",
|
|
31
34
|
"devDependencies": {
|
package/dist/index.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import mod from "./index.js";
|
|
2
|
-
|
|
3
|
-
export default mod;
|
|
4
|
-
export const ClientMsgCode = mod.ClientMsgCode;
|
|
5
|
-
export const CrdtType = mod.CrdtType;
|
|
6
|
-
export const LiveList = mod.LiveList;
|
|
7
|
-
export const LiveMap = mod.LiveMap;
|
|
8
|
-
export const LiveObject = mod.LiveObject;
|
|
9
|
-
export const OpCode = mod.OpCode;
|
|
10
|
-
export const ServerMsgCode = mod.ServerMsgCode;
|
|
11
|
-
export const WebsocketCloseCodes = mod.WebsocketCloseCodes;
|
|
12
|
-
export const asArrayWithLegacyMethods = mod.asArrayWithLegacyMethods;
|
|
13
|
-
export const assertNever = mod.assertNever;
|
|
14
|
-
export const b64decode = mod.b64decode;
|
|
15
|
-
export const comparePosition = mod.comparePosition;
|
|
16
|
-
export const createClient = mod.createClient;
|
|
17
|
-
export const deprecate = mod.deprecate;
|
|
18
|
-
export const deprecateIf = mod.deprecateIf;
|
|
19
|
-
export const errorIf = mod.errorIf;
|
|
20
|
-
export const freeze = mod.freeze;
|
|
21
|
-
export const isAppOnlyAuthToken = mod.isAppOnlyAuthToken;
|
|
22
|
-
export const isAuthToken = mod.isAuthToken;
|
|
23
|
-
export const isChildCrdt = mod.isChildCrdt;
|
|
24
|
-
export const isJsonArray = mod.isJsonArray;
|
|
25
|
-
export const isJsonObject = mod.isJsonObject;
|
|
26
|
-
export const isJsonScalar = mod.isJsonScalar;
|
|
27
|
-
export const isPlainObject = mod.isPlainObject;
|
|
28
|
-
export const isRoomAuthToken = mod.isRoomAuthToken;
|
|
29
|
-
export const isRootCrdt = mod.isRootCrdt;
|
|
30
|
-
export const legacy_patchImmutableObject = mod.legacy_patchImmutableObject;
|
|
31
|
-
export const lsonToJson = mod.lsonToJson;
|
|
32
|
-
export const makePosition = mod.makePosition;
|
|
33
|
-
export const nn = mod.nn;
|
|
34
|
-
export const patchLiveObjectKey = mod.patchLiveObjectKey;
|
|
35
|
-
export const shallow = mod.shallow;
|
|
36
|
-
export const throwUsageError = mod.throwUsageError;
|
|
37
|
-
export const tryParseJson = mod.tryParseJson;
|