@sentry/browser
Advanced tools
Comparing version
@@ -19,3 +19,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
* dsn: '___PUBLIC_DSN___', | ||
* integrations: [Sentry.unleashIntegration({unleashClientClass: UnleashClient})], | ||
* integrations: [Sentry.unleashIntegration({featureFlagClientClass: UnleashClient})], | ||
* }); | ||
@@ -27,3 +27,2 @@ * | ||
* unleash.isEnabled('my-feature'); | ||
* unleash.getVariant('other-feature'); | ||
* Sentry.captureException(new Error('something went wrong')); | ||
@@ -33,3 +32,3 @@ * ``` | ||
const unleashIntegration = core.defineIntegration( | ||
({ unleashClientClass }) => { | ||
({ featureFlagClientClass: unleashClientClass }) => { | ||
return { | ||
@@ -36,0 +35,0 @@ name: 'Unleash', |
@@ -17,3 +17,3 @@ import { defineIntegration, fill, logger } from '@sentry/core'; | ||
* dsn: '___PUBLIC_DSN___', | ||
* integrations: [Sentry.unleashIntegration({unleashClientClass: UnleashClient})], | ||
* integrations: [Sentry.unleashIntegration({featureFlagClientClass: UnleashClient})], | ||
* }); | ||
@@ -25,3 +25,2 @@ * | ||
* unleash.isEnabled('my-feature'); | ||
* unleash.getVariant('other-feature'); | ||
* Sentry.captureException(new Error('something went wrong')); | ||
@@ -31,3 +30,3 @@ * ``` | ||
const unleashIntegration = defineIntegration( | ||
({ unleashClientClass }) => { | ||
({ featureFlagClientClass: unleashClientClass }) => { | ||
return { | ||
@@ -34,0 +33,0 @@ name: 'Unleash', |
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"9.0.0","sideEffects":false} | ||
{"type":"module","version":"9.0.1","sideEffects":false} |
import { UnleashClientClass } from './types'; | ||
type UnleashIntegrationOptions = { | ||
featureFlagClientClass: UnleashClientClass; | ||
}; | ||
/** | ||
@@ -14,3 +17,3 @@ * Sentry integration for capturing feature flag evaluations from the Unleash SDK. | ||
* dsn: '___PUBLIC_DSN___', | ||
* integrations: [Sentry.unleashIntegration({unleashClientClass: UnleashClient})], | ||
* integrations: [Sentry.unleashIntegration({featureFlagClientClass: UnleashClient})], | ||
* }); | ||
@@ -22,9 +25,7 @@ * | ||
* unleash.isEnabled('my-feature'); | ||
* unleash.getVariant('other-feature'); | ||
* Sentry.captureException(new Error('something went wrong')); | ||
* ``` | ||
*/ | ||
export declare const unleashIntegration: (args_0: { | ||
unleashClientClass: UnleashClientClass; | ||
}) => import("@sentry/core").Integration; | ||
export declare const unleashIntegration: (args_0: UnleashIntegrationOptions) => import("@sentry/core").Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
import type { UnleashClientClass } from './types'; | ||
type UnleashIntegrationOptions = { | ||
featureFlagClientClass: UnleashClientClass; | ||
}; | ||
/** | ||
@@ -14,3 +17,3 @@ * Sentry integration for capturing feature flag evaluations from the Unleash SDK. | ||
* dsn: '___PUBLIC_DSN___', | ||
* integrations: [Sentry.unleashIntegration({unleashClientClass: UnleashClient})], | ||
* integrations: [Sentry.unleashIntegration({featureFlagClientClass: UnleashClient})], | ||
* }); | ||
@@ -22,9 +25,7 @@ * | ||
* unleash.isEnabled('my-feature'); | ||
* unleash.getVariant('other-feature'); | ||
* Sentry.captureException(new Error('something went wrong')); | ||
* ``` | ||
*/ | ||
export declare const unleashIntegration: (args_0: { | ||
unleashClientClass: UnleashClientClass; | ||
}) => import("@sentry/core").Integration; | ||
export declare const unleashIntegration: (args_0: UnleashIntegrationOptions) => import("@sentry/core").Integration; | ||
export {}; | ||
//# sourceMappingURL=integration.d.ts.map |
{ | ||
"name": "@sentry/browser", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "Official Sentry SDK for browsers", | ||
@@ -42,10 +42,10 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry-internal/browser-utils": "9.0.0", | ||
"@sentry-internal/feedback": "9.0.0", | ||
"@sentry-internal/replay": "9.0.0", | ||
"@sentry-internal/replay-canvas": "9.0.0", | ||
"@sentry/core": "9.0.0" | ||
"@sentry-internal/browser-utils": "9.0.1", | ||
"@sentry-internal/feedback": "9.0.1", | ||
"@sentry-internal/replay": "9.0.1", | ||
"@sentry-internal/replay-canvas": "9.0.1", | ||
"@sentry/core": "9.0.1" | ||
}, | ||
"devDependencies": { | ||
"@sentry-internal/integration-shims": "9.0.0", | ||
"@sentry-internal/integration-shims": "9.0.1", | ||
"fake-indexeddb": "^4.0.1" | ||
@@ -52,0 +52,0 @@ }, |
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1048123
0.02%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated