@embeddable.com/sdk-core 3.9.12 → 3.9.14
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 +3 -11
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -11
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generate.ts +1 -10
- package/src/validate.ts +1 -0
package/lib/index.esm.js
CHANGED
|
@@ -511,16 +511,7 @@ async function runStencil(ctx) {
|
|
|
511
511
|
});
|
|
512
512
|
const compiler = await createCompiler(validated.config);
|
|
513
513
|
const buildResults = await compiler.build();
|
|
514
|
-
if (devMode) {
|
|
515
|
-
// Handle process exit to clean up resources
|
|
516
|
-
const cleanUp = async () => {
|
|
517
|
-
await compiler.destroy();
|
|
518
|
-
process.exit(0);
|
|
519
|
-
};
|
|
520
|
-
process.on("SIGINT", cleanUp);
|
|
521
|
-
process.on("SIGTERM", cleanUp);
|
|
522
|
-
}
|
|
523
|
-
else {
|
|
514
|
+
if (!devMode) {
|
|
524
515
|
if (buildResults.hasError) {
|
|
525
516
|
console.error("Stencil build error:", buildResults.diagnostics);
|
|
526
517
|
throw new Error("Stencil build error");
|
|
@@ -5167,6 +5158,7 @@ const securityContextSchema = z.array(z
|
|
|
5167
5158
|
name: z.string(),
|
|
5168
5159
|
securityContext: z.object({}), // can be any object
|
|
5169
5160
|
environment: z.string().optional(),
|
|
5161
|
+
useQueryRewrite: z.boolean().optional(),
|
|
5170
5162
|
})
|
|
5171
5163
|
.strict());
|
|
5172
5164
|
const clientContextSchema = z.array(z
|
|
@@ -22001,7 +21993,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
22001
21993
|
};
|
|
22002
21994
|
|
|
22003
21995
|
var name = "@embeddable.com/sdk-core";
|
|
22004
|
-
var version = "3.9.
|
|
21996
|
+
var version = "3.9.14";
|
|
22005
21997
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22006
21998
|
var keywords = [
|
|
22007
21999
|
"embeddable",
|