@interncom/diplomatic 0.0.17 → 0.0.18

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/dist/index.mjs +0 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -16,17 +16,12 @@ function useClientState(client) {
16
16
  const [state, setState] = useState();
17
17
  useEffect(() => {
18
18
  async function updateState() {
19
- console.log("updating");
20
19
  const state2 = await client.getState();
21
- console.log("updated", state2);
22
20
  setState(state2);
23
- console.log("updated and set state");
24
21
  }
25
- console.log("hooking");
26
22
  client.listener = updateState;
27
23
  updateState();
28
24
  return () => {
29
- console.log("unhooking");
30
25
  client.listener = void 0;
31
26
  };
32
27
  }, [client]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer",
6
6
  "main": "dist/index.mjs",