create-blocklet 0.9.7 → 0.9.9
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/lib/did.js +10 -5
- package/package.json +5 -5
- package/templates/did-connect-dapp/README.md +2 -110
- package/templates/did-connect-dapp/package.json +5 -5
- package/templates/did-connect-dapp/src/components/connects/request-profile.jsx +28 -20
- package/templates/did-wallet-dapp/package.json +6 -6
- package/templates/express-api/package.json +1 -1
- package/templates/nestjs-api/package.json +2 -2
- package/templates/nextjs-dapp/package.json +1 -1
- package/templates/react-dapp/package.json +3 -3
- package/templates/react-dapp-ts/package.json +5 -5
- package/templates/react-gun-dapp/package.json +2 -2
- package/templates/react-static/package.json +1 -1
- package/templates/solidjs-dapp/package.json +3 -3
- package/templates/solidjs-static/package.json +1 -1
- package/templates/svelte-dapp/package.json +4 -4
- package/templates/svelte-static/package.json +2 -2
- package/templates/todo-list-example/package.json +10 -10
- package/templates/vue-dapp/package.json +4 -4
- package/templates/vue-static/package.json +2 -2
- package/templates/vue-ts-static/package.json +3 -3
- package/templates/vue2-dapp/package.json +2 -2
- package/templates/vue2-static/package.json +1 -1
package/lib/did.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/prefer-default-export */
|
|
2
1
|
import ora from 'ora';
|
|
3
2
|
import Mcrypto from '@ocap/mcrypto';
|
|
4
3
|
import * as jdenticon from 'jdenticon';
|
|
@@ -37,7 +36,8 @@ export async function getBlockletDidList(monikerList = [], connectUrl = '') {
|
|
|
37
36
|
childProcess.stdout.on('data', (data) => {
|
|
38
37
|
const message = data.toString('utf8') || '';
|
|
39
38
|
if (message.includes('gen-key-pair') && message.includes('__connect_url__')) {
|
|
40
|
-
spinner.text =
|
|
39
|
+
spinner.text = 'Waiting for DID Connect to generate a Blocklet DID';
|
|
40
|
+
console.log(message.replace('✔ \n', ''));
|
|
41
41
|
} else {
|
|
42
42
|
lastMessage = message;
|
|
43
43
|
}
|
|
@@ -48,9 +48,14 @@ export async function getBlockletDidList(monikerList = [], connectUrl = '') {
|
|
|
48
48
|
spinner.fail(message);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
childProcess.on('close', () => {
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
childProcess.on('close', (exitCode) => {
|
|
52
|
+
if (exitCode !== 0) {
|
|
53
|
+
spinner.fail();
|
|
54
|
+
reject(new Error('Failed to connect store'));
|
|
55
|
+
} else {
|
|
56
|
+
spinner.succeed();
|
|
57
|
+
resolve(lastMessage);
|
|
58
|
+
}
|
|
54
59
|
});
|
|
55
60
|
childProcess.on('error', (err) => {
|
|
56
61
|
spinner.fail();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-blocklet",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"exports": "./index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "git@github.com:blocklet/create-blocklet.git",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"figlet": "^1.7.0",
|
|
39
39
|
"gradient-string": "^2.0.2",
|
|
40
40
|
"jdenticon": "^3.3.0",
|
|
41
|
-
"ora": "^8.0
|
|
41
|
+
"ora": "^8.1.0",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"semver": "^7.6.3",
|
|
44
44
|
"terminal-link": "^3.0.0",
|
|
45
|
-
"zx": "^8.1.
|
|
45
|
+
"zx": "^8.1.8"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@arcblock/eslint-config-base": "^0.3.2",
|
|
49
|
-
"eslint": "^8.57.
|
|
49
|
+
"eslint": "^8.57.1",
|
|
50
50
|
"prettier": "^3.3.3",
|
|
51
|
-
"vitest": "^2.
|
|
51
|
+
"vitest": "^2.1.1"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PROJECT_DESCRIPTION
|
|
2
2
|
|
|
3
3
|
This project was bootstrapped with [Create Blocklet](https://github.com/blocklet/create-blocklet).
|
|
4
4
|
|
|
5
5
|
This blocklet is a dapp project, which means this is a full-stack application. It's contained both `server` and `client` code.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## FILE_STRUCTURE
|
|
8
8
|
|
|
9
9
|
- public/ - static files
|
|
10
10
|
- favicon.ico - favicon
|
|
@@ -33,111 +33,3 @@ This blocklet is a dapp project, which means this is a full-stack application. I
|
|
|
33
33
|
- package.json - Npm package file
|
|
34
34
|
- README.md - A guide for this blocklet
|
|
35
35
|
- version - Version file
|
|
36
|
-
|
|
37
|
-
## Development
|
|
38
|
-
|
|
39
|
-
1. Make sure you have [@blocklet/cli](https://www.npmjs.com/package/@blocklet/cli) installed
|
|
40
|
-
|
|
41
|
-
Blocklet needs blocklet server as a dependency. So you need to install it first.
|
|
42
|
-
`npm install -g @blocklet/cli`
|
|
43
|
-
See details in [https://www.arcblock.io/docs/blocklet-developer/install-blocklet-cli](https://www.arcblock.io/docs/blocklet-developer/install-blocklet-cli)
|
|
44
|
-
|
|
45
|
-
2. Init blocklet server & start blocklet server
|
|
46
|
-
|
|
47
|
-
Before starting an blocklet server, you need to init blocklet server.
|
|
48
|
-
`blocklet server init --mode=debug`
|
|
49
|
-
`blocklet server start`
|
|
50
|
-
See details in [https://www.arcblock.io/docs/blocklet-developer/getting-started](https://www.arcblock.io/docs/blocklet-developer/getting-started)
|
|
51
|
-
|
|
52
|
-
3. Go to the project directory `cd [name]`
|
|
53
|
-
4. Install dependencies: `npm install` or `yarn` or `pnpm install`
|
|
54
|
-
5. Start development server: `blocklet dev`
|
|
55
|
-
|
|
56
|
-
## Bundle
|
|
57
|
-
|
|
58
|
-
After developing a blocklet, you may need to bundle it. Use `npm run bundle` command.
|
|
59
|
-
|
|
60
|
-
## Deploy
|
|
61
|
-
|
|
62
|
-
- If you want to deploy this blocklet to local blocklet server, you can use `blocklet deploy .blocklet/bundle` command(Make sure the blocklet is bundled before deployment).
|
|
63
|
-
> Or you can simply use `npm run deploy` command.
|
|
64
|
-
- If you want to deploy this blocklet to remote blocklet server, you can use the command below.
|
|
65
|
-
|
|
66
|
-
```shell
|
|
67
|
-
blocklet deploy .blocklet/bundle --endpoint {your blocklet server url} --access-key {blocklet server access key} --access-secret {blocklet server access secret}
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
> Make sure the blocklet is bundled before deployment.
|
|
71
|
-
|
|
72
|
-
## Upload to blocklet store
|
|
73
|
-
|
|
74
|
-
- If you want to upload the blocklet to any store for other users to download and use, you can following the following instructions.
|
|
75
|
-
|
|
76
|
-
Bump version at first.
|
|
77
|
-
|
|
78
|
-
```shell
|
|
79
|
-
npm run bump-version
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
Then config blocklet store url.
|
|
83
|
-
You can use those store url in below.
|
|
84
|
-
|
|
85
|
-
1. [https://store.blocklet.dev/](https://store.blocklet.dev/)
|
|
86
|
-
2. [https://dev.store.blocklet.dev/](https://dev.store.blocklet.dev/)
|
|
87
|
-
3. A blocklet store started by yourself.
|
|
88
|
-
> Make sure you have installed a `blocklet store` on your own blocklet server. Check it on here: [https://store.blocklet.dev/blocklet/z8ia29UsENBg6tLZUKi2HABj38Cw1LmHZocbQ](https://store.blocklet.dev/blocklet/z8ia29UsENBg6tLZUKi2HABj38Cw1LmHZocbQ)
|
|
89
|
-
|
|
90
|
-
```shell
|
|
91
|
-
blocklet config set store {store url}
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Get a `accessToken` by using this command.
|
|
95
|
-
|
|
96
|
-
> Why we need a `accessToken`?
|
|
97
|
-
> A `accessToken` is genrate by blocklet store, which help us upload our blocklet to any store.
|
|
98
|
-
|
|
99
|
-
Set `accessToken` to blocklet config
|
|
100
|
-
|
|
101
|
-
```shell
|
|
102
|
-
blocklet config set accessToken {accessToken}
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Upload a new version to a store.
|
|
106
|
-
|
|
107
|
-
> Make sure the blocklet is bundled before upload.
|
|
108
|
-
|
|
109
|
-
```shell
|
|
110
|
-
blocklet upload
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
Or you can simply use `npm run upload` command.
|
|
114
|
-
|
|
115
|
-
- You also can upload a new version to a store by Github CI.
|
|
116
|
-
Bump version at first.
|
|
117
|
-
|
|
118
|
-
```shell
|
|
119
|
-
npm run bump-version
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
Push your code to Github main/master branch, or make a pull request to the main/master branch.
|
|
123
|
-
The CI workflow will automatically upload a new version to a store.
|
|
124
|
-
|
|
125
|
-
## Q & A
|
|
126
|
-
|
|
127
|
-
1. Q: How to change a blocklet's logo?
|
|
128
|
-
|
|
129
|
-
Change the `logo.png` file root folder.
|
|
130
|
-
|
|
131
|
-
Or you can change the `logo` field in the `blocklet.yml` file.
|
|
132
|
-
|
|
133
|
-
> Make sure you have added the logo path to the `blocklet.yml` file `files` field.
|
|
134
|
-
|
|
135
|
-
## Learn More
|
|
136
|
-
|
|
137
|
-
- Full specification of `blocklet.yml`: [https://github.com/blocklet/blocklet-specification/blob/main/docs/meta.md](https://github.com/blocklet/blocklet-specification/blob/main/docs/meta.md)
|
|
138
|
-
- Full document of Blocklet Server & blocklet development: [https://www.arcblock.io/docs/blocklet-developer](https://www.arcblock.io/docs/blocklet-developer)
|
|
139
|
-
|
|
140
|
-
## License
|
|
141
|
-
|
|
142
|
-
The code is licensed under the Apache 2.0 license found in the
|
|
143
|
-
[LICENSE](LICENSE) file.
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@arcblock/did": "^1.18.135",
|
|
42
42
|
"@arcblock/did-auth": "^1.18.135",
|
|
43
43
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
44
|
-
"@blocklet/sdk": "^1.16.
|
|
44
|
+
"@blocklet/sdk": "^1.16.32",
|
|
45
45
|
"@ocap/client": "^1.18.135",
|
|
46
46
|
"@ocap/mcrypto": "^1.18.135",
|
|
47
47
|
"@ocap/util": "^1.18.135",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"lodash": "^4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@arcblock/did-connect": "^2.10.
|
|
56
|
+
"@arcblock/did-connect": "^2.10.39",
|
|
57
57
|
"@arcblock/eslint-config": "^0.3.2",
|
|
58
|
-
"@arcblock/ux": "^2.10.
|
|
59
|
-
"@blocklet/ui-react": "^2.10.
|
|
58
|
+
"@arcblock/ux": "^2.10.39",
|
|
59
|
+
"@blocklet/ui-react": "^2.10.39",
|
|
60
60
|
"@emotion/react": "^11.13.3",
|
|
61
61
|
"@emotion/styled": "^11.13.0",
|
|
62
62
|
"@iconify-icons/material-symbols": "^1.2.58",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"react-dom": "~18.2.0",
|
|
77
77
|
"rimraf": "^5.0.10",
|
|
78
78
|
"vite": "^5.4.8",
|
|
79
|
-
"vite-plugin-blocklet": "^0.9.
|
|
79
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
80
80
|
"vite-plugin-svgr": "^4.2.0",
|
|
81
81
|
"zx": "^8.1.8"
|
|
82
82
|
},
|
|
@@ -44,26 +44,34 @@ export default function RequestProfile() {
|
|
|
44
44
|
result ? (
|
|
45
45
|
<>
|
|
46
46
|
<Avatar variant="circle" src={result.avatar} did={result.did} size={60} />
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
47
|
+
{result.fullName && (
|
|
48
|
+
<InfoRow
|
|
49
|
+
icon={<Icon fontSize={18} icon={AccountBoxOutline} />}
|
|
50
|
+
name={t('claims.requestProfile.result.fullName')}
|
|
51
|
+
value={result.fullName}
|
|
52
|
+
/>
|
|
53
|
+
)}
|
|
54
|
+
{result.email && (
|
|
55
|
+
<InfoRow
|
|
56
|
+
icon={<Icon fontSize={18} icon={MailOutlineRoundedIcon} />}
|
|
57
|
+
name={t('claims.requestProfile.result.email')}
|
|
58
|
+
value={result.email}
|
|
59
|
+
/>
|
|
60
|
+
)}
|
|
61
|
+
{result.phone && (
|
|
62
|
+
<InfoRow
|
|
63
|
+
icon={<Icon fontSize={18} icon={PhoneOutlineRoundedIcon} />}
|
|
64
|
+
name={t('claims.requestProfile.result.phone')}
|
|
65
|
+
value={result.phone}
|
|
66
|
+
/>
|
|
67
|
+
)}
|
|
68
|
+
{result.birthday && (
|
|
69
|
+
<InfoRow
|
|
70
|
+
icon={<Icon fontSize={18} icon={CakeOutlineRoundedIcon} />}
|
|
71
|
+
name={t('claims.requestProfile.result.birthday')}
|
|
72
|
+
value={result.birthday}
|
|
73
|
+
/>
|
|
74
|
+
)}
|
|
67
75
|
</>
|
|
68
76
|
) : null
|
|
69
77
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"bump-version": "zx --quiet scripts/bump-version.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@blocklet/sdk": "^1.16.
|
|
21
|
+
"@blocklet/sdk": "^1.16.32",
|
|
22
22
|
"@ocap/mcrypto": "^1.18.135",
|
|
23
23
|
"@ocap/util": "^1.18.135",
|
|
24
24
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"morgan": "^1.10.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@arcblock/did-connect": "^2.10.
|
|
33
|
+
"@arcblock/did-connect": "^2.10.39",
|
|
34
34
|
"@arcblock/eslint-config": "^0.3.2",
|
|
35
|
-
"@arcblock/ux": "^2.10.
|
|
36
|
-
"@blocklet/js-sdk": "^1.16.
|
|
37
|
-
"@blocklet/ui-react": "^2.10.
|
|
35
|
+
"@arcblock/ux": "^2.10.39",
|
|
36
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
37
|
+
"@blocklet/ui-react": "^2.10.39",
|
|
38
38
|
"@emotion/react": "^11.13.3",
|
|
39
39
|
"@emotion/styled": "^11.13.0",
|
|
40
40
|
"@mui/icons-material": "^5.16.7",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"simple-git-hooks": "^2.11.1",
|
|
53
53
|
"vite": "^5.4.8",
|
|
54
54
|
"vite-node": "^2.1.1",
|
|
55
|
-
"vite-plugin-blocklet": "^0.9.
|
|
55
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
56
56
|
"vite-plugin-require": "^1.2.14",
|
|
57
57
|
"vite-plugin-svgr": "^4.2.0",
|
|
58
58
|
"zx": "^8.1.8"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
39
|
-
"@blocklet/sdk": "^1.16.
|
|
39
|
+
"@blocklet/sdk": "^1.16.32",
|
|
40
40
|
"@nestjs/common": "^10.4.4",
|
|
41
41
|
"@nestjs/core": "^10.4.4",
|
|
42
42
|
"@nestjs/platform-express": "^10.4.4",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@nestjs/schematics": "^10.1.4",
|
|
53
53
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
54
54
|
"@types/express": "^4.17.21",
|
|
55
|
-
"@types/node": "^20.16.
|
|
55
|
+
"@types/node": "^20.16.10",
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
57
57
|
"@typescript-eslint/parser": "^7.18.0",
|
|
58
58
|
"bumpp": "^9.5.2",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@arcblock/did-auth": "^1.18.135",
|
|
32
32
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
33
|
-
"@blocklet/sdk": "^1.16.
|
|
33
|
+
"@blocklet/sdk": "^1.16.32",
|
|
34
34
|
"@ocap/client": "^1.18.135",
|
|
35
35
|
"@ocap/mcrypto": "^1.18.135",
|
|
36
36
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@arcblock/did-auth": "^1.18.135",
|
|
44
44
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
45
|
-
"@blocklet/sdk": "^1.16.
|
|
45
|
+
"@blocklet/sdk": "^1.16.32",
|
|
46
46
|
"@ocap/client": "^1.18.135",
|
|
47
47
|
"@ocap/mcrypto": "^1.18.135",
|
|
48
48
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@arcblock/eslint-config": "^0.3.2",
|
|
58
|
-
"@blocklet/js-sdk": "^1.16.
|
|
58
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
59
59
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
60
60
|
"@vitejs/plugin-react": "^4.3.1",
|
|
61
61
|
"bumpp": "^9.5.2",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"rimraf": "^5.0.10",
|
|
72
72
|
"simple-git-hooks": "^2.11.1",
|
|
73
73
|
"vite": "^5.4.8",
|
|
74
|
-
"vite-plugin-blocklet": "^0.9.
|
|
74
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
75
75
|
"vite-plugin-svgr": "^4.2.0",
|
|
76
76
|
"zx": "^8.1.8"
|
|
77
77
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@arcblock/did-auth": "^1.18.135",
|
|
42
42
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
43
|
-
"@blocklet/sdk": "^1.16.
|
|
43
|
+
"@blocklet/sdk": "^1.16.32",
|
|
44
44
|
"@ocap/client": "^1.18.135",
|
|
45
45
|
"@ocap/mcrypto": "^1.18.135",
|
|
46
46
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@arcblock/eslint-config": "^0.3.2",
|
|
56
56
|
"@arcblock/eslint-config-ts": "^0.3.2",
|
|
57
|
-
"@blocklet/js-sdk": "^1.16.
|
|
57
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
58
58
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
59
59
|
"@types/cookie-parser": "^1.4.7",
|
|
60
60
|
"@types/cors": "^2.8.17",
|
|
61
61
|
"@types/dotenv-flow": "^3.3.3",
|
|
62
62
|
"@types/express": "^4.17.21",
|
|
63
|
-
"@types/node": "^20.16.
|
|
64
|
-
"@types/react": "^18.3.
|
|
63
|
+
"@types/node": "^20.16.10",
|
|
64
|
+
"@types/react": "^18.3.10",
|
|
65
65
|
"@types/react-dom": "^18.3.0",
|
|
66
66
|
"@vitejs/plugin-react": "^4.3.1",
|
|
67
67
|
"bumpp": "^9.5.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"typescript": "^5.6.2",
|
|
83
83
|
"vite": "^5.4.8",
|
|
84
|
-
"vite-plugin-blocklet": "^0.9.
|
|
84
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
85
85
|
"vite-plugin-svgr": "^4.2.0",
|
|
86
86
|
"zx": "^8.1.8"
|
|
87
87
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@arcblock/did-auth": "^1.18.135",
|
|
44
44
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
45
|
-
"@blocklet/sdk": "^1.16.
|
|
45
|
+
"@blocklet/sdk": "^1.16.32",
|
|
46
46
|
"@ocap/client": "^1.18.135",
|
|
47
47
|
"@ocap/mcrypto": "^1.18.135",
|
|
48
48
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"rimraf": "^5.0.10",
|
|
72
72
|
"simple-git-hooks": "^2.11.1",
|
|
73
73
|
"vite": "^5.4.8",
|
|
74
|
-
"vite-plugin-blocklet": "^0.9.
|
|
74
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
75
75
|
"vite-plugin-svgr": "^4.2.0",
|
|
76
76
|
"zx": "^8.1.8"
|
|
77
77
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@blocklet/js-sdk": "^1.16.
|
|
24
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
25
25
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
26
26
|
"bumpp": "^9.5.2",
|
|
27
27
|
"cross-env": "^7.0.3",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"rimraf": "^5.0.10",
|
|
37
37
|
"simple-git-hooks": "^2.11.1",
|
|
38
38
|
"vite": "^5.4.8",
|
|
39
|
-
"vite-plugin-blocklet": "^0.9.
|
|
39
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
40
40
|
"vite-plugin-solid": "^2.10.2",
|
|
41
41
|
"zx": "^8.1.8"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@arcblock/did-auth": "^1.18.135",
|
|
45
45
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
46
|
-
"@blocklet/sdk": "^1.16.
|
|
46
|
+
"@blocklet/sdk": "^1.16.32",
|
|
47
47
|
"@ocap/client": "^1.18.135",
|
|
48
48
|
"@ocap/mcrypto": "^1.18.135",
|
|
49
49
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@arcblock/did-auth": "^1.18.135",
|
|
21
21
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
22
|
-
"@blocklet/sdk": "^1.16.
|
|
22
|
+
"@blocklet/sdk": "^1.16.32",
|
|
23
23
|
"@ocap/client": "^1.18.135",
|
|
24
24
|
"@ocap/mcrypto": "^1.18.135",
|
|
25
25
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"express-async-errors": "^3.1.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@blocklet/js-sdk": "^1.16.
|
|
34
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
35
35
|
"@sveltejs/vite-plugin-svelte": "3.1.1",
|
|
36
36
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
37
37
|
"bumpp": "^9.5.2",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"lint-staged": "^15.2.10",
|
|
40
40
|
"npm-run-all": "^4.1.5",
|
|
41
41
|
"prettier": "^3.3.3",
|
|
42
|
-
"prettier-plugin-svelte": "^3.2.
|
|
42
|
+
"prettier-plugin-svelte": "^3.2.7",
|
|
43
43
|
"rimraf": "^5.0.10",
|
|
44
44
|
"simple-git-hooks": "^2.11.1",
|
|
45
45
|
"svelte": "^4.2.19",
|
|
46
46
|
"vite": "^5.4.8",
|
|
47
|
-
"vite-plugin-blocklet": "^0.9.
|
|
47
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
48
48
|
"zx": "^8.1.8"
|
|
49
49
|
},
|
|
50
50
|
"lint-staged": {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"bumpp": "^9.5.2",
|
|
21
21
|
"lint-staged": "^15.2.10",
|
|
22
22
|
"prettier": "^3.3.3",
|
|
23
|
-
"prettier-plugin-svelte": "^3.2.
|
|
23
|
+
"prettier-plugin-svelte": "^3.2.7",
|
|
24
24
|
"rimraf": "^5.0.10",
|
|
25
25
|
"simple-git-hooks": "^2.11.1",
|
|
26
26
|
"svelte": "^4.2.19",
|
|
27
27
|
"vite": "^5.4.8",
|
|
28
|
-
"vite-plugin-blocklet": "^0.9.
|
|
28
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
29
29
|
"zx": "^8.1.8"
|
|
30
30
|
},
|
|
31
31
|
"lint-staged": {
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@arcblock/did-auth": "^1.18.135",
|
|
42
42
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
43
|
-
"@blocklet/sdk": "^1.16.
|
|
44
|
-
"@did-space/client": "^0.5.
|
|
45
|
-
"@did-space/core": "^0.5.
|
|
43
|
+
"@blocklet/sdk": "^1.16.32",
|
|
44
|
+
"@did-space/client": "^0.5.47",
|
|
45
|
+
"@did-space/core": "^0.5.47",
|
|
46
46
|
"@ocap/client": "^1.18.135",
|
|
47
47
|
"@ocap/mcrypto": "^1.18.135",
|
|
48
48
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"nanoid": "^5.0.7"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@arcblock/did-connect": "^2.10.
|
|
59
|
+
"@arcblock/did-connect": "^2.10.39",
|
|
60
60
|
"@arcblock/eslint-config": "^0.3.2",
|
|
61
61
|
"@arcblock/eslint-config-ts": "^0.3.2",
|
|
62
|
-
"@arcblock/ux": "^2.10.
|
|
63
|
-
"@blocklet/js-sdk": "^1.16.
|
|
64
|
-
"@blocklet/ui-react": "^2.10.
|
|
62
|
+
"@arcblock/ux": "^2.10.39",
|
|
63
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
64
|
+
"@blocklet/ui-react": "^2.10.39",
|
|
65
65
|
"@emotion/react": "^11.13.3",
|
|
66
66
|
"@emotion/styled": "^11.13.0",
|
|
67
67
|
"@mui/icons-material": "^5.16.7",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@types/dotenv-flow": "^3.3.3",
|
|
73
73
|
"@types/express": "^4.17.21",
|
|
74
74
|
"@types/lodash": "^4.17.9",
|
|
75
|
-
"@types/node": "^20.16.
|
|
76
|
-
"@types/react": "^18.3.
|
|
75
|
+
"@types/node": "^20.16.10",
|
|
76
|
+
"@types/react": "^18.3.10",
|
|
77
77
|
"@types/react-dom": "^18.3.0",
|
|
78
78
|
"@types/react-toastify": "^4.1.0",
|
|
79
79
|
"@vitejs/plugin-react": "^4.3.1",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"ts-node": "^10.9.2",
|
|
97
97
|
"typescript": "^5.6.2",
|
|
98
98
|
"vite": "^5.4.8",
|
|
99
|
-
"vite-plugin-blocklet": "^0.9.
|
|
99
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
100
100
|
"vite-plugin-svgr": "^4.2.0",
|
|
101
101
|
"zx": "^8.1.8"
|
|
102
102
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@arcblock/did-auth": "^1.18.135",
|
|
23
23
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
24
|
-
"@blocklet/sdk": "^1.16.
|
|
24
|
+
"@blocklet/sdk": "^1.16.32",
|
|
25
25
|
"@ocap/client": "^1.18.135",
|
|
26
26
|
"@ocap/mcrypto": "^1.18.135",
|
|
27
27
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"express-async-errors": "^3.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@blocklet/js-sdk": "^1.16.
|
|
36
|
+
"@blocklet/js-sdk": "^1.16.32",
|
|
37
37
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
38
38
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
39
39
|
"bumpp": "^9.5.2",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"rimraf": "^5.0.10",
|
|
50
50
|
"simple-git-hooks": "^2.11.1",
|
|
51
51
|
"vite": "^5.4.8",
|
|
52
|
-
"vite-plugin-blocklet": "^0.9.
|
|
53
|
-
"vue": "^3.5.
|
|
52
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
53
|
+
"vue": "^3.5.10",
|
|
54
54
|
"zx": "^8.1.8"
|
|
55
55
|
},
|
|
56
56
|
"lint-staged": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"up:deps": "taze major -I"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"vue": "^3.5.
|
|
27
|
+
"vue": "^3.5.10"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@antfu/eslint-config": "^2.27.3",
|
|
31
|
-
"@blocklet/cli": "^1.16.
|
|
31
|
+
"@blocklet/cli": "^1.16.32",
|
|
32
32
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
33
33
|
"bumpp": "^9.5.2",
|
|
34
34
|
"eslint": "9.5.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"taze": "^0.16.9",
|
|
40
40
|
"typescript": "^5.6.2",
|
|
41
41
|
"vite": "^5.4.8",
|
|
42
|
-
"vite-plugin-blocklet": "^0.9.
|
|
42
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
43
43
|
"vue-tsc": "^2.1.6",
|
|
44
44
|
"zx": "^8.1.8"
|
|
45
45
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@arcblock/did-auth": "^1.18.135",
|
|
23
23
|
"@arcblock/did-auth-storage-nedb": "^1.7.1",
|
|
24
|
-
"@blocklet/sdk": "^1.16.
|
|
24
|
+
"@blocklet/sdk": "^1.16.32",
|
|
25
25
|
"@ocap/client": "^1.18.135",
|
|
26
26
|
"@ocap/mcrypto": "^1.18.135",
|
|
27
27
|
"@ocap/wallet": "^1.18.135",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"rimraf": "^5.0.10",
|
|
49
49
|
"simple-git-hooks": "^2.11.1",
|
|
50
50
|
"vite": "^5.4.8",
|
|
51
|
-
"vite-plugin-blocklet": "^0.9.
|
|
51
|
+
"vite-plugin-blocklet": "^0.9.9",
|
|
52
52
|
"vue": "^2.7.16",
|
|
53
53
|
"zx": "^8.1.8"
|
|
54
54
|
},
|