quickblox 2.17.9-logger → 2.19.0

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.
Files changed (124) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +1 -2
  3. package/package.json +2 -1
  4. package/quickblox.js +111 -7055
  5. package/quickblox.min.js +1 -1
  6. package/src/modules/chat/qbChat.js +17 -27
  7. package/src/modules/webrtc/qbWebRTCSignalingProcessor.js +1 -2
  8. package/src/modules/webrtc/qbWebRTCSignalingProvider.js +1 -2
  9. package/src/qbConfig.js +2 -2
  10. package/src/qbStrophe.js +49 -59
  11. package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.common.js +14 -14
  12. package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.esm.js +14 -14
  13. package/{src/libs/strophe → strophejs-1.4.0/dist}/strophe.umd.js +17 -17
  14. package/strophejs-1.4.0/dist/strophe.umd.min.js +1 -0
  15. package/src/libs/strophe/strophe.umd.min.js +0 -1
  16. package/strophejs-1.4.0/.eslintrc.json +0 -264
  17. package/strophejs-1.4.0/.gitattributes +0 -1
  18. package/strophejs-1.4.0/CHANGELOG.md +0 -250
  19. package/strophejs-1.4.0/LICENSE.txt +0 -19
  20. package/strophejs-1.4.0/Makefile +0 -92
  21. package/strophejs-1.4.0/README.md +0 -45
  22. package/strophejs-1.4.0/RELEASE_CHECKLIST.md +0 -16
  23. package/strophejs-1.4.0/contrib/discojs/README.txt +0 -42
  24. package/strophejs-1.4.0/contrib/discojs/css/disco.css +0 -16
  25. package/strophejs-1.4.0/contrib/discojs/index.html +0 -47
  26. package/strophejs-1.4.0/contrib/discojs/punjab.tac +0 -18
  27. package/strophejs-1.4.0/contrib/discojs/scripts/basic.js +0 -102
  28. package/strophejs-1.4.0/contrib/discojs/scripts/disco.js +0 -60
  29. package/strophejs-1.4.0/docs.css +0 -797
  30. package/strophejs-1.4.0/examples/amd.html +0 -21
  31. package/strophejs-1.4.0/examples/attach/README +0 -37
  32. package/strophejs-1.4.0/examples/attach/__init__.py +0 -0
  33. package/strophejs-1.4.0/examples/attach/attacher/__init__.py +0 -0
  34. package/strophejs-1.4.0/examples/attach/attacher/views.py +0 -18
  35. package/strophejs-1.4.0/examples/attach/boshclient.py +0 -158
  36. package/strophejs-1.4.0/examples/attach/manage.py +0 -11
  37. package/strophejs-1.4.0/examples/attach/settings.py +0 -85
  38. package/strophejs-1.4.0/examples/attach/templates/attacher/index.html +0 -88
  39. package/strophejs-1.4.0/examples/attach/urls.py +0 -19
  40. package/strophejs-1.4.0/examples/basic.html +0 -23
  41. package/strophejs-1.4.0/examples/basic.js +0 -73
  42. package/strophejs-1.4.0/examples/echobot.html +0 -25
  43. package/strophejs-1.4.0/examples/echobot.js +0 -79
  44. package/strophejs-1.4.0/examples/main.js +0 -59
  45. package/strophejs-1.4.0/examples/prebind.html +0 -39
  46. package/strophejs-1.4.0/examples/prebind.js +0 -103
  47. package/strophejs-1.4.0/examples/restore.html +0 -24
  48. package/strophejs-1.4.0/examples/restore.js +0 -71
  49. package/strophejs-1.4.0/package-lock.json +0 -8634
  50. package/strophejs-1.4.0/package.json +0 -84
  51. package/strophejs-1.4.0/rollup.config.js +0 -76
  52. package/strophejs-1.4.0/src/bosh.js +0 -916
  53. package/strophejs-1.4.0/src/core.js +0 -3535
  54. package/strophejs-1.4.0/src/md5.js +0 -204
  55. package/strophejs-1.4.0/src/sha1.js +0 -172
  56. package/strophejs-1.4.0/src/shared-connection-worker.js +0 -114
  57. package/strophejs-1.4.0/src/shims.js +0 -123
  58. package/strophejs-1.4.0/src/strophe.js +0 -14
  59. package/strophejs-1.4.0/src/utils.js +0 -63
  60. package/strophejs-1.4.0/src/websocket.js +0 -561
  61. package/strophejs-1.4.0/src/worker-websocket.js +0 -152
  62. package/strophejs-1.4.0/tests/index.html +0 -21
  63. package/strophejs-1.4.0/tests/main.js +0 -49
  64. package/strophejs-1.4.0/tests/tests.js +0 -929
  65. package/strophejs-1.6.1/.eslintrc.json +0 -264
  66. package/strophejs-1.6.1/.gitattributes +0 -1
  67. package/strophejs-1.6.1/.nvmrc +0 -1
  68. package/strophejs-1.6.1/CHANGELOG.md +0 -288
  69. package/strophejs-1.6.1/LICENSE.txt +0 -19
  70. package/strophejs-1.6.1/Makefile +0 -92
  71. package/strophejs-1.6.1/README.md +0 -46
  72. package/strophejs-1.6.1/RELEASE_CHECKLIST.md +0 -18
  73. package/strophejs-1.6.1/babel.config.json +0 -10
  74. package/strophejs-1.6.1/contrib/discojs/README.txt +0 -42
  75. package/strophejs-1.6.1/contrib/discojs/css/disco.css +0 -16
  76. package/strophejs-1.6.1/contrib/discojs/index.html +0 -47
  77. package/strophejs-1.6.1/contrib/discojs/punjab.tac +0 -18
  78. package/strophejs-1.6.1/contrib/discojs/scripts/basic.js +0 -102
  79. package/strophejs-1.6.1/contrib/discojs/scripts/disco.js +0 -60
  80. package/strophejs-1.6.1/docs.css +0 -797
  81. package/strophejs-1.6.1/examples/amd.html +0 -21
  82. package/strophejs-1.6.1/examples/attach/README +0 -37
  83. package/strophejs-1.6.1/examples/attach/__init__.py +0 -0
  84. package/strophejs-1.6.1/examples/attach/attacher/__init__.py +0 -0
  85. package/strophejs-1.6.1/examples/attach/attacher/views.py +0 -18
  86. package/strophejs-1.6.1/examples/attach/boshclient.py +0 -158
  87. package/strophejs-1.6.1/examples/attach/manage.py +0 -11
  88. package/strophejs-1.6.1/examples/attach/settings.py +0 -85
  89. package/strophejs-1.6.1/examples/attach/templates/attacher/index.html +0 -88
  90. package/strophejs-1.6.1/examples/attach/urls.py +0 -19
  91. package/strophejs-1.6.1/examples/basic.html +0 -23
  92. package/strophejs-1.6.1/examples/basic.js +0 -73
  93. package/strophejs-1.6.1/examples/echobot.html +0 -25
  94. package/strophejs-1.6.1/examples/echobot.js +0 -79
  95. package/strophejs-1.6.1/examples/main.js +0 -59
  96. package/strophejs-1.6.1/examples/prebind.html +0 -39
  97. package/strophejs-1.6.1/examples/prebind.js +0 -103
  98. package/strophejs-1.6.1/examples/restore.html +0 -24
  99. package/strophejs-1.6.1/examples/restore.js +0 -71
  100. package/strophejs-1.6.1/package-lock.json +0 -18461
  101. package/strophejs-1.6.1/package.json +0 -87
  102. package/strophejs-1.6.1/rollup.config.js +0 -70
  103. package/strophejs-1.6.1/src/bosh.js +0 -916
  104. package/strophejs-1.6.1/src/builder.js +0 -239
  105. package/strophejs-1.6.1/src/constants.js +0 -155
  106. package/strophejs-1.6.1/src/core.js +0 -2377
  107. package/strophejs-1.6.1/src/sasl-anon.js +0 -17
  108. package/strophejs-1.6.1/src/sasl-external.js +0 -27
  109. package/strophejs-1.6.1/src/sasl-oauthbearer.js +0 -30
  110. package/strophejs-1.6.1/src/sasl-plain.js +0 -32
  111. package/strophejs-1.6.1/src/sasl-sha1.js +0 -24
  112. package/strophejs-1.6.1/src/sasl-sha256.js +0 -24
  113. package/strophejs-1.6.1/src/sasl-sha384.js +0 -24
  114. package/strophejs-1.6.1/src/sasl-sha512.js +0 -24
  115. package/strophejs-1.6.1/src/sasl-xoauth2.js +0 -27
  116. package/strophejs-1.6.1/src/sasl.js +0 -143
  117. package/strophejs-1.6.1/src/scram.js +0 -182
  118. package/strophejs-1.6.1/src/shared-connection-worker.js +0 -114
  119. package/strophejs-1.6.1/src/shims.js +0 -122
  120. package/strophejs-1.6.1/src/strophe.js +0 -15
  121. package/strophejs-1.6.1/src/utils.js +0 -626
  122. package/strophejs-1.6.1/src/websocket.js +0 -556
  123. package/strophejs-1.6.1/src/worker-websocket.js +0 -149
  124. package/strophejs-1.6.1/tests.js +0 -993
