@abtnode/blocklet-services 1.16.8-beta-b3039c78 → 1.16.8-beta-56e84f3c

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.8-beta-b3039c78",
6
+ "version": "1.16.8-beta-56e84f3c",
7
7
  "description": "Provide unified services for every blocklet",
8
8
  "main": "api/index.js",
9
9
  "files": [
@@ -22,7 +22,7 @@
22
22
  "start:client": "DISABLE_ESLINT_PLUGIN=true NODE_ENV=development react-app-rewired start",
23
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
- "build:email": "tsc",
25
+ "build:email": "tsc && rm -f api/emails/*.js",
26
26
  "analyze:client": "npm run build:client && source-map-explorer 'build/static/js/*.js'",
27
27
  "dev:email": "email dev -p 3077"
28
28
  },
@@ -33,34 +33,34 @@
33
33
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
34
34
  "license": "MIT",
35
35
  "dependencies": {
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",
46
- "@arcblock/did": "^1.18.78",
47
- "@arcblock/did-auth": "1.18.78",
36
+ "@abtnode/auth": "1.16.8-beta-56e84f3c",
37
+ "@abtnode/client": "1.16.8-beta-56e84f3c",
38
+ "@abtnode/constant": "1.16.8-beta-56e84f3c",
39
+ "@abtnode/core": "1.16.8-beta-56e84f3c",
40
+ "@abtnode/cron": "1.16.8-beta-56e84f3c",
41
+ "@abtnode/db": "1.16.8-beta-56e84f3c",
42
+ "@abtnode/logger": "1.16.8-beta-56e84f3c",
43
+ "@abtnode/router-adapter": "1.16.8-beta-56e84f3c",
44
+ "@abtnode/router-templates": "1.16.8-beta-56e84f3c",
45
+ "@abtnode/util": "1.16.8-beta-56e84f3c",
46
+ "@arcblock/did": "^1.18.80",
47
+ "@arcblock/did-auth": "1.18.80",
48
48
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
49
- "@arcblock/did-ext": "^1.18.78",
50
- "@arcblock/event-hub": "1.18.78",
51
- "@arcblock/jwt": "1.18.78",
52
- "@arcblock/validator": "^1.18.78",
53
- "@arcblock/ws": "1.18.78",
54
- "@blocklet/constant": "1.16.8-beta-b3039c78",
49
+ "@arcblock/did-ext": "^1.18.80",
50
+ "@arcblock/event-hub": "1.18.80",
51
+ "@arcblock/jwt": "1.18.80",
52
+ "@arcblock/validator": "^1.18.80",
53
+ "@arcblock/ws": "1.18.80",
54
+ "@blocklet/constant": "1.16.8-beta-56e84f3c",
55
55
  "@blocklet/form-builder": "^0.1.11",
56
56
  "@blocklet/form-collector": "^0.1.6",
57
- "@blocklet/meta": "1.16.8-beta-b3039c78",
58
- "@blocklet/sdk": "1.16.8-beta-b3039c78",
59
- "@did-connect/authenticator": "^2.1.54",
60
- "@did-connect/relay-adapter-express": "^2.1.54",
61
- "@did-connect/storage-nedb": "^2.1.54",
62
- "@ocap/client": "1.18.78",
63
- "@ocap/util": "1.18.78",
57
+ "@blocklet/meta": "1.16.8-beta-56e84f3c",
58
+ "@blocklet/sdk": "1.16.8-beta-56e84f3c",
59
+ "@did-connect/authenticator": "^2.1.58",
60
+ "@did-connect/relay-adapter-express": "^2.1.58",
61
+ "@did-connect/storage-nedb": "^2.1.58",
62
+ "@ocap/client": "1.18.80",
63
+ "@ocap/util": "1.18.80",
64
64
  "@react-email/components": "^0.0.6",
65
65
  "auth0": "^3.3.0",
66
66
  "body-parser": "^1.20.1",
@@ -96,20 +96,20 @@
96
96
  "@nedb/multi": "^2.0.5"
97
97
  },
98
98
  "devDependencies": {
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",
99
+ "@abtnode/ux": "1.16.8-beta-56e84f3c",
100
+ "@arcblock/did-connect": "^2.5.40",
101
+ "@arcblock/icons": "^2.5.40",
102
+ "@arcblock/ux": "^2.5.40",
103
103
  "@blocklet/launcher-layout": "2.0.39",
104
- "@blocklet/ui-react": "^2.5.39",
104
+ "@blocklet/ui-react": "^2.5.40",
105
105
  "@emotion/react": "^11.10.4",
106
106
  "@emotion/styled": "^11.10.4",
107
107
  "@iconify/iconify": "^2.2.1",
108
108
  "@mui/icons-material": "^5.10.6",
109
109
  "@mui/material": "^5.10.8",
110
110
  "@mui/styles": "^5.10.8",
111
- "@ocap/mcrypto": "1.18.78",
112
- "@ocap/wallet": "1.18.78",
111
+ "@ocap/mcrypto": "1.18.80",
112
+ "@ocap/wallet": "1.18.80",
113
113
  "ahooks": "^3.7.1",
114
114
  "axios": "^0.27.2",
115
115
  "copy-webpack-plugin": "^11.0.0",
@@ -163,5 +163,5 @@
163
163
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
164
164
  "email": "shijun@arcblock.io"
165
165
  },
