@liveblocks/client 2.18.3 → 2.18.4-uns2

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.cjs ADDED
@@ -0,0 +1,35 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts
2
+ var _core = require('@liveblocks/core');
3
+
4
+ // src/version.ts
5
+ var PKG_NAME = "@liveblocks/client";
6
+ var PKG_VERSION = "2.18.4-uns2";
7
+ var PKG_FORMAT = "cjs";
8
+
9
+ // src/index.ts
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+ _core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+ exports.LiveList = _core.LiveList; exports.LiveMap = _core.LiveMap; exports.LiveObject = _core.LiveObject; exports.LiveblocksError = _core.LiveblocksError; exports.createClient = _core.createClient; exports.getMentionedIdsFromCommentBody = _core.getMentionedIdsFromCommentBody; exports.isNotificationChannelEnabled = _core.isNotificationChannelEnabled; exports.shallow = _core.shallow; exports.stringifyCommentBody = _core.stringifyCommentBody; exports.toPlainLson = _core.toPlainLson;
35
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-client/dist/index.cjs","../src/index.ts","../src/version.ts"],"names":[],"mappings":"AAAA;ACAA,wCAA4B;ADE5B;AACA;AEAO,IAAM,SAAA,EAAW,oBAAA;AACjB,IAAM,YAAA,EAAiD,aAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;AC+DA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AA7EF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADkB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qeAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-client/dist/index.cjs","sourcesContent":[null,"import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n Awaitable,\n BaseActivitiesData,\n BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n ClientOptions,\n CommentAttachment,\n CommentBody,\n CommentBodyBlockElement,\n CommentBodyElement,\n CommentBodyInlineElement,\n CommentBodyLink,\n CommentBodyLinkElementArgs,\n CommentBodyMention,\n CommentBodyMentionElementArgs,\n CommentBodyParagraph,\n CommentBodyParagraphElementArgs,\n CommentBodyText,\n CommentBodyTextElementArgs,\n CommentData,\n CommentLocalAttachment,\n CommentMixedAttachment,\n CommentReaction,\n EnsureJson,\n History,\n HistoryVersion,\n Immutable,\n InboxNotificationData,\n IUserInfo,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LargeMessageStrategy,\n LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n OthersEvent,\n PlainLsonObject,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomNotificationSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n UserNotificationSettings,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n getMentionedIdsFromCommentBody,\n isNotificationChannelEnabled,\n LiveblocksError,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n stringifyCommentBody,\n toPlainLson,\n} from \"@liveblocks/core\";\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"]}
package/dist/index.js CHANGED
@@ -1,35 +1,35 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts
2
- var _core = require('@liveblocks/core');
1
+ // src/index.ts
2
+ import { detectDupes } from "@liveblocks/core";
3
3
 
4
4
  // src/version.ts
5
5
  var PKG_NAME = "@liveblocks/client";
6
- var PKG_VERSION = "2.18.3";
7
- var PKG_FORMAT = "cjs";
6
+ var PKG_VERSION = "2.18.4-uns2";
7
+ var PKG_FORMAT = "esm";
8
8
 
9
9
  // src/index.ts
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
- _core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
- exports.LiveList = _core.LiveList; exports.LiveMap = _core.LiveMap; exports.LiveObject = _core.LiveObject; exports.LiveblocksError = _core.LiveblocksError; exports.createClient = _core.createClient; exports.getMentionedIdsFromCommentBody = _core.getMentionedIdsFromCommentBody; exports.isNotificationChannelEnabled = _core.isNotificationChannelEnabled; exports.shallow = _core.shallow; exports.stringifyCommentBody = _core.stringifyCommentBody; exports.toPlainLson = _core.toPlainLson;
10
+ import {
11
+ createClient,
12
+ getMentionedIdsFromCommentBody,
13
+ isNotificationChannelEnabled,
14
+ LiveblocksError,
15
+ LiveList,
16
+ LiveMap,
17
+ LiveObject,
18
+ shallow,
19
+ stringifyCommentBody,
20
+ toPlainLson
21
+ } from "@liveblocks/core";
22
+ detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
23
+ export {
24
+ LiveList,
25
+ LiveMap,
26
+ LiveObject,
27
+ LiveblocksError,
28
+ createClient,
29
+ getMentionedIdsFromCommentBody,
30
+ isNotificationChannelEnabled,
31
+ shallow,
32
+ stringifyCommentBody,
33
+ toPlainLson
34
+ };
35
35
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-client/dist/index.js","../src/index.ts","../src/version.ts"],"names":[],"mappings":"AAAA;ACAA,wCAA4B;ADE5B;AACA;AEAO,IAAM,SAAA,EAAW,oBAAA;AACjB,IAAM,YAAA,EAAiD,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;AC+DA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AA7EF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADkB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qeAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-client/dist/index.js","sourcesContent":[null,"import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n Awaitable,\n BaseActivitiesData,\n BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n ClientOptions,\n CommentAttachment,\n CommentBody,\n CommentBodyBlockElement,\n CommentBodyElement,\n CommentBodyInlineElement,\n CommentBodyLink,\n CommentBodyLinkElementArgs,\n CommentBodyMention,\n CommentBodyMentionElementArgs,\n CommentBodyParagraph,\n CommentBodyParagraphElementArgs,\n CommentBodyText,\n CommentBodyTextElementArgs,\n CommentData,\n CommentLocalAttachment,\n CommentMixedAttachment,\n CommentReaction,\n EnsureJson,\n History,\n HistoryVersion,\n Immutable,\n InboxNotificationData,\n IUserInfo,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LargeMessageStrategy,\n LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n OthersEvent,\n PlainLsonObject,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomNotificationSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n UserNotificationSettings,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n getMentionedIdsFromCommentBody,\n isNotificationChannelEnabled,\n LiveblocksError,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n stringifyCommentBody,\n toPlainLson,\n} from \"@liveblocks/core\";\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/version.ts"],"sourcesContent":["import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n Awaitable,\n BaseActivitiesData,\n BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n ClientOptions,\n CommentAttachment,\n CommentBody,\n CommentBodyBlockElement,\n CommentBodyElement,\n CommentBodyInlineElement,\n CommentBodyLink,\n CommentBodyLinkElementArgs,\n CommentBodyMention,\n CommentBodyMentionElementArgs,\n CommentBodyParagraph,\n CommentBodyParagraphElementArgs,\n CommentBodyText,\n CommentBodyTextElementArgs,\n CommentData,\n CommentLocalAttachment,\n CommentMixedAttachment,\n CommentReaction,\n EnsureJson,\n History,\n HistoryVersion,\n Immutable,\n InboxNotificationData,\n IUserInfo,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LargeMessageStrategy,\n LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n OthersEvent,\n PlainLsonObject,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomNotificationSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n UserNotificationSettings,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n getMentionedIdsFromCommentBody,\n isNotificationChannelEnabled,\n LiveblocksError,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n stringifyCommentBody,\n toPlainLson,\n} from \"@liveblocks/core\";\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ADkE7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AA9EP,YAAY,UAAU,aAAa,UAAU;","names":[]}
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "2.18.3",
3
+ "version": "2.18.4-uns2",
4
4
  "description": "A client that lets you interact with Liveblocks servers. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
