Remove prefetch boolean from JS sources - no reason to ever not use i… (#353)

* Remove prefetch boolean from JS sources - no reason to ever not use it

* JS optimization for header fetches on etag invalidation [#90]

* If promises are shared between requests, only the first invalidation makes the header request.
* If promises are not shared, simply delete the key.

* JS 3.0.3 [#90]

* update CHANGELOG
This commit is contained in:
Brandon Liu
2024-02-05 15:57:30 +08:00
committed by GitHub
parent c43e73a813
commit b229c1a8c7
8 changed files with 55 additions and 43 deletions

4
js/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "pmtiles",
"version": "3.0.2",
"version": "3.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "pmtiles",
"version": "3.0.2",
"version": "3.0.3",
"license": "BSD-3-Clause",
"dependencies": {
"@types/leaflet": "^1.9.8",