@octelium/apis 1.0.3 → 1.0.4

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.
@@ -268,6 +268,14 @@ export interface ConnectRequest_Initialize {
268
268
  * @generated from protobuf field: int32 eSSHPort = 7
269
269
  */
270
270
  eSSHPort: number;
271
+ /**
272
+ * @generated from protobuf field: bool eSOCKS5Enable = 8
273
+ */
274
+ eSOCKS5Enable: boolean;
275
+ /**
276
+ * @generated from protobuf field: int32 eSOCKS5Port = 9
277
+ */
278
+ eSOCKS5Port: number;
271
279
  }
272
280
  /**
273
281
  * @generated from protobuf message octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions
@@ -1868,7 +1876,9 @@ class ConnectRequest_Initialize$Type extends MessageType<ConnectRequest_Initiali
1868
1876
  { no: 4, name: "publishedServices", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ConnectRequest_Initialize_PublishedService },
1869
1877
  { no: 5, name: "ignoreDNS", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1870
1878
  { no: 6, name: "eSSHEnable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1871
- { no: 7, name: "eSSHPort", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
1879
+ { no: 7, name: "eSSHPort", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
1880
+ { no: 8, name: "eSOCKS5Enable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1881
+ { no: 9, name: "eSOCKS5Port", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
1872
1882
  ]);
1873
1883
  }
1874
1884
  create(value?: PartialMessage<ConnectRequest_Initialize>): ConnectRequest_Initialize {
@@ -1879,6 +1889,8 @@ class ConnectRequest_Initialize$Type extends MessageType<ConnectRequest_Initiali
1879
1889
  message.ignoreDNS = false;
1880
1890
  message.eSSHEnable = false;
1881
1891
  message.eSSHPort = 0;
1892
+ message.eSOCKS5Enable = false;
1893
+ message.eSOCKS5Port = 0;
1882
1894
  if (value !== undefined)
1883
1895
  reflectionMergePartial<ConnectRequest_Initialize>(this, message, value);
1884
1896
  return message;
@@ -1909,6 +1921,12 @@ class ConnectRequest_Initialize$Type extends MessageType<ConnectRequest_Initiali
1909
1921
  case /* int32 eSSHPort */ 7:
1910
1922
  message.eSSHPort = reader.int32();
1911
1923
  break;
1924
+ case /* bool eSOCKS5Enable */ 8:
1925
+ message.eSOCKS5Enable = reader.bool();
1926
+ break;
1927
+ case /* int32 eSOCKS5Port */ 9:
1928
+ message.eSOCKS5Port = reader.int32();
1929
+ break;
1912
1930
  default:
1913
1931
  let u = options.readUnknownField;
1914
1932
  if (u === "throw")
@@ -1942,6 +1960,12 @@ class ConnectRequest_Initialize$Type extends MessageType<ConnectRequest_Initiali
1942
1960
  /* int32 eSSHPort = 7; */
1943
1961
  if (message.eSSHPort !== 0)
1944
1962
  writer.tag(7, WireType.Varint).int32(message.eSSHPort);
1963
+ /* bool eSOCKS5Enable = 8; */
1964
+ if (message.eSOCKS5Enable !== false)
1965
+ writer.tag(8, WireType.Varint).bool(message.eSOCKS5Enable);
1966
+ /* int32 eSOCKS5Port = 9; */
1967
+ if (message.eSOCKS5Port !== 0)
1968
+ writer.tag(9, WireType.Varint).int32(message.eSOCKS5Port);
1945
1969
  let u = options.writeUnknownFields;
1946
1970
  if (u !== false)
1947
1971
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octelium/apis",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Octelium Protobuf APIs",
5
5
  "author": "Octelium <contact@octelium.com>",
6
6
  "license": "Apache-2.0",