@contrast/agentify
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -35,30 +35,6 @@ /* | ||
function install() { | ||
[{ | ||
moduleName: 'http' | ||
}, | ||
{ | ||
moduleName: 'https' | ||
}, | ||
{ | ||
moduleName: 'spdy' | ||
}, | ||
{ | ||
moduleName: 'http2', | ||
patchObjectsProps: [ | ||
{ | ||
methods: ['createServer', 'createSecureServer'], | ||
patchType, | ||
patchObjects: [ | ||
{ | ||
name: 'Server.prototype', | ||
methods: ['emit'], | ||
patchType, | ||
around: aroundHook('http2') | ||
} | ||
] | ||
} | ||
] | ||
}].forEach(({ moduleName, patchObjectsProps }) => { | ||
const patchObjects = patchObjectsProps || [ | ||
{ | ||
['http', 'https', 'spdy', 'http2'].forEach((moduleName) => { | ||
instrument({ | ||
moduleName, | ||
patchObjects: [{ | ||
name: 'Server.prototype', | ||
@@ -68,7 +44,3 @@ methods: ['emit'], | ||
around: aroundHook(moduleName) | ||
} | ||
]; | ||
instrument({ | ||
moduleName, | ||
patchObjects | ||
}] | ||
}); | ||
@@ -75,0 +47,0 @@ }); |
{ | ||
"name": "@contrast/agentify", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Configures Contrast agent services and instrumentation within an application", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE", |
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
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
15347
392