@redneckz/wildless-cms-uni-blocks 0.14.778 → 0.14.779
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/bundle/bundle.umd.js +3 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Header/useChatBot.js +2 -1
- package/dist/components/Header/useChatBot.js.map +1 -1
- package/lib/components/Header/useChatBot.js +2 -1
- package/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Header/useChatBot.js +2 -1
- package/mobile/dist/components/Header/useChatBot.js.map +1 -1
- package/mobile/lib/components/Header/useChatBot.js +2 -1
- package/mobile/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/src/components/Header/useChatBot.ts +3 -2
- package/package.json +1 -1
- package/src/components/Header/useChatBot.ts +3 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -9684,6 +9684,7 @@
|
|
|
9684
9684
|
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
9685
9685
|
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
9686
9686
|
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9687
|
+
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
9687
9688
|
const CHATBOT_URL = {
|
|
9688
9689
|
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
9689
9690
|
business: '/webchat',
|
|
@@ -9725,7 +9726,7 @@
|
|
|
9725
9726
|
}
|
|
9726
9727
|
else {
|
|
9727
9728
|
createChatFrame();
|
|
9728
|
-
businessChat?.render?.(CHAT_FRAME_ID, true);
|
|
9729
|
+
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX);
|
|
9729
9730
|
}
|
|
9730
9731
|
};
|
|
9731
9732
|
const createChatFrame = () => {
|
|
@@ -11207,7 +11208,7 @@
|
|
|
11207
11208
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11208
11209
|
});
|
|
11209
11210
|
|
|
11210
|
-
const packageVersion = "0.14.
|
|
11211
|
+
const packageVersion = "0.14.778";
|
|
11211
11212
|
|
|
11212
11213
|
exports.Blocks = Blocks;
|
|
11213
11214
|
exports.ContentPage = ContentPage;
|