@veltdev/react 3.0.86 → 3.0.87

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.
@@ -7,6 +7,7 @@ export interface IVeltRecorderPlayerProps {
7
7
  */
8
8
  showSummary?: boolean;
9
9
  summary?: boolean;
10
+ shadowDom?: boolean;
10
11
  }
11
12
  declare const SnippylyRecorderPlayer: React.FC<IVeltRecorderPlayerProps>;
12
13
  export default SnippylyRecorderPlayer;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.86";
1
+ export declare const VELT_SDK_VERSION = "3.0.87";
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 = '3.0.86';
135
+ var VELT_SDK_VERSION = '3.0.87';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
  var VELT_TAB_ID = 'veltTabId';
138
138
 
@@ -602,7 +602,7 @@ var SnippylyRecorderNotes = function (props) {
602
602
  };
603
603
 
604
604
  var SnippylyRecorderPlayer = function (props) {
605
- var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary;
605
+ var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom;
606
606
  var ref = useRef();
607
607
  var onDeleteRef = useRef(onDelete);
608
608
  // Update the ref to always point to the latest callback function
@@ -628,7 +628,7 @@ var SnippylyRecorderPlayer = function (props) {
628
628
  }
629
629
  };
630
630
  }, []);
631
- return (React.createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined }));
631
+ return (React.createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined }));
632
632
  };
633
633
 
634
634
  var SnippylyRecorderTool = function (props) {