@symbo.ls/socket 2.27.18 → 2.28.2
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 +3 -3
- package/package.json +4 -4
package/client.js
CHANGED
|
@@ -20,15 +20,15 @@ const getIsDev = options => {
|
|
|
20
20
|
|
|
21
21
|
const getSocketUrl = (options, isDev) => {
|
|
22
22
|
const SOCKET_BACKEND_URL = isDev
|
|
23
|
-
? 'http://localhost:
|
|
24
|
-
: 'https://
|
|
23
|
+
? 'http://localhost:13335/'
|
|
24
|
+
: 'https://api.symbols.app/'
|
|
25
25
|
|
|
26
26
|
const socketUrls = isArray(options.socketUrl)
|
|
27
27
|
? options.socketUrl
|
|
28
28
|
: [options.socketUrl || SOCKET_BACKEND_URL]
|
|
29
29
|
|
|
30
30
|
const primaryUrl = socketUrls[0]
|
|
31
|
-
const secondaryUrl = socketUrls[1] || '
|
|
31
|
+
const secondaryUrl = socketUrls[1] || 'api.symbols.app'
|
|
32
32
|
|
|
33
33
|
return {
|
|
34
34
|
primaryUrl: primaryUrl || SOCKET_BACKEND_URL,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/socket",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.2",
|
|
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.
|
|
14
|
-
"@symbo.ls/init": "^2.
|
|
13
|
+
"@domql/utils": "^2.28.2",
|
|
14
|
+
"@symbo.ls/init": "^2.28.2",
|
|
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": "3c5e8b68269799a0e2382f9c79c51e41f33863bf"
|
|
22
22
|
}
|