@heycatch/sdk 0.8.0-dev.1460 → 0.8.0-dev.1534
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/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/react-native.cjs +1 -1
- package/dist/react-native.d.cts +2 -2
- package/dist/react-native.d.ts +2 -2
- package/dist/react-native.js +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +2 -2
- package/dist/{shared-BFhHwsG8.d.cts → shared-BBz7n5xD.d.cts} +12 -1
- package/dist/{shared-BFhHwsG8.d.ts → shared-BBz7n5xD.d.ts} +12 -1
- package/package.json +1 -1
|
@@ -113,6 +113,17 @@ interface ServerTrackOptions extends TrackOptions {
|
|
|
113
113
|
*/
|
|
114
114
|
declare const STAGE: "dev" | "prod";
|
|
115
115
|
declare const SDK_VERSION: string;
|
|
116
|
+
/**
|
|
117
|
+
* The request headers HeyCatch sets on your app's own backend calls to link
|
|
118
|
+
* server events to the browser session. A backend on another origin listed
|
|
119
|
+
* in `tracingHosts` must allow all three in its CORS preflight's
|
|
120
|
+
* `Access-Control-Allow-Headers`, on top of what it already allows:
|
|
121
|
+
*
|
|
122
|
+
* ```ts
|
|
123
|
+
* cors({ allowedHeaders: ['Content-Type', 'Authorization', ...TRACING_HEADERS] })
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
declare const TRACING_HEADERS: readonly ["X-HeyCatch-Session-Id", "X-HeyCatch-Window-Id", "X-HeyCatch-Distinct-Id"];
|
|
116
127
|
/** Stamped when the installer could not determine a value. */
|
|
117
128
|
declare const UNKNOWN_INSTALL_VALUE: "unknown";
|
|
118
129
|
/**
|
|
@@ -265,4 +276,4 @@ interface HeyCatchConfig {
|
|
|
265
276
|
flushIntervalMs?: number;
|
|
266
277
|
}
|
|
267
278
|
|
|
268
|
-
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S,
|
|
279
|
+
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S, TRACING_HEADERS as T, UNKNOWN_INSTALL_VALUE as U, type HeyCatchCapturedEvent as a, type HeyCatchConfig as b, type HeyCatchPersistence as c, type HeyCatchPersonProperties as d, type HeyCatchProperties as e, type HeyCatchSanitizeProperties as f, KNOWN_INSTALL_AGENTS as g, STAGE as h, type ServerTrackOptions as i, type TrackOptions as j };
|
|
@@ -113,6 +113,17 @@ interface ServerTrackOptions extends TrackOptions {
|
|
|
113
113
|
*/
|
|
114
114
|
declare const STAGE: "dev" | "prod";
|
|
115
115
|
declare const SDK_VERSION: string;
|
|
116
|
+
/**
|
|
117
|
+
* The request headers HeyCatch sets on your app's own backend calls to link
|
|
118
|
+
* server events to the browser session. A backend on another origin listed
|
|
119
|
+
* in `tracingHosts` must allow all three in its CORS preflight's
|
|
120
|
+
* `Access-Control-Allow-Headers`, on top of what it already allows:
|
|
121
|
+
*
|
|
122
|
+
* ```ts
|
|
123
|
+
* cors({ allowedHeaders: ['Content-Type', 'Authorization', ...TRACING_HEADERS] })
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
declare const TRACING_HEADERS: readonly ["X-HeyCatch-Session-Id", "X-HeyCatch-Window-Id", "X-HeyCatch-Distinct-Id"];
|
|
116
127
|
/** Stamped when the installer could not determine a value. */
|
|
117
128
|
declare const UNKNOWN_INSTALL_VALUE: "unknown";
|
|
118
129
|
/**
|
|
@@ -265,4 +276,4 @@ interface HeyCatchConfig {
|
|
|
265
276
|
flushIntervalMs?: number;
|
|
266
277
|
}
|
|
267
278
|
|
|
268
|
-
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S,
|
|
279
|
+
export { type HeyCatchBeforeSend as H, KNOWN_FRAMEWORKS as K, type PersonPropertyUpdate as P, SDK_VERSION as S, TRACING_HEADERS as T, UNKNOWN_INSTALL_VALUE as U, type HeyCatchCapturedEvent as a, type HeyCatchConfig as b, type HeyCatchPersistence as c, type HeyCatchPersonProperties as d, type HeyCatchProperties as e, type HeyCatchSanitizeProperties as f, KNOWN_INSTALL_AGENTS as g, STAGE as h, type ServerTrackOptions as i, type TrackOptions as j };
|