@abtnode/blocklet-services 1.16.8-beta-0c0c5eb2 → 1.16.8-beta-b3039c78

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 (40) hide show
  1. package/api/cache.js +32 -1
  2. package/api/emails/components/actions.js +23 -0
  3. package/api/emails/components/article.js +9 -0
  4. package/api/emails/components/asset.js +29 -0
  5. package/api/emails/components/attachments.js +55 -0
  6. package/api/emails/components/compose.js +27 -0
  7. package/api/emails/components/content.js +22 -0
  8. package/api/emails/components/copyright.js +14 -0
  9. package/api/emails/components/dapp.js +8 -0
  10. package/api/emails/components/footer.js +24 -0
  11. package/api/emails/components/header.js +20 -0
  12. package/api/emails/components/layout.js +15 -0
  13. package/api/emails/components/token.js +31 -0
  14. package/api/emails/components/transaction.js +16 -0
  15. package/api/emails/libs/config.js +256 -0
  16. package/api/emails/libs/constant.js +112 -0
  17. package/api/emails/libs/explorer-url.js +52 -0
  18. package/api/emails/libs/func.js +5 -0
  19. package/api/emails/libs/highlight.js +109 -0
  20. package/api/emails/libs/util.js +19 -0
  21. package/api/emails/pages/notification.js +26 -0
  22. package/api/emails/test.js +166 -0
  23. package/api/emails/types.js +2 -0
  24. package/api/index.js +1 -0
  25. package/api/libs/email.js +68 -0
  26. package/api/services/auth/connect/receive-transfer-app-owner.js +1 -1
  27. package/api/socket/channel/did.js +44 -26
  28. package/build/asset-manifest.json +11 -11
  29. package/build/index.html +1 -1
  30. package/build/static/css/{286.97b3dab6.chunk.css → 290.07ab3f1e.chunk.css} +1 -1
  31. package/build/static/js/{286.af946efa.chunk.js → 290.8692063d.chunk.js} +3 -3
  32. package/build/static/js/343.6fc2089d.chunk.js +2 -0
  33. package/build/static/js/460.df719a3e.chunk.js +2 -0
  34. package/build/static/js/main.94c49b7d.js +3 -0
  35. package/package.json +29 -22
  36. package/build/static/js/343.0b145b64.chunk.js +0 -2
  37. package/build/static/js/460.4763afe0.chunk.js +0 -2
  38. package/build/static/js/main.0006cb61.js +0 -3
  39. /package/build/static/js/{286.af946efa.chunk.js.LICENSE.txt → 290.8692063d.chunk.js.LICENSE.txt} +0 -0
  40. /package/build/static/js/{main.0006cb61.js.LICENSE.txt → main.94c49b7d.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.8-beta-0c0c5eb2",
6
+ "version": "1.16.8-beta-b3039c78",
7
7
  "description": "Provide unified services for every blocklet",
8
8
  "main": "api/index.js",
9
9
  "files": [
@@ -20,9 +20,11 @@
20
20
  "clean": "rm -rf build",
21
21
  "start": "npm-run-all --parallel start:*",
22
22
  "start:client": "DISABLE_ESLINT_PLUGIN=true NODE_ENV=development react-app-rewired start",
23
- "build": "npm run clean && npm run build:client",
23
+ "build": "npm run clean && npm run build:client && npm run build:email",
24
24
  "build:client": "cross-env NODE_ENV=production CI=1 PUBLIC_URL='/.blocklet/proxy/blocklet-service' react-app-rewired build",
25
- "analyze:client": "npm run build:client && source-map-explorer 'build/static/js/*.js'"
25
+ "build:email": "tsc",
26
+ "analyze:client": "npm run build:client && source-map-explorer 'build/static/js/*.js'",
27
+ "dev:email": "email dev -p 3077"
26
28
  },
27
29
  "keywords": [
28
30
  "blocklet",
@@ -31,16 +33,16 @@
31
33
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
32
34
  "license": "MIT",
33
35
  "dependencies": {
34
- "@abtnode/auth": "1.16.8-beta-0c0c5eb2",
35
- "@abtnode/client": "1.16.8-beta-0c0c5eb2",
36
- "@abtnode/constant": "1.16.8-beta-0c0c5eb2",
37
- "@abtnode/core": "1.16.8-beta-0c0c5eb2",
38
- "@abtnode/cron": "1.16.8-beta-0c0c5eb2",
39
- "@abtnode/db": "1.16.8-beta-0c0c5eb2",
40
- "@abtnode/logger": "1.16.8-beta-0c0c5eb2",
41
- "@abtnode/router-adapter": "1.16.8-beta-0c0c5eb2",
42
- "@abtnode/router-templates": "1.16.8-beta-0c0c5eb2",
43
- "@abtnode/util": "1.16.8-beta-0c0c5eb2",
36
+ "@abtnode/auth": "1.16.8-beta-b3039c78",
37
+ "@abtnode/client": "1.16.8-beta-b3039c78",
38
+ "@abtnode/constant": "1.16.8-beta-b3039c78",
39
+ "@abtnode/core": "1.16.8-beta-b3039c78",
40
+ "@abtnode/cron": "1.16.8-beta-b3039c78",
41
+ "@abtnode/db": "1.16.8-beta-b3039c78",
42
+ "@abtnode/logger": "1.16.8-beta-b3039c78",
43
+ "@abtnode/router-adapter": "1.16.8-beta-b3039c78",
44
+ "@abtnode/router-templates": "1.16.8-beta-b3039c78",
45
+ "@abtnode/util": "1.16.8-beta-b3039c78",
44
46
  "@arcblock/did": "^1.18.78",
45
47
  "@arcblock/did-auth": "1.18.78",
46
48
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
@@ -49,16 +51,17 @@
49
51
  "@arcblock/jwt": "1.18.78",
50
52
  "@arcblock/validator": "^1.18.78",
51
53
  "@arcblock/ws": "1.18.78",
52
- "@blocklet/constant": "1.16.8-beta-0c0c5eb2",
54
+ "@blocklet/constant": "1.16.8-beta-b3039c78",
53
55
  "@blocklet/form-builder": "^0.1.11",
54
56
  "@blocklet/form-collector": "^0.1.6",
55
- "@blocklet/meta": "1.16.8-beta-0c0c5eb2",
56
- "@blocklet/sdk": "1.16.8-beta-0c0c5eb2",
57
+ "@blocklet/meta": "1.16.8-beta-b3039c78",
58
+ "@blocklet/sdk": "1.16.8-beta-b3039c78",
57
59
  "@did-connect/authenticator": "^2.1.54",
58
60
  "@did-connect/relay-adapter-express": "^2.1.54",
59
61
  "@did-connect/storage-nedb": "^2.1.54",
60
62
  "@ocap/client": "1.18.78",
61
63
  "@ocap/util": "1.18.78",
64
+ "@react-email/components": "^0.0.6",
62
65
  "auth0": "^3.3.0",
63
66
  "body-parser": "^1.20.1",
64
67
  "buffer": "^6.0.3",
@@ -80,9 +83,12 @@
80
83
  "morgan": "^1.10.0",
81
84
  "nanoid": "^3.3.4",
82
85
  "nocache": "^2.1.0",
86
+ "nodemailer": "^6.9.2",
87
+ "p-map": "^4.0.0",
83
88
  "serve-static": "^1.15.0",
84
89
  "transliteration": "^2.3.5",
85
90
  "tweetnacl-sealedbox-js": "^1.2.0",
91
+ "typescript": "^5.0.4",
86
92
  "url-join": "^4.0.1"
87
93
  },
88
94
  "resolutions": {
@@ -90,12 +96,12 @@
90
96
  "@nedb/multi": "^2.0.5"
91
97
  },
92
98
  "devDependencies": {
93
- "@abtnode/ux": "1.16.8-beta-0c0c5eb2",
94
- "@arcblock/did-connect": "^2.5.37",
95
- "@arcblock/icons": "^2.5.37",
96
- "@arcblock/ux": "^2.5.37",
99
+ "@abtnode/ux": "1.16.8-beta-b3039c78",
100
+ "@arcblock/did-connect": "^2.5.39",
101
+ "@arcblock/icons": "^2.5.39",
102
+ "@arcblock/ux": "^2.5.39",
97
103
  "@blocklet/launcher-layout": "2.0.39",
98
- "@blocklet/ui-react": "^2.5.37",
104
+ "@blocklet/ui-react": "^2.5.39",
99
105
  "@emotion/react": "^11.10.4",
100
106
  "@emotion/styled": "^11.10.4",
101
107
  "@iconify/iconify": "^2.2.1",
@@ -125,6 +131,7 @@
125
131
  "react": "^18.2.0",
126
132
  "react-app-rewired": "^2.2.1",
127
133
  "react-dom": "^18.2.0",
134
+ "react-email": "^1.9.3",
128
135
  "react-error-boundary": "^3.1.4",
129
136
  "react-error-overlay": "6.0.9",
130
137
  "react-iframe": "^1.8.5",
@@ -156,5 +163,5 @@
156
163
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
157
164
  "email": "shijun@arcblock.io"
158
165
  },
159
- "gitHead": "0d8ec3154caf670770284dbdabc61a5f4e8b205f"
166
+ "gitHead": "3f27acff94c144a1cf3dcf14bc1972c79a330641"
160
167
  }