socket-function 0.148.0 → 0.149.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/caching.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "0.148.0",
3
+ "version": "0.149.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
package/src/caching.ts CHANGED
@@ -304,7 +304,7 @@ export function cacheShallowConfigArgEqual<Fnc extends AnyFunction>(
304
304
  fnc: Fnc,
305
305
  limit = 10
306
306
  ): Fnc & {
307
- clear(...args: Args<Fnc>): void;
307
+ clear(configObj: Args<Fnc>[0]): void;
308
308
  clearAll(): void;
309
309
  } {
310
310
  let cache = cacheArrayEqual((kvpsFlat: unknown[]) => {