@gmod/bed 2.1.0 → 2.1.1

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,9 @@
1
+ ## [2.1.1](https://github.com/GMOD/bed-js/compare/v2.1.0...v2.1.1) (2022-07-24)
2
+
3
+
4
+
5
+ - Make autoSql a public class field
6
+
1
7
  # [2.1.0](https://github.com/GMOD/bed-js/compare/v2.0.8...v2.1.0) (2022-07-24)
2
8
 
3
9
 
package/dist/parser.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { AutoSqlSchema } from './util';
1
2
  export default class BED {
2
- private autoSql;
3
+ autoSql: AutoSqlSchema;
3
4
  private attemptDefaultBed?;
4
5
  constructor(args?: {
5
6
  autoSql?: string;
package/esm/parser.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { AutoSqlSchema } from './util';
1
2
  export default class BED {
2
- private autoSql;
3
+ autoSql: AutoSqlSchema;
3
4
  private attemptDefaultBed?;
4
5
  constructor(args?: {
5
6
  autoSql?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmod/bed",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A BED file format parser with autoSql support",
5
5
  "main": "dist/index.js",
6
6
  "module": "esm/index.js",
package/src/parser.ts CHANGED
@@ -13,7 +13,7 @@ function isBed12Like(fields: string[]) {
13
13
  )
14
14
  }
15
15
  export default class BED {
16
- private autoSql: AutoSqlSchema
16
+ public autoSql: AutoSqlSchema
17
17
 
18
18
  private attemptDefaultBed?: boolean
19
19