@startup-booster/move-mobx
Advanced tools
Comparing version 0.1.29 to 0.1.30
@@ -19,4 +19,8 @@ const { observable } = require('mobx'); | ||
let box = observable({ value: defaultValue }); | ||
const listenCallback = newValue => { | ||
box.value = newValue; | ||
const listenCallback = (newValue, subpath) => { | ||
if (!subpath) { | ||
box.value = newValue; | ||
return; | ||
} | ||
lodashSet(box.value, subpath, newValue); | ||
}; | ||
@@ -23,0 +27,0 @@ connection.listen(path, listenCallback); |
{ | ||
"name": "@startup-booster/move-mobx", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"main": "move-mobx.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@startup-booster/move": "0.1.29" | ||
"@startup-booster/move": "0.1.30" | ||
}, | ||
@@ -9,0 +9,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5148
155
+ Added@startup-booster/move@0.1.30(transitive)
- Removed@startup-booster/move@0.1.29(transitive)
Updated@startup-booster/move@0.1.30