@replit/protocol 0.3.35 → 0.3.37

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
@@ -1268,7 +1268,7 @@ export namespace replit {
1268
1268
  ack?: (string|null);
1269
1269
 
1270
1270
  /** RiverMessage payload */
1271
- payload?: (Uint8Array|null);
1271
+ payload?: (google.protobuf.Value|google.protobuf.IValue|null);
1272
1272
  }
1273
1273
 
1274
1274
  /** Represents a RiverMessage. */
@@ -1284,7 +1284,7 @@ export namespace replit {
1284
1284
  public id: string;
1285
1285
 
1286
1286
  /** RiverMessage replyTo. */
1287
- public replyTo: string;
1287
+ public replyTo?: (string|null);
1288
1288
 
1289
1289
  /** RiverMessage from. */
1290
1290
  public from: string;
@@ -1299,10 +1299,16 @@ export namespace replit {
1299
1299
  public procedureName: string;
1300
1300
 
1301
1301
  /** RiverMessage ack. */
1302
- public ack: string;
1302
+ public ack?: (string|null);
1303
1303
 
1304
1304
  /** RiverMessage payload. */
1305
- public payload: Uint8Array;
1305
+ public payload?: (google.protobuf.Value|null);
1306
+
1307
+ /** RiverMessage _replyTo. */
1308
+ public _replyTo?: "replyTo";
1309
+
1310
+ /** RiverMessage _ack. */
1311
+ public _ack?: "ack";
1306
1312
 
1307
1313
  /**
1308
1314
  * Creates a new RiverMessage instance using the specified properties.
@@ -10363,8 +10369,14 @@ export namespace replit {
10363
10369
  /** PortOpen cmdline */
10364
10370
  cmdline?: (string[]|null);
10365
10371
 
10372
+ /** PortOpen cgroup */
10373
+ cgroup?: (string|null);
10374
+
10366
10375
  /** PortOpen pid */
10367
10376
  pid?: (number|null);
10377
+
10378
+ /** PortOpen pidChain */
10379
+ pidChain?: (number[]|null);
10368
10380
  }
10369
10381
 
10370
10382
  /** Represents a PortOpen. */
@@ -10394,9 +10406,15 @@ export namespace replit {
10394
10406
  /** PortOpen cmdline. */
10395
10407
  public cmdline: string[];
10396
10408
 
10409
+ /** PortOpen cgroup. */
10410
+ public cgroup: string;
10411
+
10397
10412
  /** PortOpen pid. */
10398
10413
  public pid: number;
10399
10414
 
10415
+ /** PortOpen pidChain. */
10416
+ public pidChain: number[];
10417
+
10400
10418
  /**
10401
10419
  * Creates a new PortOpen instance using the specified properties.
10402
10420
  * @param [properties] Properties to set
@@ -12581,6 +12599,9 @@ export namespace replit {
12581
12599
 
12582
12600
  /** ReplspaceApiOpenMultipleFiles files */
12583
12601
  files?: (string[]|null);
12602
+
12603
+ /** ReplspaceApiOpenMultipleFiles urls */
12604
+ urls?: (string[]|null);
12584
12605
  }
12585
12606
 
12586
12607
  /** Represents a ReplspaceApiOpenMultipleFiles. */
@@ -12595,6 +12616,9 @@ export namespace replit {
12595
12616
  /** ReplspaceApiOpenMultipleFiles files. */
12596
12617
  public files: string[];
12597
12618
 
12619
+ /** ReplspaceApiOpenMultipleFiles urls. */
12620
+ public urls: string[];
12621
+
12598
12622
  /**
12599
12623
  * Creates a new ReplspaceApiOpenMultipleFiles instance using the specified properties.
12600
12624
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -6828,7 +6828,7 @@
6828
6828
  * @property {string|null} [serviceName] RiverMessage serviceName
6829
6829
  * @property {string|null} [procedureName] RiverMessage procedureName
6830
6830
  * @property {string|null} [ack] RiverMessage ack
6831
- * @property {Uint8Array|null} [payload] RiverMessage payload
6831
+ * @property {google.protobuf.Value|google.protobuf.IValue|null} [payload] RiverMessage payload
6832
6832
  */
6833
6833
 
6834
6834
  /**
@@ -6855,11 +6855,11 @@
6855
6855
 
6856
6856
  /**
6857
6857
  * RiverMessage replyTo.
6858
- * @member {string} replyTo
6858
+ * @member {string|null|undefined} replyTo
6859
6859
  * @memberof replit.goval.api.RiverMessage
6860
6860
  * @instance
6861
6861
  */
6862
- RiverMessage.prototype.replyTo = "";
6862
+ RiverMessage.prototype.replyTo = null;
6863
6863
 
6864
6864
  /**
6865
6865
  * RiverMessage from.
@@ -6895,19 +6895,44 @@
6895
6895
 
6896
6896
  /**
6897
6897
  * RiverMessage ack.
6898
- * @member {string} ack
6898
+ * @member {string|null|undefined} ack
6899
6899
  * @memberof replit.goval.api.RiverMessage
6900
6900
  * @instance
6901
6901
  */
6902
- RiverMessage.prototype.ack = "";
6902
+ RiverMessage.prototype.ack = null;
6903
6903
 
6904
6904
  /**
6905
6905
  * RiverMessage payload.
6906
- * @member {Uint8Array} payload
6906
+ * @member {google.protobuf.Value|null|undefined} payload
6907
6907
  * @memberof replit.goval.api.RiverMessage
6908
6908
  * @instance
6909
6909
  */
6910
- RiverMessage.prototype.payload = $util.newBuffer([]);
6910
+ RiverMessage.prototype.payload = null;
6911
+
6912
+ // OneOf field names bound to virtual getters and setters
6913
+ var $oneOfFields;
6914
+
6915
+ /**
6916
+ * RiverMessage _replyTo.
6917
+ * @member {"replyTo"|undefined} _replyTo
6918
+ * @memberof replit.goval.api.RiverMessage
6919
+ * @instance
6920
+ */
6921
+ Object.defineProperty(RiverMessage.prototype, "_replyTo", {
6922
+ get: $util.oneOfGetter($oneOfFields = ["replyTo"]),
6923
+ set: $util.oneOfSetter($oneOfFields)
6924
+ });
6925
+
6926
+ /**
6927
+ * RiverMessage _ack.
6928
+ * @member {"ack"|undefined} _ack
6929
+ * @memberof replit.goval.api.RiverMessage
6930
+ * @instance
6931
+ */
6932
+ Object.defineProperty(RiverMessage.prototype, "_ack", {
6933
+ get: $util.oneOfGetter($oneOfFields = ["ack"]),
6934
+ set: $util.oneOfSetter($oneOfFields)
6935
+ });
6911
6936
 
6912
6937
  /**
6913
6938
  * Creates a new RiverMessage instance using the specified properties.
@@ -6948,7 +6973,7 @@
6948
6973
  if (message.ack != null && Object.hasOwnProperty.call(message, "ack"))
6949
6974
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.ack);
6950
6975
  if (message.payload != null && Object.hasOwnProperty.call(message, "payload"))
6951
- writer.uint32(/* id 10, wireType 2 =*/82).bytes(message.payload);
6976
+ $root.google.protobuf.Value.encode(message.payload, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
6952
6977
  return writer;
6953
6978
  };
6954
6979
 
@@ -7012,7 +7037,7 @@
7012
7037
  break;
7013
7038
  }
