@medipha/feed 0.2.8 → 0.3.0

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Re-encodes a video to H.264/AAC mp4 in the browser so phones can play it.
3
+ * Falls back to the original file when the browser cannot encode it.
4
+ */
5
+ export declare function toH264Mp4(file: File, onProgress?: (ratio: number) => void): Promise<File>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipha/feed",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "Embeddable Medic-ERP newsfeed module for React applications.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -38,6 +38,7 @@
38
38
  "@ant-design/icons": "^6.3.4",
39
39
  "apexcharts": "^7.8.0",
40
40
  "emoji-picker-react": "^5.0.0",
41
+ "mediabunny": "^1.65.0",
41
42
  "react-apexcharts": "^2.1.1",
42
43
  "socket.io-client": "^4.8.4"
43
44
  },