Skip to content

Commit 123f0e9

Browse files
committed
update UI 0.20.1
1 parent d81e82f commit 123f0e9

File tree

12 files changed

+109
-106
lines changed

12 files changed

+109
-106
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@conet.project/conet-proxy",
33

4-
"version": "0.16.0",
4+
"version": "0.16.2",
55

66
"license": "UNLICENSED",
77
"files": [
@@ -27,33 +27,33 @@
2727
"express": "^5.1.0",
2828
"fs-extra": "^11.3.0",
2929
"uuid": "^11.1.0",
30-
"yargs": "^17.7.2",
30+
"yargs": "18.0.0",
3131
"hexdump-nodejs": "^0.1.0",
3232
"ip": "^2.0.1",
33-
"ethers": "^6.13.7",
33+
"ethers": "^6.15.0",
3434
"openpgp": "^5.11.2",
35-
"eth-crypto": "^2.8.0",
35+
"eth-crypto": "^3.1.0",
3636
"axios": "^1.10.0",
37-
"unzipper": "^0.12.3",
38-
"electron": "^37.2.1"
37+
"unzipper": "^0.12.3"
3938
},
39+
4040
"devDependencies": {
4141
"@types/async": "^3.2.24",
42-
"@types/express": "^5.0.1",
42+
"@types/express": "^5.0.3",
4343
"@types/fs-extra": "^11.0.4",
44-
"@types/jest": "^29.5.14",
45-
"@types/node": "^22.15.2",
44+
"@types/jest": "^30.0.0",
45+
"@types/node": "^24.0.14",
4646
"@types/pouchdb": "^6.4.2",
4747
"@types/uuid": "^10.0.0",
4848
"@types/openpgp": "^5.0.0",
49-
"@typescript-eslint/eslint-plugin": "^8.31.0",
50-
"@typescript-eslint/parser": "^8.31.0",
51-
"eslint": "^9.25.1",
49+
"@typescript-eslint/eslint-plugin": "^8.37.0",
50+
"@typescript-eslint/parser": "^8.37.0",
51+
"eslint": "^9.31.0",
5252
"eslint-config-airbnb-base": "^15.0.0",
53-
"eslint-config-prettier": "^10.1.2",
53+
"eslint-config-prettier": "^10.1.5",
5454
"jszip": "^3.10.1",
5555
"pouchdb": "^9.0.0",
56-
"ts-jest": "^29.3.2",
56+
"ts-jest": "^29.4.0",
5757
"ts-node": "^10.9.2",
5858
"typescript": "^5.8.3"
5959
},

