@abtnode/blocklet-services 1.6.23

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 (76) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +84 -0
  3. package/build/asset-manifest.json +36 -0
  4. package/build/favicon.ico +0 -0
  5. package/build/images/blocklet.png +0 -0
  6. package/build/index.html +1 -0
  7. package/build/manifest.json +15 -0
  8. package/build/precache-manifest.b61da416864625d7da6840b710c5fd05.js +150 -0
  9. package/build/service-worker.js +39 -0
  10. package/build/static/css/2.73d52aac.chunk.css +2 -0
  11. package/build/static/css/2.73d52aac.chunk.css.map +1 -0
  12. package/build/static/js/2.adca7e30.chunk.js +3 -0
  13. package/build/static/js/2.adca7e30.chunk.js.LICENSE.txt +113 -0
  14. package/build/static/js/2.adca7e30.chunk.js.map +1 -0
  15. package/build/static/js/3.9cf8cde1.chunk.js +3 -0
  16. package/build/static/js/3.9cf8cde1.chunk.js.LICENSE.txt +19 -0
  17. package/build/static/js/3.9cf8cde1.chunk.js.map +1 -0
  18. package/build/static/js/4.3bcd2384.chunk.js +2 -0
  19. package/build/static/js/4.3bcd2384.chunk.js.map +1 -0
  20. package/build/static/js/5.a0b39d30.chunk.js +2 -0
  21. package/build/static/js/5.a0b39d30.chunk.js.map +1 -0
  22. package/build/static/js/6.91e31d64.chunk.js +2 -0
  23. package/build/static/js/6.91e31d64.chunk.js.map +1 -0
  24. package/build/static/js/7.aa6a9bc1.chunk.js +2 -0
  25. package/build/static/js/7.aa6a9bc1.chunk.js.map +1 -0
  26. package/build/static/js/main.0fef8e40.chunk.js +2 -0
  27. package/build/static/js/main.0fef8e40.chunk.js.map +1 -0
  28. package/build/static/js/runtime-main.8d9f8ef7.js +2 -0
  29. package/build/static/js/runtime-main.8d9f8ef7.js.map +1 -0
  30. package/build/static/media/rubik-all-400-normal.c2324103.woff +0 -0
  31. package/build/static/media/rubik-all-500-normal.000c3408.woff +0 -0
  32. package/build/static/media/rubik-all-600-normal.30df2fd0.woff +0 -0
  33. package/build/static/media/rubik-cyrillic-400-normal.aa383bbd.woff2 +0 -0
  34. package/build/static/media/rubik-cyrillic-500-normal.27a1ebd4.woff2 +0 -0
  35. package/build/static/media/rubik-cyrillic-600-normal.74d5cdba.woff2 +0 -0
  36. package/build/static/media/rubik-cyrillic-ext-400-normal.b8647475.woff2 +0 -0
  37. package/build/static/media/rubik-cyrillic-ext-500-normal.860932d9.woff2 +0 -0
  38. package/build/static/media/rubik-cyrillic-ext-600-normal.942f240f.woff2 +0 -0
  39. package/build/static/media/rubik-hebrew-400-normal.2c9e3c2a.woff2 +0 -0
  40. package/build/static/media/rubik-hebrew-500-normal.08d6e502.woff2 +0 -0
  41. package/build/static/media/rubik-hebrew-600-normal.bfa32e44.woff2 +0 -0
  42. package/build/static/media/rubik-latin-400-normal.b8fd53c5.woff2 +0 -0
  43. package/build/static/media/rubik-latin-500-normal.595f1a98.woff2 +0 -0
  44. package/build/static/media/rubik-latin-600-normal.5f06934f.woff2 +0 -0
  45. package/build/static/media/rubik-latin-ext-400-normal.3c5c378e.woff2 +0 -0
  46. package/build/static/media/rubik-latin-ext-500-normal.5663c731.woff2 +0 -0
  47. package/build/static/media/rubik-latin-ext-600-normal.ff159cb8.woff2 +0 -0
  48. package/build/static/media/ubuntu-mono-all-400-normal.e39678a8.woff +0 -0
  49. package/build/static/media/ubuntu-mono-cyrillic-400-normal.e09900e7.woff2 +0 -0
  50. package/build/static/media/ubuntu-mono-cyrillic-ext-400-normal.762d0b06.woff2 +0 -0
  51. package/build/static/media/ubuntu-mono-greek-400-normal.81c98658.woff2 +0 -0
  52. package/build/static/media/ubuntu-mono-greek-ext-400-normal.1af17851.woff2 +0 -0
  53. package/build/static/media/ubuntu-mono-latin-400-normal.469ee478.woff2 +0 -0
  54. package/build/static/media/ubuntu-mono-latin-ext-400-normal.e28ff028.woff2 +0 -0
  55. package/lib/cache.js +25 -0
  56. package/lib/index.js +443 -0
  57. package/lib/mount.js +52 -0
  58. package/lib/util.js +17 -0
  59. package/package.json +119 -0
  60. package/services/auth/index.js +290 -0
  61. package/services/auth/libs/auth.js +76 -0
  62. package/services/auth/libs/jwt.js +73 -0
  63. package/services/auth/meta.json +61 -0
  64. package/services/auth/routes/blocklet-info.js +33 -0
  65. package/services/auth/routes/env.js +33 -0
  66. package/services/auth/routes/invite.js +80 -0
  67. package/services/auth/routes/issue-passport.js +58 -0
  68. package/services/auth/routes/login.js +230 -0
  69. package/services/auth/routes/lost-passport-issue.js +5 -0
  70. package/services/auth/routes/lost-passport-list.js +6 -0
  71. package/services/auth/routes/notification.js +257 -0
  72. package/services/auth/routes/passport.js +18 -0
  73. package/services/auth/routes/session.js +27 -0
  74. package/services/auth/state/index.js +30 -0
  75. package/services/auth/state/message.js +32 -0
  76. package/services/auth/util/index.js +35 -0
