mezon-js-protobuf 1.4.64 → 1.4.65

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/api/api.ts CHANGED
@@ -1871,6 +1871,8 @@ export interface ChannelDescription {
1871
1871
  last_pin_message: string;
1872
1872
  /** the usernames */
1873
1873
  usernames: string;
1874
+ /** creator name */
1875
+ creator_name: string;
1874
1876
  }
1875
1877
 
1876
1878
  /** direct channel void */
@@ -12919,6 +12921,7 @@ function createBaseChannelDescription(): ChannelDescription {
12919
12921
  active: 0,
12920
12922
  last_pin_message: "",
12921
12923
  usernames: "",
12924
+ creator_name: "",
12922
12925
  };
12923
12926
  }
12924
12927
 
@@ -12981,6 +12984,9 @@ export const ChannelDescription = {
12981
12984
  if (message.usernames !== "") {
12982
12985
  writer.uint32(154).string(message.usernames);
12983
12986
  }
12987
+ if (message.creator_name !== "") {
12988
+ writer.uint32(162).string(message.creator_name);
12989
+ }
12984
12990
  return writer;
12985
12991
  },
12986
12992
 
@@ -13048,6 +13054,9 @@ export const ChannelDescription = {
13048
13054
  case 19:
13049
13055
  message.usernames = reader.string();
13050
13056
  break;
13057
+ case 20:
13058
+ message.creator_name = reader.string();
13059
+ break;
13051
13060
  default:
13052
13061
  reader.skipType(tag & 7);
13053
13062
  break;
@@ -13081,6 +13090,7 @@ export const ChannelDescription = {
13081
13090
  active: isSet(object.active) ? Number(object.active) : 0,
13082
13091
  last_pin_message: isSet(object.last_pin_message) ? String(object.last_pin_message) : "",
13083
13092
  usernames: isSet(object.usernames) ? String(object.usernames) : "",
13093
+ creator_name: isSet(object.creator_name) ? String(object.creator_name) : "",
13084
13094
  };
13085
13095
  },
13086
13096
 
@@ -13117,6 +13127,7 @@ export const ChannelDescription = {
13117
13127
  message.active !== undefined && (obj.active = Math.round(message.active));
13118
13128
  message.last_pin_message !== undefined && (obj.last_pin_message = message.last_pin_message);
13119
13129
  message.usernames !== undefined && (obj.usernames = message.usernames);
13130
+ message.creator_name !== undefined && (obj.creator_name = message.creator_name);
13120
13131
  return obj;
13121
13132
  },
13122
13133
 
@@ -13149,6 +13160,7 @@ export const ChannelDescription = {
13149
13160
  message.active = object.active ?? 0;
13150
13161
  message.last_pin_message = object.last_pin_message ?? "";
13151
13162
  message.usernames = object.usernames ?? "";
13163
+ message.creator_name = object.creator_name ?? "";
13152
13164
  return message;
13153
13165
  },
13154
13166
  };
@@ -1391,6 +1391,8 @@ export interface ChannelDescription {
1391
1391
  last_pin_message: string;
1392
1392
  /** the usernames */
1393
1393
  usernames: string;
1394
+ /** creator name */
1395
+ creator_name: string;
1394
1396
  }
1395
1397
  /** direct channel void */