7014
7039
  case 10: {
7015
- message.payload = reader.bytes();
7040
+ message.payload = $root.google.protobuf.Value.decode(reader, reader.uint32());
7016
7041
  break;
7017
7042
  }
7018
7043
  default:
@@ -7050,12 +7075,15 @@
7050
7075
  RiverMessage.verify = function verify(message) {
7051
7076
  if (typeof message !== "object" || message === null)
7052
7077
  return "object expected";
7078
+ var properties = {};
7053
7079
  if (message.id != null && message.hasOwnProperty("id"))
7054
7080
  if (!$util.isString(message.id))
7055
7081
  return "id: string expected";
7056
- if (message.replyTo != null && message.hasOwnProperty("replyTo"))
7082
+ if (message.replyTo != null && message.hasOwnProperty("replyTo")) {
7083
+ properties._replyTo = 1;
7057
7084
  if (!$util.isString(message.replyTo))
7058
7085
  return "replyTo: string expected";
7086
+ }
7059
7087
  if (message.from != null && message.hasOwnProperty("from"))
7060
7088
  if (!$util.isString(message.from))
7061
7089
  return "from: string expected";
@@ -7068,12 +7096,16 @@
7068
7096
  if (message.procedureName != null && message.hasOwnProperty("procedureName"))
7069
7097
  if (!$util.isString(message.procedureName))
7070
7098
  return "procedureName: string expected";
7071
- if (message.ack != null && message.hasOwnProperty("ack"))
7099
+ if (message.ack != null && message.hasOwnProperty("ack")) {
7100
+ properties._ack = 1;
7072
7101
  if (!$util.isString(message.ack))
7073
7102
  return "ack: string expected";
7074
- if (message.payload != null && message.hasOwnProperty("payload"))
7075
- if (!(message.payload && typeof message.payload.length === "number" || $util.isString(message.payload)))
7076
- return "payload: buffer expected";
7103
+ }
7104
+ if (message.payload != null && message.hasOwnProperty("payload")) {
7105
+ var error = $root.google.protobuf.Value.verify(message.payload);
7106
+ if (error)
7107
+ return "payload." + error;
7108
+ }
7077
7109
  return null;
7078
7110
  };
