posthog-js-lite 3.2.1 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -183,6 +183,12 @@ export declare abstract class PostHogCore extends PostHogCoreStateless {
183
183
  onFeatureFlags(cb: (flags: PostHogDecideResponse['featureFlags']) => void): () => void;
184
184
  onFeatureFlag(key: string, cb: (value: string | boolean) => void): () => void;
185
185
  overrideFeatureFlag(flags: PostHogDecideResponse['featureFlags'] | null): Promise<void>;
186
+ /***
187
+ *** ERROR TRACKING
188
+ ***/
189
+ captureException(error: Error, additionalProperties?: {
190
+ [key: string]: any;
191
+ }): void;
186
192
  }
187
193
  export * from './types';
188
194
  export { LZString };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-js-lite",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "main": "lib/index.cjs.js",
5
5
  "module": "lib/index.esm.js",
6
6
  "types": "lib/index.d.ts",