@mtillmann/chapters 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -190,7 +190,7 @@ var Base = class {
190
190
  duration = 0;
191
191
  isChapterFormat = true;
192
192
  constructor(duration = 3600) {
193
- this.duration = duration;
193
+ this.duration = Float(duration);
194
194
  }
195
195
  static create(input, duration) {
196
196
  return new this(duration).from(input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtillmann/chapters",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "library that manages and converts chapters of multiple formats",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",