@editframe/elements 0.6.0-beta.1 → 0.6.0-beta.11

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.
@@ -152,7 +152,7 @@ class MP4File extends MP4Box__namespace.ISOFile {
152
152
  complete: trackInfoForFrag.complete,
153
153
  cts: startSample.cts,
154
154
  dts: startSample.dts,
155
- duration: endSample.dts - startSample.dts + endSample.duration
155
+ duration: endSample.cts - startSample.cts + endSample.duration
156
156
  };
157
157
  trackInfoForFrag.index += 1;
158
158
  fragTrak.segmentStream = null;
@@ -133,7 +133,7 @@ class MP4File extends MP4Box.ISOFile {
133
133
  complete: trackInfoForFrag.complete,
134
134
  cts: startSample.cts,
135
135
  dts: startSample.dts,
136
- duration: endSample.dts - startSample.dts + endSample.duration
136
+ duration: endSample.cts - startSample.cts + endSample.duration
137
137
  };
138
138
  trackInfoForFrag.index += 1;
139
139
  fragTrak.segmentStream = null;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@editframe/elements",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0-beta.11",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./dist/packages/elements/src/index.mjs",
7
+ "import": "./dist/packages/elements/src/index.js",
8
8
  "require": "./dist/packages/elements/src/index.cjs"
9
9
  },
10
10
  "./styles.css": "./dist/style.css"
@@ -19,7 +19,7 @@
19
19
  "author": "",
20
20
  "license": "UNLICENSED",
21
21
  "dependencies": {
22
- "@editframe/assets": "0.6.0-beta.1",
22
+ "@editframe/assets": "0.6.0-beta.11",
23
23
  "@lit/context": "^1.1.1",
24
24
  "@lit/task": "^1.0.0",
25
25
  "d3": "^7.9.0",
@@ -35,4 +35,4 @@
35
35
  "vite-plugin-dts": "^3.9.1",
36
36
  "vite-tsconfig-paths": "^4.3.2"
37
37
  }
38
- }
38
+ }