@veltdev/react 4.2.0-beta.5 → 4.2.1-beta.1
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 +3 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +5 -19
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/CommentElement.d.ts +2 -2
- package/esm/index.js +3 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +5 -19
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/CommentElement.d.ts +2 -2
- package/index.d.ts +7 -21
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
var VELT_SDK_VERSION = '4.2.
|
|
143
|
+
var VELT_SDK_VERSION = '4.2.1-beta.1';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -5249,7 +5249,7 @@ function useCommentModeState() {
|
|
|
5249
5249
|
return data;
|
|
5250
5250
|
}
|
|
5251
5251
|
/**
|
|
5252
|
-
* @
|
|
5252
|
+
* @legacy Use `useCommentEventCallback('addCommentAnnotation')` event hook instead.
|
|
5253
5253
|
*/
|
|
5254
5254
|
function useCommentAddHandler() {
|
|
5255
5255
|
var commentElement = useCommentUtils();
|
|
@@ -5267,7 +5267,7 @@ function useCommentAddHandler() {
|
|
|
5267
5267
|
return data;
|
|
5268
5268
|
}
|
|
5269
5269
|
/**
|
|
5270
|
-
* @
|
|
5270
|
+
* @legacy Use `useCommentEventCallback` event hook instead.
|
|
5271
5271
|
*/
|
|
5272
5272
|
function useCommentUpdateHandler() {
|
|
5273
5273
|
var commentElement = useCommentUtils();
|