@veltdev/sdk 3.0.1 → 3.0.2

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.
@@ -23,7 +23,7 @@ import { TagElement } from "../models/element/tag-element.model";
23
23
  import { FeatureType } from "../utils/enums";
24
24
  import { UserContact } from "../models/data/user-contact.data.model";
25
25
  import { DocumentMetadata } from "../models/data/document-metadata.model";
26
-
26
+ import { ReactionElement } from "../models/element/reaction-element.model";
27
27
  export declare class Snippyly {
28
28
  constructor();
29
29
  initConfig: (apiKey: string, config?: Config) => void;
@@ -158,6 +158,10 @@ export declare class Snippyly {
158
158
  * Get the Area Object.
159
159
  */
160
160
  getAreaElement: () => AreaElement;
161
+ /**
162
+ * Get the Area Object.
163
+ */
164
+ getReactionElement: () => ReactionElement;
161
165
  /**
162
166
  * To signout a user
163
167
  */
@@ -0,0 +1,23 @@
1
+ // @ts-nocheck
2
+ export declare class ReactionElement {
3
+ /**
4
+ * To enable dark mode
5
+ */
6
+ enableDarkMode: () => void;
7
+
8
+ /**
9
+ * To disable dark mode
10
+ */
11
+ disableDarkMode: () => void;
12
+ constructor();
13
+
14
+ /**
15
+ * To enable dark mode
16
+ */
17
+ private _enableDarkMode;
18
+
19
+ /**
20
+ * To disable dark mode
21
+ */
22
+ private _disableDarkMode;
23
+ }
@@ -204,6 +204,7 @@ export declare class Constants {
204
204
  VELT_VIDEO_PLAYER: string;
205
205
  VELT_VIDEO_COMMENTS_TIMELINE: string;
206
206
  VELT_REACTION_TOOL: string;
207
+ VELT_INLINE_REACTIONS_SECTION: string;
207
208
  VELT_VIEW_ANALYTICS: string;
208
209
  VELT_NOTIFICATIONS_TOOL: string;
209
210
  VELT_NOTIFICATIONS_PANEL: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
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": [
package/types.d.ts CHANGED
@@ -15,4 +15,5 @@ export * from './app/models/element/tag-element.model';
15
15
  export * from './app/models/element/views-element.model';
16
16
  export * from './app/models/element/notification-element.model';
17
17
  export * from './app/models/element/autocomplete-element.model';
18
+ export * from './app/models/element/reaction-element.model';
18
19
  export * from './models';