@folklore/socket 0.4.13 → 0.4.14

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.
package/dist/cjs.js CHANGED
@@ -794,6 +794,8 @@ const SocketContainer = function (_ref) {
794
794
  };
795
795
  }, [initialChannels, subscribe, unsubscribe]);
796
796
  React.useEffect(() => {
797
+ finalSocket.init();
798
+
797
799
  if (autoStart) {
798
800
  finalSocket.start();
799
801
  }
package/dist/es.js CHANGED
@@ -761,6 +761,8 @@ const SocketContainer = function (_ref) {
761
761
  };
762
762
  }, [initialChannels, subscribe, unsubscribe]);
763
763
  useEffect(() => {
764
+ finalSocket.init();
765
+
764
766
  if (autoStart) {
765
767
  finalSocket.start();
766
768
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/socket",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Socket utilities",
5
5
  "keywords": [
6
6
  "javascript",
@@ -55,5 +55,5 @@
55
55
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
56
56
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
57
57
  },
58
- "gitHead": "1d7f2e259b004828e208b643fb2d123aad8cc5ec"
58
+ "gitHead": "25ab3521653d3e6704e6e1b1b31c32410c2313cf"
59
59
  }