@veltdev/react 2.0.16 → 2.0.17

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,7 +1,6 @@
1
1
  import React from 'react';
2
2
  export interface IVeltCommentThreadProps {
3
3
  annotationId?: string;
4
- selectable?: boolean;
5
4
  onCommentClick?: Function;
6
5
  }
7
6
  declare const VeltCommentThread: React.FC<IVeltCommentThreadProps>;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "2.0.16";
1
+ export declare const VELT_SDK_VERSION = "2.0.17";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/esm/index.js CHANGED
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
132
  }
133
133
  };
134
134
 
135
- var VELT_SDK_VERSION = '2.0.16';
135
+ var VELT_SDK_VERSION = '2.0.17';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
  var VELT_TAB_ID = 'veltTabId';
138
138
 
@@ -678,7 +678,7 @@ var VeltViewAnalytics = function (props) {
678
678
  };
679
679
 
680
680
  var VeltCommentThread = function (props) {
681
- var annotationId = props.annotationId, selectable = props.selectable, onCommentClick = props.onCommentClick;
681
+ var annotationId = props.annotationId, onCommentClick = props.onCommentClick;
682
682
  var ref = useRef();
683
683
  var onCommentClickRef = useRef(onCommentClick);
684
684
  useEffect(function () {
@@ -703,7 +703,7 @@ var VeltCommentThread = function (props) {
703
703
  }
704
704
  };
705
705
  }, []);
706
- return (React.createElement("velt-comment-thread", { ref: ref, "annotation-id": annotationId, selectable: [true, false].includes(selectable) ? (selectable ? 'true' : 'false') : undefined }));
706
+ return (React.createElement("velt-comment-thread", { ref: ref, "annotation-id": annotationId }));
707
707
  };
708
708
 
709
709
  var VeltNotificationsTool = function (props) {