Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
3f6398c
Fix bump scripts
compulim Apr 22, 2026
75d1709
Add local dependencies
compulim Apr 22, 2026
1792eb3
Pin react and react-dom
compulim Apr 22, 2026
0ebcb62
Bump deps
compulim Apr 22, 2026
39edc5b
Update PR number
compulim Apr 22, 2026
9c8ad60
Add ignoreDeprecations
compulim Apr 22, 2026
24e5937
Add ignoreDeprecations
compulim Apr 22, 2026
55e748b
Fix Schema.org schema
compulim Apr 23, 2026
6172269
Fix stream info coalesce
compulim Apr 23, 2026
33c1c7c
Fix types and add comment
compulim Apr 23, 2026
749986f
Add types
compulim Apr 23, 2026
e70ead8
Add undefined
compulim Apr 23, 2026
1619be4
Better styleOptions and remove deprecations
compulim Apr 23, 2026
2858bfb
Port to TypeScript
compulim Apr 23, 2026
037236d
Set strict to false
compulim Apr 23, 2026
7e9dd33
Fix exporting class with private members
compulim Apr 23, 2026
70e420f
Disable strict
compulim Apr 23, 2026
955789c
Deprecate parseXXX
compulim Apr 23, 2026
ad9f42f
Readd and deprecate parseXXX
compulim Apr 23, 2026
e41c583
Add available/install
compulim Apr 23, 2026
1961f95
Fix updated OrgSchemaXXX signature
compulim Apr 23, 2026
456e147
Add lazy
compulim Apr 23, 2026
aa437e1
Add ignoreDeprecations
compulim Apr 23, 2026
39b5f23
Move ignoreDeprecations
compulim Apr 23, 2026
4c317b8
Fix precommit
compulim Apr 23, 2026
5fb1431
Remove deprecated tests
compulim Apr 23, 2026
d5cf6d2
StrictStyleOptions as first-class citizen
compulim Apr 23, 2026
2f07742
Fix ESLint on deps
compulim Apr 23, 2026
cc27bfa
Remove unnecessary ESLint overrides
compulim Apr 23, 2026
1b42ff0
Fix import
compulim Apr 23, 2026
1df6393
Fix imports
compulim Apr 23, 2026
bf2d912
Fix ESLint
compulim Apr 23, 2026
cef14ff
Fix new Schema.org "output is always array"
compulim Apr 23, 2026
7862715
Fix Schema.org typings
compulim Apr 23, 2026
8d2715a
Export as HTMLElement
compulim Apr 23, 2026
bf45e27
Fix looseObject
compulim Apr 24, 2026
3557ff0
Fix Schema.org accessors
compulim Apr 24, 2026
6e27298
Fix marker check
compulim Apr 24, 2026
6390304
Modern normalizeStyleOptions
compulim Apr 24, 2026
2d7f569
Transpile Redux devtools extension
compulim Apr 24, 2026
3e0ae98
Fix ESLint for deps
compulim Apr 24, 2026
8d7f238
Remove console.log
compulim Apr 24, 2026
d3bdb6f
Remove DictateState type
compulim Apr 24, 2026
a92af0d
Sort
compulim Apr 24, 2026
fa57522
Clean up
compulim Apr 24, 2026
fca8d69
Clean up
compulim Apr 24, 2026
0b4d1df
Add xxxEntries
compulim Apr 24, 2026
a9e6d3c
Fix tests
compulim Apr 24, 2026
9fd04de
Add schema.js export
compulim Apr 24, 2026
075ed9f
Suffix static with .js
compulim Apr 24, 2026
1073aa9
Clean up
compulim Apr 24, 2026
0b3a1b4
Fix tests
compulim Apr 24, 2026
df16efc
Suffix import path with .js
compulim Apr 24, 2026
e3593f8
Fix tests
compulim Apr 25, 2026
9415182
Fix tests
compulim Apr 25, 2026
998a52c
Fix position logic
compulim Apr 27, 2026
5a9ad89
Suffix with .js
compulim Apr 27, 2026
5087ad7
Fix ESLint
compulim Apr 27, 2026
fd3a306
Fix import map
compulim Apr 27, 2026
78181e1
Fix recursive schema
compulim Apr 28, 2026
1812bd4
Temporarily don't use freeze
compulim Apr 28, 2026
4ff3ed0
Fix CreativeWork.isBasedOn
compulim Apr 29, 2026
8d731af
Fix currentMessage.abstract
compulim Apr 29, 2026
e7906ea
Fix howToStatus
compulim Apr 29, 2026
13144bb
Fix defaultWorkStatus
compulim Apr 29, 2026
44a464d
Clean up
compulim Apr 29, 2026
27d1132
Fix feedback form
compulim Apr 29, 2026
faba458
Fix actions for feedback
compulim Apr 29, 2026
38e2be4
Fix reading disclaimer
compulim Apr 29, 2026
28fc530
Fix action require review check
compulim Apr 29, 2026
95c8753
Fix deprecation message
compulim Apr 29, 2026
a5f5fb7
Add react/* to import map
compulim Apr 29, 2026
4615ec8
Fix outgoing type
compulim Apr 29, 2026
8d3e8d8
Fix debug theme bundling
compulim Apr 30, 2026
903d028
Replace safeParse().success with is()
compulim Apr 30, 2026
c88fb4f
Fix find and replace
compulim Apr 30, 2026
c8dcafc
Fix flakiness
compulim Apr 30, 2026
fbd6f97
Fix ESLint
compulim Apr 30, 2026
cbc6a2d
Remove deprecated test
compulim Apr 30, 2026
af96c3a
Use /* in import map
compulim Apr 30, 2026
561860d
Fix Prettier
compulim Apr 30, 2026
0a1063e
Fix test and clean up entries
compulim Apr 30, 2026
c13e794
Remove unneeded test
compulim Apr 30, 2026
697fa5c
Move deprecated entrypoint into their barrel file
compulim Apr 30, 2026
c7ae32f
Moved to /boot/
compulim Apr 30, 2026
652591c
Fix paths
compulim Apr 30, 2026
0dc0593
Remove ignoreCSS for deprecated
compulim Apr 30, 2026
2cfe5d6
Revert
compulim Apr 30, 2026
34e5819
Patch dtsroll output
compulim May 1, 2026
2beecfa
Warn on unknown action thing
compulim May 1, 2026
0dff92f
Fix test
compulim May 1, 2026
5ced019
Fix provider
compulim May 1, 2026
f1e1170
Fix test
compulim May 1, 2026
f7e59de
Fix Prettier
compulim May 1, 2026
124e955
Fix flakiness
compulim May 1, 2026
974ebe5
Fix flakiness
compulim May 1, 2026
07f36c4
Fix flakiness
compulim May 1, 2026
192f63d
Add comment
compulim May 1, 2026
6c24e65
Rename variable
compulim May 1, 2026
85175fb
Use parser
compulim May 1, 2026
b979c0a
Remove needed file
compulim May 1, 2026
797198a
Add comment
compulim May 1, 2026
96c876e
Support multiple @type value
compulim May 2, 2026
de00551
Fix typings
compulim May 2, 2026
25c9be8
Fix tests
compulim May 2, 2026
a60d016
Fix typing
compulim May 2, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- All optional properties must be `undefined`-able, i.e. use `value?: number | undefined` over `value?: number`
- For functions exported outside of current file, make sure all arguments and return value are typed
- If need to look inside the object to check for types, use `valibot`
- E.g. `if (obj && typeof obj === 'object' && 'value' in obj && typeof obj.value === 'string')` should be replaced with `safeParse(object({ value: string }), obj).success`
- E.g. `if (obj && typeof obj === 'object' && 'value' in obj && typeof obj.value === 'string')` should be replaced with `is(object({ value: string }), obj)`
- Use `{ readonly value: string }` instead of `Readonly<{ value: string }>`
- Use as much `readonly` as possible

Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
"imports": {
"@fluentui/react-components": "https://esm.sh/@fluentui/react-components?deps=react@18.3.1,react-dom@18.3.1&exports=FluentProvider,createDarkTheme,webLightTheme",
"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/bundle/static/react.js",
"react-dom": "/__dist__/packages/bundle/static/react-dom.js",
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
4 changes: 2 additions & 2 deletions __tests__/html2/boot/deprecation/components.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/component": "/__dist__/packages/bundle/static/botframework-webchat/component.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 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
2 changes: 1 addition & 1 deletion __tests__/html2/chatAdapter/layer/addCopyButton.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'@id' in entity &&
entity['@id'] === '' &&
'@type' in entity &&
entity['@type'] === 'Message'
entity['@type'].includes('Message')
) {
return entity;
}
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
22 changes: 11 additions & 11 deletions __tests__/html2/feedbackStatus/feedbackActivityStatus.click.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
'activity',
expect.objectContaining({
entities: expect.arrayContaining([
{
expect.objectContaining({
'@context': 'https://schema.org',
'@type': 'VoteAction',
type: 'https://schema.org/VoteAction',
actionOption: 'upvote'
}
'@type': ['VoteAction'],
actionOption: 'upvote',
type: 'https://schema.org/VoteAction'
})
]),
name: 'webchat:activity-status/feedback',
type: 'event'
Expand All @@ -97,12 +97,12 @@
'activity',
expect.objectContaining({
entities: expect.arrayContaining([
{
expect.objectContaining({
'@context': 'https://schema.org',
'@type': 'VoteAction',
'@type': ['VoteAction'],
type: 'https://schema.org/VoteAction',
actionOption: 'downvote'
}
})
]),
name: 'webchat:activity-status/feedback',
type: 'event'
Expand All @@ -125,12 +125,12 @@
'activity',
expect.objectContaining({
entities: expect.arrayContaining([
{
expect.objectContaining({
'@context': 'https://schema.org',
'@type': 'VoteAction',
'@type': ['VoteAction'],
type: 'https://schema.org/VoteAction',
actionOption: 'downvote'
}
})
]),
name: 'webchat:activity-status/feedback',
type: 'event'
Expand Down
6 changes: 2 additions & 4 deletions __tests__/html2/fluentTheme/maxMessageLength.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
"@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/": "https://esm.sh/react@18/",
"react-dom": "https://esm.sh/react-dom@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
Loading
Loading