Socket
Socket
Sign inDemoInstall

@sentry/core

Package Overview
Dependencies
Maintainers
11
Versions
521
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/core - npm Package Compare versions

Comparing version 8.33.0 to 8.33.1

4

build/cjs/trpc.js

@@ -30,2 +30,4 @@ Object.defineProperty(exports, '__esModule', { value: true });

function trpcMiddleware(options = {}) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return async function (opts) {

@@ -79,3 +81,3 @@ const { path, type, next, rawInput, getRawInput } = opts;

},
);
) ;
};

@@ -82,0 +84,0 @@ }

@@ -28,2 +28,4 @@ import { normalize } from '@sentry/utils';

function trpcMiddleware(options = {}) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return async function (opts) {

@@ -77,3 +79,3 @@ const { path, type, next, rawInput, getRawInput } = opts;

},
);
) ;
};

@@ -80,0 +82,0 @@ }

@@ -12,7 +12,8 @@ interface SentryTrpcMiddlewareOptions {

}
type SentryTrpcMiddleware<T> = T extends Promise<unknown> ? T : Promise<T>;
/**
* Sentry tRPC middleware that captures errors and creates spans for tRPC procedures.
*/
export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): <T>(opts: SentryTrpcMiddlewareArguments<T>) => Promise<T>;
export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): <T>(opts: SentryTrpcMiddlewareArguments<T>) => SentryTrpcMiddleware<T>;
export {};
//# sourceMappingURL=trpc.d.ts.map

@@ -12,7 +12,8 @@ interface SentryTrpcMiddlewareOptions {

}
type SentryTrpcMiddleware<T> = T extends Promise<unknown> ? T : Promise<T>;
/**
* Sentry tRPC middleware that captures errors and creates spans for tRPC procedures.
*/
export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): <T>(opts: SentryTrpcMiddlewareArguments<T>) => Promise<T>;
export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): <T>(opts: SentryTrpcMiddlewareArguments<T>) => SentryTrpcMiddleware<T>;
export {};
//# sourceMappingURL=trpc.d.ts.map
{
"name": "@sentry/core",
"version": "8.33.0",
"version": "8.33.1",
"description": "Base implementation for all Sentry JavaScript SDKs",

@@ -42,4 +42,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/types": "8.33.0",
"@sentry/utils": "8.33.0"
"@sentry/types": "8.33.1",
"@sentry/utils": "8.33.1"
},

@@ -46,0 +46,0 @@ "scripts": {

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