@logspace/sdk 1.1.4 → 1.1.7
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/logspace.esm.js +48 -4
- package/logspace.esm.js.map +1 -1
- package/logspace.iife.js +1 -1
- package/logspace.iife.js.map +1 -1
- package/logspace.umd.js +1 -1
- package/logspace.umd.js.map +1 -1
- package/package.json +1 -1
- package/sdk/types.d.ts +2 -2
package/package.json
CHANGED
package/sdk/types.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export interface SessionLimits {
|
|
|
146
146
|
*/
|
|
147
147
|
maxLogs?: number;
|
|
148
148
|
/** Maximum session size in bytes before auto-ending
|
|
149
|
-
* @default
|
|
149
|
+
* @default 52428800 (50MB)
|
|
150
150
|
*/
|
|
151
151
|
maxSize?: number;
|
|
152
152
|
/** Maximum session duration in seconds before auto-ending
|
|
@@ -298,7 +298,7 @@ export interface LogSpaceConfig {
|
|
|
298
298
|
*/
|
|
299
299
|
privacy?: PrivacyConfig;
|
|
300
300
|
/** Session limits for protection against memory issues
|
|
301
|
-
* @default { maxLogs: 10000, maxSize:
|
|
301
|
+
* @default { maxLogs: 10000, maxSize: 52428800, maxDuration: 1800, idleTimeout: 120, rateLimit: 100, deduplicate: true }
|
|
302
302
|
*/
|
|
303
303
|
limits?: SessionLimits;
|
|
304
304
|
/** Configure when to auto-end sessions
|