@homebridge-plugins/homebridge-eufy-security 4.6.0-beta.45 → 4.6.0-beta.46

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/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const LIB_VERSION = "4.6.0-beta.45";
1
+ export const LIB_VERSION = "4.6.0-beta.46";
2
2
  //# sourceMappingURL=version.js.map
@@ -291,7 +291,7 @@ const RecordingsView = {
291
291
  // Sort sessions by newest first, within each session: raw before processed
292
292
  return Object.values(map)
293
293
  .sort((a, b) => (b[0].createdAt || 0) - (a[0].createdAt || 0))
294
- .map(session => session.sort((a) => (a.type === 'raw' ? -1 : 1)));
294
+ .map(session => session.sort((a, b) => (a.type === 'raw' ? 0 : 1) - (b.type === 'raw' ? 0 : 1)));
295
295
  },
296
296
 
297
297
  _confirmDeleteAll(container) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Homebridge Eufy Security",
3
3
  "name": "@homebridge-plugins/homebridge-eufy-security",
4
- "version": "4.6.0-beta.45",
4
+ "version": "4.6.0-beta.46",
5
5
  "description": "Control Eufy Security from homebridge.",
6
6
  "type": "module",
7
7
  "license": "Apache-2.0",