@ateam-ai-mobile/plugin-runtime 0.1.22 → 0.1.24

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.d.mts CHANGED
@@ -1278,6 +1278,8 @@ interface AiLiveSnapshot {
1278
1278
  sent: number;
1279
1279
  /** Picture slots that sent nothing (no fresh camera frame, or the connection was busy). */
1280
1280
  skipped: number;
1281
+ /** Pictures looked at on the phone and held back because nothing changed (the motion gate): not sent, not lost. */
1282
+ heldBack?: number;
1281
1283
  lastEpisode: AiLiveEpisode | null;
1282
1284
  lastError: string | null;
1283
1285
  }
package/dist/index.d.ts CHANGED
@@ -1278,6 +1278,8 @@ interface AiLiveSnapshot {
1278
1278
  sent: number;
1279
1279
  /** Picture slots that sent nothing (no fresh camera frame, or the connection was busy). */
1280
1280
  skipped: number;
1281
+ /** Pictures looked at on the phone and held back because nothing changed (the motion gate): not sent, not lost. */
1282
+ heldBack?: number;
1281
1283
  lastEpisode: AiLiveEpisode | null;
1282
1284
  lastError: string | null;
1283
1285
  }
package/dist/index.js CHANGED
@@ -3358,12 +3358,12 @@ var init_bundleManager = __esm({
3358
3358
  evaluate(content, bundleUrl, verifiedHash) {
3359
3359
  assertBundleIntegrity(content, verifiedHash, bundleUrl);
3360
3360
  let cleaned = content.replace(
3361
- /__toESM\(require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
3361
+ /__toESM\((?:__)?require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
3362
3362
  "require($1)"
3363
3363
  );
3364
3364
  cleaned = cleaned.replace(
3365
- /module\.exports\s*=\s*__toCommonJS\((\w+)\)/g,
3366
- "module.exports = $1"
3365
+ /(module\.exports\s*=|return)\s*__toCommonJS\((\w+)\)/g,
3366
+ "$1 $2"
3367
3367
  );
3368
3368
  const mod = { exports: {} };
3369
3369
  try {