@liveblocks/react 1.4.0-test1 → 1.4.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/dist/index.d.mts +0 -20
- package/dist/index.d.ts +0 -20
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -476,26 +476,6 @@ declare type RoomContextBundleShared<TPresence extends JsonObject, TStorage exte
|
|
|
476
476
|
* deleteComment({ threadId: "th_xxx", commentId: "cm_xxx" })
|
|
477
477
|
*/
|
|
478
478
|
useDeleteComment(): (options: DeleteCommentOptions) => void;
|
|
479
|
-
/**
|
|
480
|
-
* @beta
|
|
481
|
-
*
|
|
482
|
-
* Returns a function that adds a reaction from a comment.
|
|
483
|
-
*
|
|
484
|
-
* @example
|
|
485
|
-
* const addReaction = useAddReaction();
|
|
486
|
-
* addReaction({ threadId: "th_xxx", commentId: "cm_xxx", emoji: "👍" })
|
|
487
|
-
*/
|
|
488
|
-
useAddReaction(): (options: CommentReactionOptions) => void;
|
|
489
|
-
/**
|
|
490
|
-
* @beta
|
|
491
|
-
*
|
|
492
|
-
* Returns a function that removes a reaction on a comment.
|
|
493
|
-
*
|
|
494
|
-
* @example
|
|
495
|
-
* const removeReaction = useRemoveReaction();
|
|
496
|
-
* removeReaction({ threadId: "th_xxx", commentId: "cm_xxx", emoji: "👍" })
|
|
497
|
-
*/
|
|
498
|
-
useRemoveReaction(): (options: CommentReactionOptions) => void;
|
|
499
479
|
};
|
|
500
480
|
declare type RoomContextBundle<TPresence extends JsonObject, TStorage extends LsonObject, TUserMeta extends BaseUserMeta, TRoomEvent extends Json, TThreadMetadata extends BaseMetadata> = Resolve<RoomContextBundleShared<TPresence, TStorage, TUserMeta, TRoomEvent, TThreadMetadata> & {
|
|
501
481
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -476,26 +476,6 @@ declare type RoomContextBundleShared<TPresence extends JsonObject, TStorage exte
|
|
|
476
476
|
* deleteComment({ threadId: "th_xxx", commentId: "cm_xxx" })
|
|
477
477
|
*/
|
|
478
478
|
useDeleteComment(): (options: DeleteCommentOptions) => void;
|
|
479
|
-
/**
|
|
480
|
-
* @beta
|
|
481
|
-
*
|
|
482
|
-
* Returns a function that adds a reaction from a comment.
|
|
483
|
-
*
|
|
484
|
-
* @example
|
|
485
|
-
* const addReaction = useAddReaction();
|
|
486
|
-
* addReaction({ threadId: "th_xxx", commentId: "cm_xxx", emoji: "👍" })
|
|
487
|
-
*/
|
|
488
|
-
useAddReaction(): (options: CommentReactionOptions) => void;
|
|
489
|
-
/**
|
|
490
|
-
* @beta
|
|
491
|
-
*
|
|
492
|
-
* Returns a function that removes a reaction on a comment.
|
|
493
|
-
*
|
|
494
|
-
* @example
|
|
495
|
-
* const removeReaction = useRemoveReaction();
|
|
496
|
-
* removeReaction({ threadId: "th_xxx", commentId: "cm_xxx", emoji: "👍" })
|
|
497
|
-
*/
|
|
498
|
-
useRemoveReaction(): (options: CommentReactionOptions) => void;
|
|
499
479
|
};
|
|
500
480
|
declare type RoomContextBundle<TPresence extends JsonObject, TStorage extends LsonObject, TUserMeta extends BaseUserMeta, TRoomEvent extends Json, TThreadMetadata extends BaseMetadata> = Resolve<RoomContextBundleShared<TPresence, TStorage, TUserMeta, TRoomEvent, TThreadMetadata> & {
|
|
501
481
|
/**
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "1.4.0
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively. 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",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"test:watch": "jest --silent --verbose --color=always --watch"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@liveblocks/client": "1.4.0
|
|
37
|
-
"@liveblocks/core": "1.4.0
|
|
36
|
+
"@liveblocks/client": "1.4.0",
|
|
37
|
+
"@liveblocks/core": "1.4.0",
|
|
38
38
|
"nanoid": "^3",
|
|
39
39
|
"use-sync-external-store": "^1.2.0"
|
|
40
40
|
},
|