Comparing version
@@ -16,2 +16,3 @@ // @ts-ignore | ||
if (typeof window !== "undefined") { | ||
@@ -26,3 +27,3 @@ currentRoute = window.location.pathname; | ||
return socketId ? socketId : "can't Connect!"; | ||
return isConnectedToSocket ? "Socket Connected!" : "Socket not connected!"; | ||
} | ||
@@ -29,0 +30,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"name": "sockettwo", | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"main": "index.js", | ||
@@ -10,0 +10,0 @@ "scripts": { |
4413
0.75%