@embeddable.com/sdk-core 3.9.9 → 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 +7 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +7 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/validate.ts +8 -4
package/lib/index.js
CHANGED
|
@@ -5190,14 +5190,18 @@ 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
|
+
environment: z.string().optional(),
|
|
5198
|
+
})
|
|
5199
|
+
.strict());
|
|
5197
5200
|
const clientContextSchema = z.array(z
|
|
5198
5201
|
.object({
|
|
5199
5202
|
name: z.string(),
|
|
5200
5203
|
clientContext: z.object({}), // can be any object
|
|
5204
|
+
canvas: z.object({}).optional(),
|
|
5201
5205
|
})
|
|
5202
5206
|
.strict());
|
|
5203
5207
|
|
|
@@ -22025,7 +22029,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
22025
22029
|
};
|
|
22026
22030
|
|
|
22027
22031
|
var name = "@embeddable.com/sdk-core";
|
|
22028
|
-
var version = "3.9.
|
|
22032
|
+
var version = "3.9.10";
|
|
22029
22033
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22030
22034
|
var keywords = [
|
|
22031
22035
|
"embeddable",
|