quickblox 2.17.2-beta.2-logger → 2.17.3-logger

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 +330 -201
  2. package/README.md +2 -2
  3. package/package.json +1 -2
  4. package/quickblox.js +19389 -21772
  5. package/quickblox.min.js +1 -1
  6. package/src/libs/strophe/strophe.common.js +6657 -0
  7. package/src/libs/strophe/strophe.esm.js +6649 -0
  8. package/src/libs/strophe/strophe.umd.js +6862 -0
  9. package/src/libs/strophe/strophe.umd.min.js +1 -0
  10. package/src/modules/chat/qbChat.js +131 -11
  11. package/src/modules/webrtc/qbWebRTCSignalingProcessor.js +2 -1
  12. package/src/modules/webrtc/qbWebRTCSignalingProvider.js +2 -1
  13. package/src/qbConfig.js +2 -2
  14. package/src/qbProxy.js +1 -1
  15. package/src/qbStrophe.js +2 -6
  16. package/strophejs-1.4.0/.eslintrc.json +264 -0
  17. package/strophejs-1.4.0/.gitattributes +1 -0
  18. package/strophejs-1.4.0/CHANGELOG.md +250 -0
  19. package/strophejs-1.4.0/LICENSE.txt +19 -0
  20. package/strophejs-1.4.0/Makefile +92 -0
  21. package/strophejs-1.4.0/README.md +45 -0
  22. package/strophejs-1.4.0/RELEASE_CHECKLIST.md +16 -0
  23. package/strophejs-1.4.0/contrib/discojs/README.txt +42 -0
  24. package/strophejs-1.4.0/contrib/discojs/css/disco.css +16 -0
  25. package/strophejs-1.4.0/contrib/discojs/index.html +47 -0
  26. package/strophejs-1.4.0/contrib/discojs/punjab.tac +18 -0
  27. package/strophejs-1.4.0/contrib/discojs/scripts/basic.js +102 -0
  28. package/strophejs-1.4.0/contrib/discojs/scripts/disco.js +60 -0
  29. package/strophejs-1.4.0/docs.css +797 -0
  30. package/strophejs-1.4.0/examples/amd.html +21 -0
  31. package/strophejs-1.4.0/examples/attach/README +37 -0
  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 +18 -0
  35. package/strophejs-1.4.0/examples/attach/boshclient.py +158 -0
  36. package/strophejs-1.4.0/examples/attach/manage.py +11 -0
  37. package/strophejs-1.4.0/examples/attach/settings.py +85 -0
  38. package/strophejs-1.4.0/examples/attach/templates/attacher/index.html +88 -0
  39. package/strophejs-1.4.0/examples/attach/urls.py +19 -0
  40. package/strophejs-1.4.0/examples/basic.html +23 -0
  41. package/strophejs-1.4.0/examples/basic.js +73 -0
  42. package/strophejs-1.4.0/examples/echobot.html +25 -0
  43. package/strophejs-1.4.0/examples/echobot.js +79 -0
  44. package/strophejs-1.4.0/examples/main.js +59 -0
  45. package/strophejs-1.4.0/examples/prebind.html +39 -0
  46. package/strophejs-1.4.0/examples/prebind.js +103 -0
  47. package/strophejs-1.4.0/examples/restore.html +24 -0
  48. package/strophejs-1.4.0/examples/restore.js +71 -0
  49. package/strophejs-1.4.0/package-lock.json +8631 -0
  50. package/strophejs-1.4.0/package.json +84 -0
  51. package/strophejs-1.4.0/rollup.config.js +76 -0
  52. package/strophejs-1.4.0/src/bosh.js +916 -0
  53. package/strophejs-1.4.0/src/core.js +3530 -0
  54. package/strophejs-1.4.0/src/md5.js +204 -0
  55. package/strophejs-1.4.0/src/sha1.js +172 -0
  56. package/strophejs-1.4.0/src/shared-connection-worker.js +114 -0
  57. package/strophejs-1.4.0/src/shims.js +123 -0
  58. package/strophejs-1.4.0/src/strophe.js +14 -0
  59. package/strophejs-1.4.0/src/utils.js +63 -0
  60. package/strophejs-1.4.0/src/websocket.js +557 -0
  61. package/strophejs-1.4.0/src/worker-websocket.js +150 -0
  62. package/strophejs-1.4.0/tests/index.html +21 -0
  63. package/strophejs-1.4.0/tests/main.js +49 -0
  64. package/strophejs-1.4.0/tests/tests.js +929 -0
  65. package/strophejs-1.6.1/.eslintrc.json +264 -0
  66. package/strophejs-1.6.1/.gitattributes +1 -0
  67. package/strophejs-1.6.1/.nvmrc +1 -0
  68. package/strophejs-1.6.1/CHANGELOG.md +288 -0
  69. package/strophejs-1.6.1/LICENSE.txt +19 -0
  70. package/strophejs-1.6.1/Makefile +92 -0
  71. package/strophejs-1.6.1/README.md +46 -0
  72. package/strophejs-1.6.1/RELEASE_CHECKLIST.md +18 -0
  73. package/strophejs-1.6.1/babel.config.json +10 -0
  74. package/strophejs-1.6.1/contrib/discojs/README.txt +42 -0
  75. package/strophejs-1.6.1/contrib/discojs/css/disco.css +16 -0
  76. package/strophejs-1.6.1/contrib/discojs/index.html +47 -0
  77. package/strophejs-1.6.1/contrib/discojs/punjab.tac +18 -0
  78. package/strophejs-1.6.1/contrib/discojs/scripts/basic.js +102 -0
  79. package/strophejs-1.6.1/contrib/discojs/scripts/disco.js +60 -0
  80. package/strophejs-1.6.1/docs.css +797 -0
  81. package/strophejs-1.6.1/examples/amd.html +21 -0
  82. package/strophejs-1.6.1/examples/attach/README +37 -0
  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 +18 -0
  86. package/strophejs-1.6.1/examples/attach/boshclient.py +158 -0
  87. package/strophejs-1.6.1/examples/attach/manage.py +11 -0
  88. package/strophejs-1.6.1/examples/attach/settings.py +85 -0
  89. package/strophejs-1.6.1/examples/attach/templates/attacher/index.html +88 -0
  90. package/strophejs-1.6.1/examples/attach/urls.py +19 -0
  91. package/strophejs-1.6.1/examples/basic.html +23 -0
  92. package/strophejs-1.6.1/examples/basic.js +73 -0
  93. package/strophejs-1.6.1/examples/echobot.html +25 -0
  94. package/strophejs-1.6.1/examples/echobot.js +79 -0
  95. package/strophejs-1.6.1/examples/main.js +59 -0
  96. package/strophejs-1.6.1/examples/prebind.html +39 -0
  97. package/strophejs-1.6.1/examples/prebind.js +103 -0
  98. package/strophejs-1.6.1/examples/restore.html +24 -0
  99. package/strophejs-1.6.1/examples/restore.js +71 -0
  100. package/strophejs-1.6.1/package-lock.json +18461 -0
  101. package/strophejs-1.6.1/package.json +87 -0
  102. package/strophejs-1.6.1/rollup.config.js +70 -0
  103. package/strophejs-1.6.1/src/bosh.js +916 -0
  104. package/strophejs-1.6.1/src/builder.js +239 -0
  105. package/strophejs-1.6.1/src/constants.js +155 -0
  106. package/strophejs-1.6.1/src/core.js +2377 -0
  107. package/strophejs-1.6.1/src/sasl-anon.js +17 -0
  108. package/strophejs-1.6.1/src/sasl-external.js +27 -0
  109. package/strophejs-1.6.1/src/sasl-oauthbearer.js +30 -0
  110. package/strophejs-1.6.1/src/sasl-plain.js +32 -0
  111. package/strophejs-1.6.1/src/sasl-sha1.js +24 -0
  112. package/strophejs-1.6.1/src/sasl-sha256.js +24 -0
  113. package/strophejs-1.6.1/src/sasl-sha384.js +24 -0
  114. package/strophejs-1.6.1/src/sasl-sha512.js +24 -0
  115. package/strophejs-1.6.1/src/sasl-xoauth2.js +27 -0
  116. package/strophejs-1.6.1/src/sasl.js +143 -0
  117. package/strophejs-1.6.1/src/scram.js +182 -0
  118. package/strophejs-1.6.1/src/shared-connection-worker.js +114 -0
  119. package/strophejs-1.6.1/src/shims.js +122 -0
  120. package/strophejs-1.6.1/src/strophe.js +15 -0
  121. package/strophejs-1.6.1/src/utils.js +626 -0
  122. package/strophejs-1.6.1/src/websocket.js +556 -0
  123. package/strophejs-1.6.1/src/worker-websocket.js +149 -0
  124. package/strophejs-1.6.1/tests.js +993 -0
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "strophe.js",
3
+ "description": "Strophe.js is an XMPP library for JavaScript",
4
+ "version": "1.6.1",
5
+ "homepage": "http://strophe.im/strophejs",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/strophe/strophejs.git"
9
+ },
10
+ "keywords": [
11
+ "xmpp",
12
+ "message",
13
+ "bosh",
14
+ "websocket",
15
+ "browser"
16
+ ],
17
+ "files": [
18
+ "src/",
19
+ "dist/",
20
+ "CHANGELOG.txt",
21
+ "LICENSE.txt",
22
+ "README.txt"
23
+ ],
24
+ "author": "Jack Moffit (metajack)",
25
+ "contributors": [
26
+ "Nathan Zorn (thepug)",
27
+ "Andreas Guth (Gordin)",
28
+ "Anton Stroganov (Aeon)",
29
+ "Florian Zeitz (Florob)",
30
+ "Christopher Zorn (twonds)",
31
+ "dodo",
32
+ "Lee Boynton (lboynton)",
33
+ "Theo Cushion (theozaurus)",
34
+ "Brendon Crawford (brendoncrawford)",
35
+ "JC Brand (jcbrand)"
36
+ ],
37
+ "license": "MIT",
38
+ "browserslist": ">1%, maintained node versions",
39
+ "main": "dist/strophe.common.js",
40
+ "browser": "dist/strophe.umd.js",
41
+ "module": "dist/strophe.esm.js",
42
+ "unpkg": "dist/strophe.umd.min.js",
43
+ "scripts": {
44
+ "build": "npx rollup -c",
45
+ "lint": "eslint src/*.js tests.js",
46
+ "clean": "make clean",
47
+ "doc": "make doc",
48
+ "prepare": "npx yarpm run build",
49
+ "test": "karma start && npm run lint"
50
+ },
51
+ "volo": {
52
+ "url": "https://raw.githubusercontent.com/strophe/strophejs/release-{version}/strophe.js"
53
+ },
54
+ "devDependencies": {
55
+ "@babel/core": "^7.10.5",
56
+ "@babel/eslint-parser": "^7.19.1",
57
+ "@babel/preset-env": "^7.12.1",
58
+ "@rollup/plugin-babel": "^6.0.3",
59
+ "@rollup/plugin-commonjs": "^24.0.0",
60
+ "@rollup/plugin-node-resolve": "^15.0.1",
61
+ "almond": "~0.3.0",
62
+ "es6-promise": "^4.2.8",
63
+ "eslint": "^8.31.0",
64
+ "http-server": "^14.1.0",
65
+ "karma": "^6.3.17",
66
+ "karma-chrome-launcher": "^3.1.1",
67
+ "karma-qunit": "^4.1.2",
68
+ "minimist": "^1.2.5",
69
+ "npm": "^6.14.7",
70
+ "qunit": "2.19.4",
71
+ "rollup": "^2.32.1",
72
+ "rollup-plugin-node-globals": "^1.4.0",
73
+ "rollup-plugin-terser": "^7.0.2",
74
+ "run-headless-chromium": "^0.1.1",
75
+ "sinon": "15.0.4",
76
+ "terser": "^5.10.0",
77
+ "yarpm": "^1.1.1"
78
+ },
79
+ "dependencies": {
80
+ "abab": "^2.0.3",
81
+ "karma-rollup-preprocessor": "^7.0.8"
82
+ },
83
+ "optionalDependencies": {
84
+ "@xmldom/xmldom": "0.8.7",
85
+ "ws": "^8.5.0"
86
+ }
87
+ }
@@ -0,0 +1,70 @@
1
+ import babel from '@rollup/plugin-babel';
2
+ import commonjs from '@rollup/plugin-commonjs';
3
+ import globals from 'rollup-plugin-node-globals';
4
+ import pkg from './package.json';
5
+ import resolve from '@rollup/plugin-node-resolve';
6
+ import { terser } from 'rollup-plugin-terser';
7
+
8
+
9
+ const babelConfig = {
10
+ babelrc: false,
11
+ presets: [
12
+ ['@babel/preset-env', {
13
+ targets: {
14
+ browsers: '>1%'
15
+ }
16
+ }]
17
+ ],
18
+ plugins: [
19
+ '@babel/plugin-proposal-optional-chaining',
20
+ '@babel/plugin-proposal-nullish-coalescing-operator'
21
+ ]
22
+ }
23
+
24
+
25
+ export default [
26
+ // browser-friendly UMD build
27
+ {
28
+ input: 'src/strophe.js',
29
+ output: {
30
+ name: 'strophe',
31
+ file: pkg.browser,
32
+ format: 'umd'
33
+ },
34
+ plugins: [
35
+ babel(babelConfig),
36
+ resolve(),
37
+ commonjs(),
38
+ globals()
39
+ ]
40
+ },
41
+ // Minified UMD build
42
+ {
43
+ input: 'src/strophe.js',
44
+ output: {
45
+ name: 'strophe',
46
+ file: 'dist/strophe.umd.min.js',
47
+ format: 'umd'
48
+ },
49
+ plugins: [
50
+ babel(babelConfig),
51
+ resolve(),
52
+ commonjs(),
53
+ globals(),
54
+ terser()
55
+ ]
56
+ },
57
+ // CommonJS (for Node) and ES module (for bundlers) build.
58
+ {
59
+ input: 'src/strophe.js',
60
+ external: ['window', 'abab'],
61
+ output: [
62
+ { file: pkg.main, format: 'cjs' },
63
+ { file: pkg.module, format: 'es' }
64
+ ],
65
+ plugins: [
66
+ babel(babelConfig),
67
+ globals()
68
+ ]
69
+ }
70
+ ];