observ-varhash
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -19,3 +19,3 @@ var Observ = require('observ') | ||
setNonEnumerable(obs, 'get', get.bind(obs)) | ||
setNonEnumerable(obs, 'put', put.bind(obs, createValue)) | ||
setNonEnumerable(obs, 'put', put.bind(obs, createValue, currentTransaction)) | ||
setNonEnumerable(obs, 'delete', del.bind(obs)) | ||
@@ -62,3 +62,3 @@ | ||
function put (createValue, key, val) { | ||
function put (createValue, currentTransaction, key, val) { | ||
checkKey(key) | ||
@@ -81,3 +81,3 @@ | ||
this._removeListeners[key] = isFn(observ) ? | ||
observ(watch(this, key)) : null | ||
observ(watch(this, key, currentTransaction)) : null | ||
@@ -84,0 +84,0 @@ setNonEnumerable(state, '_diff', diff(key, state[key])) |
{ | ||
"name": "observ-varhash", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "An object with observable key value pairs that can be added and removed", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
6168