loom-browser 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,10 +35,14 @@ export declare function createGenomeSync(config: GenomeConfig & {
35
35
  */
36
36
  export declare function createGenome(config: GenomeConfig): Promise<Genome>;
37
37
  /**
38
- * Pre-built hg38 genome with 2-bit sequence (UCSC API fallback).
38
+ * Pre-built hg38 genome with triple-fallback sequence chain.
39
39
  *
40
40
  * This is the default genome used by HeadlessGenomeBrowser when no genome
41
- * is specified. Matches igv.js's default behavior: 2-bit file as primary
42
- * sequence source, with UCSC REST API as automatic fallback for resilience.
41
+ * is specified. Sequence sources are tried in order:
42
+ * 1. 2-bit from hgdownload.soe.ucsc.edu (most efficient, binary range requests)
43
+ * 2. Indexed FASTA from igv.org (reliable CDN, reachable on restricted networks)
44
+ * 3. UCSC REST API from api.genome.ucsc.edu (last resort)
45
+ *
46
+ * URLs match igv.js genomes3.json configuration for hg38.
43
47
  */
44
48
  export declare const hg38Genome: Genome;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loom-browser",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "main": "dist/loom.esm.js",
5
5
  "module": "dist/loom.esm.js",
6
6
  "types": "dist/types/index.d.ts",