@@ -30,20 +30,7 @@ const renderWebChat = coreRenderWebChat.bind(null, ReactWebChat);
3030
3131const buildInfo = Object . freeze ( { ...minimalBuildInfo , variant : 'full' } ) ;
3232
33- export {
34- Constants ,
35- concatMiddleware ,
36- createBrowserWebSpeechPonyfillFactory ,
37- createStore ,
38- createStoreWithDevTools ,
39- createStoreWithOptions ,
40- decorator ,
41- internal ,
42- testIds ,
43- version
44- } from './minimal' ;
45-
46- export const createDirectLine = ( options : Omit < Parameters < typeof defaultCreateDirectLine > [ 0 ] , 'botAgent' > ) => {
33+ const createDirectLine = ( options : Omit < Parameters < typeof defaultCreateDirectLine > [ 0 ] , 'botAgent' > ) => {
4734 ( options as any ) . botAgent &&
4835 console . warn (
4936 'Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details.'
@@ -52,7 +39,7 @@ export const createDirectLine = (options: Omit<Parameters<typeof defaultCreateDi
5239 return defaultCreateDirectLine ( { ...options , botAgent : `WebChat/${ version } (Full)` } ) ;
5340} ;
5441
55- export const createDirectLineAppServiceExtension = (
42+ const createDirectLineAppServiceExtension = (
5643 options : Omit < Parameters < typeof defaultCreateDirectLineAppServiceExtension > [ 0 ] , 'botAgent' >
5744) => {
5845 ( options as any ) . botAgent &&
@@ -94,20 +81,34 @@ type StyleOptions = FullBundleStyleOptions;
9481type StrictStyleOptions = StrictFullBundleStyleOptions ;
9582
9683export default ReactWebChat ;
97-
84+ export {
85+ Constants ,
86+ concatMiddleware ,
87+ createBrowserWebSpeechPonyfillFactory ,
88+ createStore ,
89+ createStoreWithDevTools ,
90+ createStoreWithOptions ,
91+ decorator ,
92+ internal ,
93+ testIds ,
94+ version
95+ } from './minimal' ;
9896export {
9997 Components ,
10098 ReactWebChat ,
10199 buildInfo ,
102100 createAdaptiveCardsAttachmentForScreenReaderMiddleware ,
103101 createAdaptiveCardsAttachmentMiddleware ,
104102 createCognitiveServicesSpeechServicesPonyfillFactory ,
103+ createDirectLine ,
104+ createDirectLineAppServiceExtension ,
105105 createDirectLineSpeechAdapters ,
106106 createStyleSet ,
107107 patchedHooks as hooks ,
108108 renderMarkdown ,
109109 renderWebChat ,
110- withEmoji
110+ withEmoji ,
111+ type AdaptiveCardsPackage ,
112+ type StrictStyleOptions ,
113+ type StyleOptions
111114} ;
112-
113- export type { AdaptiveCardsPackage , StrictStyleOptions , StyleOptions } ;
0 commit comments