@abdellatifui/react 3.2.159 → 3.2.161

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/nextgen.js +3 -3
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -22912,7 +22912,7 @@ const Jd = an({ name: "", onChange: () => {
22912
22912
  }
22913
22913
  }), [g, n]);
22914
22914
  Y(() => {
22915
- if (b?.updateExternalApi("forceReloadApiMount", T), b?.updateExternalApi("forceReloadApiMountCount", C), b?.updateExternalApi("apiNotificationMountRunning", !1), !P) return;
22915
+ if (!P) return;
22916
22916
  const _ = () => {
22917
22917
  w(!0), window.socketio = P.id, f?.({ socketio: P, props: e, context: b });
22918
22918
  }, M = () => {
@@ -22922,8 +22922,8 @@ const Jd = an({ name: "", onChange: () => {
22922
22922
  P.off("connect", _), P.off("disconnect", M);
22923
22923
  };
22924
22924
  }, []), Y(() => {
22925
- if (!d || !P?.connected) return;
22926
- console.log("Mounting Notification Listener ...");
22925
+ if (b?.updateExternalApi("forceReloadApiMount", T), b?.updateExternalApi("forceReloadApiMountCount", C), b?.updateExternalApi("apiNotificationMountRunning", !1), console.log("1-Mounting Notification Listener ..."), !d || !P?.connected) return;
22926
+ console.log("2-Mounting Notification Listener ...");
22927
22927
  const _ = (v) => {
22928
22928
  if (console.log("API : Coming Notification : ", v), v?._role === "alert") {
22929
22929
  const A = v?.status === 200;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.159",
4
+ "version": "3.2.161",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [