File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @graphmetrics/sketches-js" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " TypeScript implementation of DDSketch, a distributed quantile sketch algorithm " ,
55 "license" : " Apache-2.0" ,
66 "repository" : " https://github.com/GraphMetrics/sketches-js" ,
Original file line number Diff line number Diff line change 55 * Copyright 2021 GraphMetrics for modifications
66 */
77
8- import { DenseStore } from './store' ;
8+ import { Bin , DenseStore } from './store' ;
99import { Mapping , LogarithmicMapping } from './mapping' ;
1010
1111const DEFAULT_RELATIVE_ACCURACY = 0.01 ;
@@ -142,7 +142,7 @@ class BaseDDSketch {
142142 /*
143143 * Return an iterator on the bins
144144 */
145- bins ( ) {
145+ bins ( ) : IterableIterator < Bin > {
146146 return this . store . iterate ( ) ;
147147 }
148148
Original file line number Diff line number Diff line change 55 * Copyright 2021 GraphMetrics for modifications
66 */
77
8- export { Store } from './types' ;
8+ export { Bin , Store } from './types' ;
99export { DenseStore } from './DenseStore' ;
1010export { CollapsingLowestDenseStore } from './CollapsingLowestDenseStore' ;
1111export { CollapsingHighestDenseStore } from './CollapsingHighestDenseStore' ;
You can’t perform that action at this time.
0 commit comments