7079
7111
 
@@ -7103,11 +7135,11 @@
7103
7135
  message.procedureName = String(object.procedureName);
7104
7136
  if (object.ack != null)
7105
7137
  message.ack = String(object.ack);
7106
- if (object.payload != null)
7107
- if (typeof object.payload === "string")
7108
- $util.base64.decode(object.payload, message.payload = $util.newBuffer($util.base64.length(object.payload)), 0);
7109
- else if (object.payload.length >= 0)
7110
- message.payload = object.payload;
7138
+ if (object.payload != null) {
7139
+ if (typeof object.payload !== "object")
7140
+ throw TypeError(".replit.goval.api.RiverMessage.payload: object expected");
7141
+ message.payload = $root.google.protobuf.Value.fromObject(object.payload);
7142
+ }
7111
7143
  return message;
7112
7144
  };
7113
7145
 
@@ -7126,24 +7158,19 @@
7126
7158
  var object = {};
7127
7159
  if (options.defaults) {
7128
7160
  object.id = "";
7129
- object.replyTo = "";
7130
7161
  object.from = "";
7131
7162
  object.to = "";
7132
7163
  object.serviceName = "";
7133
7164
  object.procedureName = "";
7134
- object.ack = "";
7135
- if (options.bytes === String)
7136
- object.payload = "";
7137
- else {
7138
- object.payload = [];
7139
- if (options.bytes !== Array)
7140
- object.payload = $util.newBuffer(object.payload);
7141
- }
7165
+ object.payload = null;
7142
7166
  }
7143
7167
  if (message.id != null && message.hasOwnProperty("id"))
7144
7168
  object.id = message.id;
7145
- if (message.replyTo != null && message.hasOwnProperty("replyTo"))
7169
+ if (message.replyTo != null && message.hasOwnProperty("replyTo")) {
7146
7170
  object.replyTo = message.replyTo;
7171
+ if (options.oneofs)
7172
+ object._replyTo = "replyTo";
7173
+ }
7147
7174
  if (message.from != null && message.hasOwnProperty("from"))
7148
7175
  object.from = message.from;
7149
7176
  if (message.to != null && message.hasOwnProperty("to"))
@@ -7152,10 +7179,13 @@
7152
7179
  object.serviceName = message.serviceName;
7153
7180
  if (message.procedureName != null && message.hasOwnProperty("procedureName"))
7154
7181
  object.procedureName = message.procedureName;
7155
- if (message.ack != null && message.hasOwnProperty("ack"))
7182
+ if (message.ack != null && message.hasOwnProperty("ack")) {
7156
7183
  object.ack = message.ack;
7184
+ if (options.oneofs)
7185
+ object._ack = "ack";
7186
+ }
7157
7187
  if (message.payload != null && message.hasOwnProperty("payload"))
7158
- object.payload = options.bytes === String ? $util.base64.encode(message.payload, 0, message.payload.length) : options.bytes === Array ? Array.prototype.slice.call(message.payload) : message.payload;
7188
+ object.payload = $root.google.protobuf.Value.toObject(message.payload, options);
7159
7189
  return object;
7160
7190
  };
7161
7191
 
@@ -27590,7 +27620,9 @@
27590
27620
  * @property {number|null} [externalPort] PortOpen externalPort
27591
27621
  * @property {string|null} [comm] PortOpen comm
27592
27622
  * @property {Array.<string>|null} [cmdline] PortOpen cmdline
27623
+ * @property {string|null} [cgroup] PortOpen cgroup
27593
27624
  * @property {number|null} [pid] PortOpen pid
27625
+ * @property {Array.<number>|null} [pidChain] PortOpen pidChain
27594
27626
  */
27595
27627
 
27596
27628
  /**
@@ -27602,6 +27634,7 @@
27602
27634
  */
27603
27635
  function PortOpen(properties) {
27604
27636
  this.cmdline = [];
27637
+ this.pidChain = [];
27605
27638
  if (properties)
27606
27639
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
27607
27640
  if (properties[keys[i]] != null)
@@ -27656,6 +27689,14 @@
27656
27689
  */
27657
27690
  PortOpen.prototype.cmdline = $util.emptyArray;
27658
27691
 
27692
+ /**
27693
+ * PortOpen cgroup.
27694
+ * @member {string} cgroup
27695
+ * @memberof replit.goval.api.PortOpen
27696
+ * @instance
27697
+ */
27698
+ PortOpen.prototype.cgroup = "";
27699
+
27659
27700
  /**
27660
27701
  * PortOpen pid.
27661
27702
  * @member {number} pid
@@ -27664,6 +27705,14 @@
27664
27705
  */
27665
27706
  PortOpen.prototype.pid = 0;
27666
27707
 
27708
+ /**
27709
+ * PortOpen pidChain.
27710
+ * @member {Array.<number>} pidChain
27711
+ * @memberof replit.goval.api.PortOpen
27712
+ * @instance
27713
+ */
27714
+ PortOpen.prototype.pidChain = $util.emptyArray;
27715
+
27667
27716
  /**
27668
27717
  * Creates a new PortOpen instance using the specified properties.
27669
27718
  * @function create
@@ -27703,6 +27752,14 @@
27703
27752
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.cmdline[i]);
27704
27753
  if (message.pid != null && Object.hasOwnProperty.call(message, "pid"))
27705
27754
  writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.pid);
27755
+ if (message.cgroup != null && Object.hasOwnProperty.call(message, "cgroup"))
27756
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.cgroup);
27757
+ if (message.pidChain != null && message.pidChain.length) {
27758
+ writer.uint32(/* id 9, wireType 2 =*/74).fork();
27759
+ for (var i = 0; i < message.pidChain.length; ++i)
27760
+ writer.uint32(message.pidChain[i]);
27761
+ writer.ldelim();
27762
+ }
27706
27763
  return writer;
27707
27764
  };
27708
27765
 
@@ -27763,10 +27820,25 @@
27763
27820
  message.cmdline.push(reader.string());
27764
27821
  break;
27765
27822
  }
27823
+ case 8: {
27824
+ message.cgroup = reader.string();
27825
+ break;
27826
+ }
27766
27827
  case 7: {
27767
27828
  message.pid = reader.uint32();
27768
27829
  break;
27769
27830
  }
27831
+ case 9: {
27832
+ if (!(message.pidChain && message.pidChain.length))
27833
+ message.pidChain = [];
27834
+ if ((tag & 7) === 2) {
27835
+ var end2 = reader.uint32() + reader.pos;
27836
+ while (reader.pos < end2)
27837
+ message.pidChain.push(reader.uint32());
27838
+ } else
27839
+ message.pidChain.push(reader.uint32());
27840
+ break;
27841
+ }
27770
27842
  default:
