feedly-widget 0.1.6 → 0.1.7

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.
@@ -0,0 +1,11 @@
1
+ import type { SupabaseClient } from '@supabase/supabase-js';
2
+ export declare const WIDGET_VERSION: string;
3
+ type Severity = 'info' | 'warn' | 'error';
4
+ export declare function initTelemetry(supabase: SupabaseClient, projectId: string): void;
5
+ export declare function track(type: string, opts?: {
6
+ severity?: Severity;
7
+ message?: string;
8
+ context?: Record<string, unknown>;
9
+ }): void;
10
+ export declare function trackError(type: string, err: unknown, context?: Record<string, unknown>): void;
11
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feedly-widget",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Visual feedback annotation widget. Drop into any web app and let testers annotate live.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",