@embeddable.com/sdk-core 2.4.4 → 2.4.5

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.
@@ -9,8 +9,9 @@ export type EmbeddableConfig = {
9
9
  audienceUrl?: string;
10
10
  authDomain?: string;
11
11
  authClientId?: string;
12
+ errorFallbackComponent?: string;
12
13
  };
13
- declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, }: EmbeddableConfig) => {
14
+ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, }: EmbeddableConfig) => {
14
15
  core: {
15
16
  rootDir: string;
16
17
  templatesDir: string;
@@ -24,6 +25,7 @@ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authCl
24
25
  componentDir: string;
25
26
  stencilBuild: string;
26
27
  archiveFile: string;
28
+ errorFallbackComponent: string | undefined;
27
29
  };
28
30
  outputOptions: {
29
31
  typesEntryPointFilename: string;
package/lib/index.esm.js CHANGED
@@ -4741,7 +4741,7 @@ async function getWorkspaces(ctx, token) {
4741
4741
  }
4742
4742
  }
4743
4743
 
4744
- var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, }) => {
4744
+ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, }) => {
4745
4745
  const coreRoot = path.resolve(__dirname, "..");
4746
4746
  const clientRoot = process.cwd();
4747
4747
  return {
@@ -4758,6 +4758,9 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
4758
4758
  componentDir: path.resolve(clientRoot, ".embeddable-build", "component"),
4759
4759
  stencilBuild: path.resolve(clientRoot, ".embeddable-build", "dist", "embeddable-wrapper"),
4760
4760
  archiveFile: path.resolve(clientRoot, "embeddable-build.zip"),
4761
+ errorFallbackComponent: errorFallbackComponent
4762
+ ? path.resolve(clientRoot, errorFallbackComponent)
4763
+ : undefined,
4761
4764
  },
4762
4765
  outputOptions: {
4763
4766
  typesEntryPointFilename: "embeddable-types-entry-point.js",