@liveblocks/client 0.17.10-debug → 0.17.11-debug1

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.
@@ -1 +1 @@
1
- 628b83a9b93b91dfc0fbc5a1b6a76976122dd2b7
1
+ 2ee1e8ee5823890b820ed738da50fbab35c9cf19
package/index.js CHANGED
@@ -1813,7 +1813,7 @@ function prepareCreateWebSocket(liveblocksServer, WebSocketPolyfill) {
1813
1813
  }
1814
1814
  var ws = WebSocketPolyfill || WebSocket;
1815
1815
  return function(token) {
1816
- return new ws("".concat(liveblocksServer, "/?token=").concat(token, "&version=").concat(true ? "0.17.10-debug" : "dev"));
1816
+ return new ws("".concat(liveblocksServer, "/?token=").concat(token, "&version=").concat(true ? "0.17.11-debug1" : "dev"));
1817
1817
  };
1818
1818
  }
1819
1819
  function prepareAuthEndpoint(authentication, fetchPolyfill) {
package/index.mjs CHANGED
@@ -1 +1,7 @@
1
- export { LiveList, LiveMap, LiveObject, createClient } from "./index.js";
1
+ import mod from "./index.js";
2
+
3
+ export default mod;
4
+ export const LiveList = mod.LiveList;
5
+ export const LiveMap = mod.LiveMap;
6
+ export const LiveObject = mod.LiveObject;
7
+ export const createClient = mod.createClient;
package/internal.mjs CHANGED
@@ -1,30 +1,31 @@
1
- export {
2
- ClientMsgCode,
3
- CrdtType,
4
- OpCode,
5
- ServerMsgCode,
6
- WebsocketCloseCodes,
7
- assertNever,
8
- b64decode,
9
- comparePosition,
10
- deprecate,
11
- deprecateIf,
12
- errorIf,
13
- isAppOnlyAuthToken,
14
- isAuthToken,
15
- isChildCrdt,
16
- isJsonArray,
17
- isJsonObject,
18
- isJsonScalar,
19
- isPlainObject,
20
- isRoomAuthToken,
21
- isRootCrdt,
22
- isScope,
23
- lsonToJson,
24
- makePosition,
25
- nn,
26
- patchImmutableObject,
27
- patchLiveObjectKey,
28
- throwUsageError,
29
- tryParseJson,
30
- } from "./internal.js";
1
+ import mod from "./internal.js";
2
+
3
+ export default mod;
4
+ export const ClientMsgCode = mod.ClientMsgCode;
5
+ export const CrdtType = mod.CrdtType;
6
+ export const OpCode = mod.OpCode;
7
+ export const ServerMsgCode = mod.ServerMsgCode;
8
+ export const WebsocketCloseCodes = mod.WebsocketCloseCodes;
9
+ export const assertNever = mod.assertNever;
10
+ export const b64decode = mod.b64decode;
11
+ export const comparePosition = mod.comparePosition;
12
+ export const deprecate = mod.deprecate;
13
+ export const deprecateIf = mod.deprecateIf;
14
+ export const errorIf = mod.errorIf;
15
+ export const isAppOnlyAuthToken = mod.isAppOnlyAuthToken;
16
+ export const isAuthToken = mod.isAuthToken;
17
+ export const isChildCrdt = mod.isChildCrdt;
18
+ export const isJsonArray = mod.isJsonArray;
19
+ export const isJsonObject = mod.isJsonObject;
20
+ export const isJsonScalar = mod.isJsonScalar;
21
+ export const isPlainObject = mod.isPlainObject;
22
+ export const isRoomAuthToken = mod.isRoomAuthToken;
23
+ export const isRootCrdt = mod.isRootCrdt;
24
+ export const isScope = mod.isScope;
25
+ export const lsonToJson = mod.lsonToJson;
26
+ export const makePosition = mod.makePosition;
27
+ export const nn = mod.nn;
28
+ export const patchImmutableObject = mod.patchImmutableObject;
29
+ export const patchLiveObjectKey = mod.patchLiveObjectKey;
30
+ export const throwUsageError = mod.throwUsageError;
31
+ export const tryParseJson = mod.tryParseJson;
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "0.17.10-debug",
3
+ "version": "0.17.11-debug1",
4
4
  "description": "A client that lets you interact with Liveblocks servers.",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
7
7
  "types": "./index.d.ts",
8
8
  "exports": {
9
9
  "./internal": {
10
- "types": "./internal.d.ts",
11
10
  "require": "./internal.js",
12
- "import": "./internal.mjs"
11
+ "import": "./internal.mjs",
12
+ "types": "./internal.d.ts"
13
13
  },
14
14
  ".": {
15
- "types": "./index.d.ts",
16
15
  "require": "./index.js",
17
- "import": "./index.mjs"
16
+ "import": "./index.mjs",
17
+ "types": "./index.d.ts"
18
18
  }
19
19
  },
20
20
  "keywords": [