@symbo.ls/socket 2.10.21 → 2.10.25

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.
File without changes
package/client.js CHANGED
@@ -8,13 +8,14 @@ const ENV = process.env.NODE_ENV
8
8
  const SOCKET_BACKEND_URL = window.location
9
9
  .host.includes('local')
10
10
  ? 'localhost:13335'
11
- : 'socket.symbols.app'
11
+ : 'https://socket.symbols.app'
12
12
 
13
13
  let socket
14
14
  const defautlOpts = {}
15
15
 
16
16
  export const connect = (key, options = {}) => {
17
- const socketUrls = isArray(options.socketUrl) ? options.socketUrl : [options.socketUrl || SOCKET_BACKEND_URL]
17
+ const socketUrls = isArray(options.socketUrl)
18
+ ? options.socketUrl : [options.socketUrl || SOCKET_BACKEND_URL]
18
19
  const primaryUrl = socketUrls[0]
19
20
  const secondaryUrl = socketUrls[1] || 'socket.symbols.app'
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/socket",
3
- "version": "2.10.21",
3
+ "version": "2.10.25",
4
4
  "description": "Connect your app to Symbols editor",
5
5
  "main": "server.js",
6
6
  "author": "symbo.ls",
@@ -29,5 +29,5 @@
29
29
  "standard": {
30
30
  "parser": "babel-eslint"
31
31
  },
32
- "gitHead": "71f0448a08e0a10e6204c6da4d5e4d9f5f95cd91"
32
+ "gitHead": "891c18159d1045914b41f121474c6b707ac9db83"
33
33
  }