sceyt-chat-react-uikit 1.7.5-beta.2 → 1.7.5-beta.3

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/index.js CHANGED
@@ -32617,7 +32617,7 @@ var OGMetadata = function OGMetadata(_ref) {
32617
32617
  }, [order]);
32618
32618
  React.useEffect(function () {
32619
32619
  if (metadataLoaded || oGMetadata !== null && oGMetadata !== void 0 && oGMetadata[attachment === null || attachment === void 0 ? void 0 : attachment.url]) {
32620
- if (metadata && metadataGetSuccessCallback && hasImage) {
32620
+ if (metadata && metadataGetSuccessCallback && (hasImage || faviconUrl)) {
32621
32621
  metadataGetSuccessCallback(true);
32622
32622
  } else {
32623
32623
  metadataGetSuccessCallback === null || metadataGetSuccessCallback === void 0 ? void 0 : metadataGetSuccessCallback(false);
package/index.modern.js CHANGED
@@ -32616,7 +32616,7 @@ var OGMetadata = function OGMetadata(_ref) {
32616
32616
  }, [order]);
32617
32617
  useEffect(function () {
32618
32618
  if (metadataLoaded || oGMetadata !== null && oGMetadata !== void 0 && oGMetadata[attachment === null || attachment === void 0 ? void 0 : attachment.url]) {
32619
- if (metadata && metadataGetSuccessCallback && hasImage) {
32619
+ if (metadata && metadataGetSuccessCallback && (hasImage || faviconUrl)) {
32620
32620
  metadataGetSuccessCallback(true);
32621
32621
  } else {
32622
32622
  metadataGetSuccessCallback === null || metadataGetSuccessCallback === void 0 ? void 0 : metadataGetSuccessCallback(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.5-beta.2",
3
+ "version": "1.7.5-beta.3",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",