@salina-app/media-editor 0.1.52 → 0.1.53

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/dist/index.js CHANGED
@@ -1605,10 +1605,11 @@ function vZ(t) {
1605
1605
  const Bv = zs()((t) => ({
1606
1606
  trimmedClips: [],
1607
1607
  setTrimmedClips: (e) => t(() => {
1608
- const r = ((i) => i.map((a) => ({
1608
+ const r = ((i) => i.map((a, l) => ({
1609
1609
  ...a,
1610
1610
  timestamp_one: l3(a.timestamp_one),
1611
- timestamp_two: l3(a.timestamp_two)
1611
+ timestamp_two: l3(a.timestamp_two),
1612
+ index: l
1612
1613
  })))(e);
1613
1614
  return {
1614
1615
  trimmedClips: vZ(r)
@@ -34,6 +34,7 @@ export type ITrimmed = {
34
34
  segment: string;
35
35
  end_timestamp_drag?: any;
36
36
  data_status?: string;
37
+ index: number;
37
38
  };
38
39
  export type ITrimmedResponse = IResponse & {
39
40
  data: ITrimmed[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salina-app/media-editor",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/main.d.ts",