@newrelic/aws-sdk
Advanced tools
Comparing version 5.0.5 to 6.0.0
@@ -0,1 +1,9 @@ | ||
### v6.0.0 (2023-06-30) | ||
* **BREAKING**: Removed ability to run `@newrelic/aws-sdk` as a standalone module. This package gets bundled with agent and no longer can run as a standalone in v10 of the newrelic agent. | ||
* Fixed instrumentation in AWS 3.363.0. | ||
* Updated README links to point to new forum link due to repolinter ruleset change. | ||
### v5.0.5 (2023-05-01) | ||
@@ -2,0 +10,0 @@ |
@@ -49,3 +49,3 @@ /* | ||
const service = getServiceName(this) | ||
const region = this.config && this.config.region | ||
const region = this?.config?.region | ||
request.on('complete', function onAwsRequestComplete() { | ||
@@ -59,4 +59,4 @@ const httpRequest = request.httpRequest && request.httpRequest.stream | ||
const requestRegion = request.httpRequest.region | ||
const requestId = request.response && request.response.requestId | ||
const requestRegion = request?.httpRequest?.region | ||
const requestId = request?.response?.requestId | ||
@@ -63,0 +63,0 @@ segment.addAttribute('aws.operation', request.operation || UNKNOWN) |
@@ -21,2 +21,8 @@ /* | ||
{ | ||
type: 'generic', | ||
moduleName: '@smithy/smithy-client', | ||
onResolved: require('./lib/v3/smithy-client'), | ||
shimName: 'aws-sdk' | ||
}, | ||
{ | ||
type: 'message', | ||
@@ -23,0 +29,0 @@ moduleName: '@aws-sdk/client-sns', |
{ | ||
"name": "@newrelic/aws-sdk", | ||
"version": "5.0.5", | ||
"version": "6.0.0", | ||
"description": "New Relic instrumentation of the aws-sdk package.", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -30,8 +29,8 @@ "test": "npm run unit && npm run versioned", | ||
"devDependencies": { | ||
"@aws-sdk/client-s3": "^3.303.0", | ||
"@aws-sdk/s3-request-presigner": "^3.303.0", | ||
"@aws-sdk/client-s3": "^3.342.0", | ||
"@aws-sdk/s3-request-presigner": "^3.342.0", | ||
"@newrelic/eslint-config": "^0.0.2", | ||
"@newrelic/newrelic-oss-cli": "^0.1.2", | ||
"@newrelic/test-utilities": "^7.3.0", | ||
"aws-sdk": "^2.403.0", | ||
"aws-sdk": "^2.1372.0", | ||
"c8": "^7.12.0", | ||
@@ -46,3 +45,3 @@ "eslint": "^7.32.0", | ||
"lockfile-lint": "^4.9.6", | ||
"newrelic": "^10.0.0", | ||
"newrelic": "^10.3.2", | ||
"prettier": "^2.3.2", | ||
@@ -56,3 +55,2 @@ "sinon": "^7.2.3", | ||
"files": [ | ||
"index.js", | ||
"nr-hooks.js", | ||
@@ -59,0 +57,0 @@ "lib/**", |
@@ -12,13 +12,2 @@ <a href="https://opensource.newrelic.com/oss-category/#community-plus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Plus.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"><img alt="New Relic Open Source community plus project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"></picture></a> | ||
If you are not the average user, you can add this package to your project using your package manager of choice (`npm` below), and then `require` the module into your project. | ||
``` | ||
$ npm install @newrelic/aws-sdk | ||
``` | ||
```javascript | ||
// index.js | ||
require('@newrelic/aws-sdk') | ||
``` | ||
## Getting Started | ||
@@ -53,3 +42,3 @@ | ||
* [New Relic Documentation](https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/introduction-new-relic-nodejs): Comprehensive guidance for using our platform | ||
* [New Relic Community](https://discuss.newrelic.com/tags/c/telemetry-data-platform/agents/nodeagent): The best place to engage in troubleshooting questions | ||
* [New Relic Community](https://forum.newrelic.com/): The best place to engage in troubleshooting questions | ||
* [New Relic Developer](https://developer.newrelic.com/): Resources for building a custom observability applications | ||
@@ -56,0 +45,0 @@ * [New Relic University](https://learn.newrelic.com/): A range of online training for New Relic users of every level |
Sorry, the diff of this file is too big to display
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
461204
22
833
83