@google-cloud/trace-agent
Advanced tools
Comparing version 5.1.5 to 5.1.6
# Changelog | ||
### [5.1.6](https://www.github.com/googleapis/cloud-trace-nodejs/compare/v5.1.5...v5.1.6) (2021-11-16) | ||
### Bug Fixes | ||
* Update README partials to mention how to use import ([#1400](https://www.github.com/googleapis/cloud-trace-nodejs/issues/1400)) ([da8741b](https://www.github.com/googleapis/cloud-trace-nodejs/commit/da8741b5168f8134d523fdcf7c83f1627bc4caf6)) | ||
### [5.1.5](https://www.github.com/googleapis/cloud-trace-nodejs/compare/v5.1.4...v5.1.5) (2021-08-19) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/trace-agent", | ||
"version": "5.1.5", | ||
"version": "5.1.6", | ||
"description": "Node.js Support for StackDriver Trace", | ||
@@ -51,3 +51,3 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@compodoc/compodoc": "1.1.13", | ||
"@compodoc/compodoc": "1.1.15", | ||
"@google-cloud/datastore": "^6.0.0", | ||
@@ -64,3 +64,2 @@ "@grpc/proto-loader": "^0.6.0", | ||
"@types/mocha": "^8.0.0", | ||
"@types/mongoose": "^5.3.26", | ||
"@types/node": "^14.0.0", | ||
@@ -73,5 +72,5 @@ "@types/node-fetch": "^2.5.0", | ||
"@types/source-map-support": "^0.5.1", | ||
"@types/tmp": "0.2.1", | ||
"@types/tmp": "0.2.2", | ||
"@types/uuid": "^8.0.0", | ||
"axios": "^0.21.0", | ||
"axios": "^0.24.0", | ||
"c8": "^7.0.0", | ||
@@ -78,0 +77,0 @@ "cpy": "^8.0.0", |
@@ -76,2 +76,8 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
If you want to use `import`, you will need to do the following to import all required types: | ||
``` | ||
import * as TraceAgent from '@google-cloud/trace-agent'; | ||
``` | ||
Optionally, you can pass a [configuration object](https://github.com/googleapis/cloud-trace-nodejs/blob/master/src/config.ts) to the `start()` function as follows: | ||
@@ -283,3 +289,3 @@ | ||
[client-docs]: https://googleapis.dev/nodejs/trace/latest/ | ||
[client-docs]: https://cloud.google.com/nodejs/docs/reference/trace-agent/latest | ||
[product-docs]: https://cloud.google.com/trace | ||
@@ -286,0 +292,0 @@ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png |
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
332907
40
295