@replit/protocol 0.3.63 → 0.4.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.
package/main/index.d.ts CHANGED
@@ -29477,7 +29477,8 @@ export namespace replit {
29477
29477
  enum WireFormat {
29478
29478
  PROTOBUF = 0,
29479
29479
  JSON = 1,
29480
- PID2 = 2
29480
+ MUXED = 2,
29481
+ RIVER = 3
29481
29482
  }
29482
29483
 
29483
29484
  /** Properties of a Presenced. */
package/main/index.js CHANGED
@@ -74001,6 +74001,7 @@
74001
74001
  case 0:
74002
74002
  case 1:
74003
74003
  case 2:
74004
+ case 3:
74004
74005
  break;
74005
74006
  }
74006
74007
  if (message.presenced != null && message.hasOwnProperty("presenced")) {
@@ -74130,10 +74131,14 @@
74130
74131
  case 1:
74131
74132
  message.format = 1;
74132
74133
  break;
74133
- case "PID2":
74134
+ case "MUXED":
74134
74135
  case 2:
74135
74136
  message.format = 2;
74136
74137
  break;
74138
+ case "RIVER":
74139
+ case 3:
74140
+ message.format = 3;
74141
+ break;
74137
74142
  }
74138
74143
  if (object.presenced != null) {
74139
74144
  if (typeof object.presenced !== "object")
@@ -74739,13 +74744,15 @@
74739
74744
  * @enum {number}
74740
74745
  * @property {number} PROTOBUF=0 PROTOBUF value
74741
74746
  * @property {number} JSON=1 JSON value
74742
- * @property {number} PID2=2 PID2 value
74747
+ * @property {number} MUXED=2 MUXED value
74748
+ * @property {number} RIVER=3 RIVER value
74743
74749
  */
74744
74750
  ReplToken.WireFormat = (function() {
74745
74751
  var valuesById = {}, values = Object.create(valuesById);
74746
74752
  values[valuesById[0] = "PROTOBUF"] = 0;
74747
74753
  values[valuesById[1] = "JSON"] = 1;
74748
- values[valuesById[2] = "PID2"] = 2;
74754
+ values[valuesById[2] = "MUXED"] = 2;
74755
+ values[valuesById[3] = "RIVER"] = 3;
74749
74756
  return values;
74750
74757
  })();
74751
74758
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.63",
3
+ "version": "0.4.0",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "author": "eng@replit.com",