@@ -1,122 +0,0 @@
1
- /*
2
- * This module provides uniform
3
- * Shims APIs and globals that are not present in all JS environments,
4
- * the most common example for Strophe being browser APIs like WebSocket
5
- * and DOM that don't exist under nodejs.
6
- *
7
- * Usually these will be supplied in nodejs by conditionally requiring a
8
- * NPM module that provides a compatible implementation.
9
- */
10
-
11
- /* global global */
12
-
13
- /**
14
- * WHATWG WebSockets API
15
- * https://www.w3.org/TR/websockets/
16
- *
17
- * Interface to use the web socket protocol
18
- *
19
- * Used implementations:
20
- * - supported browsers: built-in in WebSocket global
21
- * https://developer.mozilla.org/en-US/docs/Web/API/WebSocket#Browser_compatibility
22
- * - nodejs: use standard-compliant 'ws' module
23
- * https://www.npmjs.com/package/ws
24
- */
25
- function getWebSocketImplementation () {
26
- let WebSocketImplementation = global.WebSocket;
27
- if (typeof WebSocketImplementation === 'undefined') {
28
- try {
29
- WebSocketImplementation = require('ws');
30
- } catch (err) {
31
- throw new Error('You must install the "ws" package to use Strophe in nodejs.');
32
- }
33
- }
34
- return WebSocketImplementation
35
- }
36
- export const WebSocket = getWebSocketImplementation()
37
-
38
- /**
39
- * DOMParser
40
- * https://w3c.github.io/DOM-Parsing/#the-domparser-interface
41
- *
42
- * Interface to parse XML strings into Document objects
43
- *
44
- * Used implementations:
45
- * - supported browsers: built-in in DOMParser global
46
- * https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Browser_compatibility
47
- * - nodejs: use '@xmldom/xmldom' module
48
- * https://www.npmjs.com/package/@xmldom/xmldom
49
- */
50
- function getDOMParserImplementation () {
51
- let DOMParserImplementation = global.DOMParser
52
- if (typeof DOMParserImplementation === 'undefined') {
53
- try {
54
- DOMParserImplementation = require('@xmldom/xmldom').DOMParser;
55
- } catch (err) {
56
- throw new Error('You must install the "@xmldom/xmldom" package to use Strophe in nodejs.');
57
- }
58
- }
59
- return DOMParserImplementation
60
- }
61
- export const DOMParser = getDOMParserImplementation()
62
-
63
- /**
64
- * Gets IE xml doc object. Used by getDummyXMLDocument shim.
65
- *
66
- * Returns:
67
- * A Microsoft XML DOM Object
68
- * See Also:
69
- * http://msdn.microsoft.com/en-us/library/ms757837%28VS.85%29.aspx
70
- */
71
- function _getIEXmlDom () {
72
- const docStrings = [
73
- "Msxml2.DOMDocument.6.0",
74
- "Msxml2.DOMDocument.5.0",
75
- "Msxml2.DOMDocument.4.0",
76
- "MSXML2.DOMDocument.3.0",
77
- "MSXML2.DOMDocument",
78
- "MSXML.DOMDocument",
79
- "Microsoft.XMLDOM"
80
- ];
81
- for (let d = 0; d < docStrings.length; d++) {
82
- try {
83
- // eslint-disable-next-line no-undef
84
- const doc = new ActiveXObject(docStrings[d]);
85
- return doc
86
- } catch (e) {
87
- // Try next one
88
- }
89
- }
90
- }
91
-
92
- /**
93
- * Creates a dummy XML DOM document to serve as an element and text node generator.
94
- *
95
- * Used implementations:
96
- * - IE < 10: avoid using createDocument() due to a memory leak, use ie-specific
97
- * workaround
98
- * - other supported browsers: use document's createDocument
99
- * - nodejs: use '@xmldom/xmldom'
100
- */
101
- export function getDummyXMLDOMDocument () {
102
- // nodejs
103
- if (typeof document === 'undefined') {
104
- try {
105
- const DOMImplementation = require('@xmldom/xmldom').DOMImplementation;
106
- return new DOMImplementation().createDocument('jabber:client', 'strophe', null);
107
- } catch (err) {
108
- throw new Error('You must install the "@xmldom/xmldom" package to use Strophe in nodejs.');
109
- }
110
- }
111
- // IE < 10
112
- if (
113
- document.implementation.createDocument === undefined ||
114
- document.implementation.createDocument && document.documentMode && document.documentMode < 10
115
- ) {
116
- const doc = _getIEXmlDom();
117
- doc.appendChild(doc.createElement('strophe'));
118
- return doc
119
- }
120
- // All other supported browsers
121
- return document.implementation.createDocument('jabber:client', 'strophe', null)
122
- }
@@ -1,15 +0,0 @@
1
- /*global global*/
2
-
3
- import './bosh';
4
- import './websocket';
5
- import './worker-websocket';
6
- import * as strophe from './core';
7
-
8
- global.$build = strophe.default.$build;
9
- global.$iq = strophe.default.$iq;
10
- global.$msg = strophe.default.$msg;
11
- global.$pres = strophe.default.$pres;
12
- global.Strophe = strophe.default.Strophe;
13
-
14
- export { Strophe, $build, $iq, $msg, $pres } from './core';
15
-