quickblox 2.16.0 → 2.16.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 CHANGED
@@ -24,7 +24,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
24
24
  ## Dependencies for browser
25
25
 
26
26
  ```html
27
- <script src="https://unpkg.com/quickblox@2.16.0/quickblox.min.js"></script>
27
+ <script src="https://unpkg.com/quickblox@2.16.1/quickblox.min.js"></script>
28
28
  ```
29
29
 
30
30
  ## Bower and RequireJS
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickblox",
3
3
  "description": "QuickBlox JavaScript SDK",
4
- "version": "2.16.0",
4
+ "version": "2.16.1",
5
5
  "homepage": "https://quickblox.com/developers/Javascript",
6
6
  "main": "src/qbMain.js",
7
7
  "types": "quickblox.d.ts",
package/quickblox.d.ts CHANGED
@@ -393,11 +393,10 @@ interface QBDataModule {
393
393
  }>
394
394
  ): void;
395
395
  update<
396
- D extends { _id: string } & Dictionary<unknown>,
397
396
  T extends QBCustomObject
398
397
  >(
399
398
  className: string,
400
- data: D,
399
+ data: { _id: string } & Dictionary<unknown>,
401
400
  callback: QBCallback<T>
402
401
  ): void;
403
402
  fileUrl(
@@ -595,6 +594,7 @@ export declare interface QBWebRTCModule {
595
594
  userInfo: Dictionary<unknown>
596
595
  ) => void;
597
596
  onUserNotAnswerListener?: (session: QBWebRTCSession, userId: number) => void;
597
+ onReconnectListener?: (session: QBWebRTCSession, userId: number, state: unknown) => void;
598
598
  }
599
599
 
600
600
  export declare type QBLoginParams =
@@ -642,6 +642,8 @@ export class QuickBlox {
642
642
  config?: QBConfig
643
643
  ): void;
644
644
 
645
+ initWithAppId(appId: number, accountKey: string, config?: QBConfig):void;
646
+
645
647
  login(params: QBLoginParams, callback: QBCallback<QBUser>): void;
646
648
 
647
649
  logout(callback: QBCallback<unknown>): void;
package/quickblox.js CHANGED
@@ -53642,8 +53642,8 @@ module.exports = StreamManagement;
53642
53642
  */
53643
53643
 
53644
53644
  var config = {
53645
- version: '2.16.0',
53646
- buildNumber: '1154',
53645
+ version: '2.16.1',
53646
+ buildNumber: '1156',
53647
53647
  creds: {
53648
53648
  'appId': 0,
53649
53649
  'authKey': '',