@liveblocks/client 0.17.9 → 0.17.10

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
- cd34d45c9f06c171b1776cd9854b6280777a487c
1
+ 66d4b8c29e0344fef0885c8032cdb0e0f7a1d172
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.9" : "dev"));
1816
+ return new ws("".concat(liveblocksServer, "/?token=").concat(token, "&version=").concat(true ? "0.17.10" : "dev"));
1817
1817
  };
1818
1818
  }
1819
1819
  function prepareAuthEndpoint(authentication, fetchPolyfill) {
package/index.mjs CHANGED
@@ -1,7 +1 @@
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;
1
+ export { LiveList, LiveMap, LiveObject, createClient } from "./index.js";
package/internal.mjs CHANGED
@@ -1,31 +1,30 @@
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;
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "0.17.9",
3
+ "version": "0.17.10",
4
4
  "description": "A client that lets you interact with Liveblocks servers.",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",