@liveblocks/client 3.14.0-types2 → 3.14.0

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/README.md CHANGED
@@ -63,4 +63,4 @@ learn more about
63
63
  Licensed under the Apache License 2.0, Copyright © 2021-present
64
64
  [Liveblocks](https://liveblocks.io).
65
65
 
66
- See [LICENSE](../../LICENSE) for more information.
66
+ See [LICENSE](../../licenses/LICENSE-APACHE-2.0) for more information.
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@ var _core = require('@liveblocks/core');
3
3
 
4
4
  // src/version.ts
5
5
  var PKG_NAME = "@liveblocks/client";
6
- var PKG_VERSION = "3.14.0-types2";
6
+ var PKG_VERSION = "3.14.0";
7
7
  var PKG_FORMAT = "cjs";
8
8
 
9
9
  // src/index.ts
@@ -1 +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,eAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;ACiEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAhFF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADmB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wgBAAC","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 MentionData,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n NotificationSettings,\n OthersEvent,\n PlainLsonObject,\n ResolveGroupsInfoArgs,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomSubscriptionSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n getMentionsFromCommentBody,\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":["/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,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;ACgEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AA/EF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADmB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wgBAAC","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 LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n MentionData,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n NotificationSettings,\n OthersEvent,\n PlainLsonObject,\n ResolveGroupsInfoArgs,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomSubscriptionSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n getMentionsFromCommentBody,\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.d.cts CHANGED
@@ -1 +1 @@
1
- export { Awaitable, BaseActivitiesData, BaseMetadata, BaseUserMeta, BroadcastOptions, Client, ClientOptions, CommentAttachment, CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentLocalAttachment, CommentMixedAttachment, CommentReaction, EnsureJson, History, HistoryVersion, IUserInfo, Immutable, InboxNotificationData, Json, JsonArray, JsonObject, JsonScalar, LargeMessageStrategy, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LiveblocksError, LiveblocksErrorContext, LostConnectionEvent, Lson, LsonObject, MentionData, NotificationChannel, NotificationChannelSettings, NotificationKind, NotificationSettings, OthersEvent, PlainLsonObject, ResolveGroupsInfoArgs, ResolveMentionSuggestionsArgs, ResolveRoomsInfoArgs, ResolveUsersArgs, Room, RoomSubscriptionSettings, Status, StorageStatus, StorageUpdate, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, ToImmutable, UploadAttachmentOptions, User, createClient, defineAiTool, getMentionsFromCommentBody, isNotificationChannelEnabled, shallow, stringifyCommentBody, toPlainLson } from '@liveblocks/core';
1
+ export { Awaitable, BaseActivitiesData, BaseMetadata, BaseUserMeta, BroadcastOptions, Client, ClientOptions, CommentAttachment, CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentLocalAttachment, CommentMixedAttachment, CommentReaction, EnsureJson, History, HistoryVersion, IUserInfo, Immutable, InboxNotificationData, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LiveblocksError, LiveblocksErrorContext, LostConnectionEvent, Lson, LsonObject, MentionData, NotificationChannel, NotificationChannelSettings, NotificationKind, NotificationSettings, OthersEvent, PlainLsonObject, ResolveGroupsInfoArgs, ResolveMentionSuggestionsArgs, ResolveRoomsInfoArgs, ResolveUsersArgs, Room, RoomSubscriptionSettings, Status, StorageStatus, StorageUpdate, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, ToImmutable, UploadAttachmentOptions, User, createClient, defineAiTool, getMentionsFromCommentBody, isNotificationChannelEnabled, shallow, stringifyCommentBody, toPlainLson } from '@liveblocks/core';
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Awaitable, BaseActivitiesData, BaseMetadata, BaseUserMeta, BroadcastOptions, Client, ClientOptions, CommentAttachment, CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentLocalAttachment, CommentMixedAttachment, CommentReaction, EnsureJson, History, HistoryVersion, IUserInfo, Immutable, InboxNotificationData, Json, JsonArray, JsonObject, JsonScalar, LargeMessageStrategy, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LiveblocksError, LiveblocksErrorContext, LostConnectionEvent, Lson, LsonObject, MentionData, NotificationChannel, NotificationChannelSettings, NotificationKind, NotificationSettings, OthersEvent, PlainLsonObject, ResolveGroupsInfoArgs, ResolveMentionSuggestionsArgs, ResolveRoomsInfoArgs, ResolveUsersArgs, Room, RoomSubscriptionSettings, Status, StorageStatus, StorageUpdate, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, ToImmutable, UploadAttachmentOptions, User, createClient, defineAiTool, getMentionsFromCommentBody, isNotificationChannelEnabled, shallow, stringifyCommentBody, toPlainLson } from '@liveblocks/core';
1
+ export { Awaitable, BaseActivitiesData, BaseMetadata, BaseUserMeta, BroadcastOptions, Client, ClientOptions, CommentAttachment, CommentBody, CommentBodyBlockElement, CommentBodyElement, CommentBodyInlineElement, CommentBodyLink, CommentBodyLinkElementArgs, CommentBodyMention, CommentBodyMentionElementArgs, CommentBodyParagraph, CommentBodyParagraphElementArgs, CommentBodyText, CommentBodyTextElementArgs, CommentData, CommentLocalAttachment, CommentMixedAttachment, CommentReaction, EnsureJson, History, HistoryVersion, IUserInfo, Immutable, InboxNotificationData, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LiveblocksError, LiveblocksErrorContext, LostConnectionEvent, Lson, LsonObject, MentionData, NotificationChannel, NotificationChannelSettings, NotificationKind, NotificationSettings, OthersEvent, PlainLsonObject, ResolveGroupsInfoArgs, ResolveMentionSuggestionsArgs, ResolveRoomsInfoArgs, ResolveUsersArgs, Room, RoomSubscriptionSettings, Status, StorageStatus, StorageUpdate, StringifyCommentBodyElements, StringifyCommentBodyOptions, ThreadData, ToImmutable, UploadAttachmentOptions, User, createClient, defineAiTool, getMentionsFromCommentBody, isNotificationChannelEnabled, shallow, stringifyCommentBody, toPlainLson } from '@liveblocks/core';
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { detectDupes } from "@liveblocks/core";
3
3
 
