@nanalogue/node 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/index.d.ts +12 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -77,6 +77,12 @@ interface BaseReadOptionsCore {
77
77
  baseQualFilterMod?: number;
78
78
  /** Genomic region for modification filtering. */
79
79
  modRegion?: string;
80
+ /** Maximum number of records to return. Must be > 0 if set. If omitted, returns all records. */
81
+ limit?: number;
82
+ /** Number of records to skip before returning results. Must be >= 0 if set. Defaults to 0. */
83
+ offset?: number;
84
+ /** Seed for deterministic sampling. Required for stable pagination with sampleFraction. */
85
+ sampleSeed?: number;
80
86
  }
81
87
 
82
88
  /**
@@ -201,6 +207,12 @@ interface BaseWindowOptionsCore {
201
207
  baseQualFilterMod?: number;
202
208
  /** Genomic region for modification filtering. */
203
209
  modRegion?: string;
210
+ /** Maximum number of records to return. Must be > 0 if set. If omitted, returns all records. */
211
+ limit?: number;
212
+ /** Number of records to skip before returning results. Must be >= 0 if set. Defaults to 0. */
213
+ offset?: number;
214
+ /** Seed for deterministic sampling. Required for stable pagination with sampleFraction. */
215
+ sampleSeed?: number;
204
216
  }
205
217
 
206
218
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanalogue/node",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Node.js bindings for Nanalogue: single-molecule BAM/Mod-BAM analysis",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -57,11 +57,11 @@
57
57
  },
58
58
  "author": "Sathish Thiyagarajan <mail@unintegrable.com>",
59
59
  "optionalDependencies": {
60
- "@nanalogue/node-darwin-x64": "0.1.2",
61
- "@nanalogue/node-darwin-arm64": "0.1.2",
62
- "@nanalogue/node-linux-x64-gnu": "0.1.2",
63
- "@nanalogue/node-linux-x64-musl": "0.1.2",
64
- "@nanalogue/node-linux-arm64-gnu": "0.1.2",
65
- "@nanalogue/node-linux-arm64-musl": "0.1.2"
60
+ "@nanalogue/node-darwin-x64": "0.1.3",
61
+ "@nanalogue/node-darwin-arm64": "0.1.3",
62
+ "@nanalogue/node-linux-x64-gnu": "0.1.3",
63
+ "@nanalogue/node-linux-x64-musl": "0.1.3",
64
+ "@nanalogue/node-linux-arm64-gnu": "0.1.3",
65
+ "@nanalogue/node-linux-arm64-musl": "0.1.3"
66
66
  }
67
67
  }