@heycatch/sdk 0.8.0-dev.1534 → 0.8.1-dev.1579

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.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, j as TrackOptions } from './shared-BBz7n5xD.cjs';
2
- export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, i as ServerTrackOptions, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-BBz7n5xD.cjs';
1
+ import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, j as TrackOptions } from './shared-C0-GQTbz.cjs';
2
+ export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, i as ServerTrackOptions, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-C0-GQTbz.cjs';
3
3
 
4
4
  /**
5
5
  * Starts capturing after `optOutCapturingByDefault` gated `init()` from
@@ -38,6 +38,10 @@ declare function optOutCapturing(): void;
38
38
  * that describe the beginning (`signup_date`, `initial_plan`) - passing
39
39
  * those as regular properties would reset them on every login.
40
40
  *
41
+ * Signing in as a different user than the one already identified starts
42
+ * a fresh session first, as if `resetIdentity()` had been called - so a
43
+ * missed sign-out never leaves two accounts in one session.
44
+ *
41
45
  * @example
42
46
  * setIdentity(user.id,
43
47
  * { email: user.email, plan: 'pro' },
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, j as TrackOptions } from './shared-BBz7n5xD.js';
2
- export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, i as ServerTrackOptions, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-BBz7n5xD.js';
1
+ import { d as HeyCatchPersonProperties, b as HeyCatchConfig, e as HeyCatchProperties, j as TrackOptions } from './shared-C0-GQTbz.js';
2
+ export { H as HeyCatchBeforeSend, a as HeyCatchCapturedEvent, c as HeyCatchPersistence, f as HeyCatchSanitizeProperties, K as KNOWN_FRAMEWORKS, g as KNOWN_INSTALL_AGENTS, P as PersonPropertyUpdate, S as SDK_VERSION, h as STAGE, i as ServerTrackOptions, T as TRACING_HEADERS, U as UNKNOWN_INSTALL_VALUE } from './shared-C0-GQTbz.js';
3
3
 
4
4
  /**
5
5
  * Starts capturing after `optOutCapturingByDefault` gated `init()` from
@@ -38,6 +38,10 @@ declare function optOutCapturing(): void;
38
38
  * that describe the beginning (`signup_date`, `initial_plan`) - passing
39
39
  * those as regular properties would reset them on every login.
40
40
  *
41
+ * Signing in as a different user than the one already identified starts
42
+ * a fresh session first, as if `resetIdentity()` had been called - so a
43
+ * missed sign-out never leaves two accounts in one session.
44
+ *
41
45
  * @example
42
46
  * setIdentity(user.id,
43
47
  * { email: user.email, plan: 'pro' },