teamplay 0.1.14 → 0.1.15

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/connect/index.js +2 -5
  2. package/package.json +8 -8
package/connect/index.js CHANGED
@@ -2,11 +2,8 @@ import Socket from '@teamplay/channel'
2
2
  import Connection from './sharedbConnection.cjs'
3
3
  import { connection, setConnection } from '../orm/connection.js'
4
4
 
5
- export default function connect ({
6
- baseUrl,
7
- ...options
8
- } = {}) {
5
+ export default function connect (options) {
9
6
  if (connection) return
10
- const socket = new Socket({ baseUrl, ...options })
7
+ const socket = new Socket(options)
11
8
  setConnection(new Connection(socket))
12
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamplay",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Full-stack signals ORM with multiplayer",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@nx-js/observer-util": "^4.1.3",
26
- "@teamplay/backend": "^0.1.14",
27
- "@teamplay/cache": "^0.1.14",
28
- "@teamplay/channel": "^0.1.14",
29
- "@teamplay/debug": "^0.1.14",
30
- "@teamplay/schema": "^0.1.14",
31
- "@teamplay/utils": "^0.1.14",
26
+ "@teamplay/backend": "^0.1.15",
27
+ "@teamplay/cache": "^0.1.15",
28
+ "@teamplay/channel": "^0.1.15",
29
+ "@teamplay/debug": "^0.1.15",
30
+ "@teamplay/schema": "^0.1.15",
31
+ "@teamplay/utils": "^0.1.15",
32
32
  "diff-match-patch": "^1.0.5",
33
33
  "events": "^3.3.0",
34
34
  "json0-ot-diff": "^1.1.2",
@@ -63,5 +63,5 @@
63
63
  ]
64
64
  },
65
65
  "license": "MIT",
66
- "gitHead": "edc77f39753ed2532266bbfea646cb3cb7ca6786"
66
+ "gitHead": "fc145854b61d07a913f27db2b604e4a2bf855fa0"
67
67
  }