@veltdev/react 1.0.104 → 1.0.106
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 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyHuddle/SnippylyHuddle.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +4 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyHuddle/SnippylyHuddle.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VELT_SDK_VERSION = "1.0.
|
|
1
|
+
export declare const VELT_SDK_VERSION = "1.0.117";
|
|
2
2
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
package/esm/index.js
CHANGED
|
@@ -110,7 +110,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
|
|
113
|
-
var VELT_SDK_VERSION = '1.0.
|
|
113
|
+
var VELT_SDK_VERSION = '1.0.117';
|
|
114
114
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
115
115
|
|
|
116
116
|
var SnippylyProvider = function (props) {
|
|
@@ -316,7 +316,8 @@ var SnippylyCursor = function (props) {
|
|
|
316
316
|
};
|
|
317
317
|
|
|
318
318
|
var SnippylyHuddle = function (props) {
|
|
319
|
-
|
|
319
|
+
var chat = props.chat, flockModeOnAvatarClick = props.flockModeOnAvatarClick;
|
|
320
|
+
return (React.createElement("velt-huddle", { chat: [true, false].includes(chat) ? (chat ? 'true' : 'false') : undefined, "flock-mode-on-avatar-click": [true, false].includes(flockModeOnAvatarClick) ? (flockModeOnAvatarClick ? 'true' : 'false') : undefined }));
|
|
320
321
|
};
|
|
321
322
|
|
|
322
323
|
var SnippylyHuddleTool = function (props) {
|
|
@@ -338,7 +339,7 @@ var SnippylyPresence = function (props) {
|
|
|
338
339
|
onPresenceUserChange(event === null || event === void 0 ? void 0 : event.detail);
|
|
339
340
|
}
|
|
340
341
|
});
|
|
341
|
-
element.addEventListener('
|
|
342
|
+
element.addEventListener('onNavigate', function (event) {
|
|
342
343
|
if (onNavigate) {
|
|
343
344
|
onNavigate(event === null || event === void 0 ? void 0 : event.detail);
|
|
344
345
|
}
|