27771
27843
  reader.skipType(tag & 7);
27772
27844
  break;
@@ -27824,9 +27896,19 @@
27824
27896
  if (!$util.isString(message.cmdline[i]))
27825
27897
  return "cmdline: string[] expected";
27826
27898
  }
27899
+ if (message.cgroup != null && message.hasOwnProperty("cgroup"))
27900
+ if (!$util.isString(message.cgroup))
27901
+ return "cgroup: string expected";
27827
27902
  if (message.pid != null && message.hasOwnProperty("pid"))
27828
27903
  if (!$util.isInteger(message.pid))
27829
27904
  return "pid: integer expected";
27905
+ if (message.pidChain != null && message.hasOwnProperty("pidChain")) {
27906
+ if (!Array.isArray(message.pidChain))
27907
+ return "pidChain: array expected";
27908
+ for (var i = 0; i < message.pidChain.length; ++i)
27909
+ if (!$util.isInteger(message.pidChain[i]))
27910
+ return "pidChain: integer[] expected";
27911
+ }
27830
27912
  return null;
27831
27913
  };
27832
27914
 
@@ -27859,8 +27941,17 @@
27859
27941
  for (var i = 0; i < object.cmdline.length; ++i)
27860
27942
  message.cmdline[i] = String(object.cmdline[i]);
27861
27943
  }
27944
+ if (object.cgroup != null)
27945
+ message.cgroup = String(object.cgroup);
27862
27946
  if (object.pid != null)
27863
27947
  message.pid = object.pid >>> 0;
27948
+ if (object.pidChain) {
27949
+ if (!Array.isArray(object.pidChain))
27950
+ throw TypeError(".replit.goval.api.PortOpen.pidChain: array expected");
27951
+ message.pidChain = [];
27952
+ for (var i = 0; i < object.pidChain.length; ++i)
27953
+ message.pidChain[i] = object.pidChain[i] >>> 0;
27954
+ }
27864
27955
  return message;
27865
27956
  };
27866
27957
 
@@ -27877,8 +27968,10 @@
27877
27968
  if (!options)
27878
27969
  options = {};
27879
27970
  var object = {};
27880
- if (options.arrays || options.defaults)
27971
+ if (options.arrays || options.defaults) {
27881
27972
  object.cmdline = [];
27973
+ object.pidChain = [];
27974
+ }
27882
27975
  if (options.defaults) {
27883
27976
  object.forwarded = false;
27884
27977
  object.port = 0;
@@ -27886,6 +27979,7 @@
27886
27979
  object.externalPort = 0;
27887
27980
  object.comm = "";
27888
27981
  object.pid = 0;
27982
+ object.cgroup = "";
27889
27983
  }
27890
27984
  if (message.forwarded != null && message.hasOwnProperty("forwarded"))
27891
27985
  object.forwarded = message.forwarded;
@@ -27904,6 +27998,13 @@
27904
27998
  }
27905
27999
  if (message.pid != null && message.hasOwnProperty("pid"))
27906
28000
  object.pid = message.pid;
28001
+ if (message.cgroup != null && message.hasOwnProperty("cgroup"))
28002
+ object.cgroup = message.cgroup;
28003
+ if (message.pidChain && message.pidChain.length) {
28004
+ object.pidChain = [];
28005
+ for (var j = 0; j < message.pidChain.length; ++j)
28006
+ object.pidChain[j] = message.pidChain[j];
28007
+ }
27907
28008
  return object;
27908
28009
  };
27909
28010
 
@@ -32963,6 +33064,7 @@
32963
33064
  * @memberof replit.goval.api
32964
33065
  * @interface IReplspaceApiOpenMultipleFiles
32965
33066
  * @property {Array.<string>|null} [files] ReplspaceApiOpenMultipleFiles files
33067
+ * @property {Array.<string>|null} [urls] ReplspaceApiOpenMultipleFiles urls
32966
33068
  */