166
- "gitHead": "3f27acff94c144a1cf3dcf14bc1972c79a330641"
166
+ "gitHead": "2abfe83fcd951169a59719addb3dc3c1bbf8789f"
167
167
  }
@@ -1,166 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const notification_1 = __importDefault(require("./pages/notification"));
8
- function Test() {
9
- const title = 'Blocklet Server is about to expire';
10
- const body = 'User <DAMINGZHAO(did:abt:z1Y313EXfBK9FePjDh5cZy6sNY97TneEemB)> has a <Transaction(tx:beta:D20C566BB46A7B6B4DDEA0B42EB3996F0213C1C27C54533F3D40D7B5C6DA59FD)> and it will give your a <Badge (nft:beta:zjdivheWGgy6ucvsYYqP34hVeUgx6743GEfx)> on the DApp <OCAP Playground(dapp:beta:zNKeLKixvCM32TkVM1zmRDdAU3bvm3dTtAcM)>';
11
- const attachments = [
12
- {
13
- type: 'token',
14
- data: {
15
- address: 'abcdefghjikl',
16
- decimal: 18,
17
- amount: 10000,
18
- chianHost: 'beta',
19
- symbol: 'TBA',
20
- },
21
- },
22
- {
23
- type: 'nft',
24
- data: {
25
- chianHost: 'beta',
26
- did: 'abcdefghijkl',
27
- },
28
- },
29
- // {
30
- // type: 'vc',
31
- // data: {
32
- // credential: '',
33
- // tag: '',
34
- // },
35
- // },
36
- {
37
- type: 'text',
38
- data: {
39
- type: 'plain',
40
- text: '哈哈哈哈哈',
41
- color: 'red',
42
- },
43
- },
44
- {
45
- type: 'image',
46
- data: {
47
- url: 'https://picsum.photos/100/100',
48
- alt: 'beta',
49
- },
50
- },
51
- {
52
- type: 'divider',
53
- },
54
- {
55
- type: 'transaction',
56
- data: {
57
- hash: 'asdasdasasd',
58
- chainId: 'beta',
59
- },
60
- },
61
- {
62
- type: 'dapp',
63
- data: {
64
- url: 'https://token-prize-pool-bfg-18-180-145-193.ip.abtnet.io/',
65
- appDID: 'zNKuEeFscqBDfaS5RMrmFKdQmucpcQkPEJgi',
66
- logo: 'https://picsum.photos/50/50',
67
- title: 'Token Prize',
68
- desc: '奖金池开启,速来瓜分🏃🏻🏃🏻🏃🏻~\n[测试] 使用 DID 钱包 + Twitter 账户即可参与奖池瓜分,更有机会直接赢走 50% 奖池数额,快来参加吧!!!',
69
- },
70
- },
71
- {
72
- type: 'link',
73
- data: {
74
- url: 'https://token-prize-pool-bfg-18-180-145-193.ip.abtnet.io/',
75
- image: 'https://picsum.photos/50/50',
76
- title: 'Token Prize',
77
- description: '奖金池开启,速来瓜分🏃🏻🏃🏻🏃🏻~\n[测试] 使用 DID 钱包 + Twitter 账户即可参与奖池瓜分,更有机会直接赢走 50% 奖池数额,快来参加吧!!!',
78
- },
79
- },
80
- {
81
- type: 'section',
82
- fileds: [
83
- {
84
- type: 'text',
85
- data: {
86
- type: 'plain',
87
- color: '#9397A1',
88
- text: '当前余额',
89
- },
90
- },
91
- {
92
- type: 'text',
93
- data: {
94
- type: 'plain',
95
- color: '#DE9E37',
96
- text: '+ 100 ABT',
97
- },
98
- },
99
- {
100
- type: 'text',
101
- data: {
102
- type: 'plain',
103
- color: '#9397A1',
104
- text: '扣费日期',
105
- },
106
- },
107
- {
108
- type: 'text',
109
- data: {
110
- type: 'plain',
111
- text: '2023年1月3日 上午8:00',
112
- },
113
- },
114
- {
115
- type: 'text',
116
- data: {
117
- type: 'plain',
118
- color: '#9397A1',
119
- text: '下月扣除',
120
- },
121
- },
122
- {
123
- type: 'text',
124
- data: {
125
- type: 'plain',
126
- text: '200 ABT',
127
- },
128
- },
129
- {
130
- type: 'text',
131
- data: {
132
- type: 'plain',
133
- color: '#9397A1',
134
- text: '本月支出',
135
- },
136
- },
137
- {
138
- type: 'text',
139
- data: {
140
- type: 'plain',
141
- text: '-200 ABT',
142
- },
143
- },
144
- ],
145
- },
146
- ];
147
- const actions = [
148
- {
149
- name: 'Launch',
150
- url: '',
151
- },
152
- {
153
- name: 'Dashboard',
154
- url: '',
155
- },
156
- ];
157
- const appInfo = {
158
- title: 'Blocklet Email Test',
159
- logo: 'https://picsum.photos/200/100',
160
- url: 'https://www.arcblock.io',
161
- description: 'This is a test blocklet for email test only',
162
- version: '1.0.0',
163
- };
164
- return (0, jsx_runtime_1.jsx)(notification_1.default, { title: title, body: body, attachments: attachments, actions: actions, appInfo: appInfo });
165
- }
166
- exports.default = Test;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });