@embeddable.com/sdk-core 3.9.7 → 3.9.9

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
@@ -5166,10 +5166,12 @@ const securityContextSchema = z.array(z.object({
5166
5166
  name: z.string(),
5167
5167
  securityContext: z.object({}), // can be any object
5168
5168
  }));
5169
- const clientContextSchema = z.array(z.object({
5169
+ const clientContextSchema = z.array(z
5170
+ .object({
5170
5171
  name: z.string(),
5171
5172
  clientContext: z.object({}), // can be any object
5172
- }));
5173
+ })
5174
+ .strict());
5173
5175
 
5174
5176
  var provideConfig = async () => {
5175
5177
  const configFilePath = `${process.cwd()}/embeddable.config.js`;
@@ -21849,7 +21851,7 @@ const onBundleBuildEnd = async (ctx) => {
21849
21851
  };
21850
21852
  const dataModelAndSecurityContextWatcher = (ctx) => {
21851
21853
  const fsWatcher = chokidar.watch([
21852
- path$1.resolve(ctx.client.modelsSrc, "**/*.{cube}.{yaml,yml,js}"),
21854
+ path$1.resolve(ctx.client.modelsSrc, "**/*.cube.{yaml,yml,js}"),
21853
21855
  path$1.resolve(ctx.client.presetsSrc, "**/*.{sc,cc}.{yaml,yml}"),
21854
21856
  ], chokidarWatchOptions);
21855
21857
  fsWatcher.on("all", async () => {
@@ -21995,7 +21997,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
21995
21997
  };
21996
21998
 
21997
21999
  var name = "@embeddable.com/sdk-core";
21998
- var version = "3.9.7";
22000
+ var version = "3.9.9";
21999
22001
  var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
22000
22002
  var keywords = [
22001
22003
  "embeddable",