@veltdev/react 1.0.100 → 1.0.102

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,4 +1,3 @@
1
- import React from 'react';
2
- declare const _default: ComponentMeta<React.FC<import("./Snippyly").IVeltProps>>;
1
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-bf5e6555").R, import("./Snippyly").IVeltProps>;
3
2
  export default _default;
4
- export declare const Snippyly1: any;
3
+ export declare const Snippyly1: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-bf5e6555").R, import("./Snippyly").IVeltProps>;
@@ -1,2 +1,2 @@
1
- export declare const VELT_SDK_VERSION = "1.0.112";
1
+ export declare const VELT_SDK_VERSION = "1.0.113";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
@@ -1,4 +1,4 @@
1
- import { Location, User, UserOptions } from "@veltdev/types";
1
+ import { Location, User, Options } from "@veltdev/types";
2
2
  /**
3
3
  * @beta This hook is in beta
4
4
  */
@@ -6,7 +6,7 @@ export declare function useClient(): any;
6
6
  /**
7
7
  * @beta This hook is in beta
8
8
  */
9
- export declare function useIdentify(user: User, userOptions?: UserOptions): void;
9
+ export declare function useIdentify(user: User, userOptions?: Options): void;
10
10
  /**
11
11
  * @beta This hook is in beta
12
12
  */
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { Config, Velt, User, UserOptions, Location as Location$1, CommentElement, CommentAnnotation, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification } from '@veltdev/types';
3
+ import { Config, Velt, User, Options, Location as Location$1, CommentElement, CommentAnnotation, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -352,7 +352,7 @@ declare function useClient(): any;
352
352
  /**
353
353
  * @beta This hook is in beta
354
354
  */
355
- declare function useIdentify(user: User, userOptions?: UserOptions): void;
355
+ declare function useIdentify(user: User, userOptions?: Options): void;
356
356
  /**
357
357
  * @beta This hook is in beta
358
358
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",