@embeddable.com/sdk-core 3.9.8 → 3.9.10
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 +11 -5
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +11 -5
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/validate.ts +14 -8
package/lib/index.js
CHANGED
|
@@ -5190,14 +5190,20 @@ const viewModelSchema = z.object({
|
|
|
5190
5190
|
.array()
|
|
5191
5191
|
.min(1),
|
|
5192
5192
|
});
|
|
5193
|
-
const securityContextSchema = z.array(z
|
|
5193
|
+
const securityContextSchema = z.array(z
|
|
5194
|
+
.object({
|
|
5194
5195
|
name: z.string(),
|
|
5195
5196
|
securityContext: z.object({}), // can be any object
|
|
5196
|
-
|
|
5197
|
-
|
|
5197
|
+
environment: z.string().optional(),
|
|
5198
|
+
})
|
|
5199
|
+
.strict());
|
|
5200
|
+
const clientContextSchema = z.array(z
|
|
5201
|
+
.object({
|
|
5198
5202
|
name: z.string(),
|
|
5199
5203
|
clientContext: z.object({}), // can be any object
|
|
5200
|
-
}))
|
|
5204
|
+
canvas: z.object({}).optional(),
|
|
5205
|
+
})
|
|
5206
|
+
.strict());
|
|
5201
5207
|
|
|
5202
5208
|
var provideConfig = async () => {
|
|
5203
5209
|
const configFilePath = `${process.cwd()}/embeddable.config.js`;
|
|
@@ -22023,7 +22029,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
22023
22029
|
};
|
|
22024
22030
|
|
|
22025
22031
|
var name = "@embeddable.com/sdk-core";
|
|
22026
|
-
var version = "3.9.
|
|
22032
|
+
var version = "3.9.10";
|
|
22027
22033
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22028
22034
|
var keywords = [
|
|
22029
22035
|
"embeddable",
|