src/localServer/updateProcess.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const downloadAndUnzip = (downloadUrl: string, extractPath: string, redirectCoun
2020
return reject(new Error('超过最大重定向次数'))
2121
}
2222
const options = { agent: httpAgent }
23+
// 在此处添加 headers
24+
2325
http.get(downloadUrl, options, (response) => {
2426
// 处理重定向
2527
if (response.statusCode && response.statusCode >= 300 && response.statusCode < 400 && response.headers.location) {
@@ -55,6 +57,8 @@ const fetchText = (requestUrl: string, redirectCount = 0): Promise<string> => {
5557
}
5658
logger(`fetchText access ${requestUrl}`)
5759
const options = { agent: httpAgent }
60+
// 在此处添加 headers
61+
5862
http.get(requestUrl, options, (response) => {
5963
// 处理重定向
6064
if (response.statusCode && response.statusCode >= 300 && response.statusCode < 400 && response.headers.location) {
@@ -176,6 +180,7 @@ const downloadSingleFileHttp = (downloadUrl: string, destinationPath: string): P
176180
fs.mkdirSync(dir, { recursive: true })
177181
}
178182
const options = { agent: httpAgent }
183+
179184
const fileStream = fs.createWriteStream(destinationPath)
180185
logger(`Download ${downloadUrl}`)
181186
http.get(downloadUrl, options, (response) => {

src/localServer/workers/asset-manifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"files": {
3-
"main.css": "/static/css/main.b71dcddc.css",
4-
"main.js": "/static/js/main.6e3cb4ef.js",
3+
"main.css": "/static/css/main.9c3b20de.css",
4+
"main.js": "/static/js/main.6f600d7d.js",
55
"static/js/453.a5cbc0be.chunk.js": "/static/js/453.a5cbc0be.chunk.js",
66
"static/media/GC.svg": "/static/media/GC.32c345f58a5986b6be47a893faa2ccfc.svg",
77
"static/media/sp-token.svg": "/static/media/sp-token.01da7809f36c2002dfb6fd98f3827a44.svg",
@@ -30,14 +30,14 @@
3030
"static/media/help.svg": "/static/media/help.e84a33a3a76e89bf3daf58baf1189fe8.svg",
3131
"static/media/applications.svg": "/static/media/applications.09188afc96cbcf16b2e82eb2f8221b79.svg",
3232
"static/media/visibility-on.svg": "/static/media/visibility-on.f5df4f90160c7c5a31897a7432ef7c6a.svg",
33-
"index.html": "/index.html",
3433
"static/media/application.svg": "/static/media/application.43d120a2e74e3c4818090a317f997652.svg",
3534
"static/media/language.svg": "/static/media/language.43d120a2e74e3c4818090a317f997652.svg",
3635
"static/media/progress-activity.svg": "/static/media/progress-activity.9abf838e0c87127f49cc95fa63508d0f.svg",
3736
"static/media/check.svg": "/static/media/check.da10199b7af03ad9989179833f4418cc.svg",
3837
"static/media/right-chevron.svg": "/static/media/right-chevron.c19265445e3b2c1f01ac246a3bd9f75a.svg",
3938
"static/media/swap-icon-black.svg": "/static/media/swap-icon-black.39ff22e07966f123cfa0c1bdd8a7ad3c.svg",
4039
"static/media/copy-purple.svg": "/static/media/copy-purple.6c76b859898519fb00d4976af979832e.svg",
40+
"index.html": "/index.html",
4141
"static/media/quotes-icon.svg": "/static/media/quotes-icon.73e155d019de520a603406dff24a2a34.svg",
4242
"static/media/wallet-icon-blue.svg": "/static/media/wallet-icon-blue.8e67b2fbce8720851df7e0468de49774.svg",
4343
"static/media/wallet-icon-grey.svg": "/static/media/wallet-icon-grey.8243b14554617ec13b52222940c2b783.svg",
@@ -47,12 +47,12 @@
4747
"static/media/home-icon-blue.svg": "/static/media/home-icon-blue.df38257e8df35d5d6d3197cc84871954.svg",
4848
"static/media/home-icon-grey.svg": "/static/media/home-icon-grey.7c0953e4572ebe8dd813c4a3cd870b10.svg",
4949
"static/media/split-tunneling.svg": "/static/media/split-tunneling.9e6f6574614b30a8fa5483b6e26b49af.svg",
50-
"main.b71dcddc.css.map": "/static/css/main.b71dcddc.css.map",
51-
"main.6e3cb4ef.js.map": "/static/js/main.6e3cb4ef.js.map",
50+
"main.9c3b20de.css.map": "/static/css/main.9c3b20de.css.map",
51+
"main.6f600d7d.js.map": "/static/js/main.6f600d7d.js.map",
5252
"453.a5cbc0be.chunk.js.map": "/static/js/453.a5cbc0be.chunk.js.map"
5353
},
5454
"entrypoints": [
55-
"static/css/main.b71dcddc.css",
56-
"static/js/main.6e3cb4ef.js"
55+
"static/css/main.9c3b20de.css",
56+
"static/js/main.6f600d7d.js"
5757
]
5858
}

src/localServer/workers/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Silent Pass</title><script type="text/javascript">window.Comm100API=window.Comm100API||{},function(t){function e(e){var c=document.createElement("script"),d=document.getElementsByTagName("script")[0];c.type="text/javascript",c.async=!0,c.src=e+t.site_id,d.parentNode.insertBefore(c,d)}t.chat_buttons=t.chat_buttons||[],t.chat_buttons.push({code_plan:"efd822ce-7299-4fda-9fc1-252dd2f01fc5",hide:!0}),t.site_id=90007504,t.main_code_plan="efd822ce-7299-4fda-9fc1-252dd2f01fc5",e("https://vue.comm100.com/livechat.ashx?siteId="),setTimeout((function(){t.loaded||e("https://standby.comm100vue.com/livechat.ashx?siteId=")}),5e3)}(window.Comm100API||{})</script><script defer="defer" src="/static/js/main.6e3cb4ef.js"></script><link href="/static/css/main.b71dcddc.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Silent Pass</title><script defer="defer" src="/static/js/main.6f600d7d.js"></script><link href="/static/css/main.9c3b20de.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

src/localServer/workers/static/css/main.b71dcddc.css renamed to src/localServer/workers/static/css/main.9c3b20de.css

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

src/localServer/workers/static/css/main.9c3b20de.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/localServer/workers/static/css/main.b71dcddc.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/localServer/workers/static/js/main.6e3cb4ef.js

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/localServer/workers/static/js/main.6f600d7d.js

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

src/localServer/workers/static/js/main.6e3cb4ef.js.LICENSE.txt renamed to src/localServer/workers/static/js/main.6f600d7d.js.LICENSE.txt

File renamed without changes.

0 commit comments

Comments
 (0)