5
5
  "license": "Apache-2.0",
6
- "type": "commonjs",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
6
+ "type": "module",
7
+ "main": "./dist/index.cjs",
8
+ "types": "./dist/index.d.cts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": {
12
- "types": "./dist/index.d.mts",
13
- "default": "./dist/index.mjs"
14
- },
15
- "require": {
16
12
  "types": "./dist/index.d.ts",
17
- "module": "./dist/index.mjs",
18
13
  "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "module": "./dist/index.js",
18
+ "default": "./dist/index.cjs"
19
19
  }
20
20
  }
21
21
  },
@@ -34,7 +34,7 @@
34
34
  "test:watch": "jest --silent --verbose --color=always --passWithNoTests --watch"
35
35
  },
36
36
  "dependencies": {
37
- "@liveblocks/core": "2.18.3"
37
+ "@liveblocks/core": "2.18.4-uns2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@liveblocks/eslint-config": "*",
package/dist/index.mjs DELETED
@@ -1,35 +0,0 @@
1
- // src/index.ts
2
- import { detectDupes } from "@liveblocks/core";
3
-
4
- // src/version.ts
5
- var PKG_NAME = "@liveblocks/client";
6
- var PKG_VERSION = "2.18.3";
7
- var PKG_FORMAT = "esm";
8
-
9
- // src/index.ts
10
- import {
11
- createClient,
12
- getMentionedIdsFromCommentBody,
13
- isNotificationChannelEnabled,
14
- LiveblocksError,
15
- LiveList,
16
- LiveMap,
17
- LiveObject,
18
- shallow,
19
- stringifyCommentBody,
20
- toPlainLson
21
- } from "@liveblocks/core";
22
- detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
23
- export {
24
- LiveList,
25
- LiveMap,
26
- LiveObject,
27
- LiveblocksError,
28
- createClient,
29
- getMentionedIdsFromCommentBody,
30
- isNotificationChannelEnabled,
31
- shallow,
32
- stringifyCommentBody,
33
- toPlainLson
34
- };
35
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts","../src/version.ts"],"sourcesContent":["import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n Awaitable,\n BaseActivitiesData,\n BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n ClientOptions,\n CommentAttachment,\n CommentBody,\n CommentBodyBlockElement,\n CommentBodyElement,\n CommentBodyInlineElement,\n CommentBodyLink,\n CommentBodyLinkElementArgs,\n CommentBodyMention,\n CommentBodyMentionElementArgs,\n CommentBodyParagraph,\n CommentBodyParagraphElementArgs,\n CommentBodyText,\n CommentBodyTextElementArgs,\n CommentData,\n CommentLocalAttachment,\n CommentMixedAttachment,\n CommentReaction,\n EnsureJson,\n History,\n HistoryVersion,\n Immutable,\n InboxNotificationData,\n IUserInfo,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LargeMessageStrategy,\n LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n OthersEvent,\n PlainLsonObject,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomNotificationSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n UserNotificationSettings,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n getMentionedIdsFromCommentBody,\n isNotificationChannelEnabled,\n LiveblocksError,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n stringifyCommentBody,\n toPlainLson,\n} from \"@liveblocks/core\";\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ADkE7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AA9EP,YAAY,UAAU,aAAa,UAAU;","names":[]}
File without changes