@replit/protocol 0.4.3 → 0.4.4

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/main/index.d.ts CHANGED
@@ -25424,6 +25424,9 @@ export namespace replit {
25424
25424
 
25425
25425
  /** FormatterOption displayVersion */
25426
25426
  displayVersion?: (string|null);
25427
+
25428
+ /** FormatterOption supportsRangeFormatting */
25429
+ supportsRangeFormatting?: (boolean|null);
25427
25430
  }
25428
25431
 
25429
25432
  /** Represents a FormatterOption. */
@@ -25453,6 +25456,9 @@ export namespace replit {
25453
25456
  /** FormatterOption displayVersion. */
25454
25457
  public displayVersion: string;
25455
25458
 
25459
+ /** FormatterOption supportsRangeFormatting. */
25460
+ public supportsRangeFormatting: boolean;
25461
+
25456
25462
  /**
25457
25463
  * Creates a new FormatterOption instance using the specified properties.
25458
25464
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -64496,6 +64496,7 @@
64496
64496
  * @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] FormatterOption fileTypeAttrs
64497
64497
  * @property {string|null} [moduleId] FormatterOption moduleId
64498
64498
  * @property {string|null} [displayVersion] FormatterOption displayVersion
64499
+ * @property {boolean|null} [supportsRangeFormatting] FormatterOption supportsRangeFormatting
64499
64500
  */
64500
64501
 
64501
64502
  /**
@@ -64560,6 +64561,14 @@
64560
64561
  */
64561
64562
  FormatterOption.prototype.displayVersion = "";
64562
64563
 
64564
+ /**
64565
+ * FormatterOption supportsRangeFormatting.
64566
+ * @member {boolean} supportsRangeFormatting
64567
+ * @memberof replit.goval.api.FormatterOption
64568
+ * @instance
64569
+ */
64570
+ FormatterOption.prototype.supportsRangeFormatting = false;
64571
+
64563
64572
  /**
64564
64573
  * Creates a new FormatterOption instance using the specified properties.
64565
64574
  * @function create
@@ -64596,6 +64605,8 @@
64596
64605
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.moduleId);
64597
64606
  if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
64598
64607
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.displayVersion);
64608
+ if (message.supportsRangeFormatting != null && Object.hasOwnProperty.call(message, "supportsRangeFormatting"))
64609
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.supportsRangeFormatting);
64599
64610
  return writer;
64600
64611
  };
64601
64612
 
@@ -64654,6 +64665,10 @@
64654
64665
  message.displayVersion = reader.string();
64655
64666
  break;
64656
64667
  }
64668
+ case 7: {
64669
+ message.supportsRangeFormatting = reader.bool();
64670
+ break;
64671
+ }
64657
64672
  default:
64658
64673
  reader.skipType(tag & 7);
64659
64674
  break;
@@ -64711,6 +64726,9 @@
64711
64726
  if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
64712
64727
  if (!$util.isString(message.displayVersion))
64713
64728
  return "displayVersion: string expected";
64729
+ if (message.supportsRangeFormatting != null && message.hasOwnProperty("supportsRangeFormatting"))
64730
+ if (typeof message.supportsRangeFormatting !== "boolean")
64731
+ return "supportsRangeFormatting: boolean expected";
64714
64732
  return null;
64715
64733
  };
64716
64734
 
@@ -64744,6 +64762,8 @@
64744
64762
  message.moduleId = String(object.moduleId);
64745
64763
  if (object.displayVersion != null)
64746
64764
  message.displayVersion = String(object.displayVersion);
64765
+ if (object.supportsRangeFormatting != null)
64766
+ message.supportsRangeFormatting = Boolean(object.supportsRangeFormatting);
64747
64767
  return message;
64748
64768
  };
64749
64769
 
@@ -64767,6 +64787,7 @@
64767
64787
  object.fileTypeAttrs = null;
64768
64788
  object.moduleId = "";
64769
64789
  object.displayVersion = "";
64790
+ object.supportsRangeFormatting = false;
64770
64791
  }
64771
64792
  if (message.id != null && message.hasOwnProperty("id"))
64772
64793
  object.id = message.id;
@@ -64780,6 +64801,8 @@
64780
64801
  object.moduleId = message.moduleId;
64781
64802
  if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
64782
64803
  object.displayVersion = message.displayVersion;
64804
+ if (message.supportsRangeFormatting != null && message.hasOwnProperty("supportsRangeFormatting"))
64805
+ object.supportsRangeFormatting = message.supportsRangeFormatting;
64783
64806
  return object;
64784
64807
  };
64785
64808