@introspection-sdk/introspection-browser 0.20.0 → 0.21.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.
package/src/index.ts DELETED
@@ -1,41 +0,0 @@
1
- /**
2
- * Introspection Browser SDK
3
- *
4
- * Provides an API for tracking events and feedback in the browser.
5
- *
6
- * @example
7
- * ```typescript
8
- * import { IntrospectionClient } from "@introspection-sdk/introspection-browser";
9
- *
10
- * const client = new IntrospectionClient({
11
- * token: "intro_xxx",
12
- * });
13
- *
14
- * // Set identity once
15
- * client.identify("user_123", { email: "user@example.com" });
16
- *
17
- * // Track events
18
- * client.track("Button Clicked", { buttonId: "submit" });
19
- *
20
- * // Track feedback
21
- * client.feedback("thumbs_up", { comments: "Very helpful response" });
22
- * client.feedback("thumbs_down", {
23
- * responseId: "msg_123",
24
- * comments: "Off topic",
25
- * });
26
- * ```
27
- */
28
-
29
- // Client exports
30
- export { IntrospectionClient } from "./client.js";
31
-
32
- // Type exports
33
- export type {
34
- AdvancedOptions,
35
- IntrospectionClientOptions,
36
- FeedbackOptions,
37
- UserTraits,
38
- } from "./types.js";
39
-
40
- // Version
41
- export { VERSION } from "./version.js";
package/src/types.ts DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * Re-export shared types and functions from @introspection-sdk/types
3
- */
4
- export type {
5
- AdvancedOptions,
6
- IntrospectionClientOptions,
7
- FeedbackOptions,
8
- UserTraits,
9
- GenAiContext,
10
- IdentityContext,
11
- } from "@introspection-sdk/types";
12
-
13
- export { generateEventId } from "@introspection-sdk/types";
package/src/version.ts DELETED
@@ -1,2 +0,0 @@
1
- /** Version information for introspection-sdk browser package. */
2
- export const VERSION = "0.1.0";
package/tsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "@repo/typescript-config/react-library.json",
3
- "compilerOptions": {
4
- "outDir": "dist",
5
- "lib": ["ES2022", "DOM", "DOM.Iterable"]
6
- },
7
- "include": ["src"],
8
- "exclude": ["node_modules", "dist"]
9
- }