@cripty2001/utils 0.0.162 → 0.0.163

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.
@@ -388,6 +388,8 @@ function useAsyncInput(value, setValue, handler) {
388
388
  (0, react_1.useEffect)(() => {
389
389
  if (result === null)
390
390
  return;
391
+ if (result._meta.ts <= meta.ts)
392
+ return;
391
393
  setValue(result);
392
394
  }, [result, setValue]);
393
395
  const returnedSetValue = (0, react_1.useCallback)((updater) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.162",
3
+ "version": "0.0.163",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {