botbuilder-dialogs-adaptive-runtime-core
Advanced tools
Comparing version 4.21.0-dev.preview.20231010.123cc88 to 4.21.0-dev.preview.20231011.dec8115
@@ -60,2 +60,5 @@ "use strict"; | ||
addInstance(key, instance) { | ||
if (this.graph.hasNode(key)) { | ||
this.graph.removeNode(key); | ||
} | ||
this.graph.addNode(key, [() => instance]); | ||
@@ -62,0 +65,0 @@ return this; |
@@ -5,3 +5,3 @@ { | ||
"author": "Microsoft Corp.", | ||
"version": "4.21.0-dev.preview.20231010.123cc88", | ||
"version": "4.21.0-dev.preview.20231011.dec8115", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "description": "Bot Framework Adaptive Dialogs runtime core components", |
@@ -72,2 +72,6 @@ // Copyright (c) Microsoft Corporation. | ||
addInstance<InstanceType>(key: string, instance: InstanceType): this { | ||
if (this.graph.hasNode(key)) { | ||
this.graph.removeNode(key); | ||
} | ||
this.graph.addNode(key, [() => instance]); | ||
@@ -74,0 +78,0 @@ return this; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44755
815