@droppii-org/wasm-client-sdk 0.3.0 → 0.3.2

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/lib/index.es.js CHANGED
@@ -1921,7 +1921,7 @@ class SDK extends Emitter {
1921
1921
  ]);
1922
1922
  };
1923
1923
  this.searchPublicGroups = (data, operationID = v4()) => {
1924
- return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.joinStatus, data.offset, data.count]);
1924
+ return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.keyword, data.joinStatus, data.offset, data.count]);
1925
1925
  };
1926
1926
  this.quitGroup = (data, operationID = v4()) => {
1927
1927
  return this._invoker('quitGroup ', window.quitGroup, [
package/lib/index.js CHANGED
@@ -1925,7 +1925,7 @@ class SDK extends Emitter {
1925
1925
  ]);
1926
1926
  };
1927
1927
  this.searchPublicGroups = (data, operationID = v4()) => {
1928
- return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.joinStatus, data.offset, data.count]);
1928
+ return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.keyword, data.joinStatus, data.offset, data.count]);
1929
1929
  };
1930
1930
  this.quitGroup = (data, operationID = v4()) => {
1931
1931
  return this._invoker('quitGroup ', window.quitGroup, [
package/lib/index.umd.js CHANGED
@@ -1927,7 +1927,7 @@
1927
1927
  ]);
1928
1928
  };
1929
1929
  this.searchPublicGroups = (data, operationID = v4()) => {
1930
- return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.joinStatus, data.offset, data.count]);
1930
+ return this._invoker('searchPublicGroups', window.searchPublicGroups, [operationID, data.keyword, data.joinStatus, data.offset, data.count]);
1931
1931
  };
1932
1932
  this.quitGroup = (data, operationID = v4()) => {
1933
1933
  return this._invoker('quitGroup ', window.quitGroup, [
@@ -208,6 +208,12 @@ export declare type ConversationItem = {
208
208
  attachedInfo: string;
209
209
  ex?: string;
210
210
  peerType?: string;
211
+ members?: ConversationGroupMember[];
212
+ };
213
+ export declare type ConversationGroupMember = {
214
+ userID: string;
215
+ nickname: string;
216
+ faceURL: string;
211
217
  };
212
218
  export declare type MessageItem = {
213
219
  clientMsgID: string;
@@ -1,5 +1,5 @@
1
1
  import { MessageEntity, OfflinePush, PicBaseInfo, AtUsersInfoItem, MessageItem, SelfUserInfo, RtcInvite, GroupItem } from './entity';
2
- import { AllowType, GroupJoinSource, GroupVerificationType, MessageType, MessageReceiveOptType, GroupMemberRole, GroupMemberFilter, LogLevel, GroupMessageReaderFilter, GroupAtType, ViewType, PublicGroupJoinStatus } from './enum';
2
+ import { AllowType, GroupJoinSource, GroupVerificationType, MessageType, MessageReceiveOptType, GroupMemberRole, GroupMemberFilter, LogLevel, GroupMessageReaderFilter, GroupAtType, ViewType, PublicGroupJoinStatus, GroupPermission } from './enum';
3
3
  export declare type WasmPathConfig = {
4
4
  coreWasmPath?: string;
5
5
  sqlWasmPath?: string;
@@ -157,6 +157,7 @@ export declare type SearchGroupParams = {
157
157
  isSearchGroupName: boolean;
158
158
  };
159
159
  export declare type SearchPublicGroupsParams = {
160
+ keyword: string;
160
161
  joinStatus: PublicGroupJoinStatus;
161
162
  offset: number;
162
163
  count: number;
@@ -368,6 +369,7 @@ export declare type UpdateMemberInfoParams = {
368
369
  faceURL?: string;
369
370
  roleLevel?: GroupMemberRole;
370
371
  ex?: string;
372
+ permissions?: GroupPermission[];
371
373
  };
372
374
  export declare type FindMessageParams = {
373
375
  conversationID: string;