@symbo.ls/socket 2.27.11 → 2.27.16
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/client.js +2 -3
- package/package.json +4 -4
package/client.js
CHANGED
|
@@ -4,7 +4,6 @@ import * as utils from '@domql/utils'
|
|
|
4
4
|
import io from 'socket.io-client'
|
|
5
5
|
|
|
6
6
|
const { window, isFunction, isArray } = utils.default || utils
|
|
7
|
-
const ENV = process.env.NODE_ENV
|
|
8
7
|
|
|
9
8
|
const defautlOpts = {}
|
|
10
9
|
|
|
@@ -15,7 +14,7 @@ const getIsDev = options => {
|
|
|
15
14
|
return (
|
|
16
15
|
options.development ||
|
|
17
16
|
(window && window.location && window.location.host.includes('local')) ||
|
|
18
|
-
isNotProduction(
|
|
17
|
+
isNotProduction()
|
|
19
18
|
)
|
|
20
19
|
}
|
|
21
20
|
|
|
@@ -76,7 +75,7 @@ export const connect = (key, options = {}) => {
|
|
|
76
75
|
|
|
77
76
|
socket.disconnect()
|
|
78
77
|
|
|
79
|
-
if (utils.isNotProduction(
|
|
78
|
+
if (utils.isNotProduction()) {
|
|
80
79
|
console.log(
|
|
81
80
|
'Could not connect to %c' +
|
|
82
81
|
primaryUrl +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/socket",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.16",
|
|
4
4
|
"description": "Connect your app to Symbols editor",
|
|
5
5
|
"main": "server.js",
|
|
6
6
|
"author": "symbo.ls",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"start": "nodemon server.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@domql/utils": "^2.27.
|
|
14
|
-
"@symbo.ls/init": "^2.27.
|
|
13
|
+
"@domql/utils": "^2.27.16",
|
|
14
|
+
"@symbo.ls/init": "^2.27.16",
|
|
15
15
|
"chalk": "^5.4.1",
|
|
16
16
|
"express": "^4.21.2",
|
|
17
17
|
"http": "^0.0.1-security",
|
|
18
18
|
"socket.io": "^4.8.1",
|
|
19
19
|
"socket.io-client": "^4.8.1"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "aa562640d37f34a66e567c177be8f6ab6b41eccc"
|
|
22
22
|
}
|