New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@collabkit/react

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collabkit/react - npm Package Compare versions

Comparing version 0.8.17-alpha-4 to 0.8.17-alpha-5

55

dist/collabkit-react.d.ts

@@ -675,2 +675,38 @@ /// <reference types="react" />

savePin(params: {
appId: string;
workspaceId: string;
objectId: string;
pin: {
x: number;
y: number;
threadId: string;
eventId: 'default' | string;
};
}): Promise<string>;
deletePin(params: {
appId: string;
workspaceId: string;
objectId: string;
pinId: string;
}): Promise<void>;
subscribeOpenPins(params: {
appId: string;
workspaceId: string;
subs: Subscriptions;
onGet: (pins: { [objectId: string]: { [pinId: string]: { x: number; y: number } } }) => void;
onObjectChange: (objectId: string, pins: { [pinId: string]: { x: number; y: number } }) => void;
onObjectRemove: (objectId: string) => void;
}): Promise<void>;
movePin(params: {
appId: string;
workspaceId: string;
pinId: string;
x: number;
y: number;
}): Promise<void>;
saveProfile(params: {

@@ -776,2 +812,3 @@ appId: string;

}) => void;
type InboxChangeEventHandler = (props: { event: WithID<Event>; threadId: string }) => void;

@@ -1134,4 +1171,18 @@

fetchedProfiles: { [threadId: string]: { [userId: string]: boolean } };
openPins: { [objectId: string]: { [pinId: string]: Pin } };
pendingPin: PendingPin | null;
}
// get all pins for the workspace that have an open thread attached to them (we don't want resolved ones)
// get all threads for these pins in one query (comment sidebar speed)
type PendingPin = Pin & { objectId: string };
type Pin = {
threadId: string;
eventId: string;
x: number;
y: number;
};
interface UnconfiguredStore {

@@ -1923,2 +1974,3 @@ sync: null | SyncAdapter;

body?: string;
['data-testid']?: string;
}): JSX.Element;

@@ -1963,3 +2015,3 @@ declare function ComposerContentEditable(props: {

declare function CommentList(props: React$1.ComponentProps<'div'> & {
declare function CommentList(props: ComponentProps<'div'> & {
renderComment?: (props: CommentProps) => ReactNode;

@@ -1978,2 +2030,3 @@ hideResolveButton?: boolean;

className?: string;
['data-testid']?: string;
}): JSX.Element;

@@ -1980,0 +2033,0 @@

5

package.json
{
"name": "@collabkit/react",
"version": "0.8.17-alpha-4",
"version": "0.8.17-alpha-5",
"type": "module",

@@ -25,3 +25,4 @@ "files": [

"dev": "ladle serve",
"build": "yarn clean && tsc && vite build && rollup --config rollup.config.js",
"build": "yarn clean && tsc && vite build && rollup --config rollup.config.js && yarn check-build",
"check-build": "yarn tsc --noEmit --esModuleInterop dist/collabkit-react.d.ts",
"clean": "rimraf dist types *.tsbuildinfo",

@@ -28,0 +29,0 @@ "preview": "vite preview",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc