goblin-laboratory 4.2.5 → 4.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goblin-laboratory",
3
- "version": "4.2.5",
3
+ "version": "4.2.8",
4
4
  "description": "Laboratory",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -37,10 +37,10 @@
37
37
  "react-redux": "^7.1.0",
38
38
  "react-router": "^5.0.0",
39
39
  "redux-thunk": "^2.3.0",
40
- "traverse": "^0.6.6",
41
40
  "xcraft-core-shredder": "^5.3.0",
42
41
  "xcraft-dev-prettier": "^2.0.0",
43
- "xcraft-dev-rules": "^4.1.0"
42
+ "xcraft-dev-rules": "^4.1.0",
43
+ "xcraft-traverse": "^0.7.0"
44
44
  },
45
45
  "prettier": "xcraft-dev-prettier"
46
46
  }
@@ -163,21 +163,8 @@ Goblin.registerQuest(goblinName, 'create', function* (
163
163
  next.parallel()
164
164
  );
165
165
 
166
- quest.me.initZoom(
167
- {
168
- clientSessionId,
169
- },
170
- next.parallel()
171
- );
172
-
173
- quest.me.initTheme(
174
- {
175
- clientSessionId,
176
- },
177
- next.parallel()
178
- );
179
-
180
- yield next.sync();
166
+ yield quest.me.initZoom({clientSessionId});
167
+ yield quest.me.initTheme({clientSessionId});
181
168
 
182
169
  quest.goblin.defer(
183
170
  quest.sub.local(
@@ -9,7 +9,7 @@ export default (state = initialState, action = {}) => {
9
9
  if (action.type === 'CONNECTION_STATUS') {
10
10
  const horde = action.horde;
11
11
 
12
- ['lag', 'delta', 'overlay', 'message', 'noSocket']
12
+ ['lag', 'delta', 'overlay', 'message', 'noSocket', 'reason']
13
13
  .filter((key) => action[key] !== undefined)
14
14
  .forEach(
15
15
  (key) => (state = state.setIn(['hordes', horde, key], action[key]))
@@ -1,7 +1,7 @@
1
1
  import computeStyleHash from './compute-style-hash.js';
2
2
  import getStyleProps from './get-style-props.js';
3
3
  import {StyleSheet as Aphrodite} from 'aphrodite/no-important';
4
- import traverse from 'traverse';
4
+ import traverse from 'xcraft-traverse';
5
5
  import StylesCache from './styles-cache.js';
6
6
 
7
7
  let stylesCache = new StylesCache();