@embeddable.com/sdk-core 3.2.0-next.8 → 3.2.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/bin/embeddable CHANGED
@@ -9,7 +9,7 @@ const path = require("path");
9
9
  // Check if the loader is already applied to avoid infinite spawning
10
10
  if (!process.env.LOADER_APPLIED) {
11
11
  const env = { ...process.env, LOADER_APPLIED: "1" };
12
- const entryPointPath = path.join(__dirname, "../src/entryPoint.ts");
12
+ const entryPointPath = path.join(__dirname, "../src/entryPoint.js");
13
13
  const customLoaderPath = path.join(
14
14
  __dirname,
15
15
  "../loader/custom-esm-loader.mjs",
@@ -4,10 +4,7 @@
4
4
  "allowUnreachableCode": false,
5
5
  "declaration": false,
6
6
  "experimentalDecorators": true,
7
- "lib": [
8
- "dom",
9
- "es2017"
10
- ],
7
+ "lib": ["dom", "es2017"],
11
8
  "moduleResolution": "node",
12
9
  "module": "esnext",
13
10
  "target": "es2017",
@@ -16,10 +13,6 @@
16
13
  "jsx": "react",
17
14
  "jsxFactory": "h"
18
15
  },
19
- "include": [
20
- "component"
21
- ],
22
- "exclude": [
23
- "node_modules"
24
- ]
25
- }
16
+ "include": ["component"],
17
+ "exclude": ["node_modules"]
18
+ }
@@ -13,8 +13,10 @@ export type EmbeddableConfig = {
13
13
  applicationEnvironment?: string;
14
14
  rollbarAccessToken?: string;
15
15
  previewBaseUrl?: string;
16
+ componentsSrc?: string;
17
+ modelsSrc?: string;
16
18
  };
17
- declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, }: EmbeddableConfig) => {
19
+ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc, }: EmbeddableConfig) => {
18
20
  core: {
19
21
  rootDir: string;
20
22
  templatesDir: string;
@@ -22,8 +24,9 @@ declare const _default: ({ plugins, pushBaseUrl, audienceUrl, authDomain, authCl
22
24
  };
23
25
  client: {
24
26
  rootDir: string;
25
- buildDir: string;
26
27
  srcDir: string;
28
+ modelsSrc: string | undefined;
29
+ buildDir: string;
27
30
  tmpDir: string;
28
31
  componentDir: string;
29
32
  stencilBuild: string;