vivth 1.5.5 → 1.5.6

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
@@ -4722,7 +4722,7 @@ Console.log(
4722
4722
  * @param {string} [options.copyright]
4723
4723
  * @param {string} [options.tableOfContentTitle]
4724
4724
  * @param {number} [options.maxDebounceForGeneratingDocAndExport]
4725
- * - default `10_000`;
4725
+ * - default `1_000`;
4726
4726
  * @param {import('chokidar').ChokidarOptions} [options.chokidarOptions]
4727
4727
  * - ChokidarOptions;
4728
4728
  * @param {import('../typehints/AutoDocASOptions.mjs').AutoDocASOptions} [options.assemblyScriptOptions]
@@ -75,7 +75,7 @@ export class JSautoDOC implements VivthCleanup {
75
75
  * @param {string} [options.copyright]
76
76
  * @param {string} [options.tableOfContentTitle]
77
77
  * @param {number} [options.maxDebounceForGeneratingDocAndExport]
78
- * - default `10_000`;
78
+ * - default `1_000`;
79
79
  * @param {import('chokidar').ChokidarOptions} [options.chokidarOptions]
80
80
  * - ChokidarOptions;
81
81
  * @param {import('../typehints/AutoDocASOptions.mjs').AutoDocASOptions} [options.assemblyScriptOptions]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivth",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "library primitives",
5
5
  "devDependencies": {
6
6
  "@types/bun": "^1.3.3",
@@ -41,7 +41,7 @@ export class Derived extends Signal {
41
41
  *
42
42
  * count.value++;
43
43
  */
44
- constructor(derivedFunction, maxTimelapseBeingDebounced = undefined) {
44
+ constructor(derivedFunction, maxTimelapseBeingDebounced = 2_000) {
45
45
  super(undefined);
46
46
  new Effect(async (options) => {
47
47
  const currentValue = await derivedFunction(
@@ -106,7 +106,7 @@ export class JSautoDOC {
106
106
  * @param {string} [options.copyright]
107
107
  * @param {string} [options.tableOfContentTitle]
108
108
  * @param {number} [options.maxDebounceForGeneratingDocAndExport]
109
- * - default `10_000`;
109
+ * - default `1_000`;
110
110
  * @param {import('chokidar').ChokidarOptions} [options.chokidarOptions]
111
111
  * - ChokidarOptions;
112
112
  * @param {import('../typehints/AutoDocASOptions.mjs').AutoDocASOptions} [options.assemblyScriptOptions]
@@ -148,7 +148,7 @@ export class JSautoDOC {
148
148
  onLastGeneratedCallback = undefined,
149
149
  tableOfContentTitle = 'exported-api-and-type-list',
150
150
  copyright = '',
151
- maxDebounceForGeneratingDocAndExport = 10_000,
151
+ maxDebounceForGeneratingDocAndExport = 1_000,
152
152
  assemblyScriptOptions = undefined,
153
153
  chokidarOptions = undefined,
154
154
  jstsconfigs = undefined,