Skip to content

Commit e6b1d43

Browse files
committed
Update message
1 parent f77f6a7 commit e6b1d43

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

__tests__/html2/boot/deprecation/components.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
expect(console.warn).toHaveBeenCalledTimes(1);
3737
expect(console.warn).toHaveBeenLastCalledWith(
38-
"botframework-webchat: `import { Components } from 'botframework-webchat-component'` has been deprecated, use `import { %s } from 'botframework-webchat-component/component'` instead.",
38+
"botframework-webchat: `import { Components } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/component'` instead.",
3939
'BasicWebChat'
4040
);
4141
});

__tests__/html2/boot/deprecation/hooks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
expect(console.warn).toHaveBeenCalledTimes(1);
3737
expect(console.warn).toHaveBeenLastCalledWith(
38-
"botframework-webchat: `import { hooks } from 'botframework-webchat-component'` has been deprecated, use `import { %s } from 'botframework-webchat-component/hook'` instead.",
38+
"botframework-webchat: `import { hooks } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/hook'` instead.",
3939
'useStyleOptions'
4040
);
4141
});

packages/bundle/src/boot/exports/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as hooks from '../actual/hook/full';
2020

2121
const deprecatedHooks = deprecateNamespace(
2222
hooks,
23-
"`import { hooks } from 'botframework-webchat-component'` has been deprecated, use `import { %s } from 'botframework-webchat-component/hook'` instead."
23+
"`import { hooks } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/hook'` instead."
2424
);
2525

2626
export { deprecatedHooks as hooks };
@@ -29,7 +29,7 @@ import * as Components from '../actual/component/full';
2929

3030
const deprecatedComponents = deprecateNamespace(
3131
Components,
32-
"`import { Components } from 'botframework-webchat-component'` has been deprecated, use `import { %s } from 'botframework-webchat-component/component'` instead."
32+
"`import { Components } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/component'` instead."
3333
);
3434

3535
export { deprecatedComponents as Components };

0 commit comments

Comments
 (0)