posthog-js
Advanced tools
Comparing version 1.9.3 to 1.9.4
// Type definitions for exported methods | ||
import { EventProcessor, Integration } from '@sentry/types' | ||
declare class posthog { | ||
@@ -471,3 +473,3 @@ /** | ||
*/ | ||
static SentryIntegration(posthog: posthog, organization?: string, projectId?: number, prefix?: string): void | ||
static SentryIntegration: SentryIntegration | ||
@@ -693,4 +695,10 @@ static toString(): string | ||
export class SentryIntegration implements Integration { | ||
constructor(posthog: posthog, organization?: string, projectId?: number, prefix?: string) | ||
name: string | ||
setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void): void | ||
} | ||
export type PostHog = typeof posthog | ||
export default posthog |
{ | ||
"name": "posthog-js", | ||
"version": "1.9.3", | ||
"version": "1.9.4", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -36,2 +36,3 @@ "repository": "https://github.com/PostHog/posthog-js", | ||
"@rollup/plugin-node-resolve": "^8.1.0", | ||
"@sentry/types": "^6.2.2", | ||
"@typescript-eslint/eslint-plugin": "^3.5.0", | ||
@@ -38,0 +39,0 @@ "@typescript-eslint/parser": "^3.5.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
555798
11612
32