@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.esm.js
CHANGED
|
@@ -5162,14 +5162,20 @@ const viewModelSchema = z.object({
|
|
|
5162
5162
|
.array()
|
|
5163
5163
|
.min(1),
|
|
5164
5164
|
});
|
|
5165
|
-
const securityContextSchema = z.array(z
|
|
5165
|
+
const securityContextSchema = z.array(z
|
|
5166
|
+
.object({
|
|
5166
5167
|
name: z.string(),
|
|
5167
5168
|
securityContext: z.object({}), // can be any object
|
|
5168
|
-
|
|
5169
|
-
|
|
5169
|
+
environment: z.string().optional(),
|
|
5170
|
+
})
|
|
5171
|
+
.strict());
|
|
5172
|
+
const clientContextSchema = z.array(z
|
|
5173
|
+
.object({
|
|
5170
5174
|
name: z.string(),
|
|
5171
5175
|
clientContext: z.object({}), // can be any object
|
|
5172
|
-
}))
|
|
5176
|
+
canvas: z.object({}).optional(),
|
|
5177
|
+
})
|
|
5178
|
+
.strict());
|
|
5173
5179
|
|
|
5174
5180
|
var provideConfig = async () => {
|
|
5175
5181
|
const configFilePath = `${process.cwd()}/embeddable.config.js`;
|
|
@@ -21995,7 +22001,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
21995
22001
|
};
|
|
21996
22002
|
|
|
21997
22003
|
var name = "@embeddable.com/sdk-core";
|
|
21998
|
-
var version = "3.9.
|
|
22004
|
+
var version = "3.9.10";
|
|
21999
22005
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22000
22006
|
var keywords = [
|
|
22001
22007
|
"embeddable",
|