@tracelog/lib 2.7.0-rc.95.2 → 2.7.0-rc.95.3

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/README.md CHANGED
@@ -398,9 +398,9 @@ tracelog.mergeGlobalMetadata({
398
398
 
399
399
  ### Validation Rules
400
400
 
401
- - **Allowed Types**: Primitives (string, number, boolean), string arrays, nested objects (1 level deep)
402
- - **NOT Allowed**: Functions, symbols, undefined, deeply nested objects
403
- - **Limits**: Max 100 keys, 64KB serialized size, 500 items per array, 1000 chars per string
401
+ - **Allowed Types**: Primitives (string, number, boolean), string arrays, nested objects (up to 10 levels)
402
+ - **NOT Allowed**: Functions, symbols, undefined, circular references
403
+ - **Limits**: Max 100 keys, 48KB serialized size, 500 items per array, 1000 chars per string
404
404
 
405
405
  **→ [Metadata API Reference](./API_REFERENCE.md#global-metadata)**
406
406
 
@@ -1,5 +1,5 @@
1
1
  const os = 9e5;
2
- const as = 120, ls = 65536, cs = 100, us = 500, ds = 200;
2
+ const as = 120, ls = 49152, cs = 100, us = 500, ds = 200;
3
3
  const hs = 1e3, fs = 500, ms = 1e3;
4
4
  const b = "data-tlog", _t = [
5
5
  "button",
@@ -673,10 +673,10 @@ const tr = () => {
673
673
  error: `${n}: object contains circular references or cannot be serialized.`
674
674
  };
675
675
  }
676
- if (i.length > 65536)
676
+ if (i.length > 49152)
677
677
  return {
678
678
  valid: !1,
679
- error: `${n}: object is too large (max ${65536 / 1024} KB).`
679
+ error: `${n}: object is too large (max ${49152 / 1024} KB).`
680
680
  };
681
681
  if (Object.keys(r).length > 100)
682
682
  return {