32967
33069
 
32968
33070
  /**
@@ -32974,6 +33076,7 @@
32974
33076
  */
32975
33077
  function ReplspaceApiOpenMultipleFiles(properties) {
32976
33078
  this.files = [];
33079
+ this.urls = [];
32977
33080
  if (properties)
32978
33081
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
32979
33082
  if (properties[keys[i]] != null)
@@ -32988,6 +33091,14 @@
32988
33091
  */
32989
33092
  ReplspaceApiOpenMultipleFiles.prototype.files = $util.emptyArray;
32990
33093
 
33094
+ /**
33095
+ * ReplspaceApiOpenMultipleFiles urls.
33096
+ * @member {Array.<string>} urls
33097
+ * @memberof replit.goval.api.ReplspaceApiOpenMultipleFiles
33098
+ * @instance
33099
+ */
33100
+ ReplspaceApiOpenMultipleFiles.prototype.urls = $util.emptyArray;
33101
+
32991
33102
  /**
32992
33103
  * Creates a new ReplspaceApiOpenMultipleFiles instance using the specified properties.
32993
33104
  * @function create
@@ -33015,6 +33126,9 @@
33015
33126
  if (message.files != null && message.files.length)
33016
33127
  for (var i = 0; i < message.files.length; ++i)
33017
33128
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.files[i]);
33129
+ if (message.urls != null && message.urls.length)
33130
+ for (var i = 0; i < message.urls.length; ++i)
33131
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.urls[i]);
33018
33132
  return writer;
33019
33133
  };
33020
33134
 
@@ -33055,6 +33169,12 @@
33055
33169
  message.files.push(reader.string());
33056
33170
  break;
33057
33171
  }
33172
+ case 2: {
33173
+ if (!(message.urls && message.urls.length))
33174
+ message.urls = [];
33175
+ message.urls.push(reader.string());
33176
+ break;
33177
+ }
33058
33178
  default:
33059
33179
  reader.skipType(tag & 7);
33060
33180
  break;
@@ -33097,6 +33217,13 @@
33097
33217
  if (!$util.isString(message.files[i]))
33098
33218
  return "files: string[] expected";
33099
33219
  }
33220
+ if (message.urls != null && message.hasOwnProperty("urls")) {
33221
+ if (!Array.isArray(message.urls))
33222
+ return "urls: array expected";
33223
+ for (var i = 0; i < message.urls.length; ++i)
33224
+ if (!$util.isString(message.urls[i]))
33225
+ return "urls: string[] expected";
33226
+ }
33100
33227
  return null;
33101
33228
  };
33102
33229
 
@@ -33119,6 +33246,13 @@
33119
33246
  for (var i = 0; i < object.files.length; ++i)
33120
33247
  message.files[i] = String(object.files[i]);
33121
33248
  }
33249
+ if (object.urls) {
33250
+ if (!Array.isArray(object.urls))
33251
+ throw TypeError(".replit.goval.api.ReplspaceApiOpenMultipleFiles.urls: array expected");
33252
+ message.urls = [];
33253
+ for (var i = 0; i < object.urls.length; ++i)
33254
+ message.urls[i] = String(object.urls[i]);
33255
+ }
33122
33256
  return message;
33123
33257
  };
33124
33258
 
@@ -33135,13 +33269,20 @@
33135
33269
  if (!options)
33136
33270
  options = {};
33137
33271
  var object = {};
33138
- if (options.arrays || options.defaults)
33272
+ if (options.arrays || options.defaults) {
33139
33273
  object.files = [];
33274
+ object.urls = [];
33275
+ }
33140
33276
  if (message.files && message.files.length) {
33141
33277
  object.files = [];
33142
33278
  for (var j = 0; j < message.files.length; ++j)
33143
33279
  object.files[j] = message.files[j];
33144
33280
  }
33281
+ if (message.urls && message.urls.length) {
33282
+ object.urls = [];
33283
+ for (var j = 0; j < message.urls.length; ++j)
33284
+ object.urls[j] = message.urls[j];
33285
+ }
33145
33286
  return object;
33146
33287
  };
33147
33288
 
@@ -3088,7 +3088,7 @@ declare type replit$goval$api$IRiverMessage = {|
3088
3088
  /**
3089
3089
  * RiverMessage payload
3090
3090
  */
3091
- payload?: Uint8Array | null,
3091
+ payload?: google$protobuf$Value | google$protobuf$IValue | null,
3092
3092
  |};
