@veltdev/react 3.0.37 → 3.0.39

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.
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.37";
1
+ export declare const VELT_SDK_VERSION = "3.0.39";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
@@ -1,3 +1,3 @@
1
- import { ContactElement, UserContactSelectedPayload } from "@veltdev/types";
1
+ import { ContactElement, SelectedUserContact } from "@veltdev/types";
2
2
  export declare function useContactUtils(): ContactElement | undefined;
3
- export declare function useContactSelected(): UserContactSelectedPayload | undefined;
3
+ export declare function useContactSelected(): SelectedUserContact | undefined;
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { Config, Velt, ReactionMap, AutocompleteItem, User, Options, DocumentMetadata, Location as Location$1, CommentElement, CommentAnnotation, CommentSelectionChangeData, CommentSidebarDataConfig, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, UserContactSelectedPayload } from '@veltdev/types';
3
+ import { Config, Velt, ReactionMap, AutocompleteItem, User, Options, DocumentMetadata, Location as Location$1, CommentElement, CommentAnnotation, CommentSelectionChangeData, CommentSidebarDataConfig, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -2688,7 +2688,7 @@ declare function useAutocompleteUtils(): AutocompleteElement | undefined;
2688
2688
  declare function useAutocompleteChipClick(): AutocompleteChipData | undefined;
2689
2689
 
2690
2690
  declare function useContactUtils(): ContactElement | undefined;
2691
- declare function useContactSelected(): UserContactSelectedPayload | undefined;
2691
+ declare function useContactSelected(): SelectedUserContact | undefined;
2692
2692
 
2693
2693
  declare type LiveStateMiddlewareConfig = {
2694
2694
  allowedActionTypes?: Set<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.37",
3
+ "version": "3.0.39",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [