o11y 238.9.0 → 238.13.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.
@@ -539,9 +539,9 @@ class LogValidator {
539
539
  if (fieldDataValue.length > maxItemCountAppLimit) {
540
540
  errorCode = 7;
541
541
  }
542
- for (const arrayKey in fieldDataValue) {
543
- this.matchFieldTypes(errorInfos, [...fieldNames, arrayKey], fieldDataValue[arrayKey], protobufType, descriptor, schemaId, key);
544
- }
542
+ fieldDataValue.forEach((value, index) => {
543
+ this.matchFieldTypes(errorInfos, [...fieldNames, index.toString()], value, protobufType, descriptor, schemaId, key);
544
+ });
545
545
  }
546
546
  else {
547
547
  errorCode = 1;
@@ -1617,7 +1617,7 @@ class Index {
1617
1617
  return this._nextgen;
1618
1618
  }
1619
1619
  registerInstrumentedApp(name, options) {
1620
- if (options && options.isProduction) {
1620
+ if (!options || options.isProduction !== false) {
1621
1621
  utility.markProduction();
1622
1622
  }
1623
1623
  const retVal = this._lazyNextGen.registerApp(name, options);