@gmod/bbi 7.0.1 → 7.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [7.0.2](https://github.com/GMOD/bbi-js/compare/v7.0.1...v7.0.2) (2025-05-13)
2
+
3
+
4
+
5
+ ## [7.0.2](https://github.com/GMOD/bbi-js/compare/v7.0.1...v7.0.2) (2025-05-13)
6
+
7
+
8
+
1
9
  ## [7.0.1](https://github.com/GMOD/bbi-js/compare/v7.0.0...v7.0.1) (2025-04-30)
2
10
 
3
11
 
package/dist/bigbed.d.ts CHANGED
@@ -9,7 +9,7 @@ interface Index {
9
9
  }
10
10
  export declare function filterUndef<T>(ts: (T | undefined)[]): T[];
11
11
  export declare class BigBed extends BBI {
12
- readIndicesCache: AbortablePromiseCache<RequestOptions, Index[]>;
12
+ readIndicesCache: AbortablePromiseCache<RequestOptions, Index[], string>;
13
13
  readIndices(opts?: RequestOptions): Promise<Index[]>;
14
14
  protected getView(_scale: number, opts?: RequestOptions): Promise<import("./block-view.ts").BlockView>;
15
15
  private _readIndices;
@@ -0,0 +1 @@
1
+ {"type": "commonjs"}
package/esm/bigbed.d.ts CHANGED
@@ -9,7 +9,7 @@ interface Index {
9
9
  }
10
10
  export declare function filterUndef<T>(ts: (T | undefined)[]): T[];
11
11
  export declare class BigBed extends BBI {
12
- readIndicesCache: AbortablePromiseCache<RequestOptions, Index[]>;
12
+ readIndicesCache: AbortablePromiseCache<RequestOptions, Index[], string>;
13
13
  readIndices(opts?: RequestOptions): Promise<Index[]>;
14
14
  protected getView(_scale: number, opts?: RequestOptions): Promise<import("./block-view.ts").BlockView>;
15
15
  private _readIndices;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmod/bbi",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Parser for BigWig/BigBed files",
5
5
  "license": "MIT",
6
6
  "repository": "GMOD/bbi-js",
@@ -35,6 +35,7 @@
35
35
  "prebuild": "npm run clean",
36
36
  "build:esm": "tsc --outDir esm",
37
37
  "build:es5": "tsc --module commonjs --outDir dist",
38
+ "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
38
39
  "build": "npm run build:esm && npm run build:es5",
39
40
  "preversion": "npm run lint && npm test run && npm run build",
40
41
  "version": "standard-changelog && git add CHANGELOG.md",