@abtnode/blocklet-services 1.16.8-next-c66e39c7 → 1.16.8-next-199ae4cb

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-next-c66e39c7",
6
+ "version": "1.16.8-next-199ae4cb",
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-next-c66e39c7",
37
- "@abtnode/client": "1.16.8-next-c66e39c7",
38
- "@abtnode/connect-storage": "1.16.8-next-c66e39c7",
39
- "@abtnode/constant": "1.16.8-next-c66e39c7",
40
- "@abtnode/core": "1.16.8-next-c66e39c7",
41
- "@abtnode/cron": "1.16.8-next-c66e39c7",
42
- "@abtnode/logger": "1.16.8-next-c66e39c7",
43
- "@abtnode/models": "1.16.8-next-c66e39c7",
44
- "@abtnode/router-adapter": "1.16.8-next-c66e39c7",
45
- "@abtnode/router-templates": "1.16.8-next-c66e39c7",
46
- "@abtnode/util": "1.16.8-next-c66e39c7",
47
- "@arcblock/did": "^1.18.78",
48
- "@arcblock/did-auth": "1.18.78",
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-next-c66e39c7",
36
+ "@abtnode/auth": "1.16.8-next-199ae4cb",
37
+ "@abtnode/client": "1.16.8-next-199ae4cb",
38
+ "@abtnode/connect-storage": "1.16.8-next-199ae4cb",
39
+ "@abtnode/constant": "1.16.8-next-199ae4cb",
40
+ "@abtnode/core": "1.16.8-next-199ae4cb",
41
+ "@abtnode/cron": "1.16.8-next-199ae4cb",
42
+ "@abtnode/logger": "1.16.8-next-199ae4cb",
43
+ "@abtnode/models": "1.16.8-next-199ae4cb",
44
+ "@abtnode/router-adapter": "1.16.8-next-199ae4cb",
45
+ "@abtnode/router-templates": "1.16.8-next-199ae4cb",
46
+ "@abtnode/util": "1.16.8-next-199ae4cb",
47
+ "@arcblock/did": "^1.18.80",
48
+ "@arcblock/did-auth": "1.18.80",
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-next-199ae4cb",
55
55
  "@blocklet/form-builder": "^0.1.11",
56
56
  "@blocklet/form-collector": "^0.1.6",
57
- "@blocklet/meta": "1.16.8-next-c66e39c7",
58
- "@blocklet/sdk": "1.16.8-next-c66e39c7",
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-next-199ae4cb",
58
+ "@blocklet/sdk": "1.16.8-next-199ae4cb",
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",
@@ -95,20 +95,20 @@
95
95
  "@nedb/core": "^2.1.2"
96
96
  },
97
97
  "devDependencies": {
98
- "@abtnode/ux": "1.16.8-next-c66e39c7",
99
- "@arcblock/did-connect": "^2.5.39",
100
- "@arcblock/icons": "^2.5.39",
101
- "@arcblock/ux": "^2.5.39",
98
+ "@abtnode/ux": "1.16.8-next-199ae4cb",
99
+ "@arcblock/did-connect": "^2.5.40",
100
+ "@arcblock/icons": "^2.5.40",
101
+ "@arcblock/ux": "^2.5.40",
102
102
  "@blocklet/launcher-layout": "2.0.39",
103
- "@blocklet/ui-react": "^2.5.39",
103
+ "@blocklet/ui-react": "^2.5.40",
104
104
  "@emotion/react": "^11.10.4",
105
105
  "@emotion/styled": "^11.10.4",
106
106
  "@iconify/iconify": "^2.2.1",
107
107
  "@mui/icons-material": "^5.10.6",
108
108
  "@mui/material": "^5.10.8",
109
109
  "@mui/styles": "^5.10.8",
110
- "@ocap/mcrypto": "1.18.78",
111
- "@ocap/wallet": "1.18.78",
110
+ "@ocap/mcrypto": "1.18.80",
111
+ "@ocap/wallet": "1.18.80",
112
112
  "ahooks": "^3.7.1",
113
113
  "axios": "^0.27.2",
114
114
  "copy-webpack-plugin": "^11.0.0",
@@ -162,5 +162,5 @@
162
162
  "url": "https://github.com/ArcBlock/blocklet-server/issues",
163
163
  "email": "shijun@arcblock.io"
164
164
  },
165
- "gitHead": "d769d1ab5bd56d258d4d1061e2c0f201dcef5676"
165
+ "gitHead": "a3c52c2929d25254f33a08eca0261fbf4dbc7b4c"
166
166
  }
@@ -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 = 'Head for blocklet email demo';
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: 'zjdivheWGgy6ucvsYYqP34hVeUgx6743GEfx',
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: 'zjdivheWGgy6ucvsYYqP34hVeUgx6743GEfx',
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 Demo',
159
- logo: 'https://picsum.photos/200/100',
160
- url: 'https://www.arcblock.io',
161
- description: 'This is a demo 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, subject: `[${appInfo.title}] ${title}` }));
165
- }
166
- exports.default = Test;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });