@embeddable.com/sdk-core 4.3.0-next.1 → 4.3.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -712,7 +712,7 @@ async function injectEmptyCSS(ctx) {
712
712
  await fs.writeFile(path$1.resolve(ctx.client.componentDir, "style.css"), "");
713
713
  }
714
714
  async function injectBundleRenderStub(ctx) {
715
- const stubStr = `const render = () => {};`;
715
+ const stubStr = `const render = (..._args: any[]) => {};`;
716
716
  let content = await fs.readFile(path$1.resolve(ctx.core.templatesDir, "component.tsx.template"), "utf8");
717
717
  content = content.replace(COMPONENT_TAG_TOKEN, "embeddable-component");
718
718
  await fs.writeFile(path$1.resolve(ctx.client.componentDir, "component.tsx"), content.replace(RENDER_IMPORT_TOKEN, stubStr));