@camstack/addon-benchmark 1.2.178 → 1.2.180

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.
Files changed (20) hide show
  1. package/dist/{MotionZonesSettings-BGwxh957.mjs → MotionZonesSettings-hGzqI_Au.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-TKcEiLu2.mjs → PrivacyMaskSettings-7tn9ePIF.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-BXNk62DV.mjs → SceneMonitorEditor-DaJLUQfR.mjs} +3 -3
  4. package/dist/_stub.js +11 -11
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-CFx1-7Wq.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-SVZFC5D9.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C_kpF5a6.mjs +26 -0
  7. package/dist/{hostInit-BKmi9JfY.mjs → hostInit-CyOHgGAK.mjs} +3 -3
  8. package/dist/index.js +30 -33
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +30 -33
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/{player-overlays-CNNnb9JH.mjs → player-overlays-BrEd8JYm.mjs} +1 -1
  13. package/dist/remoteEntry.js +1 -1
  14. package/dist/{responsive-CAwAGpeH.mjs → responsive-C0gTVhqm.mjs} +1 -1
  15. package/dist/{scene-monitor-copy-BWCF2XJK.mjs → scene-monitor-copy-C2PCe7Bn.mjs} +1 -1
  16. package/dist/{square-Ct3gTCVW.mjs → square-BWmK4Q2o.mjs} +1 -1
  17. package/dist/{trash-2-Env5PQGM.mjs → trash-2-zpjddJ0m.mjs} +1 -1
  18. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-WPwApfqK.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-2L2UL2HR.mjs} +1 -1
  19. package/package.json +1 -1
  20. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-ddBIdXMH.mjs +0 -26
package/dist/index.mjs CHANGED
@@ -520,7 +520,7 @@ __export(core_exports2, {
520
520
  parse: () => parse,
521
521
  parseAsync: () => parseAsync,
522
522
  prettifyError: () => prettifyError,
523
- process: () => process2,
523
+ process: () => process,
524
524
  regexes: () => regexes_exports,
525
525
  registry: () => registry,
526
526
  safeDecode: () => safeDecode,
@@ -11445,7 +11445,7 @@ function initializeContext(params) {
11445
11445
  external: params?.external ?? void 0
11446
11446
  };
11447
11447
  }
11448
- function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
11448
+ function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
11449
11449
  var _a3;
11450
11450
  const def = schema._zod.def;
11451
11451
  const seen = ctx.seen.get(schema);
@@ -11482,7 +11482,7 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
11482
11482
  if (parent) {
11483
11483
  if (!result.ref)
11484
11484
  result.ref = parent;
11485
- process2(parent, ctx, params);
11485
+ process(parent, ctx, params);
11486
11486
  ctx.seen.get(parent).isParent = true;
11487
11487
  }
11488
11488
  }
@@ -11770,14 +11770,14 @@ function isTransforming(_schema, _ctx) {
11770
11770
  }
11771
11771
  var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
11772
11772
  const ctx = initializeContext({ ...params, processors });
11773
- process2(schema, ctx);
11773
+ process(schema, ctx);
11774
11774
  extractDefs(ctx, schema);
11775
11775
  return finalize(ctx, schema);
11776
11776
  };
11777
11777
  var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
11778
11778
  const { libraryOptions, target } = params ?? {};
11779
11779
  const ctx = initializeContext({ ...libraryOptions ?? {}, target, io, processors });
11780
- process2(schema, ctx);
11780
+ process(schema, ctx);
11781
11781
  extractDefs(ctx, schema);
11782
11782
  return finalize(ctx, schema);
11783
11783
  };
