@liveblocks/client 1.2.3 → 1.3.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 +5 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
</a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
`@liveblocks/client` provides the APIs to integrate with Liveblocks—a platform
|
|
25
|
+
to build, host, and scale collaborative applications with zero configuration, no
|
|
26
|
+
maintenance required.
|
|
26
27
|
|
|
27
28
|
## Installation
|
|
28
29
|
|
|
@@ -54,8 +55,8 @@ learn more about
|
|
|
54
55
|
|
|
55
56
|
- [Discord](https://liveblocks.io/discord) - To get involved with the Liveblocks
|
|
56
57
|
community, ask questions and share tips.
|
|
57
|
-
- [
|
|
58
|
-
|
|
58
|
+
- [X](https://x.com/liveblocks) - To receive updates, announcements, blog posts,
|
|
59
|
+
and general Liveblocks tips.
|
|
59
60
|
|
|
60
61
|
## License
|
|
61
62
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BaseUserMeta, BroadcastOptions, Client, History, Immutable, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LostConnectionEvent, Lson, LsonObject, Others, Room, Status, StorageStatus, StorageUpdate, User, createClient, shallow, toPlainLson } from '@liveblocks/core';
|
|
1
|
+
export { BaseMetadata, BaseUserMeta, BroadcastOptions, Client, CommentBody, CommentData, History, Immutable, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LostConnectionEvent, Lson, LsonObject, Others, Room, Status, StorageStatus, StorageUpdate, ThreadData, User, createClient, shallow, toPlainLson } from '@liveblocks/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Helper type to help users adopt to Lson types from interface definitions.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BaseUserMeta, BroadcastOptions, Client, History, Immutable, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LostConnectionEvent, Lson, LsonObject, Others, Room, Status, StorageStatus, StorageUpdate, User, createClient, shallow, toPlainLson } from '@liveblocks/core';
|
|
1
|
+
export { BaseMetadata, BaseUserMeta, BroadcastOptions, Client, CommentBody, CommentData, History, Immutable, Json, JsonArray, JsonObject, JsonScalar, LiveList, LiveListUpdate, LiveMap, LiveMapUpdate, LiveObject, LiveObjectUpdate, LiveStructure, LostConnectionEvent, Lson, LsonObject, Others, Room, Status, StorageStatus, StorageUpdate, ThreadData, User, createClient, shallow, toPlainLson } from '@liveblocks/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Helper type to help users adopt to Lson types from interface definitions.
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/version.ts"],"names":[],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/version.ts"],"names":[],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;AD6B7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AArCP,YAAY,UAAU,aAAa,UAAU","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 BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n CommentBody,\n CommentData,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n ThreadData,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\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.mjs
CHANGED
package/dist/index.mjs.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 BaseUserMeta,\n BroadcastOptions,\n Client,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\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;;;
|
|
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 BaseMetadata,\n BaseUserMeta,\n BroadcastOptions,\n Client,\n CommentBody,\n CommentData,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n ThreadData,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\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;;;AD6B7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AArCP,YAAY,UAAU,aAAa,UAAU;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.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
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:watch": "jest --silent --verbose --color=always --passWithNoTests --watch"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@liveblocks/core": "1.
|
|
35
|
+
"@liveblocks/core": "1.3.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@liveblocks/eslint-config": "*",
|