@replit/protocol 0.2.50 → 0.2.51

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.
@@ -142,9 +142,6 @@ declare var npm$namespace$api: {|
142
142
  IDotReplitGetResponse: Class<api$IDotReplitGetResponse>,
143
143
  IRunConfigGetRequest: Class<api$IRunConfigGetRequest>,
144
144
  IRunConfigGetResponse: Class<api$IRunConfigGetResponse>,
145
- IDotReplitUpdateOp: Class<api$IDotReplitUpdateOp>,
146
- IDotReplitUpdateRequest: Class<api$IDotReplitUpdateRequest>,
147
- IDotReplitUpdateResponse: Class<api$IDotReplitUpdateResponse>,
148
145
  IDebugAddBreakpointRequest: Class<api$IDebugAddBreakpointRequest>,
149
146
  IDebugUpdateBreakpointRequest: Class<api$IDebugUpdateBreakpointRequest>,
150
147
  IDebugRemoveBreakpointRequest: Class<api$IDebugRemoveBreakpointRequest>,
@@ -303,9 +300,6 @@ declare var npm$namespace$api: {|
303
300
  DotReplitGetResponse: typeof api$DotReplitGetResponse,
304
301
  RunConfigGetRequest: typeof api$RunConfigGetRequest,
305
302
  RunConfigGetResponse: typeof api$RunConfigGetResponse,
306
- DotReplitUpdateOp: typeof api$DotReplitUpdateOp,
307
- DotReplitUpdateRequest: typeof api$DotReplitUpdateRequest,
308
- DotReplitUpdateResponse: typeof api$DotReplitUpdateResponse,
309
303
  DebugAddBreakpointRequest: typeof api$DebugAddBreakpointRequest,
310
304
  DebugUpdateBreakpointRequest: typeof api$DebugUpdateBreakpointRequest,
311
305
  DebugRemoveBreakpointRequest: typeof api$DebugRemoveBreakpointRequest,
@@ -1118,22 +1112,6 @@ declare type api$ICommand = {|
1118
1112
  | api$IRunConfigGetResponse
1119
1113
  | null,
1120
1114
 
1121
- /**
1122
- * Command dotReplitUpdateRequest
1123
- */
1124
- dotReplitUpdateRequest?:
1125
- | api$DotReplitUpdateRequest
1126
- | api$IDotReplitUpdateRequest
1127
- | null,
1128
-
1129
- /**
1130
- * Command dotReplitUpdateResponse
1131
- */
1132
- dotReplitUpdateResponse?:
1133
- | api$DotReplitUpdateResponse
1134
- | api$IDotReplitUpdateResponse
1135
- | null,
1136
-
1137
1115
  /**
1138
1116
  * Command startLSP
1139
1117
  */
@@ -1902,16 +1880,6 @@ declare class api$Command {
1902
1880
  */
1903
1881
  runConfigGetResponse?: api$RunConfigGetResponse | null;
1904
1882
 
1905
- /**
1906
- * Command dotReplitUpdateRequest.
1907
- */
1908
- dotReplitUpdateRequest?: api$DotReplitUpdateRequest | null;
1909
-
1910
- /**
1911
- * Command dotReplitUpdateResponse.
1912
- */
1913
- dotReplitUpdateResponse?: api$DotReplitUpdateResponse | null;
1914
-
1915
1883
  /**
1916
1884
  * Command startLSP.
1917
1885
  */
@@ -2083,8 +2051,6 @@ declare class api$Command {
2083
2051
  | "dotReplitGetResponse"
2084
2052
  | "runConfigGetRequest"
2085
2053
  | "runConfigGetResponse"
2086
- | "dotReplitUpdateRequest"
2087
- | "dotReplitUpdateResponse"
2088
2054
  | "startLSP"
2089
2055
  | "firewallDenied";
2090
2056
 
@@ -18683,374 +18649,6 @@ declare class api$RunConfigGetResponse$Run {
18683
18649
  |};
18684
18650
  }
18685
18651
 
18686
- /**
18687
- * Properties of a DotReplitUpdateOp.
18688
- */
18689
- declare type api$IDotReplitUpdateOp = {|
18690
- /**
18691
- * DotReplitUpdateOp op
18692
- */
18693
- op?: string | null,
18694
-
18695
- /**
18696
- * DotReplitUpdateOp path
18697
- */
18698
- path?: string | null,
18699
-
18700
- /**
18701
- * DotReplitUpdateOp value
18702
- */
18703
- value?: string | null,
18704
- |};
18705
-
18706
- /**
18707
- * Represents a DotReplitUpdateOp.
18708
- */
18709
- declare class api$DotReplitUpdateOp {
18710
- /**
18711
- * Constructs a new DotReplitUpdateOp.
18712
- * @param [properties] Properties to set
18713
- */
18714
- constructor(properties?: api$IDotReplitUpdateOp): this;
18715
-
18716
- /**
18717
- * DotReplitUpdateOp op.
18718
- */
18719
- op: string;
18720
-
18721
- /**
18722
- * DotReplitUpdateOp path.
18723
- */
18724
- path: string;
18725
-
18726
- /**
18727
- * DotReplitUpdateOp value.
18728
- */
18729
- value: string;
18730
-
18731
- /**
18732
- * Creates a new DotReplitUpdateOp instance using the specified properties.
18733
- * @param [properties] Properties to set
18734
- * @returns DotReplitUpdateOp instance
18735
- */
18736
- static create(properties?: api$IDotReplitUpdateOp): api$DotReplitUpdateOp;
18737
-
18738
- /**
18739
- * [object Object],[object Object],[object Object]
18740
- * @param message DotReplitUpdateOp message or plain object to encode
18741
- * @param [writer] Writer to encode to
18742
- * @returns Writer
18743
- */
18744
- static encode(
18745
- message: api$DotReplitUpdateOp,
18746
- writer?: $protobuf.Writer
18747
- ): $protobuf.Writer;
18748
-
18749
- /**
18750
- * [object Object],[object Object],[object Object]
18751
- * @param message DotReplitUpdateOp message or plain object to encode
18752
- * @param [writer] Writer to encode to
18753
- * @returns Writer
18754
- */
18755
- static encodeDelimited(
18756
- message: api$DotReplitUpdateOp,
18757
- writer?: $protobuf.Writer
18758
- ): $protobuf.Writer;
18759
-
18760
- /**
18761
- * Decodes a DotReplitUpdateOp message from the specified reader or buffer.
18762
- * @param reader Reader or buffer to decode from
18763
- * @param [length] Message length if known beforehand
18764
- * @returns DotReplitUpdateOp
18765
- * @throws {Error} If the payload is not a reader or valid buffer
18766
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18767
- */
18768
- static decode(
18769
- reader: $protobuf.Reader | Uint8Array,
18770
- length?: number
18771
- ): api$DotReplitUpdateOp;
18772
-
18773
- /**
18774
- * Decodes a DotReplitUpdateOp message from the specified reader or buffer, length delimited.
18775
- * @param reader Reader or buffer to decode from
18776
- * @returns DotReplitUpdateOp
18777
- * @throws {Error} If the payload is not a reader or valid buffer
18778
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18779
- */
18780
- static decodeDelimited(
18781
- reader: $protobuf.Reader | Uint8Array
18782
- ): api$DotReplitUpdateOp;
18783
-
18784
- /**
18785
- * Verifies a DotReplitUpdateOp message.
18786
- * @param message Plain object to verify
18787
- * @returns `null` if valid, otherwise the reason why it is not
18788
- */
18789
- static verify(message: {|
18790
- [k: string]: any,
18791
- |}): string | null;
18792
-
18793
- /**
18794
- * Creates a DotReplitUpdateOp message from a plain object. Also converts values to their respective internal types.
18795
- * @param object Plain object
18796
- * @returns DotReplitUpdateOp
18797
- */
18798
- static fromObject(object: {|
18799
- [k: string]: any,
18800
- |}): api$DotReplitUpdateOp;
18801
-
18802
- /**
18803
- * Creates a plain object from a DotReplitUpdateOp message. Also converts values to other types if specified.
18804
- * @param message DotReplitUpdateOp
18805
- * @param [options] Conversion options
18806
- * @returns Plain object
18807
- */
18808
- static toObject(
18809
- message: api$DotReplitUpdateOp,
18810
- options?: $protobuf.IConversionOptions
18811
- ): {|
18812
- [k: string]: any,
18813
- |};
18814
-
18815
- /**
18816
- * Converts this DotReplitUpdateOp to JSON.
18817
- * @returns JSON object
18818
- */
18819
- toJSON(): {|
18820
- [k: string]: any,
18821
- |};
18822
- }
18823
-
18824
- /**
18825
- * Properties of a DotReplitUpdateRequest.
18826
- */
18827
- declare type api$IDotReplitUpdateRequest = {|
18828
- /**
18829
- * DotReplitUpdateRequest ops
18830
- */
18831
- ops?: (api$DotReplitUpdateOp | api$IDotReplitUpdateOp)[] | null,
18832
- |};
18833
-
18834
- /**
18835
- * Represents a DotReplitUpdateRequest.
18836
- */
18837
- declare class api$DotReplitUpdateRequest {
18838
- /**
18839
- * Constructs a new DotReplitUpdateRequest.
18840
- * @param [properties] Properties to set
18841
- */
18842
- constructor(properties?: api$IDotReplitUpdateRequest): this;
18843
-
18844
- /**
18845
- * DotReplitUpdateRequest ops.
18846
- */
18847
- ops: api$DotReplitUpdateOp[];
18848
-
18849
- /**
18850
- * Creates a new DotReplitUpdateRequest instance using the specified properties.
18851
- * @param [properties] Properties to set
18852
- * @returns DotReplitUpdateRequest instance
18853
- */
18854
- static create(
18855
- properties?: api$IDotReplitUpdateRequest
18856
- ): api$DotReplitUpdateRequest;
18857
-
18858
- /**
18859
- * [object Object],[object Object],[object Object]
18860
- * @param message DotReplitUpdateRequest message or plain object to encode
18861
- * @param [writer] Writer to encode to
18862
- * @returns Writer
18863
- */
18864
- static encode(
18865
- message: api$DotReplitUpdateRequest,
18866
- writer?: $protobuf.Writer
18867
- ): $protobuf.Writer;
18868
-
18869
- /**
18870
- * [object Object],[object Object],[object Object]
18871
- * @param message DotReplitUpdateRequest message or plain object to encode
18872
- * @param [writer] Writer to encode to
18873
- * @returns Writer
18874
- */
18875
- static encodeDelimited(
18876
- message: api$DotReplitUpdateRequest,
18877
- writer?: $protobuf.Writer
18878
- ): $protobuf.Writer;
18879
-
18880
- /**
18881
- * Decodes a DotReplitUpdateRequest message from the specified reader or buffer.
18882
- * @param reader Reader or buffer to decode from
18883
- * @param [length] Message length if known beforehand
18884
- * @returns DotReplitUpdateRequest
18885
- * @throws {Error} If the payload is not a reader or valid buffer
18886
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18887
- */
18888
- static decode(
18889
- reader: $protobuf.Reader | Uint8Array,
18890
- length?: number
18891
- ): api$DotReplitUpdateRequest;
18892
-
18893
- /**
18894
- * Decodes a DotReplitUpdateRequest message from the specified reader or buffer, length delimited.
18895
- * @param reader Reader or buffer to decode from
18896
- * @returns DotReplitUpdateRequest
18897
- * @throws {Error} If the payload is not a reader or valid buffer
18898
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18899
- */
18900
- static decodeDelimited(
18901
- reader: $protobuf.Reader | Uint8Array
18902
- ): api$DotReplitUpdateRequest;
18903
-
18904
- /**
18905
- * Verifies a DotReplitUpdateRequest message.
18906
- * @param message Plain object to verify
18907
- * @returns `null` if valid, otherwise the reason why it is not
18908
- */
18909
- static verify(message: {|
18910
- [k: string]: any,
18911
- |}): string | null;
18912
-
18913
- /**
18914
- * Creates a DotReplitUpdateRequest message from a plain object. Also converts values to their respective internal types.
18915
- * @param object Plain object
18916
- * @returns DotReplitUpdateRequest
18917
- */
18918
- static fromObject(object: {|
18919
- [k: string]: any,
18920
- |}): api$DotReplitUpdateRequest;
18921
-
18922
- /**
18923
- * Creates a plain object from a DotReplitUpdateRequest message. Also converts values to other types if specified.
18924
- * @param message DotReplitUpdateRequest
18925
- * @param [options] Conversion options
18926
- * @returns Plain object
18927
- */
18928
- static toObject(
18929
- message: api$DotReplitUpdateRequest,
18930
- options?: $protobuf.IConversionOptions
18931
- ): {|
18932
- [k: string]: any,
18933
- |};
18934
-
18935
- /**
18936
- * Converts this DotReplitUpdateRequest to JSON.
18937
- * @returns JSON object
18938
- */
18939
- toJSON(): {|
18940
- [k: string]: any,
18941
- |};
18942
- }
18943
-
18944
- /**
18945
- * Properties of a DotReplitUpdateResponse.
18946
- */
18947
- declare type api$IDotReplitUpdateResponse = {||};
18948
-
18949
- /**
18950
- * Represents a DotReplitUpdateResponse.
18951
- */
18952
- declare class api$DotReplitUpdateResponse {
18953
- /**
18954
- * Constructs a new DotReplitUpdateResponse.
18955
- * @param [properties] Properties to set
18956
- */
18957
- constructor(properties?: api$IDotReplitUpdateResponse): this;
18958
-
18959
- /**
18960
- * Creates a new DotReplitUpdateResponse instance using the specified properties.
18961
- * @param [properties] Properties to set
18962
- * @returns DotReplitUpdateResponse instance
18963
- */
18964
- static create(
18965
- properties?: api$IDotReplitUpdateResponse
18966
- ): api$DotReplitUpdateResponse;
18967
-
18968
- /**
18969
- * [object Object],[object Object],[object Object]
18970
- * @param message DotReplitUpdateResponse message or plain object to encode
18971
- * @param [writer] Writer to encode to
18972
- * @returns Writer
18973
- */
18974
- static encode(
18975
- message: api$DotReplitUpdateResponse,
18976
- writer?: $protobuf.Writer
18977
- ): $protobuf.Writer;
18978
-
18979
- /**
18980
- * [object Object],[object Object],[object Object]
18981
- * @param message DotReplitUpdateResponse message or plain object to encode
18982
- * @param [writer] Writer to encode to
18983
- * @returns Writer
18984
- */
18985
- static encodeDelimited(
18986
- message: api$DotReplitUpdateResponse,
18987
- writer?: $protobuf.Writer
18988
- ): $protobuf.Writer;
18989
-
18990
- /**
18991
- * Decodes a DotReplitUpdateResponse message from the specified reader or buffer.
18992
- * @param reader Reader or buffer to decode from
18993
- * @param [length] Message length if known beforehand
18994
- * @returns DotReplitUpdateResponse
18995
- * @throws {Error} If the payload is not a reader or valid buffer
18996
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18997
- */
18998
- static decode(
18999
- reader: $protobuf.Reader | Uint8Array,
19000
- length?: number
19001
- ): api$DotReplitUpdateResponse;
19002
-
19003
- /**
19004
- * Decodes a DotReplitUpdateResponse message from the specified reader or buffer, length delimited.
19005
- * @param reader Reader or buffer to decode from
19006
- * @returns DotReplitUpdateResponse
19007
- * @throws {Error} If the payload is not a reader or valid buffer
19008
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
19009
- */
19010
- static decodeDelimited(
19011
- reader: $protobuf.Reader | Uint8Array
19012
- ): api$DotReplitUpdateResponse;
19013
-
19014
- /**
19015
- * Verifies a DotReplitUpdateResponse message.
19016
- * @param message Plain object to verify
19017
- * @returns `null` if valid, otherwise the reason why it is not
19018
- */
19019
- static verify(message: {|
19020
- [k: string]: any,
19021
- |}): string | null;
19022
-
19023
- /**
19024
- * Creates a DotReplitUpdateResponse message from a plain object. Also converts values to their respective internal types.
19025
- * @param object Plain object
19026
- * @returns DotReplitUpdateResponse
19027
- */
19028
- static fromObject(object: {|
19029
- [k: string]: any,
19030
- |}): api$DotReplitUpdateResponse;
19031
-
19032
- /**
19033
- * Creates a plain object from a DotReplitUpdateResponse message. Also converts values to other types if specified.
19034
- * @param message DotReplitUpdateResponse
19035
- * @param [options] Conversion options
19036
- * @returns Plain object
19037
- */
19038
- static toObject(
19039
- message: api$DotReplitUpdateResponse,
19040
- options?: $protobuf.IConversionOptions
19041
- ): {|
19042
- [k: string]: any,
19043
- |};
19044
-
19045
- /**
19046
- * Converts this DotReplitUpdateResponse to JSON.
19047
- * @returns JSON object
19048
- */
19049
- toJSON(): {|
19050
- [k: string]: any,
19051
- |};
19052
- }
19053
-
19054
18652
  /**
19055
18653
  * Properties of a DebugAddBreakpointRequest.
19056
18654
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.50",
3
+ "version": "0.2.51",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",
@@ -13,7 +13,7 @@
13
13
  "build:main": "TARGET='./main/index' ./gen.sh ../types.proto ../client.proto ../signing.proto"
14
14
  },
15
15
  "dependencies": {
16
- "protobufjs": "^6.10.2"
16
+ "protobufjs": "^6.11.3"
17
17
  },
18
18
  "devDependencies": {
19
19
  "flowgen": "^1.13.0"