@sentry/vercel-edge
Advanced tools
Comparing version 8.36.0-alpha.0 to 8.36.0-beta.0
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"8.36.0-alpha.0","sideEffects":false} | ||
{"type":"module","version":"8.36.0-beta.0","sideEffects":false} |
import { ServerRuntimeClient } from '@sentry/core'; | ||
import { BasicTracerProvider } from '@opentelemetry/sdk-trace-base'; | ||
import { VercelEdgeClientOptions } from './types'; | ||
@@ -10,2 +11,3 @@ /** | ||
export declare class VercelEdgeClient extends ServerRuntimeClient<VercelEdgeClientOptions> { | ||
traceProvider: BasicTracerProvider | undefined; | ||
/** | ||
@@ -16,3 +18,4 @@ * Creates a new Vercel Edge Runtime SDK instance. | ||
constructor(options: VercelEdgeClientOptions); | ||
flush(timeout?: number): Promise<boolean>; | ||
} | ||
//# sourceMappingURL=client.d.ts.map |
import { Client, Integration, Options } from '@sentry/types'; | ||
import { VercelEdgeClient } from './client'; | ||
import { VercelEdgeOptions } from './types'; | ||
@@ -7,2 +8,3 @@ /** Get the default integrations for the browser SDK. */ | ||
export declare function init(options?: VercelEdgeOptions): Client | undefined; | ||
export declare function setupOtel(client: VercelEdgeClient): void; | ||
/** | ||
@@ -9,0 +11,0 @@ * Returns a release dynamically from environment variables. |
@@ -31,2 +31,21 @@ import { ClientOptions, Options, TracePropagationTargets } from '@sentry/types'; | ||
clientClass?: typeof VercelEdgeClient; | ||
/** | ||
* If this is set to true, the SDK will not set up OpenTelemetry automatically. | ||
* In this case, you _have_ to ensure to set it up correctly yourself, including: | ||
* * The `SentrySpanProcessor` | ||
* * The `SentryPropagator` | ||
* * The `SentryContextManager` | ||
* * The `SentrySampler` | ||
*/ | ||
skipOpenTelemetrySetup?: boolean; | ||
/** | ||
* The max. duration in seconds that the SDK will wait for parent spans to be finished before discarding a span. | ||
* The SDK will automatically clean up spans that have no finished parent after this duration. | ||
* This is necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. | ||
* However, if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early. | ||
* In this case, you can increase this duration to a value that fits your expected data. | ||
* | ||
* Defaults to 300 seconds (5 minutes). | ||
*/ | ||
maxSpanWaitDuration?: number; | ||
/** Callback that is executed when a fatal global error occurs. */ | ||
@@ -33,0 +52,0 @@ onFatalError?(this: void, error: Error): void; |
import { ServerRuntimeClient } from '@sentry/core'; | ||
import type { BasicTracerProvider } from '@opentelemetry/sdk-trace-base'; | ||
import type { VercelEdgeClientOptions } from './types'; | ||
@@ -10,2 +11,3 @@ /** | ||
export declare class VercelEdgeClient extends ServerRuntimeClient<VercelEdgeClientOptions> { | ||
traceProvider: BasicTracerProvider | undefined; | ||
/** | ||
@@ -16,3 +18,4 @@ * Creates a new Vercel Edge Runtime SDK instance. | ||
constructor(options: VercelEdgeClientOptions); | ||
flush(timeout?: number): Promise<boolean>; | ||
} | ||
//# sourceMappingURL=client.d.ts.map |
import type { Client, Integration, Options } from '@sentry/types'; | ||
import { VercelEdgeClient } from './client'; | ||
import type { VercelEdgeOptions } from './types'; | ||
@@ -7,2 +8,3 @@ /** Get the default integrations for the browser SDK. */ | ||
export declare function init(options?: VercelEdgeOptions): Client | undefined; | ||
export declare function setupOtel(client: VercelEdgeClient): void; | ||
/** | ||
@@ -9,0 +11,0 @@ * Returns a release dynamically from environment variables. |
@@ -31,2 +31,21 @@ import type { ClientOptions, Options, TracePropagationTargets } from '@sentry/types'; | ||
clientClass?: typeof VercelEdgeClient; | ||
/** | ||
* If this is set to true, the SDK will not set up OpenTelemetry automatically. | ||
* In this case, you _have_ to ensure to set it up correctly yourself, including: | ||
* * The `SentrySpanProcessor` | ||
* * The `SentryPropagator` | ||
* * The `SentryContextManager` | ||
* * The `SentrySampler` | ||
*/ | ||
skipOpenTelemetrySetup?: boolean; | ||
/** | ||
* The max. duration in seconds that the SDK will wait for parent spans to be finished before discarding a span. | ||
* The SDK will automatically clean up spans that have no finished parent after this duration. | ||
* This is necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. | ||
* However, if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early. | ||
* In this case, you can increase this duration to a value that fits your expected data. | ||
* | ||
* Defaults to 300 seconds (5 minutes). | ||
*/ | ||
maxSpanWaitDuration?: number; | ||
/** Callback that is executed when a fatal global error occurs. */ | ||
@@ -33,0 +52,0 @@ onFatalError?(this: void, error: Error): void; |
{ | ||
"name": "@sentry/vercel-edge", | ||
"version": "8.36.0-alpha.0", | ||
"version": "8.36.0-beta.0", | ||
"description": "Offical Sentry SDK for the Vercel Edge Runtime", | ||
@@ -42,8 +42,14 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.36.0-alpha.0", | ||
"@sentry/types": "8.36.0-alpha.0", | ||
"@sentry/utils": "8.36.0-alpha.0" | ||
"@opentelemetry/api": "^1.9.0", | ||
"@sentry/core": "8.36.0-beta.0", | ||
"@sentry/types": "8.36.0-beta.0", | ||
"@sentry/utils": "8.36.0-beta.0" | ||
}, | ||
"devDependencies": { | ||
"@edge-runtime/types": "3.0.1" | ||
"@edge-runtime/types": "3.0.1", | ||
"@opentelemetry/core": "^1.25.1", | ||
"@opentelemetry/resources": "^1.26.0", | ||
"@opentelemetry/sdk-trace-base": "^1.26.0", | ||
"@opentelemetry/semantic-conventions": "^1.27.0", | ||
"@sentry/opentelemetry": "8.36.0-beta.0" | ||
}, | ||
@@ -50,0 +56,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances 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
3262757
12577
4
6
41
105
3
+ Added@opentelemetry/api@^1.9.0
+ Added@opentelemetry/api@1.9.0(transitive)
+ Added@sentry/core@8.36.0-beta.0(transitive)
+ Added@sentry/types@8.36.0-beta.0(transitive)
+ Added@sentry/utils@8.36.0-beta.0(transitive)
- Removed@sentry/core@8.36.0-alpha.0(transitive)
- Removed@sentry/types@8.36.0-alpha.0(transitive)
- Removed@sentry/utils@8.36.0-alpha.0(transitive)
Updated@sentry/core@8.36.0-beta.0
Updated@sentry/types@8.36.0-beta.0
Updated@sentry/utils@8.36.0-beta.0