statebus 7.2.4 → 7.2.5

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/extras/tests.js CHANGED
@@ -480,7 +480,7 @@ else
480
480
  ))
481
481
 
482
482
  log('Gonna deep_quals between:',
483
- bus.raw(bus.state).nested,
483
+ bus.cache.nested.val,
484
484
  [ 99, { a: { link: 'a' } } ])
485
485
 
486
486
  assert(bus.deep_equals(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statebus",
3
- "version": "7.2.4",
3
+ "version": "7.2.5",
4
4
  "description": "Synchronize state.",
5
5
  "main": "statebus.js",
6
6
  "scripts": {
package/statebus.js CHANGED
@@ -1541,7 +1541,7 @@
1541
1541
  if (k === symbols.is_proxy)
1542
1542
  return true
1543
1543
  if (k === symbols.raw)
1544
- return o
1544
+ return unescape_bus_to_json(o)
1545
1545
 
1546
1546
  // Compute the new path
1547
1547
  var new_path = path + '[' + JSON.stringify(k) + ']'