@abtnode/ux 1.16.13-beta-90ded76f → 1.16.13-beta-ef672597

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/locales/en.js CHANGED
@@ -202,8 +202,7 @@ module.exports = {
202
202
  members: 'Members',
203
203
  memory: 'Memory',
204
204
  meta: 'Meta Data',
205
- monitor: 'Monitor',
206
- insights: 'Insights',
205
+ analytics: 'Analytics',
207
206
  runtime: 'Runtime',
208
207
  traffic: 'Traffic',
209
208
  more: 'More',
@@ -694,7 +693,7 @@ module.exports = {
694
693
  verifying: 'Verifying Blocklet Server v{version}',
695
694
  rollback: 'Rollback Blocklet Server',
696
695
  complete: 'Upgrade complete!',
697
- progress: 'Upgrading Blocklet Server to v{version}',
696
+ progress: 'Upgrading Blocklet Server {version}',
698
697
  check: 'Check for Updates',
699
698
  latest: 'You are running the latest version.'
700
699
  },
@@ -1465,7 +1464,7 @@ module.exports = {
1465
1464
  loading: 'Load subscription...',
1466
1465
  loadFailed: 'Failed to load subscription info, please retry!'
1467
1466
  },
1468
- insights: {
1467
+ analytics: {
1469
1468
  trend: 'Trends',
1470
1469
  detail: 'Breakdown',
1471
1470
  traffic: {
package/lib/locales/zh.js CHANGED
@@ -207,8 +207,7 @@ module.exports = {
207
207
  members: '成员',
208
208
  memory: '内存',
209
209
  meta: '元数据',
210
- monitor: '监控',
211
- insights: '洞见',
210
+ analytics: '统计分析',
212
211
  runtime: '运行监控',
213
212
  traffic: '流量分析',
214
213
  more: '更多',
@@ -694,7 +693,7 @@ module.exports = {
694
693
  verifying: '验证节点新版本 v{version}',
695
694
  rollback: '回滚此次升级',
696
695
  complete: '升级完成!',
697
- progress: '正在升级节点到 v{version}',
696
+ progress: '正在升级节点 {version}',
698
697
  check: '检查更新',
699
698
  latest: '太棒了,你的节点已经是最新版!'
700
699
  },
@@ -1468,7 +1467,7 @@ module.exports = {
1468
1467
  loadFailed: '加载订阅信息失败,请重试!',
1469
1468
  loading: '加载订阅信息...'
1470
1469
  },
1471
- insights: {
1470
+ analytics: {
1472
1471
  trend: '趋势',
1473
1472
  detail: '探究',
1474
1473
  traffic: {
@@ -145,7 +145,8 @@ async function getSpaceNameByEndpoint(endpoint) {
145
145
  } = await _api.api.head(endpoint, {
146
146
  timeout: 3000
147
147
  });
148
- return headers['x-space-name'];
148
+ const spaceName = headers['x-space-name'];
149
+ return spaceName ? decodeURIComponent(spaceName) : '';
149
150
  } catch (error) {
150
151
  console.error(error);
151
152
  return '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.13-beta-90ded76f",
3
+ "version": "1.16.13-beta-ef672597",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,22 +23,22 @@
23
23
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@abtnode/auth": "1.16.13-beta-90ded76f",
27
- "@abtnode/constant": "1.16.13-beta-90ded76f",
28
- "@abtnode/util": "1.16.13-beta-90ded76f",
26
+ "@abtnode/auth": "1.16.13-beta-ef672597",
27
+ "@abtnode/constant": "1.16.13-beta-ef672597",
28
+ "@abtnode/util": "1.16.13-beta-ef672597",
29
29
  "@ahooksjs/use-url-state": "^3.5.1",
30
30
  "@arcblock/did": "^1.18.84",
31
- "@arcblock/did-connect": "^2.5.53",
31
+ "@arcblock/did-connect": "^2.5.54",
32
32
  "@arcblock/did-motif": "^1.1.12",
33
- "@arcblock/icons": "^2.5.53",
34
- "@arcblock/react-hooks": "^2.5.53",
35
- "@arcblock/terminal": "^2.5.53",
36
- "@arcblock/ux": "^2.5.53",
37
- "@blocklet/constant": "1.16.13-beta-90ded76f",
33
+ "@arcblock/icons": "^2.5.54",
34
+ "@arcblock/react-hooks": "^2.5.54",
35
+ "@arcblock/terminal": "^2.5.54",
36
+ "@arcblock/ux": "^2.5.54",
37
+ "@blocklet/constant": "1.16.13-beta-ef672597",
38
38
  "@blocklet/launcher-layout": "2.1.26",
39
39
  "@blocklet/list": "^0.12.4",
40
- "@blocklet/meta": "1.16.13-beta-90ded76f",
41
- "@blocklet/ui-react": "^2.5.53",
40
+ "@blocklet/meta": "1.16.13-beta-ef672597",
41
+ "@blocklet/ui-react": "^2.5.54",
42
42
  "@emotion/react": "^11.10.4",
43
43
  "@emotion/styled": "^11.10.4",
44
44
  "@iconify/react": "^4.0.0",
@@ -53,6 +53,7 @@
53
53
  "ahooks": "^3.7.1",
54
54
  "axios": "^0.27.2",
55
55
  "classnames": "^2.3.2",
56
+ "date-fns": "^2.30.0",
56
57
  "dsbridge": "3.1.4",
57
58
  "file-saver": "^2.0.5",
58
59
  "filesize": "^6.4.0",
@@ -94,5 +95,5 @@
94
95
  "@babel/preset-react": "^7.18.6",
95
96
  "babel-plugin-inline-react-svg": "^1.1.2"
96
97
  },
97
- "gitHead": "e6d4b88fe2cb45e00e5d745e1cd148dc76a019a4"
98
+ "gitHead": "ed5abea5072dee26860ed43139bfee17461b19a1"
98
99
  }
File without changes
File without changes
File without changes
File without changes
File without changes