quickblox 2.17.0 → 2.17.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/README.md +1 -1
- package/package.json +1 -1
- package/quickblox.d.ts +26 -21
- package/quickblox.js +2 -2
- package/quickblox.min.js +1 -1
- package/src/qbConfig.js +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
|
|
|
16
16
|
## Dependencies for browser
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<script src="https://unpkg.com/quickblox@2.17.
|
|
19
|
+
<script src="https://unpkg.com/quickblox@2.17.1/quickblox.min.js"></script>
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Bower and RequireJS
|
package/package.json
CHANGED
package/quickblox.d.ts
CHANGED
|
@@ -369,29 +369,33 @@ export declare interface QBMessageStatusParams {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
export declare interface QBChatNewMessage {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
type: 'chat' | 'groupchat'
|
|
373
|
+
body?: string
|
|
374
|
+
extension: {
|
|
375
|
+
attachments?: ChatMessageAttachment[]
|
|
376
|
+
save_to_history: 0 | 1
|
|
377
|
+
dialog_id: QBChatDialog['_id']
|
|
378
|
+
[custom_field_N: string]: any
|
|
379
|
+
}
|
|
380
|
+
markable: 0 | 1
|
|
380
381
|
}
|
|
381
382
|
|
|
382
383
|
export declare interface QBChatXMPPMessage {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
384
|
+
id: string
|
|
385
|
+
dialog_id: QBChatDialog['_id']
|
|
386
|
+
recipient_id: QBUser['id'] | null
|
|
387
|
+
type: 'chat' | 'groupchat'
|
|
388
|
+
body: string | null
|
|
389
|
+
delay: null
|
|
390
|
+
markable: 0 | 1
|
|
391
|
+
extension: {
|
|
392
|
+
dialog_id: QBChatDialog['_id']
|
|
393
|
+
message_id: QBChatMessage['_id']
|
|
394
|
+
date_sent: string
|
|
395
|
+
save_to_history: string
|
|
396
|
+
attachments?: ChatMessageAttachment[]
|
|
397
|
+
[custom_field_N: string]: string | ChatMessageAttachment[]
|
|
398
|
+
}
|
|
395
399
|
}
|
|
396
400
|
|
|
397
401
|
export declare interface QBSystemMessage {
|
|
@@ -578,6 +582,7 @@ interface QBChatModule {
|
|
|
578
582
|
/** Send is delivered status. */
|
|
579
583
|
sendDeliveredStatus(params: QBMessageStatusParams): void
|
|
580
584
|
ping(jidOrUserId: string | number, callback: QBCallback<any>): string
|
|
585
|
+
ping(callback: QBCallback<any>): string
|
|
581
586
|
pingchat(callback: QBCallback<any>): string
|
|
582
587
|
|
|
583
588
|
dialog: {
|
|
@@ -711,7 +716,7 @@ interface QBChatModule {
|
|
|
711
716
|
* Leave group chat dialog
|
|
712
717
|
* ([read more](https://docs.quickblox.com/docs/js-chat-dialogs#retrieve-online-users)).
|
|
713
718
|
*/
|
|
714
|
-
listOnlineUsers(dialogJid: string, callback:
|
|
719
|
+
listOnlineUsers(dialogJid: string, callback: (userIds: Array<QBUser['id']>) => void): void
|
|
715
720
|
}
|
|
716
721
|
|
|
717
722
|
roster: {
|
package/quickblox.js
CHANGED
|
@@ -53809,8 +53809,8 @@ module.exports = StreamManagement;
|
|
|
53809
53809
|
*/
|
|
53810
53810
|
|
|
53811
53811
|
var config = {
|
|
53812
|
-
version: '2.17.
|
|
53813
|
-
buildNumber: '
|
|
53812
|
+
version: '2.17.1',
|
|
53813
|
+
buildNumber: '1161',
|
|
53814
53814
|
creds: {
|
|
53815
53815
|
'appId': 0,
|
|
53816
53816
|
'authKey': '',
|