botbuilder-instrumentation
Advanced tools
Comparing version 1.1.16 to 1.1.17
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ var monitor = require('./'); |
@@ -321,2 +321,5 @@ "use strict"; | ||
properties.forEach(property => { | ||
if (Array.isArray(property)) { | ||
item[property.join('.')] = _.get(session, [propertyBag, ...property], ''); | ||
} | ||
item[property] = session[propertyBag][property] || null; | ||
@@ -323,0 +326,0 @@ }); |
{ | ||
"name": "botbuilder-instrumentation", | ||
"version": "1.1.16", | ||
"version": "1.1.17", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
@@ -87,3 +87,3 @@ # Microsoft Bot Builder Instrumentation | ||
} | ||
customFields: { | ||
@@ -98,2 +98,4 @@ userData: [ "CUSTOM_PROPERTY_1" ], | ||
The `CUSTOM_PROPERTY` could be a String or an Array. If it's an array it will as a path. [Lodash#get](https://lodash.com/docs#get) | ||
The `CUSTOM_PROPERTY` will be searched for in the session/context object of each event and will be added automatically under customDimensions in Application Insights. | ||
@@ -100,0 +102,0 @@ If it does not exist, it will not be added to the logged events. |
@@ -0,0 +0,0 @@ export default { |
@@ -0,0 +0,0 @@ var monitor = require('./'); |
@@ -423,2 +423,5 @@ import * as util from 'util'; | ||
properties.forEach(property => { | ||
if (Array.isArray(property)) { | ||
item[property.join('.')] = _.get(session, [propertyBag, ...property], ''); | ||
} | ||
item[property] = session[propertyBag][property] || null; | ||
@@ -425,0 +428,0 @@ }); |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1025
139
64254
1