We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1cde39 commit 20ba7daCopy full SHA for 20ba7da
src/WidgetApi.ts
@@ -142,10 +142,7 @@ export class WidgetApi extends EventEmitter {
142
* the API will use the widget ID from the first valid request it receives.
143
* @param {string} clientOrigin The origin of the client, or null if not known.
144
*/
145
- public constructor(
146
- widgetId: string | null = null,
147
- clientOrigin: string | null = null,
148
- ) {
+ public constructor(widgetId: string | null = null, clientOrigin: string | null = null) {
149
super();
150
if (!globalThis.parent) {
151
throw new Error("No parent window. This widget doesn't appear to be embedded properly.");
0 commit comments