@@ -12023,7 +12023,7 @@ var arrayProcessor = (schema, ctx, _json, params) => {
12023
12023
  if (typeof maximum === "number")
12024
12024
  json2.maxItems = maximum;
12025
12025
  json2.type = "array";
12026
- json2.items = process2(def.element, ctx, {
12026
+ json2.items = process(def.element, ctx, {
12027
12027
  ...params,
12028
12028
  path: [...params.path, "items"]
12029
12029
  });
@@ -12035,7 +12035,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
12035
12035
  json2.properties = {};
12036
12036
  const shape = def.shape;
12037
12037
  for (const key in shape) {
12038
- json2.properties[key] = process2(shape[key], ctx, {
12038
+ json2.properties[key] = process(shape[key], ctx, {
12039
12039
  ...params,
12040
12040
  path: [...params.path, "properties", key]
12041
12041
  });
@@ -12058,7 +12058,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
12058
12058
  if (ctx.io === "output")
12059
12059
  json2.additionalProperties = false;
12060
12060
  } else if (def.catchall) {
12061
- json2.additionalProperties = process2(def.catchall, ctx, {
12061
+ json2.additionalProperties = process(def.catchall, ctx, {
12062
12062
  ...params,
12063
12063
  path: [...params.path, "additionalProperties"]
12064
12064
  });
@@ -12067,7 +12067,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
12067
12067
  var unionProcessor = (schema, ctx, json2, params) => {
12068
12068
  const def = schema._zod.def;
12069
12069
  const isExclusive = def.inclusive === false;
12070
- const options = def.options.map((x, i) => process2(x, ctx, {
12070
+ const options = def.options.map((x, i) => process(x, ctx, {
12071
12071
  ...params,
12072
12072
  path: [...params.path, isExclusive ? "oneOf" : "anyOf", i]
12073
12073
  }));
@@ -12079,11 +12079,11 @@ var unionProcessor = (schema, ctx, json2, params) => {
12079
12079
  };
12080
12080
  var intersectionProcessor = (schema, ctx, json2, params) => {
12081
12081
  const def = schema._zod.def;
12082
- const a = process2(def.left, ctx, {
12082
+ const a = process(def.left, ctx, {
12083
12083
  ...params,
12084
12084
  path: [...params.path, "allOf", 0]
12085
12085
  });
12086
- const b = process2(def.right, ctx, {
12086
+ const b = process(def.right, ctx, {
12087
12087
  ...params,
12088
12088
  path: [...params.path, "allOf", 1]
12089
12089
  });
@@ -12100,11 +12100,11 @@ var tupleProcessor = (schema, ctx, _json, params) => {
12100
12100
  json2.type = "array";
12101
12101
  const prefixPath = ctx.target === "draft-2020-12" ? "prefixItems" : "items";
12102
12102
  const restPath = ctx.target === "draft-2020-12" ? "items" : ctx.target === "openapi-3.0" ? "items" : "additionalItems";
12103
- const prefixItems = def.items.map((x, i) => process2(x, ctx, {
12103
+ const prefixItems = def.items.map((x, i) => process(x, ctx, {
12104
12104
  ...params,
12105
12105
  path: [...params.path, prefixPath, i]
12106
12106
  }));
12107
- const rest = def.rest ? process2(def.rest, ctx, {
12107
+ const rest = def.rest ? process(def.rest, ctx, {
12108
12108
  ...params,
12109
12109
  path: [...params.path, restPath, ...ctx.target === "openapi-3.0" ? [def.items.length] : []]
12110
12110
  }) : null;
@@ -12144,7 +12144,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
12144
12144
  const keyBag = keyType._zod.bag;
12145
12145
  const patterns = keyBag?.patterns;
12146
12146
  if (def.mode === "loose" && patterns && patterns.size > 0) {
12147
- const valueSchema = process2(def.valueType, ctx, {
12147
+ const valueSchema = process(def.valueType, ctx, {
12148
12148
  ...params,
12149
12149
  path: [...params.path, "patternProperties", "*"]
12150
12150
  });
@@ -12154,12 +12154,12 @@ var recordProcessor = (schema, ctx, _json, params) => {
12154
12154
  }
12155
12155
  } else {
12156
12156
  if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") {
12157
- json2.propertyNames = process2(def.keyType, ctx, {
12157
+ json2.propertyNames = process(def.keyType, ctx, {
12158
12158
  ...params,
12159
12159
  path: [...params.path, "propertyNames"]
12160
12160
  });
12161
12161
  }
12162
- json2.additionalProperties = process2(def.valueType, ctx, {
12162
+ json2.additionalProperties = process(def.valueType, ctx, {
12163
12163
  ...params,
12164
12164
  path: [...params.path, "additionalProperties"]
12165
12165
  });
@@ -12174,7 +12174,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
12174
12174
  };
12175
12175
  var nullableProcessor = (schema, ctx, json2, params) => {
12176
12176
  const def = schema._zod.def;
12177
- const inner = process2(def.innerType, ctx, params);
12177
+ const inner = process(def.innerType, ctx, params);
12178
12178
  const seen = ctx.seen.get(schema);
12179
12179
  if (ctx.target === "openapi-3.0") {
12180
12180
  seen.ref = def.innerType;
@@ -12185,20 +12185,20 @@ var nullableProcessor = (schema, ctx, json2, params) => {
12185
12185
  };
12186
12186
  var nonoptionalProcessor = (schema, ctx, _json, params) => {
12187
12187
  const def = schema._zod.def;
12188
- process2(def.innerType, ctx, params);
12188
+ process(def.innerType, ctx, params);
12189
12189
  const seen = ctx.seen.get(schema);
12190
12190
  seen.ref = def.innerType;
12191
12191
  };
12192
12192
  var defaultProcessor = (schema, ctx, json2, params) => {
12193
12193
  const def = schema._zod.def;
12194
- process2(def.innerType, ctx, params);
12194
+ process(def.innerType, ctx, params);
12195
12195
  const seen = ctx.seen.get(schema);
12196
12196
  seen.ref = def.innerType;
12197
12197
  json2.default = JSON.parse(JSON.stringify(def.defaultValue));
12198
12198
  };
12199
12199
  var prefaultProcessor = (schema, ctx, json2, params) => {
12200
12200
  const def = schema._zod.def;
12201
- process2(def.innerType, ctx, params);
12201
+ process(def.innerType, ctx, params);
12202
12202
  const seen = ctx.seen.get(schema);
12203
12203
  seen.ref = def.innerType;
12204
12204
  if (ctx.io === "input")
@@ -12206,7 +12206,7 @@ var prefaultProcessor = (schema, ctx, json2, params) => {
12206
12206
  };
12207
12207
  var catchProcessor = (schema, ctx, json2, params) => {
12208
12208
  const def = schema._zod.def;
12209
- process2(def.innerType, ctx, params);
12209
+ process(def.innerType, ctx, params);
12210
12210
  const seen = ctx.seen.get(schema);
12211
12211
  seen.ref = def.innerType;
12212
12212
  let catchValue;
@@ -12221,32 +12221,32 @@ var pipeProcessor = (schema, ctx, _json, params) => {
12221
12221
  const def = schema._zod.def;
12222
12222
  const inIsTransform = def.in._zod.traits.has("$ZodTransform");
12223
12223
  const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
12224
- process2(innerType, ctx, params);
12224
+ process(innerType, ctx, params);
12225
12225
  const seen = ctx.seen.get(schema);
12226
12226
  seen.ref = innerType;
12227
12227
  };
12228
12228
  var readonlyProcessor = (schema, ctx, json2, params) => {
12229
12229
  const def = schema._zod.def;
12230
- process2(def.innerType, ctx, params);
12230
+ process(def.innerType, ctx, params);
12231
12231
  const seen = ctx.seen.get(schema);
12232
12232
  seen.ref = def.innerType;
12233
12233
  json2.readOnly = true;
12234
12234
  };
12235
12235
  var promiseProcessor = (schema, ctx, _json, params) => {
12236
12236
  const def = schema._zod.def;
12237
- process2(def.innerType, ctx, params);
12237
+ process(def.innerType, ctx, params);
12238
12238
  const seen = ctx.seen.get(schema);
12239
12239
  seen.ref = def.innerType;
12240
12240
  };
12241
12241
  var optionalProcessor = (schema, ctx, _json, params) => {
12242
12242
  const def = schema._zod.def;
12243
- process2(def.innerType, ctx, params);
12243
+ process(def.innerType, ctx, params);
12244
12244
  const seen = ctx.seen.get(schema);
12245
12245
  seen.ref = def.innerType;
12246
12246
  };
12247
12247
  var lazyProcessor = (schema, ctx, _json, params) => {
12248
12248
  const innerType = schema._zod.innerType;
12249
- process2(innerType, ctx, params);
12249
+ process(innerType, ctx, params);
12250
12250
  const seen = ctx.seen.get(schema);
12251
12251
  seen.ref = innerType;
12252
12252
  };
@@ -12298,7 +12298,7 @@ function toJSONSchema(input, params) {
12298
12298
  const defs = {};
12299
12299
  for (const entry2 of registry2._idmap.entries()) {
12300
12300
  const [_, schema] = entry2;
12301
- process2(schema, ctx2);
12301
+ process(schema, ctx2);
12302
12302
  }
12303
12303
  const schemas = {};
12304
12304
  const external = {
@@ -12321,7 +12321,7 @@ function toJSONSchema(input, params) {
12321
12321
  return { schemas };
12322
12322
  }
12323
12323
  const ctx = initializeContext({ ...params, processors: allProcessors });
12324
- process2(input, ctx);
12324
+ process(input, ctx);
12325
12325
  extractDefs(ctx, input);
12326
12326
  return finalize(ctx, input);
12327
12327
  }
@@ -12379,7 +12379,7 @@ var JSONSchemaGenerator = class {
12379
12379
  * This must be called before emit().
12380
12380
  */
12381
12381
  process(schema, _params = { path: [], schemaPath: [] }) {
12382
- return process2(schema, this.ctx, _params);
12382
+ return process(schema, this.ctx, _params);
12383
12383
  }
12384
12384
  /**
12385
12385
  * Emit the final JSON Schema after processing.
@@ -15966,10 +15966,7 @@ function readCameraSessionSettings(raw) {
15966
15966
  var KEY_BENCHMARK_HISTORY = "benchmarkHistory";
15967
15967
  var MAX_HISTORY_ENTRIES = 100;
15968
15968
  var EMPTY_HISTORY_JSON = "[]";
15969
- var BENCH_RUN_TIMEOUT_MS = Math.min(
15970
- 55e3,
15971
- Math.max(1e4, Number(process.env["CAMSTACK_BENCH_RUN_TIMEOUT_MS"]) || 55e3)
15972
- );
15969
+ var BENCH_RUN_TIMEOUT_MS = 55e3;
15973
15970
  var REPLAY_RECORDING_PROFILE = "high";
15974
15971
  var REPLAY_BIRTHS_LIMIT = 1e3;
15975
15972
  var REPLAY_DECODE_TIMEOUT_FLOOR_MS = 15e3;