3093
3093
 
3094
3094
  /**
@@ -3109,7 +3109,7 @@ declare class replit$goval$api$RiverMessage {
3109
3109
  /**
3110
3110
  * RiverMessage replyTo.
3111
3111
  */
3112
- replyTo: string;
3112
+ replyTo?: string | null;
3113
3113
 
3114
3114
  /**
3115
3115
  * RiverMessage from.
@@ -3134,12 +3134,22 @@ declare class replit$goval$api$RiverMessage {
3134
3134
  /**
3135
3135
  * RiverMessage ack.
3136
3136
  */
3137
- ack: string;
3137
+ ack?: string | null;
3138
3138
 
3139
3139
  /**
3140
3140
  * RiverMessage payload.
3141
3141
  */
3142
- payload: Uint8Array;
3142
+ payload?: google$protobuf$Value | null;
3143
+
3144
+ /**
3145
+ * RiverMessage _replyTo.
3146
+ */
3147
+ _replyTo?: "replyTo";
3148
+
3149
+ /**
3150
+ * RiverMessage _ack.
3151
+ */
3152
+ _ack?: "ack";
3143
3153
 
3144
3154
  /**
3145
3155
  * Creates a new RiverMessage instance using the specified properties.
@@ -15110,10 +15120,20 @@ declare type replit$goval$api$IPortOpen = {|
15110
15120
  */
15111
15121
  cmdline?: string[] | null,
15112
15122
 
15123
+ /**
15124
+ * PortOpen cgroup
15125
+ */
15126
+ cgroup?: string | null,
15127
+
15113
15128
  /**
15114
15129
  * PortOpen pid
15115
15130
  */
15116
15131
  pid?: number | null,
15132
+
15133
+ /**
15134
+ * PortOpen pidChain
15135
+ */
15136
+ pidChain?: number[] | null,
15117
15137
  |};
15118
15138
 
15119
15139
  /**
@@ -15156,11 +15176,21 @@ declare class replit$goval$api$PortOpen {
15156
15176
  */
15157
15177
  cmdline: string[];
15158
15178
 
15179
+ /**
15180
+ * PortOpen cgroup.
15181
+ */
15182
+ cgroup: string;
15183
+
15159
15184
  /**
15160
15185
  * PortOpen pid.
15161
15186
  */
15162
15187
  pid: number;
15163
15188
 
15189
+ /**
15190
+ * PortOpen pidChain.
15191
+ */
15192
+ pidChain: number[];
15193
+
15164
15194
  /**
15165
15195
  * Creates a new PortOpen instance using the specified properties.
15166
15196
  * @param [properties] Properties to set
@@ -18109,6 +18139,11 @@ declare type replit$goval$api$IReplspaceApiOpenMultipleFiles = {|
18109
18139
  * ReplspaceApiOpenMultipleFiles files
18110
18140
  */
18111
18141
  files?: string[] | null,
18142
+
18143
+ /**
18144
+ * ReplspaceApiOpenMultipleFiles urls
18145
+ */
18146
+ urls?: string[] | null,
18112
18147
  |};
18113
18148
 
18114
18149
  /**
@@ -18128,6 +18163,11 @@ declare class replit$goval$api$ReplspaceApiOpenMultipleFiles {
18128
18163
  */
18129
18164
  files: string[];
18130
18165
 
18166
+ /**
18167
+ * ReplspaceApiOpenMultipleFiles urls.
18168
+ */
18169
+ urls: string[];
18170
+
18131
18171
  /**
18132
18172
  * Creates a new ReplspaceApiOpenMultipleFiles instance using the specified properties.
18133
18173
  * @param [properties] Properties to set
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.35",
3
+ "version": "0.3.37",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",