Skip to content

Commit 69a2974

Browse files
committed
Update CHANGELOG
1 parent a0cbbd0 commit 69a2974

File tree

3 files changed

+263
-281
lines changed

3 files changed

+263
-281
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
## Version History
1212

13+
### v5.5.1
14+
15+
- :bug: Fix ESRI Dump Approach config
16+
1317
### v5.5.0
1418

1519
- :rocket: Allow QueryTopFeatures option

lib/geometry.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ export default class Geometry extends EventEmitter {
5151

5252
async fetch(config: EsriDumpConfig) {
5353
try {
54-
if (config.approach === EsriDumpConfigApproach.BBOX || EsriDumpConfigApproach.TOP_FEATURES_BBOX) {
54+
if (
55+
config.approach === EsriDumpConfigApproach.BBOX
56+
|| config.approach === EsriDumpConfigApproach.TOP_FEATURES_BBOX
57+
) {
5558
await this.fetch_bbox(config);
56-
} else if (config.approach === EsriDumpConfigApproach.ITER || EsriDumpConfigApproach.TOP_FEATURES_ITER) {
59+
} else if (config.approach === EsriDumpConfigApproach.ITER
60+
|| config.approach === EsriDumpConfigApproach.TOP_FEATURES_ITER
61+
) {
5762
await this.fetch_iter(config);
5863
} else {
5964
throw new Err(400, null, 'Unknown Approach');

0 commit comments

Comments
 (0)