js: Allow passing credentials option to fetch [#397] (#644)

* js: Allow passing credentials option to fetch [#397]
* fix passing custom headers in case where remote archive is < 16 kB
* clean up `any` usage
This commit is contained in:
Brandon Liu
2026-02-27 11:09:11 -05:00
committed by GitHub
parent 9ff3871133
commit c1014a5cf8
4 changed files with 80 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
import assert from "node:assert";
import { describe, mock, test } from "node:test";
import { describe, test } from "node:test";
import { PMTiles, Protocol } from "../src";
import { mockServer } from "./utils";