@coherentglobal/spark-execute-sdk 0.3.10 → 0.3.11
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/dist/browser.js +1 -1
- package/package.json +1 -1
- package/src/validate.js +5 -2
package/dist/browser.js
CHANGED
|
@@ -6764,7 +6764,7 @@ var rules = Joi.object({
|
|
|
6764
6764
|
url: Joi.string().uri({
|
|
6765
6765
|
scheme: ["http", "https"]
|
|
6766
6766
|
}).required(),
|
|
6767
|
-
tenant: Joi.string().
|
|
6767
|
+
tenant: Joi.string().pattern(/^[ A-Za-z0-9_./#&+-]+$/).required(),
|
|
6768
6768
|
authType: Joi.string().valid("public", "syntheticKey", "bearerToken").required(),
|
|
6769
6769
|
syntheticKey: [Joi.string().allow(""), Joi["function"]().allow("")],
|
|
6770
6770
|
// allow fns
|
package/package.json
CHANGED
package/src/validate.js
CHANGED
|
@@ -7,7 +7,10 @@ const rules = Joi.object({
|
|
|
7
7
|
scheme: ["http", "https"],
|
|
8
8
|
})
|
|
9
9
|
.required(),
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
tenant: Joi.string()
|
|
12
|
+
.pattern(/^[ A-Za-z0-9_./#&+-]+$/)
|
|
13
|
+
.required(),
|
|
11
14
|
authType: Joi.string()
|
|
12
15
|
.valid("public", "syntheticKey", "bearerToken")
|
|
13
16
|
.required(),
|
|
@@ -32,7 +35,7 @@ const rules = Joi.object({
|
|
|
32
35
|
}),
|
|
33
36
|
],
|
|
34
37
|
|
|
35
|
-
metaData: Joi.object()
|
|
38
|
+
metaData: Joi.object(),
|
|
36
39
|
})
|
|
37
40
|
)
|
|
38
41
|
.required(),
|