Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
54a62f8
Fix bump scripts
compulim Apr 22, 2026
168aa74
Add local dependencies
compulim Apr 22, 2026
187f422
Pin react and react-dom
compulim Apr 22, 2026
32af172
Bump deps
compulim Apr 22, 2026
87bb865
Update PR number
compulim Apr 22, 2026
b97d85e
Add ignoreDeprecations
compulim Apr 22, 2026
340d31d
Add ignoreDeprecations
compulim Apr 22, 2026
03953eb
Fix Schema.org schema
compulim Apr 23, 2026
246f2df
Fix stream info coalesce
compulim Apr 23, 2026
7bec325
Fix types and add comment
compulim Apr 23, 2026
0bb98fb
Add types
compulim Apr 23, 2026
4da571a
Add undefined
compulim Apr 23, 2026
8b561e1
Better styleOptions and remove deprecations
compulim Apr 23, 2026
c7c2af9
Port to TypeScript
compulim Apr 23, 2026
4e19506
Set strict to false
compulim Apr 23, 2026
1a474ed
Fix exporting class with private members
compulim Apr 23, 2026
0d1bacc
Disable strict
compulim Apr 23, 2026
b3a164a
Deprecate parseXXX
compulim Apr 23, 2026
53c53d1
Readd and deprecate parseXXX
compulim Apr 23, 2026
4f03e13
Add available/install
compulim Apr 23, 2026
23d42a8
Fix updated OrgSchemaXXX signature
compulim Apr 23, 2026
7efaee4
Add lazy
compulim Apr 23, 2026
67ed70f
Add ignoreDeprecations
compulim Apr 23, 2026
7f685a5
Move ignoreDeprecations
compulim Apr 23, 2026
5a2e5f5
Fix precommit
compulim Apr 23, 2026
aba0962
Remove deprecated tests
compulim Apr 23, 2026
950981e
StrictStyleOptions as first-class citizen
compulim Apr 23, 2026
b974b3c
Fix ESLint on deps
compulim Apr 23, 2026
241e231
Remove unnecessary ESLint overrides
compulim Apr 23, 2026
58046a5
Fix import
compulim Apr 23, 2026
2960935
Fix imports
compulim Apr 23, 2026
c594712
Fix ESLint
compulim Apr 23, 2026
6e6e7c5
Fix new Schema.org "output is always array"
compulim Apr 23, 2026
6350b01
Fix Schema.org typings
compulim Apr 23, 2026
cf2ca91
Export as HTMLElement
compulim Apr 23, 2026
e7bc27f
Fix looseObject
compulim Apr 24, 2026
f6b3447
Fix Schema.org accessors
compulim Apr 24, 2026
d8933c8
Fix marker check
compulim Apr 24, 2026
48596d3
Modern normalizeStyleOptions
compulim Apr 24, 2026
2041f05
Transpile Redux devtools extension
compulim Apr 24, 2026
1ee3a69
Fix ESLint for deps
compulim Apr 24, 2026
2532a36
Remove console.log
compulim Apr 24, 2026
d18c294
Remove DictateState type
compulim Apr 24, 2026
456fab6
Sort
compulim Apr 24, 2026
66f47c2
Clean up
compulim Apr 24, 2026
a7f7812
Clean up
compulim Apr 24, 2026
1bd5b56
Add xxxEntries
compulim Apr 24, 2026
09f9f8b
Fix tests
compulim Apr 24, 2026
99f8f9e
Add schema.js export
compulim Apr 24, 2026
c2f4b7a
Suffix static with .js
compulim Apr 24, 2026
85703d5
Clean up
compulim Apr 24, 2026
a50b269
Fix tests
compulim Apr 24, 2026
2ee65e9
Suffix import path with .js
compulim Apr 24, 2026
8396036
Fix tests
compulim Apr 25, 2026
02995d9
Fix tests
compulim Apr 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 30 additions & 30 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion __tests__/assets/esm/createRenderHook.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BasicWebChat, Composer } from 'botframework-webchat/component';
import { BasicWebChat, Composer } from 'botframework-webchat/component.js';
import { createElement } from 'react';
import { createRoot } from 'react-dom/client';

Expand Down
5 changes: 1 addition & 4 deletions __tests__/html2/activity/message-status.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"@fluentui/tokens": "/__dist__/packages/test/test-assets/out/@fluentui/tokens.js",
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/decorator": "/__dist__/packages/bundle/static/botframework-webchat/decorator.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/internal": "/__dist__/packages/bundle/static/botframework-webchat/internal.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"botframework-webchat-fluent-theme": "/__dist__/packages/fluent-theme/static/botframework-webchat-fluent-theme.js",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
Expand Down
9 changes: 3 additions & 6 deletions __tests__/html2/attachment/adaptiveCard/custom.skip.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"bot-bundle-chat-adapter": "https://cdn.jsdelivr.net/gh/compulim/experiment-mockbot@v0.0.4/esm/bot-bundle-chat-adapter.js",
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/decorator": "/__dist__/packages/bundle/static/botframework-webchat/decorator.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/internal": "/__dist__/packages/bundle/static/botframework-webchat/internal.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"botframework-webchat-fluent-theme": "/__dist__/packages/fluent-theme/static/botframework-webchat-fluent-theme.js",
"react": "/__dist__/packages/test/test-assets/out/react.js",
"react-dom": "/__dist__/packages/test/test-assets/out/react-dom.js",
Expand Down Expand Up @@ -116,7 +113,7 @@
conversationStartProperties: { locale: navigator.language }
});


