@sentry/cloudflare 8.25.0 → 8.27.0
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.
- package/README.md +9 -9
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -114,16 +114,16 @@ Currently only ESM handlers are supported.
|
|
|
114
114
|
import * as Sentry from '@sentry/cloudflare';
|
|
115
115
|
|
|
116
116
|
export default withSentry(
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
env => ({
|
|
118
|
+
dsn: env.SENTRY_DSN,
|
|
119
119
|
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
tracesSampleRate: 1.0,
|
|
121
|
+
}),
|
|
122
|
+
{
|
|
123
|
+
async fetch(request, env, ctx) {
|
|
124
|
+
return new Response('Hello World!');
|
|
125
|
+
},
|
|
126
|
+
} satisfies ExportedHandler<Env>,
|
|
127
127
|
);
|
|
128
128
|
```
|
|
129
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/cloudflare",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.27.0",
|
|
4
4
|
"description": "Offical Sentry SDK for Cloudflare Workers and Pages",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/cloudflare",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sentry/core": "8.
|
|
43
|
-
"@sentry/types": "8.
|
|
44
|
-
"@sentry/utils": "8.
|
|
42
|
+
"@sentry/core": "8.27.0",
|
|
43
|
+
"@sentry/types": "8.27.0",
|
|
44
|
+
"@sentry/utils": "8.27.0"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
47
|
"@cloudflare/workers-types": "^4.x"
|