1396
1398
  export interface DirectChannelVoice {
@@ -9474,6 +9476,7 @@ export declare const ChannelDescription: {
9474
9476
  active?: number | undefined;
9475
9477
  last_pin_message?: string | undefined;
9476
9478
  usernames?: string | undefined;
9479
+ creator_name?: string | undefined;
9477
9480
  } & {
9478
9481
  clan_id?: string | undefined;
9479
9482
  parrent_id?: string | undefined;
@@ -9530,6 +9533,7 @@ export declare const ChannelDescription: {
9530
9533
  active?: number | undefined;
9531
9534
  last_pin_message?: string | undefined;
9532
9535
  usernames?: string | undefined;
9536
+ creator_name?: string | undefined;
9533
9537
  } & { [K_4 in Exclude<keyof I, keyof ChannelDescription>]: never; }>(base?: I | undefined): ChannelDescription;
9534
9538
  fromPartial<I_1 extends {
9535
9539
  clan_id?: string | undefined;
@@ -9569,6 +9573,7 @@ export declare const ChannelDescription: {
9569
9573
  active?: number | undefined;
9570
9574
  last_pin_message?: string | undefined;
9571
9575
  usernames?: string | undefined;
9576
+ creator_name?: string | undefined;
9572
9577
  } & {
9573
9578
  clan_id?: string | undefined;
9574
9579
  parrent_id?: string | undefined;
@@ -9625,6 +9630,7 @@ export declare const ChannelDescription: {
9625
9630
  active?: number | undefined;
9626
9631
  last_pin_message?: string | undefined;
9627
9632
  usernames?: string | undefined;
9633
+ creator_name?: string | undefined;
9628
9634
  } & { [K_9 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
9629
9635
  };
9630
9636
  export declare const DirectChannelVoice: {
@@ -9827,6 +9833,7 @@ export declare const ChannelDescList: {
9827
9833
  active?: number | undefined;
9828
9834
  last_pin_message?: string | undefined;
9829
9835
  usernames?: string | undefined;
9836
+ creator_name?: string | undefined;
9830
9837
  }[] | undefined;
9831
9838
  next_cursor?: string | undefined;
9832
9839
  prev_cursor?: string | undefined;
@@ -9870,6 +9877,7 @@ export declare const ChannelDescList: {
9870
9877
  active?: number | undefined;
9871
9878
  last_pin_message?: string | undefined;
9872
9879
  usernames?: string | undefined;
9880
+ creator_name?: string | undefined;
9873
9881
  }[] & ({
9874
9882
  clan_id?: string | undefined;
9875
9883
  parrent_id?: string | undefined;
@@ -9908,6 +9916,7 @@ export declare const ChannelDescList: {
9908
9916
  active?: number | undefined;
9909
9917
  last_pin_message?: string | undefined;
9910
9918
  usernames?: string | undefined;
9919
+ creator_name?: string | undefined;
9911
9920
  } & {
9912
9921
  clan_id?: string | undefined;
9913
9922
  parrent_id?: string | undefined;
@@ -9964,6 +9973,7 @@ export declare const ChannelDescList: {
9964
9973
  active?: number | undefined;
9965
9974
  last_pin_message?: string | undefined;
9966
9975
  usernames?: string | undefined;
9976
+ creator_name?: string | undefined;
9967
9977
  } & { [K_4 in Exclude<keyof I["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_5 in Exclude<keyof I["channeldesc"], keyof {
9968
9978
  clan_id?: string | undefined;
9969
9979
  parrent_id?: string | undefined;
@@ -10002,6 +10012,7 @@ export declare const ChannelDescList: {
10002
10012
  active?: number | undefined;
10003
10013
  last_pin_message?: string | undefined;
10004
10014
  usernames?: string | undefined;
10015
+ creator_name?: string | undefined;
10005
10016
  }[]>]: never; }) | undefined;
10006
10017
  next_cursor?: string | undefined;
10007
10018
  prev_cursor?: string | undefined;
@@ -10046,6 +10057,7 @@ export declare const ChannelDescList: {
10046
10057
  active?: number | undefined;
10047
10058
  last_pin_message?: string | undefined;
10048
10059
  usernames?: string | undefined;
10060
+ creator_name?: string | undefined;
10049
10061
  }[] | undefined;
10050
10062
  next_cursor?: string | undefined;
10051
10063
  prev_cursor?: string | undefined;
@@ -10089,6 +10101,7 @@ export declare const ChannelDescList: {
10089
10101
  active?: number | undefined;
10090
10102
  last_pin_message?: string | undefined;
10091
10103
  usernames?: string | undefined;
10104
+ creator_name?: string | undefined;
10092
10105
  }[] & ({
10093
10106
  clan_id?: string | undefined;
10094
10107
  parrent_id?: string | undefined;
@@ -10127,6 +10140,7 @@ export declare const ChannelDescList: {
10127
10140
  active?: number | undefined;
10128
10141
  last_pin_message?: string | undefined;
10129
10142
  usernames?: string | undefined;
10143
+ creator_name?: string | undefined;
10130
10144
  } & {
10131
10145
  clan_id?: string | undefined;
10132
10146
  parrent_id?: string | undefined;
@@ -10183,6 +10197,7 @@ export declare const ChannelDescList: {
10183
10197
  active?: number | undefined;
10184
10198
  last_pin_message?: string | undefined;
10185
10199
  usernames?: string | undefined;
10200
+ creator_name?: string | undefined;
10186
10201
  } & { [K_11 in Exclude<keyof I_1["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_12 in Exclude<keyof I_1["channeldesc"], keyof {
10187
10202
  clan_id?: string | undefined;
10188
10203
  parrent_id?: string | undefined;
@@ -10221,6 +10236,7 @@ export declare const ChannelDescList: {
10221
10236
  active?: number | undefined;
10222
10237
  last_pin_message?: string | undefined;
10223
10238
  usernames?: string | undefined;
10239
+ creator_name?: string | undefined;
10224
10240
  }[]>]: never; }) | undefined;
10225
10241
  next_cursor?: string | undefined;
10226
10242
  prev_cursor?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.4.64",
3
+ "version": "1.4.65",
4
4
  "description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
5
5
  "main": "dist/mezon-js-protobuf.cjs.js",
6
6
  "module": "dist/mezon-js-protobuf.esm.mjs",