@veltdev/react 4.0.0-beta.23 → 4.0.0-beta.24
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.
- package/cjs/index.js +4 -1
- package/cjs/index.js.map +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/RecorderElement.d.ts +3 -0
- package/esm/index.js +4 -1
- package/esm/index.js.map +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/RecorderElement.d.ts +3 -0
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.0.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.0.0-beta.24";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { RecorderElement, RecordedData } from "@veltdev/types";
|
|
2
2
|
export declare function useRecorderUtils(): RecorderElement | undefined;
|
|
3
3
|
export declare function useRecorderAddHandler(): any;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use `recorderUtils.getRecordingData()` method instead
|
|
6
|
+
*/
|
|
4
7
|
export declare function useRecordingDataByRecorderId(recorderId: string): RecordedData | null;
|
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 = '4.0.0-beta.
|
|
135
|
+
var VELT_SDK_VERSION = '4.0.0-beta.24';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
var VELT_TAB_ID = 'veltTabId';
|
|
138
138
|
|
|
@@ -6013,6 +6013,9 @@ function useRecorderAddHandler() {
|
|
|
6013
6013
|
}, [recorderElement]);
|
|
6014
6014
|
return data;
|
|
6015
6015
|
}
|
|
6016
|
+
/**
|
|
6017
|
+
* @deprecated Use `recorderUtils.getRecordingData()` method instead
|
|
6018
|
+
*/
|
|
6016
6019
|
function useRecordingDataByRecorderId(recorderId) {
|
|
6017
6020
|
var recorderElement = useRecorderUtils();
|
|
6018
6021
|
var _a = React.useState(null), data = _a[0], setData = _a[1];
|