botbuilder-dialogs-declarative
Advanced tools
Comparing version
@@ -21,5 +21,5 @@ "use strict"; | ||
function isComponentDeclarativeTypes(component) { | ||
return componentDeclarativeTypes.check(component); | ||
return componentDeclarativeTypes.safeParse(component).success; | ||
} | ||
exports.isComponentDeclarativeTypes = isComponentDeclarativeTypes; | ||
//# sourceMappingURL=componentDeclarativeTypes.js.map |
@@ -5,3 +5,3 @@ { | ||
"description": "Declarative library for the Microsoft BotBuilder dialog system.", | ||
"version": "4.20.2-preview", | ||
"version": "4.20.3-preview", | ||
"preview": true, | ||
@@ -32,11 +32,11 @@ "license": "MIT", | ||
"dependencies": { | ||
"botbuilder-dialogs": "4.20.2", | ||
"botbuilder-stdlib": "4.20.2-internal", | ||
"botbuilder-dialogs": "4.20.3", | ||
"botbuilder-stdlib": "4.20.3-internal", | ||
"chokidar": "^3.4.0", | ||
"zod": "~1.11.17" | ||
"zod": "^3.22.4" | ||
}, | ||
"devDependencies": { | ||
"adaptive-expressions": "4.20.2", | ||
"botbuilder-core": "4.20.2", | ||
"botbuilder-dialogs-adaptive-runtime-core": "4.20.2-preview", | ||
"adaptive-expressions": "4.20.3", | ||
"botbuilder-core": "4.20.3", | ||
"botbuilder-dialogs-adaptive-runtime-core": "4.20.3-preview", | ||
"jsonschema": "^1.4.0" | ||
@@ -43,0 +43,0 @@ }, |
@@ -33,3 +33,3 @@ /** | ||
export function isComponentDeclarativeTypes(component: unknown): component is ComponentDeclarativeTypes { | ||
return componentDeclarativeTypes.check(component); | ||
return componentDeclarativeTypes.safeParse(component).success; | ||
} |
Sorry, the diff of this file is not supported yet
121225
0.03%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated