botbuilder-instrumentation
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -20,2 +20,4 @@ "use strict"; | ||
this.instrumentationKeys = []; | ||
this.sentiments = {}; | ||
this.initSentimentData(); | ||
settings = settings || {}; | ||
@@ -42,2 +44,10 @@ _.extend(this.sentiments, settings.sentiments); | ||
} | ||
initSentimentData() { | ||
this.sentiments = { | ||
minWords: 3, | ||
url: 'https://westus.api.cognitive.microsoft.com/text/analytics/v2.0/sentiment', | ||
id: 'bot-analytics', | ||
key: null | ||
}; | ||
} | ||
formatArgs(args) { | ||
@@ -44,0 +54,0 @@ return util.format.apply(util.format, Array.prototype.slice.call(args)); |
{ | ||
"name": "botbuilder-instrumentation", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
62418
971