Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/vercel-edge

Package Overview
Dependencies
Maintainers
11
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/vercel-edge - npm Package Compare versions

Comparing version 8.36.0-alpha.0 to 8.36.0-beta.0

build/types-ts3.8/vendored/abstract-async-hooks-context-manager.d.ts

2

build/esm/package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc