object-tagger
Advanced tools
@@ -140,3 +140,3 @@ 'use strict'; | ||
isTag: (key, tag) => _isTag(this._tagKeys, this._tagSuffix, key, tag), | ||
getTag: (key, value) => _getTag(this._tagKeys, this._tagSuffix, this._tagMap, key, value) | ||
getTag: (key, value) => _getTag(this._tagKeys, this._tagSuffix, map, key, value) | ||
}; | ||
@@ -143,0 +143,0 @@ callback(taggerTransaction); |
@@ -134,3 +134,3 @@ import { CounterImmutable } from 'resource-counter'; | ||
isTag: (key, tag) => _isTag(this._tagKeys, this._tagSuffix, key, tag), | ||
getTag: (key, value) => _getTag(this._tagKeys, this._tagSuffix, this._tagMap, key, value) | ||
getTag: (key, value) => _getTag(this._tagKeys, this._tagSuffix, map, key, value) | ||
}; | ||
@@ -137,0 +137,0 @@ callback(taggerTransaction); |
// @flow | ||
import type { CounterTransaction } from 'resource-counter'; | ||
import { CounterImmutable } from 'resource-counter'; | ||
@@ -20,3 +22,3 @@ import { Map as MapI } from 'immutable'; | ||
tagSuffix: string, | ||
tagCounter: CounterImmutable, | ||
tagCounter: CounterTransaction, | ||
tagMap: MapI<Taggable, [number, number]>, | ||
@@ -53,3 +55,3 @@ changed: Reference<boolean>, | ||
tagSuffix: string, | ||
tagCounter: CounterImmutable, | ||
tagCounter: CounterTransaction, | ||
tagMap: MapI<Taggable, [number, number]>, | ||
@@ -241,3 +243,3 @@ changed: Reference<boolean>, | ||
this._tagSuffix, | ||
this._tagMap, | ||
map, | ||
key, | ||
@@ -244,0 +246,0 @@ value |
{ | ||
"name": "object-tagger", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Takes a POJO and tags specified keys with unique numbers.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
312981
0.01%8693
0.01%