Skip to content

Commit b8b2dd7

Browse files
Marc Lundgrenclaude
andcommitted
Fix missing connectToWebChat import error by removing obsolete import
The connectToWebChat function was removed in commit 73ee44a as part of the ESM build refactoring, but the bundle package still referenced it, causing TypeScript compilation errors. This removes the obsolete import references from the bundle package and fixes the addVersion import path. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0232e53 commit b8b2dd7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/bundle/src/index-minimal.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ import { StrictStyleOptions, StyleOptions } from 'botframework-webchat-api';
1313
import ReactWebChat, {
1414
Components,
1515
concatMiddleware,
16-
connectToWebChat,
1716
createStyleSet,
1817
hooks,
1918
withEmoji
2019
} from 'botframework-webchat-component';
2120

2221
export type { ComposerRef } from 'botframework-webchat-component';
2322

24-
import addVersion from './addVersion';
23+
import addVersion from './boot/addVersion';
2524
import coreRenderWebChat from './renderWebChat';
2625
import createBrowserWebSpeechPonyfillFactory from './createBrowserWebSpeechPonyfillFactory';
2726
import defaultCreateDirectLine from './createDirectLine';
@@ -52,7 +51,6 @@ export default ReactWebChat;
5251
export {
5352
Components,
5453
concatMiddleware,
55-
connectToWebChat,
5654
Constants,
5755
createBrowserWebSpeechPonyfillFactory,
5856
createStore,
@@ -71,7 +69,6 @@ export type { StyleOptions, StrictStyleOptions };
7169
window['WebChat'] = {
7270
...window['WebChat'],
7371
concatMiddleware,
74-
connectToWebChat,
7572
Constants,
7673
createBrowserWebSpeechPonyfillFactory,
7774
createDirectLine,

0 commit comments

Comments
 (0)