@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.js
CHANGED
|
@@ -539,16 +539,7 @@ async function runStencil(ctx) {
|
|
|
539
539
|
});
|
|
540
540
|
const compiler$1 = await compiler.createCompiler(validated.config);
|
|
541
541
|
const buildResults = await compiler$1.build();
|
|
542
|
-
if (devMode) {
|
|
543
|
-
// Handle process exit to clean up resources
|
|
544
|
-
const cleanUp = async () => {
|
|
545
|
-
await compiler$1.destroy();
|
|
546
|
-
process.exit(0);
|
|
547
|
-
};
|
|
548
|
-
process.on("SIGINT", cleanUp);
|
|
549
|
-
process.on("SIGTERM", cleanUp);
|
|
550
|
-
}
|
|
551
|
-
else {
|
|
542
|
+
if (!devMode) {
|
|
552
543
|
if (buildResults.hasError) {
|
|
553
544
|
console.error("Stencil build error:", buildResults.diagnostics);
|
|
554
545
|
throw new Error("Stencil build error");
|
|
@@ -5195,6 +5186,7 @@ const securityContextSchema = z.array(z
|
|
|
5195
5186
|
name: z.string(),
|
|
5196
5187
|
securityContext: z.object({}), // can be any object
|
|
5197
5188
|
environment: z.string().optional(),
|
|
5189
|
+
useQueryRewrite: z.boolean().optional(),
|
|
5198
5190
|
})
|
|
5199
5191
|
.strict());
|
|
5200
5192
|
const clientContextSchema = z.array(z
|
|
@@ -22029,7 +22021,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
22029
22021
|
};
|
|
22030
22022
|
|
|
22031
22023
|
var name = "@embeddable.com/sdk-core";
|
|
22032
|
-
var version = "3.9.
|
|
22024
|
+
var version = "3.9.14";
|
|
22033
22025
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22034
22026
|
var keywords = [
|
|
22035
22027
|
"embeddable",
|