mezon-js 2.10.63 → 2.10.64

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/client.ts CHANGED
@@ -4753,7 +4753,7 @@ export class Client {
4753
4753
  }
4754
4754
 
4755
4755
  /** List a ptt channel's users. */
4756
- async listPTTChannelUsers(
4756
+ async listSFUChannelUsers(
4757
4757
  session: Session,
4758
4758
  clanId: string,
4759
4759
  channelId: string,
package/dist/client.d.ts CHANGED
@@ -638,7 +638,7 @@ export declare class Client {
638
638
  updateUserStatus(session: Session, request: ApiUserStatusUpdate): Promise<boolean>;
639
639
  getUserStatus(session: Session): Promise<ApiUserStatus>;
640
640
  /** List a ptt channel's users. */
641
- listPTTChannelUsers(session: Session, clanId: string, channelId: string, channelType: number, state?: number, limit?: number, cursor?: string): Promise<ApiSFUChannelUserList>;
641
+ listSFUChannelUsers(session: Session, clanId: string, channelId: string, channelType: number, state?: number, limit?: number, cursor?: string): Promise<ApiSFUChannelUserList>;
642
642
  listWalletLedger(session: Session, limit?: number, cursor?: string, transactionId?: string): Promise<ApiWalletLedgerList>;
643
643
  listSdTopic(session: Session, clanId?: string, limit?: number): Promise<ApiSdTopicList>;
644
644
  createSdTopic(session: Session, request: ApiSdTopicRequest): Promise<ApiSdTopic>;
@@ -10572,7 +10572,7 @@ var Client = class {
10572
10572
  });
10573
10573
  }
10574
10574
  /** List a ptt channel's users. */
10575
- listPTTChannelUsers(session, clanId, channelId, channelType, state, limit, cursor) {
10575
+ listSFUChannelUsers(session, clanId, channelId, channelType, state, limit, cursor) {
10576
10576
  return __async(this, null, function* () {
10577
10577
  if (this.autoRefreshSession && session.refresh_token && session.isexpired((Date.now() + this.expiredTimespanMs) / 1e3)) {
10578
10578
  yield this.sessionRefresh(session);
@@ -10537,7 +10537,7 @@ var Client = class {
10537
10537
  });
10538
10538
  }
10539
10539
  /** List a ptt channel's users. */
10540
- listPTTChannelUsers(session, clanId, channelId, channelType, state, limit, cursor) {
10540
+ listSFUChannelUsers(session, clanId, channelId, channelType, state, limit, cursor) {
10541
10541
  return __async(this, null, function* () {
10542
10542
  if (this.autoRefreshSession && session.refresh_token && session.isexpired((Date.now() + this.expiredTimespanMs) / 1e3)) {
10543
10543
  yield this.sessionRefresh(session);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.10.63",
4
+ "version": "2.10.64",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"