4
4
  // src/version.ts
5
5
  var PKG_NAME = "@liveblocks/client";
6
- var PKG_VERSION = "3.14.0-types2";
6
+ var PKG_VERSION = "3.14.0";
7
7
  var PKG_FORMAT = "esm";
8
8
 
9
9
  // src/index.ts
package/dist/index.js.map CHANGED
@@ -1 +1 @@
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 MentionData,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n NotificationSettings,\n OthersEvent,\n PlainLsonObject,\n ResolveGroupsInfoArgs,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomSubscriptionSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n getMentionsFromCommentBody,\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;;;ADoE7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAjFP,YAAY,UAAU,aAAa,UAAU;","names":[]}
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 LiveblocksErrorContext,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n MentionData,\n NotificationChannel,\n NotificationChannelSettings,\n NotificationKind,\n NotificationSettings,\n OthersEvent,\n PlainLsonObject,\n ResolveGroupsInfoArgs,\n ResolveMentionSuggestionsArgs,\n ResolveRoomsInfoArgs,\n ResolveUsersArgs,\n Room,\n RoomSubscriptionSettings,\n Status,\n StorageStatus,\n StorageUpdate,\n StringifyCommentBodyElements,\n StringifyCommentBodyOptions,\n ThreadData,\n ToImmutable,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n getMentionsFromCommentBody,\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;;;ADmE7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAhFP,YAAY,UAAU,aAAa,UAAU;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "3.14.0-types2",
3
+ "version": "3.14.0",
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
6
  "type": "module",
@@ -30,11 +30,12 @@
30
30
  "lint": "eslint src/",
31
31
  "lint:package": "publint --strict && attw --pack",
32
32
  "test": "NODE_OPTIONS=\"--no-deprecation\" vitest run --passWithNoTests",
33
+ "test:ci": "NODE_OPTIONS=\"--no-deprecation\" vitest run --passWithNoTests",
33
34
  "test:types": "ls test-d/* | xargs -n1 tsd --files",
34
35
  "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
35
36
  },
36
37
  "dependencies": {
37
- "@liveblocks/core": "3.14.0-types2"
38
+ "@liveblocks/core": "3.14.0"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@liveblocks/eslint-config": "*",