@cripty2001/utils 0.0.80 → 0.0.81

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.
@@ -106,17 +106,17 @@ function useSynced(def, value, setValue) {
106
106
  throw new Error('Either value and setValue must be provided, or both must be undefined');
107
107
  if (value !== undefined && setValue !== undefined) {
108
108
  (0, react_1.useEffect)(() => {
109
- console.log('syncing value downstream', value, '->', v);
109
+ // console.log('syncing value downstream', value, '->', v);
110
110
  if ((0, lodash_1.isEqual)(v, value))
111
111
  return;
112
- console.log("SYNCED");
112
+ // console.log("SYNCED")
113
113
  setV(value);
114
114
  }, [value, v, setV]);
115
115
  (0, react_1.useEffect)(() => {
116
- console.log('syncing value upstream', v, '->', value);
116
+ // console.log('syncing value upstream', v, '->', value);
117
117
  if ((0, lodash_1.isEqual)(v, value))
118
118
  return;
119
- console.log("SYNCED");
119
+ // console.log("SYNCED");
120
120
  setValue(v);
121
121
  }, [v, value, setValue]);
122
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
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": {