playsocketjs 1.0.5 → 1.0.6

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.
@@ -258,7 +258,7 @@ function requireServer () {
258
258
  break;
259
259
 
260
260
  case 'remove-matching':
261
- storage[key] = array.filter(item => !compare(item));
261
+ array = array.filter(item => !compare(item));
262
262
  break;
263
263
 
264
264
  case 'update-matching':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playsocketjs",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "WebSocket wrapper for creating simple multiplayer systems with ease.",
5
5
  "module": "dist/playsocket-client.js",
6
6
  "exports": {
@@ -15,6 +15,7 @@
15
15
  "dist"
16
16
  ],
17
17
  "scripts": {
18
+ "start": "node example/example-server.js",
18
19
  "test": "echo \"Error: no test specified\" && exit 1",
19
20
  "build": "rollup -c rollup.config.mjs"
20
21
  },