@tanstack/solid-pacer 0.18.3 → 0.18.4

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.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { DebouncerOptions, DebouncerState } from "@tanstack/pacer/debouncer";
4
4
 
5
5
  //#region src/debouncer/createDebouncedSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a debounced state value, combining Solid's createSignal with debouncing functionality.
9
8
  * This hook provides both the current debounced value and methods to update it.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { DebouncerOptions, DebouncerState } from "@tanstack/pacer/debouncer";
4
4
 
5
5
  //#region src/debouncer/createDebouncedSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a debounced state value, combining Solid's createSignal with debouncing functionality.
9
8
  * This hook provides both the current debounced value and methods to update it.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { DebouncerOptions, DebouncerState } from "@tanstack/pacer/debouncer";
4
4
 
5
5
  //#region src/debouncer/createDebouncedValue.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a debounced value that updates only after a specified delay.
9
8
  * Unlike createDebouncedSignal, this hook automatically tracks changes to the input value
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { DebouncerOptions, DebouncerState } from "@tanstack/pacer/debouncer";
4
4
 
5
5
  //#region src/debouncer/createDebouncedValue.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a debounced value that updates only after a specified delay.
9
8
  * Unlike createDebouncedSignal, this hook automatically tracks changes to the input value
@@ -2,7 +2,6 @@ import { SolidQueuer } from "./createQueuer.cjs";
2
2
  import { QueuerOptions, QueuerState } from "@tanstack/pacer/queuer";
3
3
 
4
4
  //#region src/queuer/createQueuedSignal.d.ts
5
-
6
5
  /**
7
6
  * A Solid primitive that creates a queuer with managed state, combining Solid's signals with queuing functionality.
8
7
  * This primitive provides both the current queue state and queue control methods.
@@ -2,7 +2,6 @@ import { SolidQueuer } from "./createQueuer.js";
2
2
  import { QueuerOptions, QueuerState } from "@tanstack/pacer/queuer";
3
3
 
4
4
  //#region src/queuer/createQueuedSignal.d.ts
5
-
6
5
  /**
7
6
  * A Solid primitive that creates a queuer with managed state, combining Solid's signals with queuing functionality.
8
7
  * This primitive provides both the current queue state and queue control methods.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { RateLimiterOptions, RateLimiterState } from "@tanstack/pacer/rate-limiter";
4
4
 
5
5
  //#region src/rate-limiter/createRateLimitedSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a rate-limited state value that enforces a hard limit on state updates within a time window.
9
8
  * This hook combines Solid's createSignal with rate limiting functionality to provide controlled state updates.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { RateLimiterOptions, RateLimiterState } from "@tanstack/pacer/rate-limiter";
4
4
 
5
5
  //#region src/rate-limiter/createRateLimitedSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a rate-limited state value that enforces a hard limit on state updates within a time window.
9
8
  * This hook combines Solid's createSignal with rate limiting functionality to provide controlled state updates.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { RateLimiterOptions, RateLimiterState } from "@tanstack/pacer/rate-limiter";
4
4
 
5
5
  //#region src/rate-limiter/createRateLimitedValue.d.ts
6
-
7
6
  /**
8
7
  * A high-level Solid hook that creates a rate-limited version of a value that updates at most a certain number of times within a time window.
9
8
  * This hook uses Solid's createSignal internally to manage the rate-limited state.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { RateLimiterOptions, RateLimiterState } from "@tanstack/pacer/rate-limiter";
4
4
 
5
5
  //#region src/rate-limiter/createRateLimitedValue.d.ts
6
-
7
6
  /**
8
7
  * A high-level Solid hook that creates a rate-limited version of a value that updates at most a certain number of times within a time window.
9
8
  * This hook uses Solid's createSignal internally to manage the rate-limited state.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { ThrottlerOptions, ThrottlerState } from "@tanstack/pacer/throttler";
4
4
 
5
5
  //#region src/throttler/createThrottledSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a throttled state value that updates at most once within a specified time window.
9
8
  * This hook combines Solid's createSignal with throttling functionality to provide controlled state updates.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { ThrottlerOptions, ThrottlerState } from "@tanstack/pacer/throttler";
4
4
 
5
5
  //#region src/throttler/createThrottledSignal.d.ts
6
-
7
6
  /**
8
7
  * A Solid hook that creates a throttled state value that updates at most once within a specified time window.
9
8
  * This hook combines Solid's createSignal with throttling functionality to provide controlled state updates.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { ThrottlerOptions, ThrottlerState } from "@tanstack/pacer/throttler";
4
4
 
5
5
  //#region src/throttler/createThrottledValue.d.ts
6
-
7
6
  /**
8
7
  * A high-level Solid hook that creates a throttled version of a value that updates at most once within a specified time window.
9
8
  * This hook uses Solid's createSignal internally to manage the throttled state.
@@ -3,7 +3,6 @@ import { Accessor, Setter } from "solid-js";
3
3
  import { ThrottlerOptions, ThrottlerState } from "@tanstack/pacer/throttler";
4
4
 
5
5
  //#region src/throttler/createThrottledValue.d.ts
6
-
7
6
  /**
8
7
  * A high-level Solid hook that creates a throttled version of a value that updates at most once within a specified time window.
9
8
  * This hook uses Solid's createSignal internally to manage the throttled state.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-pacer",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Utilities for debouncing and throttling functions in Solid.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -95,10 +95,10 @@
95
95
  ],
96
96
  "dependencies": {
97
97
  "@tanstack/solid-store": "^0.8.0",
98
- "@tanstack/pacer": "0.17.3"
98
+ "@tanstack/pacer": "0.18.0"
99
99
  },
100
100
  "devDependencies": {
101
- "solid-js": "^1.9.10",
101
+ "solid-js": "^1.9.11",
102
102
  "vite-plugin-solid": "^2.11.10"
103
103
  },
104
104
  "peerDependencies": {