@sniipwebmaster/user-service-client-grpcweb-ts 23.8.10003 → 23.8.10016

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.
@@ -32,7 +32,7 @@ export class SniipUserServiceServiceClient {
32
32
  options?: null | { [index: string]: any; }) {
33
33
  if (!options) options = {};
34
34
  if (!credentials) credentials = {};
35
- options['format'] = 'text';
35
+ options['format'] = 'binary';
36
36
 
37
37
  this.client_ = new grpcWeb.GrpcWebClientBase(options);
38
38
  this.hostname_ = hostname.replace(/\/+$/, '');
@@ -1244,6 +1244,49 @@ export class SniipUserServiceServiceClient {
1244
1244
  this.methodDescriptorDeleteProfilePicture);
1245
1245
  }
1246
1246
 
1247
+ methodDescriptorDeleteProfilePicture1 = new grpcWeb.MethodDescriptor(
1248
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture1',
1249
+ grpcWeb.MethodType.UNARY,
1250
+ google_protobuf_empty_pb.Empty,
1251
+ service_pb.ResponseCode,
1252
+ (request: google_protobuf_empty_pb.Empty) => {
1253
+ return request.serializeBinary();
1254
+ },
1255
+ service_pb.ResponseCode.deserializeBinary
1256
+ );
1257
+
1258
+ deleteProfilePicture1(
1259
+ request: google_protobuf_empty_pb.Empty,
1260
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1261
+
1262
+ deleteProfilePicture1(
1263
+ request: google_protobuf_empty_pb.Empty,
1264
+ metadata: grpcWeb.Metadata | null,
1265
+ callback: (err: grpcWeb.RpcError,
1266
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1267
+
1268
+ deleteProfilePicture1(
1269
+ request: google_protobuf_empty_pb.Empty,
1270
+ metadata: grpcWeb.Metadata | null,
1271
+ callback?: (err: grpcWeb.RpcError,
1272
+ response: service_pb.ResponseCode) => void) {
1273
+ if (callback !== undefined) {
1274
+ return this.client_.rpcCall(
1275
+ this.hostname_ +
1276
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture1',
1277
+ request,
1278
+ metadata || {},
1279
+ this.methodDescriptorDeleteProfilePicture1,
1280
+ callback);
1281
+ }
1282
+ return this.client_.unaryCall(
1283
+ this.hostname_ +
1284
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture1',
1285
+ request,
1286
+ metadata || {},
1287
+ this.methodDescriptorDeleteProfilePicture1);
1288
+ }
1289
+
1247
1290
  methodDescriptorDeleteTestAccount = new grpcWeb.MethodDescriptor(
1248
1291
  '/sniipuserservice.SniipUserServiceService/DeleteTestAccount',
1249
1292
  grpcWeb.MethodType.UNARY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb-ts",
3
- "version": "23.8.10003",
3
+ "version": "23.8.10016",
4
4
  "description": "user-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",