kappa-core
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -30,3 +30,4 @@ var hypercore = require('hypercore') | ||
for (var key in view.api) { | ||
this.api[name][key] = view.api[key].bind(idx, this) | ||
if (typeof view.api[key] === 'function') this.api[name][key] = view.api[key].bind(idx, this) | ||
else this.api[name][key] = view.api[key] | ||
} | ||
@@ -33,0 +34,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "Stephen Whitmore <sww@eight.net>", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "git://github.com/noffle/kappa-core.git" |
84585
6
82