@@ -0,0 +1,113 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ * EventEmitter v5.2.9 - git.io/ee
9
+ * Unlicense - http://unlicense.org/
10
+ * Oliver Caldwell - https://oli.me.uk/
11
+ * @preserve
12
+ */
13
+
14
+ /*!
15
+ * JavaScript Cookie v2.2.1
16
+ * https://github.com/js-cookie/js-cookie
17
+ *
18
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
19
+ * Released under the MIT license
20
+ */
21
+
22
+ /*! *****************************************************************************
23
+ Copyright (c) Microsoft Corporation.
24
+
25
+ Permission to use, copy, modify, and/or distribute this software for any
26
+ purpose with or without fee is hereby granted.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
29
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
30
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
31
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
32
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
+ PERFORMANCE OF THIS SOFTWARE.
35
+ ***************************************************************************** */
36
+
37
+ /**
38
+ * A better abstraction over CSS.
39
+ *
40
+ * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
41
+ * @website https://github.com/cssinjs/jss
42
+ * @license MIT
43
+ */
44
+
45
+ /** @license React v0.19.1
46
+ * scheduler.production.min.js
47
+ *
48
+ * Copyright (c) Facebook, Inc. and its affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */
53
+
54
+ /** @license React v16.13.1
55
+ * react-is.production.min.js
56
+ *
57
+ * Copyright (c) Facebook, Inc. and its affiliates.
58
+ *
59
+ * This source code is licensed under the MIT license found in the
60
+ * LICENSE file in the root directory of this source tree.
61
+ */
62
+
63
+ /** @license React v16.14.0
64
+ * react-dom.production.min.js
65
+ *
66
+ * Copyright (c) Facebook, Inc. and its affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ */
71
+
72
+ /** @license React v16.14.0
73
+ * react.production.min.js
74
+ *
75
+ * Copyright (c) Facebook, Inc. and its affiliates.
76
+ *
77
+ * This source code is licensed under the MIT license found in the
78
+ * LICENSE file in the root directory of this source tree.
79
+ */
80
+
81
+ /** @license React v17.0.2
82
+ * react-is.production.min.js
83
+ *
84
+ * Copyright (c) Facebook, Inc. and its affiliates.
85
+ *
86
+ * This source code is licensed under the MIT license found in the
87
+ * LICENSE file in the root directory of this source tree.
88
+ */
89
+
90
+ /**!
91
+ * @fileOverview Kickass library to create and place poppers near their reference elements.
92
+ * @version 1.16.1-lts
93
+ * @license
94
+ * Copyright (c) 2016 Federico Zivolo and contributors
95
+ *
96
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
97
+ * of this software and associated documentation files (the "Software"), to deal
98
+ * in the Software without restriction, including without limitation the rights
99
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
100
+ * copies of the Software, and to permit persons to whom the Software is
101
+ * furnished to do so, subject to the following conditions:
102
+ *
103
+ * The above copyright notice and this permission notice shall be included in all
104
+ * copies or substantial portions of the Software.
105
+ *
106
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
107
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
108
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
109
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
110
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
111
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
112
+ * SOFTWARE.
113
+ */