@heycatch/sdk 0.8.0 → 0.8.2-dev.1657

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
@@ -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
@@ -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' },