mezon-js-protobuf 1.5.92 → 1.5.93

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
@@ -1869,7 +1869,7 @@ export interface ListThreadRequest {
1869
1869
  /** The clan of this channel */
1870
1870
  clan_id: string;
1871
1871
  /** channel id */
1872
- channel_id: number;
1872
+ channel_id: string;
1873
1873
  }
1874
1874
 
1875
1875
  /** List (and optionally filter) channels. */
@@ -16283,7 +16283,7 @@ export const ChannelDescList = {
16283
16283
  };
16284
16284
 
16285
16285
  function createBaseListThreadRequest(): ListThreadRequest {
16286
- return { limit: undefined, state: undefined, clan_id: "", channel_id: 0 };
16286
+ return { limit: undefined, state: undefined, clan_id: "", channel_id: "" };
16287
16287
  }
16288
16288
 
16289
16289
  export const ListThreadRequest = {
@@ -16297,8 +16297,8 @@ export const ListThreadRequest = {
16297
16297
  if (message.clan_id !== "") {
16298
16298
  writer.uint32(26).string(message.clan_id);
16299
16299
  }
16300
- if (message.channel_id !== 0) {
16301
- writer.uint32(32).int32(message.channel_id);
16300
+ if (message.channel_id !== "") {
16301
+ writer.uint32(34).string(message.channel_id);
16302
16302
  }
16303
16303
  return writer;
16304
16304
  },
@@ -16332,11 +16332,11 @@ export const ListThreadRequest = {
16332
16332
  message.clan_id = reader.string();
16333
16333
  continue;
16334
16334
  case 4:
16335
- if (tag !== 32) {
16335
+ if (tag !== 34) {
16336
16336
  break;
16337
16337
  }
16338
16338
 
16339
- message.channel_id = reader.int32();
16339
+ message.channel_id = reader.string();
16340
16340
  continue;
16341
16341
  }
16342
16342
  if ((tag & 7) === 4 || tag === 0) {
@@ -16352,7 +16352,7 @@ export const ListThreadRequest = {
16352
16352
  limit: isSet(object.limit) ? Number(object.limit) : undefined,
16353
16353
  state: isSet(object.state) ? Number(object.state) : undefined,
16354
16354
  clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
16355
- channel_id: isSet(object.channel_id) ? globalThis.Number(object.channel_id) : 0,
16355
+ channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
16356
16356
  };
16357
16357
  },
16358
16358
 
@@ -16367,8 +16367,8 @@ export const ListThreadRequest = {
16367
16367
  if (message.clan_id !== "") {
16368
16368
  obj.clan_id = message.clan_id;
16369
16369
  }
16370
- if (message.channel_id !== 0) {
16371
- obj.channel_id = Math.round(message.channel_id);
16370
+ if (message.channel_id !== "") {
16371
+ obj.channel_id = message.channel_id;
16372
16372
  }
16373
16373
  return obj;
16374
16374
  },
@@ -16381,7 +16381,7 @@ export const ListThreadRequest = {
16381
16381
  message.limit = object.limit ?? undefined;
16382
16382
  message.state = object.state ?? undefined;
16383
16383
  message.clan_id = object.clan_id ?? "";
16384
- message.channel_id = object.channel_id ?? 0;
16384
+ message.channel_id = object.channel_id ?? "";
16385
16385
  return message;
16386
16386
  },
16387
16387
  };
@@ -1393,7 +1393,7 @@ export interface ListThreadRequest {
1393
1393
  /** The clan of this channel */
1394
1394
  clan_id: string;
1395
1395
  /** channel id */
1396
- channel_id: number;
1396
+ channel_id: string;
1397
1397
  }
1398
1398
  /** List (and optionally filter) channels. */
1399
1399
  export interface ListChannelDescsRequest {
@@ -9994,23 +9994,23 @@ export declare const ListThreadRequest: {
9994
9994
  limit?: number | undefined;
9995
9995
  state?: number | undefined;
9996
9996
  clan_id?: string | undefined;
9997
- channel_id?: number | undefined;
9997
+ channel_id?: string | undefined;
9998
9998
  } & {
9999
9999
  limit?: number | undefined;
10000
10000
  state?: number | undefined;
10001
10001
  clan_id?: string | undefined;
10002
- channel_id?: number | undefined;
10002
+ channel_id?: string | undefined;
10003
10003
  } & { [K in Exclude<keyof I, keyof ListThreadRequest>]: never; }>(base?: I | undefined): ListThreadRequest;
10004
10004
  fromPartial<I_1 extends {
10005
10005
  limit?: number | undefined;
10006
10006
  state?: number | undefined;
10007
10007
  clan_id?: string | undefined;
10008
- channel_id?: number | undefined;
10008
+ channel_id?: string | undefined;
10009
10009
  } & {
10010
10010
  limit?: number | undefined;
10011
10011
  state?: number | undefined;
10012
10012
  clan_id?: string | undefined;
10013
- channel_id?: number | undefined;
10013
+ channel_id?: string | undefined;
10014
10014
  } & { [K_1 in Exclude<keyof I_1, keyof ListThreadRequest>]: never; }>(object: I_1): ListThreadRequest;
10015
10015
  };
10016
10016
  export declare const ListChannelDescsRequest: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.5.92",
3
+ "version": "1.5.93",
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",