Skip to content

Commit 7a62e6b

Browse files
author
zhang han
authored
chore(deps): update deps (#85)
1 parent d639826 commit 7a62e6b

File tree

11 files changed

+942
-638
lines changed

11 files changed

+942
-638
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.16.5 (November 17, 2025)
2+
3+
- chore(deps): update deps
4+
15
## 1.16.4 (July 30, 2025)
26

37
- chore(deps): update deps

api/functions/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const cors = require('cors');
44
const express = require('express');
55
const cookieParser = require('cookie-parser');
66
const bodyParser = require('body-parser');
7-
const fallback = require('@blocklet/sdk/lib/middlewares/fallback');
7+
const middleware = require('@blocklet/sdk/lib/middlewares');
88
const logger = require('@blocklet/logger');
99

1010
const userRoutes = require('../routes/user');
@@ -33,7 +33,7 @@ if (isProduction || process.env.PREVIEW) {
3333

3434
const staticDir = path.resolve(__dirname, '../../', 'dist');
3535
server.use(express.static(staticDir, { maxAge: '365d', index: false }));
36-
server.use(fallback('index.html', { root: staticDir }));
36+
server.use(middleware.fallback('index.html', { root: staticDir }));
3737

3838
server.use((req, res) => {
3939
res.status(404).send('404 NOT FOUND');

api/routes/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const AuthService = require('@blocklet/sdk/service/auth');
1+
const { BlockletService: AuthService } = require('@blocklet/sdk/service/auth');
22
const EventBus = require('@blocklet/sdk/service/eventbus');
33
const middlewares = require('@blocklet/sdk/lib/middlewares');
44
const component = require('@blocklet/sdk/lib/component');

blocklet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: profile-demo
2-
version: 1.16.4
2+
version: 1.16.5
33
main: api/index.js
44
author:
55
name: ArcBlock

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "profile-demo",
3-
"version": "1.16.4",
3+
"version": "1.16.5",
44
"main": "index.js",
55
"author": "ArcBlock",
66
"license": "MIT",
@@ -21,21 +21,21 @@
2121
"bump-version": "make bump-version"
2222
},
2323
"dependencies": {
24-
"@blocklet/logger": "^1.16.46",
25-
"@blocklet/sdk": "^1.16.46",
26-
"@ocap/mcrypto": "^1.21.0",
27-
"@ocap/util": "^1.21.0",
28-
"@ocap/wallet": "^1.21.0",
24+
"@blocklet/logger": "^1.17.3-beta-20251117-130331-b2ce7065",
25+
"@blocklet/sdk": "^1.17.3-beta-20251117-130331-b2ce7065",
26+
"@ocap/mcrypto": "^1.27.6",
27+
"@ocap/util": "^1.27.6",
28+
"@ocap/wallet": "^1.27.6",
2929
"body-parser": "^1.20.3",
3030
"cookie-parser": "^1.4.7",
3131
"cors": "^2.8.5",
3232
"express": "^4.21.1"
3333
},
3434
"devDependencies": {
35-
"@arcblock/did-connect": "^3.0.36",
36-
"@arcblock/ux": "^3.0.36",
37-
"@blocklet/js-sdk": "^1.16.46",
38-
"@blocklet/ui-react": "^3.0.36",
35+
"@arcblock/did-connect-react": "^3.2.3",
36+
"@arcblock/ux": "^3.2.3",
37+
"@blocklet/js-sdk": "^1.17.3-beta-20251117-130331-b2ce7065",
38+
"@blocklet/ui-react": "^3.2.3",
3939
"@emotion/react": "^11.14.0",
4040
"@emotion/styled": "^11.14.1",
4141
"@mui/icons-material": "^7.2.0",
@@ -51,7 +51,7 @@
5151
"react-router-dom": "^6.28.0",
5252
"vite": "^7.0.5",
5353
"vite-node": "^3.2.4",
54-
"vite-plugin-blocklet": "^0.10.1",
54+
"vite-plugin-blocklet": "^0.12.2",
5555
"vite-plugin-pwa": "^1.0.1",
5656
"vite-plugin-require": "^1.2.14",
5757
"vite-plugin-svgr": "^4.3.0"

pnpm-lock.yaml

Lines changed: 920 additions & 618 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { createRoot } from 'react-dom/client';
32
import App from './app';
43

src/libs/session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable object-curly-newline */
22
import { useContext } from 'react';
3-
import { createAuthServiceSessionContext } from '@arcblock/did-connect/lib/Session';
3+
import { createAuthServiceSessionContext } from '@arcblock/did-connect-react/lib/Session';
44

55
const { SessionProvider, SessionContext, SessionConsumer, withSession } = createAuthServiceSessionContext();
66

src/page/main.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import dayjs from 'dayjs';
32
import { Avatar, Box, Button } from '@mui/material';
43

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.16.4
1+
1.16.5

0 commit comments

Comments
 (0)