@microsoft/teams-manifest
Advanced tools
Comparing version 0.1.7-beta.2024102501.0 to 0.1.7-beta.2024110707.0
@@ -88,3 +88,7 @@ "use strict"; | ||
else { | ||
const ajv = new ajv_draft_04_1.default({ formats: { uri: true }, allErrors: true, strictTypes: false }); | ||
const ajv = new ajv_draft_04_1.default({ | ||
allErrors: true, | ||
strictTypes: false, | ||
}); | ||
(0, ajv_formats_1.default)(ajv, ["uri", "email", "regex"]); | ||
validate = ajv.compile(schema); | ||
@@ -94,3 +98,3 @@ } | ||
if (!valid && validate.errors) { | ||
return Promise.resolve((_b = validate.errors) === null || _b === void 0 ? void 0 : _b.map((error) => `${error.instancePath} ${error.message || ""}`)); | ||
return Promise.resolve((_b = validate.errors) === null || _b === void 0 ? void 0 : _b.map((error) => `${error.instancePath} ${error.message || ""}. Details: ${error.params ? JSON.stringify(error.params) : ""}`)); | ||
} | ||
@@ -97,0 +101,0 @@ else { |
{ | ||
"name": "@microsoft/teams-manifest", | ||
"version": "0.1.7-beta.2024102501.0", | ||
"version": "0.1.7-beta.2024110707.0", | ||
"main": "build/index.js", | ||
@@ -65,3 +65,3 @@ "types": "build/index.d.ts", | ||
}, | ||
"gitHead": "77b935d990d5b8d73cc45267c19c9ac5d605719b" | ||
"gitHead": "8937c0878167e8733ee5189b9e642be7b7faaf3d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
109148
1997