quickblox 2.19.0 → 2.19.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/{LICENSE → LICENSE.md} +35 -49
- package/README.md +3 -1
- package/package.json +2 -2
- package/quickblox.d.ts +3 -0
- package/quickblox.js +37367 -26454
- package/quickblox.min.js +1 -1
- package/src/modules/chat/qbChat.js +35 -18
- package/src/qbConfig.js +2 -2
- package/src/qbStrophe.js +6 -4
- package/strophejs-1.4.0/dist/strophe.common.js +0 -6668
- package/strophejs-1.4.0/dist/strophe.esm.js +0 -6660
- package/strophejs-1.4.0/dist/strophe.umd.js +0 -6873
- package/strophejs-1.4.0/dist/strophe.umd.min.js +0 -1
package/{LICENSE → LICENSE.md}
RENAMED
|
@@ -103,36 +103,9 @@ excluded under applicable law. Both parties are in understanding that some
|
|
|
103
103
|
jurisdictions do not allow the exclusion of liability for consequential damages
|
|
104
104
|
and as so the above limitation may not apply.
|
|
105
105
|
|
|
106
|
-
13. **SAMPLES AND EXAMPLES LICENSE.**
|
|
107
|
-
All samples and examples provided within this SDK are distributed under the MIT
|
|
108
|
-
License. The text of the MIT License is included within each sample.
|
|
109
|
-
|
|
110
|
-
|
|
111
106
|
# Third-Party Licenses
|
|
112
107
|
|
|
113
|
-
##
|
|
114
|
-
|
|
115
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
116
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
117
|
-
in the Software without restriction, including without limitation the rights
|
|
118
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
119
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
120
|
-
furnished to do so, subject to the following conditions:
|
|
121
|
-
|
|
122
|
-
The above copyright notice and this permission notice shall be included in all
|
|
123
|
-
copies or substantial portions of the Software.
|
|
124
|
-
|
|
125
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
126
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
127
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
128
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
129
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
130
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
131
|
-
SOFTWARE.
|
|
132
|
-
|
|
133
|
-
You may obtain a copy of the License at https://opensource.org/licenses/MIT
|
|
134
|
-
|
|
135
|
-
## BSD-3-Clause License
|
|
108
|
+
## Crypto-js (BSD-3-Clause License)
|
|
136
109
|
|
|
137
110
|
Redistribution and use in source and binary forms, with or without
|
|
138
111
|
modification, are permitted provided that the following conditions are met:
|
|
@@ -161,7 +134,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
161
134
|
|
|
162
135
|
You may obtain a copy of the License at https://opensource.org/licenses/BSD-3-Clause
|
|
163
136
|
|
|
164
|
-
## Form-Data License
|
|
137
|
+
## Form-Data (MIT License)
|
|
165
138
|
|
|
166
139
|
Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
|
|
167
140
|
|
|
@@ -184,11 +157,7 @@ Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
|
|
|
184
157
|
THE SOFTWARE.
|
|
185
158
|
|
|
186
159
|
|
|
187
|
-
## NativeScript XMPP Client License
|
|
188
|
-
|
|
189
|
-
The MIT License (MIT)
|
|
190
|
-
|
|
191
|
-
nativescript-xmpp-client
|
|
160
|
+
## NativeScript XMPP Client (MIT License)
|
|
192
161
|
|
|
193
162
|
Copyright (c) 2016, Samuel Monday Agbonkpolo
|
|
194
163
|
|
|
@@ -209,9 +178,7 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
209
178
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
210
179
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
211
180
|
|
|
212
|
-
## Node-fetch License
|
|
213
|
-
|
|
214
|
-
The MIT License (MIT)
|
|
181
|
+
## Node-fetch (MIT License)
|
|
215
182
|
|
|
216
183
|
Copyright (c) 2016 David Frank
|
|
217
184
|
|
|
@@ -233,10 +200,29 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
233
200
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
234
201
|
SOFTWARE.
|
|
235
202
|
|
|
203
|
+
## Node-xmpp-client (MIT License)
|
|
204
|
+
|
|
205
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
206
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
207
|
+
in the Software without restriction, including without limitation the rights
|
|
208
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
209
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
210
|
+
furnished to do so, subject to the following conditions:
|
|
211
|
+
|
|
212
|
+
The above copyright notice and this permission notice shall be included in all
|
|
213
|
+
copies or substantial portions of the Software.
|
|
236
214
|
|
|
237
|
-
|
|
215
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
216
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
217
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
218
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
219
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
220
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
221
|
+
SOFTWARE.
|
|
222
|
+
|
|
223
|
+
You may obtain a copy of the License at https://opensource.org/licenses/MIT
|
|
238
224
|
|
|
239
|
-
(
|
|
225
|
+
## SDP-Transform (MIT License)
|
|
240
226
|
|
|
241
227
|
Copyright (c) 2013 Eirik Albrigtsen
|
|
242
228
|
|
|
@@ -260,7 +246,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
260
246
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
261
247
|
|
|
262
248
|
|
|
263
|
-
## Strophe.js License
|
|
249
|
+
## Strophe.js (MIT License)
|
|
264
250
|
|
|
265
251
|
Copyright (c) 2006-2009 Collecta, Inc.
|
|
266
252
|
|
|
@@ -282,7 +268,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
282
268
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
283
269
|
THE SOFTWARE.
|
|
284
270
|
|
|
285
|
-
## WebRTC adapter License
|
|
271
|
+
## WebRTC adapter (BSD-3-Clause License)
|
|
286
272
|
|
|
287
273
|
Copyright (c) 2014, The WebRTC project authors. All rights reserved.
|
|
288
274
|
Copyright (c) 2018, The adapter.js project authors. All rights reserved.
|
|
@@ -321,14 +307,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
321
307
|
|
|
322
308
|
This product includes software developed by:
|
|
323
309
|
|
|
324
|
-
-
|
|
325
|
-
-
|
|
326
|
-
-
|
|
327
|
-
-
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
310
|
+
- Crypto-js (BSD-3-Clause License)
|
|
311
|
+
- Form-Data (MIT License)
|
|
312
|
+
- NativeScript XMPP Client (MIT License)
|
|
313
|
+
- Node-fetch (MIT License)
|
|
314
|
+
- Node-xmpp-client (MIT License)
|
|
315
|
+
- SDP-Transform (MIT License)
|
|
316
|
+
- Strophe.js (MIT License)
|
|
317
|
+
- WebRTC adapter (BSD-3-Clause License)
|
|
332
318
|
|
|
333
319
|
|
|
334
320
|
|
package/README.md
CHANGED
|
@@ -73,4 +73,6 @@ See more information at [contributing.md](https://github.com/QuickBlox/quickblox
|
|
|
73
73
|
|
|
74
74
|
# License
|
|
75
75
|
|
|
76
|
-
QuickBlox SDK License Agreement. Please see the LICENSE.
|
|
76
|
+
QuickBlox SDK License Agreement. Please see the LICENSE.md file distributed with the SDK.
|
|
77
|
+
All samples and examples provided within this SDK are distributed under the MIT License.
|
|
78
|
+
The text of the MIT License is included within each sample.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quickblox",
|
|
3
3
|
"description": "QuickBlox JavaScript SDK",
|
|
4
|
-
"version": "2.19.
|
|
4
|
+
"version": "2.19.2",
|
|
5
5
|
"homepage": "https://quickblox.com/developers/Javascript",
|
|
6
6
|
"main": "src/qbMain.js",
|
|
7
7
|
"types": "quickblox.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"node-fetch": "^1.7.3",
|
|
45
45
|
"node-xmpp-client": "^3.0.0",
|
|
46
46
|
"sdp-transform": "^2.3.0",
|
|
47
|
-
"strophe.js": "
|
|
47
|
+
"strophe.js": "2.0.0",
|
|
48
48
|
"webrtc-adapter": "^7.7.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
package/quickblox.d.ts
CHANGED
|
@@ -140,6 +140,9 @@ export declare interface QBConfig {
|
|
|
140
140
|
retry: (session: QBSession) => void,
|
|
141
141
|
) => void
|
|
142
142
|
}
|
|
143
|
+
pingTimeout?: number
|
|
144
|
+
pingLocalhostTimeInterval?: number
|
|
145
|
+
chatReconnectionTimeInterval?: number
|
|
143
146
|
}
|
|
144
147
|
|
|
145
148
|
export declare interface QBError {
|