@sentry/core
Advanced tools
Comparing version 8.33.0 to 8.33.1
@@ -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
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
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
1944501
21076
8
3
122
+ Added@sentry/types@8.33.1(transitive)
+ Added@sentry/utils@8.33.1(transitive)
- Removed@sentry/types@8.33.0(transitive)
- Removed@sentry/utils@8.33.0(transitive)
Updated@sentry/types@8.33.1
Updated@sentry/utils@8.33.1