@liveblocks/client 3.18.1 → 3.18.3-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/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+ Copyright 2021-present Liveblocks
2
+
3
+ This repository contains software under two licenses:
4
+
5
+ 1. Most of the code in this repository is licensed under the
6
+ Apache License 2.0 — see licenses/LICENSE-APACHE-2.0 for the
7
+ full license text.
8
+
9
+ 2. The following components are licensed under the
10
+ GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later)
11
+ — see licenses/LICENSE-AGPL-3.0 for the full license text:
12
+
13
+ - packages/liveblocks-server (published as @liveblocks/server)
14
+ - tools/liveblocks-cli (published as liveblocks)
15
+
16
+ Each package's own LICENSE or package.json specifies its applicable license.
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.18.1";
6
+ var PKG_VERSION = "3.18.3-test1";
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,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;ACwEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAxFF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADoB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,mkBAAC","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 Feed,\n FeedCreateMetadata,\n FeedFetchMetadataFilter,\n FeedRequestError,\n FeedRequestFailedServerMsg,\n FeedUpdateMetadata,\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 ReadonlyJson,\n ReadonlyJsonObject,\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 ToJson,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n FeedRequestErrorCode,\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,cAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;AFE7D;AACA;ACwEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAxFF,+BAAA,QAAY,EAAU,WAAA,EAAa,UAAU,CAAA;ADoB7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,mkBAAC","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 Feed,\n FeedCreateMetadata,\n FeedFetchMetadataFilter,\n FeedRequestError,\n FeedRequestFailedServerMsg,\n FeedUpdateMetadata,\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 ReadonlyJson,\n ReadonlyJsonObject,\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 ToJson,\n UploadAttachmentOptions,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n defineAiTool,\n FeedRequestErrorCode,\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.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.18.1";
6
+ var PKG_VERSION = "3.18.3-test1";
7
7
  var PKG_FORMAT = "esm";
8
8
 
9
9
  // src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "3.18.1",
3
+ "version": "3.18.3-test1",
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
  "author": "Liveblocks Inc.",
@@ -24,23 +24,15 @@
24
24
  "dist/**",
25
25
  "README.md"
26
26
  ],
27
- "scripts": {
28
- "dev": "tsup --watch",
29
- "build": "tsup",
30
- "format": "(eslint --fix src/ || true) && prettier --write src/",
31
- "lint": "eslint src/",
32
- "lint:package": "publint --strict && attw --pack",
33
- "test": "NODE_OPTIONS=\"--no-deprecation\" vitest run --passWithNoTests",
34
- "test:ci": "NODE_OPTIONS=\"--no-deprecation\" vitest run --passWithNoTests",
35
- "test:types": "ls test-d/* | xargs -n1 tsd --files",
36
- "test:watch": "NODE_OPTIONS=\"--no-deprecation\" vitest"
37
- },
38
27
  "dependencies": {
39
- "@liveblocks/core": "3.18.1"
28
+ "@liveblocks/core": "3.18.3-test1"
40
29
  },
41
30
  "devDependencies": {
42
- "@liveblocks/eslint-config": "*",
43
- "@liveblocks/vitest-config": "*"
31
+ "eslint": "^9.39.4",
32
+ "typescript": "^5.9.3",
33
+ "vitest": "^4.1.4",
34
+ "@liveblocks/eslint-config": "0.0.0",
35
+ "@liveblocks/vitest-config": "1.0.0"
44
36
  },
45
37
  "sideEffects": false,
46
38
  "bugs": {
@@ -66,5 +58,16 @@
66
58
  "rooms",
67
59
  "documents",
68
60
  "conflict resolution"
69
- ]
70
- }
61
+ ],
62
+ "scripts": {
63
+ "dev": "tsup --watch",
64
+ "build": "tsup",
65
+ "format": "(eslint --fix src/ || true) && prettier --write src/",
66
+ "lint": "eslint src/",
67
+ "lint:package": "publint --strict && attw --pack",
68
+ "test": "vitest run --passWithNoTests",
69
+ "test:ci": "vitest run --passWithNoTests",
70
+ "test:types": "vitest run --config ./vitest.config.typecheck.ts",
71
+ "test:watch": "vitest"
72
+ }
73
+ }