taxtank-core 0.8.5 → 0.8.6

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.
@@ -1261,10 +1261,7 @@
1261
1261
  Collection.prototype.getIds = function () {
1262
1262
  return this.items.map(function (item) { return item['id']; });
1263
1263
  };
1264
- /**
1265
- * @TODO vik rename
1266
- */
1267
- Collection.prototype.getOneBy = function (path, value) {
1264
+ Collection.prototype.findBy = function (path, value) {
1268
1265
  return this.items.find(function (item) { return get__default["default"](item, path) === value; });
1269
1266
  };
1270
1267
  Collection.prototype.getBy = function (path, value) {