run(async () => {
await host.windowSize(800, 800, document.body);

Expand Down Expand Up @@ -183,4 +180,4 @@
});
</script>

</html>
</html>
2 changes: 1 addition & 1 deletion __tests__/html2/boot/deprecation/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// THEN: Should show deprecation note.
expect(console.warn).toHaveBeenCalledTimes(1);
expect(console.warn).toHaveBeenLastCalledWith(
"botframework-webchat: `import { Components } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/component'` instead.",
"botframework-webchat: `import { Components } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/component.js'` instead.",
'BasicWebChat'
);

Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/boot/deprecation/components.new.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import '/test-page-object.mjs';

import { createDirectLine, createStoreWithOptions, renderWebChat } from 'botframework-webchat';
import * as Components from 'botframework-webchat/component';
import * as Components from 'botframework-webchat/component.js';
import { version } from 'react';

run(async function () {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/boot/deprecation/hooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// THEN: Should show deprecation note.
expect(console.warn).toHaveBeenCalledTimes(1);
expect(console.warn).toHaveBeenLastCalledWith(
"botframework-webchat: `import { hooks } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/hook'` instead.",
"botframework-webchat: `import { hooks } from 'botframework-webchat'` has been deprecated, use `import { %s } from 'botframework-webchat/hook.js'` instead.",
'useStyleOptions'
);

Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/boot/deprecation/hooks.new.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"jest-mock": "https://esm.sh/jest-mock",
"react": "/__dist__/packages/bundle/static/react.js",
"react-dom": "/__dist__/packages/bundle/static/react-dom.js"
Expand All @@ -26,7 +26,7 @@
import '/test-page-object.mjs';

import { createDirectLine, createStoreWithOptions, renderWebChat } from 'botframework-webchat';
import * as hooks from 'botframework-webchat/hook';
import * as hooks from 'botframework-webchat/hook.js';
import { version } from 'react';

run(async function () {
Expand Down
5 changes: 1 addition & 4 deletions __tests__/html2/citation/url.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"@fluentui/tokens": "/__dist__/packages/test/test-assets/out/@fluentui/tokens.js",
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/decorator": "/__dist__/packages/bundle/static/botframework-webchat/decorator.js",
"botframework-webchat/internal": "/__dist__/packages/bundle/static/botframework-webchat/internal.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"botframework-webchat-fluent-theme": "/__dist__/packages/fluent-theme/static/botframework-webchat-fluent-theme.js",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
Expand Down
5 changes: 1 addition & 4 deletions __tests__/html2/fluentTheme/maxMessageLength.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html>
<html lang="en-US">
<head>

Check failure on line 3 in __tests__/html2/fluentTheme/maxMessageLength.html

View workflow job for this annotation

GitHub Actions / HTML test (11/17)

› html2/fluentTheme/maxMessageLength.html

thrown: "Exceeded timeout of 50000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at fluentTheme/maxMessageLength.html:3:9 at Object.<anonymous> (fluentTheme/maxMessageLength.html:2:7)
<link href="/assets/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
Expand All @@ -13,10 +13,7 @@
"@fluentui/react-components": "https://esm.sh/@fluentui/react-components?deps=react@18,react-dom@18&exports=FluentProvider,createDarkTheme,webLightTheme",
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/decorator": "/__dist__/packages/bundle/static/botframework-webchat/decorator.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/internal": "/__dist__/packages/bundle/static/botframework-webchat/internal.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"botframework-webchat-fluent-theme": "/__dist__/packages/fluent-theme/static/botframework-webchat-fluent-theme.js",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useActivities.getter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useActivities } from 'botframework-webchat/hook';
import { useActivities } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useActivities.setter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useActivities } from 'botframework-webchat/hook';
import { useActivities } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook';
import { useAdaptiveCardsHostConfig } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAdaptiveCardsPackage.getter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAdaptiveCardsPackage.setter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook';
import { useAdaptiveCardsPackage } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAvatarForBot.getter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAvatarForBot } from 'botframework-webchat/hook';
import { useAvatarForBot } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAvatarForBot.setter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAvatarForBot } from 'botframework-webchat/hook';
import { useAvatarForBot } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAvatarForUser.getter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAvatarForUser } from 'botframework-webchat/hook';
import { useAvatarForUser } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
5 changes: 2 additions & 3 deletions __tests__/html2/hooks/useAvatarForUser.setter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
{
"imports": {
"botframework-webchat": "/__dist__/packages/bundle/static/botframework-webchat.js",
"botframework-webchat/component": "/__dist__/packages/bundle/static/botframework-webchat/component.js",
"botframework-webchat/hook": "/__dist__/packages/bundle/static/botframework-webchat/hook.js",
"botframework-webchat/": "/__dist__/packages/bundle/static/botframework-webchat/",
"react": "https://esm.sh/react@18",
"react-dom": "https://esm.sh/react-dom@18",
"react-dom/": "https://esm.sh/react-dom@18/"
Expand All @@ -22,7 +21,7 @@
import '/test-page-object.mjs';

import { createStoreWithOptions, testIds } from 'botframework-webchat';
import { useAvatarForUser } from 'botframework-webchat/hook';
import { useAvatarForUser } from 'botframework-webchat/hook.js';
import createRenderHook from '/assets/esm/createRenderHook.js';

const { createDirectLineEmulator } = window.testHelpers;
Expand Down
Loading
Loading