@droppii-org/wasm-client-sdk 0.3.0 → 0.3.1
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 +1 -1
- package/lib/index.js +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/types/entity.d.ts +6 -0
- package/lib/types/params.d.ts +1 -0
- package/package.json +1 -1
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, [
|
package/lib/types/entity.d.ts
CHANGED
|
@@ -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;
|
package/lib/types/params.d.ts
CHANGED