@unhandled/nextjs 0.2.9 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -38,7 +38,7 @@ export default withUnhandledConfig({
38
38
 
39
39
  `registerUnhandled(options?)` takes every `@unhandled/node` option (`dsn`, `environment`, `serviceName`, `samplingRatio`, `http`, `instrumentations`, `integrations` and the rest) and returns the running client or `null`. It only starts the SDK when `NEXT_RUNTIME` is `nodejs`. On the edge runtime the package resolves to a build where `register`, `registerUnhandled`, `onRequestError`, `setUser` and `withServerAction` do nothing, so Edge routes and the edge compile of `instrumentation.ts` load no Node.js code and send nothing.
40
40
 
41
- Like `@unhandled/node`, it redacts secret query values and token-like path segments from URL attributes by default (`http.sanitizeUrls: false` turns that off), and reads source lines only from `.js`/`.ts` source files under the app root, never from paths named in an error message or from dotfiles such as `.env`. The [`@unhandled/node` README](../node/README.md#options) has the rules.
41
+ Like `@unhandled/node`, it redacts secret query values and secret path segments (not ids) from URL attributes by default (`http.sanitizeUrls: false` turns that off), and reads source lines only from `.js`/`.ts` source files under the app root, never from paths named in an error message or from dotfiles such as `.env`. The [`@unhandled/node` README](../node/README.md#options) has the rules.
42
42
 
43
43
  ## What you get
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unhandled/nextjs",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "Unhandled for Next.js: instrumentation.ts registration, request error reporting, route handler and server action wrappers on @unhandled/node",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "@opentelemetry/api": "~1.9.1",
28
28
  "@opentelemetry/core": "^2.12.0",
29
29
  "@opentelemetry/instrumentation": "^0.223.0",
30
- "@unhandled/node": "0.7.0"
30
+ "@unhandled/node": "0.9.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@adonisjs/tsconfig": "^2.0.0",