@replit/protocol 0.3.62 → 0.3.63

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
@@ -21804,6 +21804,9 @@ export namespace replit {
21804
21804
 
21805
21805
  /** NixModule formatters */
21806
21806
  formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
21807
+
21808
+ /** NixModule displayVersion */
21809
+ displayVersion?: (string|null);
21807
21810
  }
21808
21811
 
21809
21812
  /** Represents a NixModule. */
@@ -21854,6 +21857,9 @@ export namespace replit {
21854
21857
  /** NixModule formatters. */
21855
21858
  public formatters: replit.goval.api.FormatterOption[];
21856
21859
 
21860
+ /** NixModule displayVersion. */
21861
+ public displayVersion: string;
21862
+
21857
21863
  /**
21858
21864
  * Creates a new NixModule instance using the specified properties.
21859
21865
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -55139,6 +55139,7 @@
55139
55139
  * @property {string|null} [resolvedId] NixModule resolvedId
55140
55140
  * @property {string|null} [referencedId] NixModule referencedId
55141
55141
  * @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModule formatters
55142
+ * @property {string|null} [displayVersion] NixModule displayVersion
55142
55143
  */
55143
55144
 
55144
55145
  /**
@@ -55265,6 +55266,14 @@
55265
55266
  */
55266
55267
  NixModule.prototype.formatters = $util.emptyArray;
55267
55268
 
55269
+ /**
55270
+ * NixModule displayVersion.
55271
+ * @member {string} displayVersion
55272
+ * @memberof replit.goval.api.NixModule
55273
+ * @instance
55274
+ */
55275
+ NixModule.prototype.displayVersion = "";
55276
+
55268
55277
  /**
55269
55278
  * Creates a new NixModule instance using the specified properties.
55270
55279
  * @function create
@@ -55321,6 +55330,8 @@
55321
55330
  if (message.formatters != null && message.formatters.length)
55322
55331
  for (var i = 0; i < message.formatters.length; ++i)
55323
55332
  $root.replit.goval.api.FormatterOption.encode(message.formatters[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
55333
+ if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
55334
+ writer.uint32(/* id 14, wireType 2 =*/114).string(message.displayVersion);
55324
55335
  return writer;
55325
55336
  };
55326
55337
 
@@ -55419,6 +55430,10 @@
55419
55430
  message.formatters.push($root.replit.goval.api.FormatterOption.decode(reader, reader.uint32()));
55420
55431
  break;
55421
55432
  }
55433
+ case 14: {
55434
+ message.displayVersion = reader.string();
55435
+ break;
55436
+ }
55422
55437
  default:
55423
55438
  reader.skipType(tag & 7);
55424
55439
  break;
@@ -55527,6 +55542,9 @@
55527
55542
  return "formatters." + error;
55528
55543
  }
55529
55544
  }
55545
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
55546
+ if (!$util.isString(message.displayVersion))
55547
+ return "displayVersion: string expected";
55530
55548
  return null;
55531
55549
  };
55532
55550
 
@@ -55613,6 +55631,8 @@
55613
55631
  message.formatters[i] = $root.replit.goval.api.FormatterOption.fromObject(object.formatters[i]);
55614
55632
  }
55615
55633
  }
55634
+ if (object.displayVersion != null)
55635
+ message.displayVersion = String(object.displayVersion);
55616
55636
  return message;
55617
55637
  };
55618
55638
 
@@ -55645,6 +55665,7 @@
55645
55665
  object.buildType = "";
55646
55666
  object.resolvedId = "";
55647
55667
  object.referencedId = "";
55668
+ object.displayVersion = "";
55648
55669
  }
55649
55670
  if (message.id != null && message.hasOwnProperty("id"))
55650
55671
  object.id = message.id;
@@ -55690,6 +55711,8 @@
55690
55711
  for (var j = 0; j < message.formatters.length; ++j)
55691
55712
  object.formatters[j] = $root.replit.goval.api.FormatterOption.toObject(message.formatters[j], options);
55692
55713
  }
55714
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
55715
+ object.displayVersion = message.displayVersion;
55693
55716
  return object;
55694
55717
  };
55695
55718
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.62",
3
+ "version": "0.3.63",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "author": "eng@replit.com",