posthog-node 4.0.0-beta.3 → 4.0.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/CHANGELOG.md +25 -0
- package/lib/index.cjs.js +6 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +5 -0
- package/lib/index.esm.js +6 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/posthog-core/src/index.d.ts +1 -0
- package/lib/posthog-core/src/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -8,6 +8,10 @@ export declare type PostHogCoreOptions = {
|
|
|
8
8
|
flushInterval?: number;
|
|
9
9
|
/** The maximum number of queued messages to be flushed as part of a single batch (must be higher than `flushAt`) */
|
|
10
10
|
maxBatchSize?: number;
|
|
11
|
+
/** The maximum number of cached messages either in memory or on the local storage.
|
|
12
|
+
* Defaults to 1000, (must be higher than `flushAt`)
|
|
13
|
+
*/
|
|
14
|
+
maxQueueSize?: number;
|
|
11
15
|
/** If set to true the SDK is essentially disabled (useful for local environments where you don't want to track anything) */
|
|
12
16
|
disabled?: boolean;
|
|
13
17
|
/** If set to false the SDK will not track until the `optIn` function is called. */
|