@replit/protocol 0.2.63 → 0.2.64

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
@@ -15617,6 +15617,9 @@ export namespace api {
15617
15617
 
15618
15618
  /** DotReplit ports */
15619
15619
  ports?: ((api.DotReplitPort|api.IDotReplitPort)[]|null);
15620
+
15621
+ /** DotReplit orderedEnv */
15622
+ orderedEnv?: ((api.DotReplitEnvVar|api.IDotReplitEnvVar)[]|null);
15620
15623
  }
15621
15624
 
15622
15625
  /** Represents a DotReplit. */
@@ -15685,6 +15688,9 @@ export namespace api {
15685
15688
  /** DotReplit ports. */
15686
15689
  public ports: api.DotReplitPort[];
15687
15690
 
15691
+ /** DotReplit orderedEnv. */
15692
+ public orderedEnv: api.DotReplitEnvVar[];
15693
+
15688
15694
  /**
15689
15695
  * Creates a new DotReplit instance using the specified properties.
15690
15696
  * @param [properties] Properties to set
@@ -15756,6 +15762,102 @@ export namespace api {
15756
15762
  public toJSON(): { [k: string]: any };
15757
15763
  }
15758
15764
 
15765
+ /** Properties of a DotReplitEnvVar. */
15766
+ interface IDotReplitEnvVar {
15767
+
15768
+ /** DotReplitEnvVar key */
15769
+ key?: (string|null);
15770
+
15771
+ /** DotReplitEnvVar value */
15772
+ value?: (string|null);
15773
+ }
15774
+
15775
+ /** Represents a DotReplitEnvVar. */
15776
+ class DotReplitEnvVar {
15777
+
15778
+ /**
15779
+ * Constructs a new DotReplitEnvVar.
15780
+ * @param [properties] Properties to set
15781
+ */
15782
+ private constructor(properties?: api.IDotReplitEnvVar);
15783
+
15784
+ /** DotReplitEnvVar key. */
15785
+ public key: string;
15786
+
15787
+ /** DotReplitEnvVar value. */
15788
+ public value: string;
15789
+
15790
+ /**
15791
+ * Creates a new DotReplitEnvVar instance using the specified properties.
15792
+ * @param [properties] Properties to set
15793
+ * @returns DotReplitEnvVar instance
15794
+ */
15795
+ public static create(properties?: api.IDotReplitEnvVar): api.DotReplitEnvVar;
15796
+
15797
+ /**
15798
+ * Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
15799
+ * @param message DotReplitEnvVar message or plain object to encode
15800
+ * @param [writer] Writer to encode to
15801
+ * @returns Writer
15802
+ */
15803
+ public static encode(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
15804
+
15805
+ /**
15806
+ * Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
15807
+ * @param message DotReplitEnvVar message or plain object to encode
15808
+ * @param [writer] Writer to encode to
15809
+ * @returns Writer
15810
+ */
15811
+ public static encodeDelimited(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
15812
+
15813
+ /**
15814
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer.
15815
+ * @param reader Reader or buffer to decode from
15816
+ * @param [length] Message length if known beforehand
15817
+ * @returns DotReplitEnvVar
15818
+ * @throws {Error} If the payload is not a reader or valid buffer
15819
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15820
+ */
15821
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitEnvVar;
15822
+
15823
+ /**
15824
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
15825
+ * @param reader Reader or buffer to decode from
15826
+ * @returns DotReplitEnvVar
15827
+ * @throws {Error} If the payload is not a reader or valid buffer
15828
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15829
+ */
15830
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitEnvVar;
15831
+
15832
+ /**
15833
+ * Verifies a DotReplitEnvVar message.
15834
+ * @param message Plain object to verify
15835
+ * @returns `null` if valid, otherwise the reason why it is not
15836
+ */
15837
+ public static verify(message: { [k: string]: any }): (string|null);
15838
+
15839
+ /**
15840
+ * Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
15841
+ * @param object Plain object
15842
+ * @returns DotReplitEnvVar
15843
+ */
15844
+ public static fromObject(object: { [k: string]: any }): api.DotReplitEnvVar;
15845
+
15846
+ /**
15847
+ * Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
15848
+ * @param message DotReplitEnvVar
15849
+ * @param [options] Conversion options
15850
+ * @returns Plain object
15851
+ */
15852
+ public static toObject(message: api.DotReplitEnvVar, options?: $protobuf.IConversionOptions): { [k: string]: any };
15853
+
15854
+ /**
15855
+ * Converts this DotReplitEnvVar to JSON.
15856
+ * @returns JSON object
15857
+ */
15858
+ public toJSON(): { [k: string]: any };
15859
+ }
15860
+
15759
15861
  /** Properties of a DotReplitPort. */
15760
15862
  interface IDotReplitPort {
15761
15863
 
package/main/index.js CHANGED
@@ -38641,6 +38641,7 @@
38641
38641
  * @property {api.AuthConfig|api.IAuthConfig|null} [auth] DotReplit auth
38642
38642
  * @property {Array.<api.DotReplitHint|api.IDotReplitHint>|null} [hintsList] DotReplit hintsList
38643
38643
  * @property {Array.<api.DotReplitPort|api.IDotReplitPort>|null} [ports] DotReplit ports
38644
+ * @property {Array.<api.DotReplitEnvVar|api.IDotReplitEnvVar>|null} [orderedEnv] DotReplit orderedEnv
38644
38645
  */
38645
38646
 
38646
38647
  /**
@@ -38656,6 +38657,7 @@
38656
38657
  this.env = {};
38657
38658
  this.hintsList = [];
38658
38659
  this.ports = [];
38660
+ this.orderedEnv = [];
38659
38661
  if (properties)
38660
38662
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
38661
38663
  if (properties[keys[i]] != null)
@@ -38814,6 +38816,14 @@
38814
38816
  */
38815
38817
  DotReplit.prototype.ports = $util.emptyArray;
38816
38818
 
38819
+ /**
38820
+ * DotReplit orderedEnv.
38821
+ * @member {Array.<api.DotReplitEnvVar>} orderedEnv
38822
+ * @memberof api.DotReplit
38823
+ * @instance
38824
+ */
38825
+ DotReplit.prototype.orderedEnv = $util.emptyArray;
38826
+
38817
38827
  /**
38818
38828
  * Creates a new DotReplit instance using the specified properties.
38819
38829
  * @function create
@@ -38883,6 +38893,9 @@
38883
38893
  if (message.ports != null && message.ports.length)
38884
38894
  for (var i = 0; i < message.ports.length; ++i)
38885
38895
  $root.api.DotReplitPort.encode(message.ports[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
38896
+ if (message.orderedEnv != null && message.orderedEnv.length)
38897
+ for (var i = 0; i < message.orderedEnv.length; ++i)
38898
+ $root.api.DotReplitEnvVar.encode(message.orderedEnv[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
38886
38899
  return writer;
38887
38900
  };
38888
38901
 
@@ -39018,6 +39031,11 @@
39018
39031
  message.ports = [];
39019
39032
  message.ports.push($root.api.DotReplitPort.decode(reader, reader.uint32()));
39020
39033
  break;
39034
+ case 20:
39035
+ if (!(message.orderedEnv && message.orderedEnv.length))
39036
+ message.orderedEnv = [];
39037
+ message.orderedEnv.push($root.api.DotReplitEnvVar.decode(reader, reader.uint32()));
39038
+ break;
39021
39039
  default:
39022
39040
  reader.skipType(tag & 7);
39023
39041
  break;
@@ -39160,6 +39178,15 @@
39160
39178
  return "ports." + error;
39161
39179
  }
39162
39180
  }
39181
+ if (message.orderedEnv != null && message.hasOwnProperty("orderedEnv")) {
39182
+ if (!Array.isArray(message.orderedEnv))
39183
+ return "orderedEnv: array expected";
39184
+ for (var i = 0; i < message.orderedEnv.length; ++i) {
39185
+ var error = $root.api.DotReplitEnvVar.verify(message.orderedEnv[i]);
39186
+ if (error)
39187
+ return "orderedEnv." + error;
39188
+ }
39189
+ }
39163
39190
  return null;
39164
39191
  };
39165
39192
 
@@ -39280,6 +39307,16 @@
39280
39307
  message.ports[i] = $root.api.DotReplitPort.fromObject(object.ports[i]);
39281
39308
  }
39282
39309
  }
39310
+ if (object.orderedEnv) {
39311
+ if (!Array.isArray(object.orderedEnv))
39312
+ throw TypeError(".api.DotReplit.orderedEnv: array expected");
39313
+ message.orderedEnv = [];
39314
+ for (var i = 0; i < object.orderedEnv.length; ++i) {
39315
+ if (typeof object.orderedEnv[i] !== "object")
39316
+ throw TypeError(".api.DotReplit.orderedEnv: object expected");
39317
+ message.orderedEnv[i] = $root.api.DotReplitEnvVar.fromObject(object.orderedEnv[i]);
39318
+ }
39319
+ }
39283
39320
  return message;
39284
39321
  };
39285
39322
 
@@ -39300,6 +39337,7 @@
39300
39337
  object.hidden = [];
39301
39338
  object.hintsList = [];
39302
39339
  object.ports = [];
39340
+ object.orderedEnv = [];
39303
39341
  }
39304
39342
  if (options.objects || options.defaults) {
39305
39343
  object.languages = {};
@@ -39375,6 +39413,11 @@
39375
39413
  for (var j = 0; j < message.ports.length; ++j)
39376
39414
  object.ports[j] = $root.api.DotReplitPort.toObject(message.ports[j], options);
39377
39415
  }
39416
+ if (message.orderedEnv && message.orderedEnv.length) {
39417
+ object.orderedEnv = [];
39418
+ for (var j = 0; j < message.orderedEnv.length; ++j)
39419
+ object.orderedEnv[j] = $root.api.DotReplitEnvVar.toObject(message.orderedEnv[j], options);
39420
+ }
39378
39421
  return object;
39379
39422
  };
39380
39423
 
@@ -39392,6 +39435,215 @@
39392
39435
  return DotReplit;
39393
39436
  })();
39394
39437
 
39438
+ api.DotReplitEnvVar = (function() {
39439
+
39440
+ /**
39441
+ * Properties of a DotReplitEnvVar.
39442
+ * @memberof api
39443
+ * @interface IDotReplitEnvVar
39444
+ * @property {string|null} [key] DotReplitEnvVar key
39445
+ * @property {string|null} [value] DotReplitEnvVar value
39446
+ */
39447
+
39448
+ /**
39449
+ * Constructs a new DotReplitEnvVar.
39450
+ * @memberof api
39451
+ * @classdesc Represents a DotReplitEnvVar.
39452
+ * @constructor
39453
+ * @param {api.IDotReplitEnvVar=} [properties] Properties to set
39454
+ */
39455
+ function DotReplitEnvVar(properties) {
39456
+ if (properties)
39457
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39458
+ if (properties[keys[i]] != null)
39459
+ this[keys[i]] = properties[keys[i]];
39460
+ }
39461
+
39462
+ /**
39463
+ * DotReplitEnvVar key.
39464
+ * @member {string} key
39465
+ * @memberof api.DotReplitEnvVar
39466
+ * @instance
39467
+ */
39468
+ DotReplitEnvVar.prototype.key = "";
39469
+
39470
+ /**
39471
+ * DotReplitEnvVar value.
39472
+ * @member {string} value
39473
+ * @memberof api.DotReplitEnvVar
39474
+ * @instance
39475
+ */
39476
+ DotReplitEnvVar.prototype.value = "";
39477
+
39478
+ /**
39479
+ * Creates a new DotReplitEnvVar instance using the specified properties.
39480
+ * @function create
39481
+ * @memberof api.DotReplitEnvVar
39482
+ * @static
39483
+ * @param {api.IDotReplitEnvVar=} [properties] Properties to set
39484
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar instance
39485
+ */
39486
+ DotReplitEnvVar.create = function create(properties) {
39487
+ return DotReplitEnvVar.fromObject(properties);
39488
+ };
39489
+
39490
+ /**
39491
+ * Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
39492
+ * @function encode
39493
+ * @memberof api.DotReplitEnvVar
39494
+ * @static
39495
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
39496
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39497
+ * @returns {$protobuf.Writer} Writer
39498
+ */
39499
+ DotReplitEnvVar.encode = function encode(message, writer) {
39500
+ if (!writer)
39501
+ writer = $Writer.create();
39502
+ if (message.key != null && Object.hasOwnProperty.call(message, "key"))
39503
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.key);
39504
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
39505
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
39506
+ return writer;
39507
+ };
39508
+
39509
+ /**
39510
+ * Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
39511
+ * @function encodeDelimited
39512
+ * @memberof api.DotReplitEnvVar
39513
+ * @static
39514
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
39515
+ * @param {$protobuf.Writer} [writer] Writer to encode to
39516
+ * @returns {$protobuf.Writer} Writer
39517
+ */
39518
+ DotReplitEnvVar.encodeDelimited = function encodeDelimited(message, writer) {
39519
+ return this.encode(message, writer).ldelim();
39520
+ };
39521
+
39522
+ /**
39523
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer.
39524
+ * @function decode
39525
+ * @memberof api.DotReplitEnvVar
39526
+ * @static
39527
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39528
+ * @param {number} [length] Message length if known beforehand
39529
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39530
+ * @throws {Error} If the payload is not a reader or valid buffer
39531
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39532
+ */
39533
+ DotReplitEnvVar.decode = function decode(reader, length) {
39534
+ if (!(reader instanceof $Reader))
39535
+ reader = $Reader.create(reader);
39536
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitEnvVar();
39537
+ while (reader.pos < end) {
39538
+ var tag = reader.uint32();
39539
+ switch (tag >>> 3) {
39540
+ case 1:
39541
+ message.key = reader.string();
39542
+ break;
39543
+ case 2:
39544
+ message.value = reader.string();
39545
+ break;
39546
+ default:
39547
+ reader.skipType(tag & 7);
39548
+ break;
39549
+ }
39550
+ }
39551
+ return message;
39552
+ };
39553
+
39554
+ /**
39555
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
39556
+ * @function decodeDelimited
39557
+ * @memberof api.DotReplitEnvVar
39558
+ * @static
39559
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39560
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39561
+ * @throws {Error} If the payload is not a reader or valid buffer
39562
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39563
+ */
39564
+ DotReplitEnvVar.decodeDelimited = function decodeDelimited(reader) {
39565
+ if (!(reader instanceof $Reader))
39566
+ reader = new $Reader(reader);
39567
+ return this.decode(reader, reader.uint32());
39568
+ };
39569
+
39570
+ /**
39571
+ * Verifies a DotReplitEnvVar message.
39572
+ * @function verify
39573
+ * @memberof api.DotReplitEnvVar
39574
+ * @static
39575
+ * @param {Object.<string,*>} message Plain object to verify
39576
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
39577
+ */
39578
+ DotReplitEnvVar.verify = function verify(message) {
39579
+ if (typeof message !== "object" || message === null)
39580
+ return "object expected";
39581
+ if (message.key != null && message.hasOwnProperty("key"))
39582
+ if (!$util.isString(message.key))
39583
+ return "key: string expected";
39584
+ if (message.value != null && message.hasOwnProperty("value"))
39585
+ if (!$util.isString(message.value))
39586
+ return "value: string expected";
39587
+ return null;
39588
+ };
39589
+
39590
+ /**
39591
+ * Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
39592
+ * @function fromObject
39593
+ * @memberof api.DotReplitEnvVar
39594
+ * @static
39595
+ * @param {Object.<string,*>} object Plain object
39596
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39597
+ */
39598
+ DotReplitEnvVar.fromObject = function fromObject(object) {
39599
+ if (object instanceof $root.api.DotReplitEnvVar)
39600
+ return object;
39601
+ var message = new $root.api.DotReplitEnvVar();
39602
+ if (object.key != null)
39603
+ message.key = String(object.key);
39604
+ if (object.value != null)
39605
+ message.value = String(object.value);
39606
+ return message;
39607
+ };
39608
+
39609
+ /**
39610
+ * Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
39611
+ * @function toObject
39612
+ * @memberof api.DotReplitEnvVar
39613
+ * @static
39614
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar
39615
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
39616
+ * @returns {Object.<string,*>} Plain object
39617
+ */
39618
+ DotReplitEnvVar.toObject = function toObject(message, options) {
39619
+ if (!options)
39620
+ options = {};
39621
+ var object = {};
39622
+ if (options.defaults) {
39623
+ object.key = "";
39624
+ object.value = "";
39625
+ }
39626
+ if (message.key != null && message.hasOwnProperty("key"))
39627
+ object.key = message.key;
39628
+ if (message.value != null && message.hasOwnProperty("value"))
39629
+ object.value = message.value;
39630
+ return object;
39631
+ };
39632
+
39633
+ /**
39634
+ * Converts this DotReplitEnvVar to JSON.
39635
+ * @function toJSON
39636
+ * @memberof api.DotReplitEnvVar
39637
+ * @instance
39638
+ * @returns {Object.<string,*>} JSON object
39639
+ */
39640
+ DotReplitEnvVar.prototype.toJSON = function toJSON() {
39641
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
39642
+ };
39643
+
39644
+ return DotReplitEnvVar;
39645
+ })();
39646
+
39395
39647
  api.DotReplitPort = (function() {
39396
39648
 
39397
39649
  /**
@@ -164,6 +164,7 @@ declare var npm$namespace$api: {|
164
164
  IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
165
165
  IDebugBreakpoint: Class<api$IDebugBreakpoint>,
166
166
  IDotReplit: Class<api$IDotReplit>,
167
+ IDotReplitEnvVar: Class<api$IDotReplitEnvVar>,
167
168
  IDotReplitPort: Class<api$IDotReplitPort>,
168
169
  IDotReplitHint: Class<api$IDotReplitHint>,
169
170
  IGitHubImportConfig: Class<api$IGitHubImportConfig>,
@@ -349,6 +350,7 @@ declare var npm$namespace$api: {|
349
350
  DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
350
351
  DebugBreakpoint: typeof api$DebugBreakpoint,
351
352
  DotReplit: typeof api$DotReplit,
353
+ DotReplitEnvVar: typeof api$DotReplitEnvVar,
352
354
  DotReplitPort: typeof api$DotReplitPort,
353
355
  DotReplitHint: typeof api$DotReplitHint,
354
356
  GitHubImportConfig: typeof api$GitHubImportConfig,
@@ -21676,6 +21678,11 @@ declare type api$IDotReplit = {|
21676
21678
  * DotReplit ports
21677
21679
  */
21678
21680
  ports?: (api$DotReplitPort | api$IDotReplitPort)[] | null,
21681
+
21682
+ /**
21683
+ * DotReplit orderedEnv
21684
+ */
21685
+ orderedEnv?: (api$DotReplitEnvVar | api$IDotReplitEnvVar)[] | null,
21679
21686
  |};
21680
21687
 
21681
21688
  /**
@@ -21787,6 +21794,11 @@ declare class api$DotReplit {
21787
21794
  */
21788
21795
  ports: api$DotReplitPort[];
21789
21796
 
21797
+ /**
21798
+ * DotReplit orderedEnv.
21799
+ */
21800
+ orderedEnv: api$DotReplitEnvVar[];
21801
+
21790
21802
  /**
21791
21803
  * Creates a new DotReplit instance using the specified properties.
21792
21804
  * @param [properties] Properties to set
@@ -21878,6 +21890,134 @@ declare class api$DotReplit {
21878
21890
  |};
21879
21891
  }
21880
21892
 
21893
+ /**
21894
+ * Properties of a DotReplitEnvVar.
21895
+ */
21896
+ declare type api$IDotReplitEnvVar = {|
21897
+ /**
21898
+ * DotReplitEnvVar key
21899
+ */
21900
+ key?: string | null,
21901
+
21902
+ /**
21903
+ * DotReplitEnvVar value
21904
+ */
21905
+ value?: string | null,
21906
+ |};
21907
+
21908
+ /**
21909
+ * Represents a DotReplitEnvVar.
21910
+ */
21911
+ declare class api$DotReplitEnvVar {
21912
+ /**
21913
+ * Constructs a new DotReplitEnvVar.
21914
+ * @param [properties] Properties to set
21915
+ */
21916
+ constructor(properties?: api$IDotReplitEnvVar): this;
21917
+
21918
+ /**
21919
+ * DotReplitEnvVar key.
21920
+ */
21921
+ key: string;
21922
+
21923
+ /**
21924
+ * DotReplitEnvVar value.
21925
+ */
21926
+ value: string;
21927
+
21928
+ /**
21929
+ * Creates a new DotReplitEnvVar instance using the specified properties.
21930
+ * @param [properties] Properties to set
21931
+ * @returns DotReplitEnvVar instance
21932
+ */
21933
+ static create(properties?: api$IDotReplitEnvVar): api$DotReplitEnvVar;
21934
+
21935
+ /**
21936
+ * [object Object],[object Object],[object Object]
21937
+ * @param message DotReplitEnvVar message or plain object to encode
21938
+ * @param [writer] Writer to encode to
21939
+ * @returns Writer
21940
+ */
21941
+ static encode(
21942
+ message: api$DotReplitEnvVar,
21943
+ writer?: $protobuf.Writer
21944
+ ): $protobuf.Writer;
21945
+
21946
+ /**
21947
+ * [object Object],[object Object],[object Object]
21948
+ * @param message DotReplitEnvVar message or plain object to encode
21949
+ * @param [writer] Writer to encode to
21950
+ * @returns Writer
21951
+ */
21952
+ static encodeDelimited(
21953
+ message: api$DotReplitEnvVar,
21954
+ writer?: $protobuf.Writer
21955
+ ): $protobuf.Writer;
21956
+
21957
+ /**
21958
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer.
21959
+ * @param reader Reader or buffer to decode from
21960
+ * @param [length] Message length if known beforehand
21961
+ * @returns DotReplitEnvVar
21962
+ * @throws {Error} If the payload is not a reader or valid buffer
21963
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21964
+ */
21965
+ static decode(
21966
+ reader: $protobuf.Reader | Uint8Array,
21967
+ length?: number
21968
+ ): api$DotReplitEnvVar;
21969
+
21970
+ /**
21971
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
21972
+ * @param reader Reader or buffer to decode from
21973
+ * @returns DotReplitEnvVar
21974
+ * @throws {Error} If the payload is not a reader or valid buffer
21975
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21976
+ */
21977
+ static decodeDelimited(
21978
+ reader: $protobuf.Reader | Uint8Array
21979
+ ): api$DotReplitEnvVar;
21980
+
21981
+ /**
21982
+ * Verifies a DotReplitEnvVar message.
21983
+ * @param message Plain object to verify
21984
+ * @returns `null` if valid, otherwise the reason why it is not
21985
+ */
21986
+ static verify(message: {|
21987
+ [k: string]: any,
21988
+ |}): string | null;
21989
+
21990
+ /**
21991
+ * Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
21992
+ * @param object Plain object
21993
+ * @returns DotReplitEnvVar
21994
+ */
21995
+ static fromObject(object: {|
21996
+ [k: string]: any,
21997
+ |}): api$DotReplitEnvVar;
21998
+
21999
+ /**
22000
+ * Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
22001
+ * @param message DotReplitEnvVar
22002
+ * @param [options] Conversion options
22003
+ * @returns Plain object
22004
+ */
22005
+ static toObject(
22006
+ message: api$DotReplitEnvVar,
22007
+ options?: $protobuf.IConversionOptions
22008
+ ): {|
22009
+ [k: string]: any,
22010
+ |};
22011
+
22012
+ /**
22013
+ * Converts this DotReplitEnvVar to JSON.
22014
+ * @returns JSON object
22015
+ */
22016
+ toJSON(): {|
22017
+ [k: string]: any,
22018
+ |};
22019
+ }
22020
+
21881
22021
  /**
21882
22022
  * Properties of a DotReplitPort.
21883
22023
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.63",
3
+ "version": "0.2.64",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",