@arcblock/ux 3.1.38 → 3.1.39
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/package.json.js
CHANGED
@@ -6,26 +6,26 @@ function i(t) {
|
|
6
6
|
return !1;
|
7
7
|
}
|
8
8
|
}
|
9
|
-
function
|
9
|
+
function u(t, n) {
|
10
10
|
try {
|
11
11
|
if (!i(t))
|
12
12
|
return t;
|
13
|
-
const
|
13
|
+
const e = o(t), r = {
|
14
14
|
// 自身站点的 hostname
|
15
15
|
utm_source: window.location.hostname,
|
16
16
|
// 标记导航点击
|
17
|
-
utm_medium: `${
|
17
|
+
utm_medium: `${n}_nav`,
|
18
18
|
// 全局导航统一标签
|
19
|
-
utm_campaign:
|
19
|
+
utm_campaign: "default",
|
20
20
|
// 目标站点标识
|
21
21
|
utm_content: new URL(t).hostname,
|
22
|
-
...
|
22
|
+
...e
|
23
23
|
};
|
24
24
|
return a(t, r);
|
25
|
-
} catch (
|
26
|
-
return console.error("Failed to generate UTM URL:",
|
25
|
+
} catch (e) {
|
26
|
+
return console.error("Failed to generate UTM URL:", e), t;
|
27
27
|
}
|
28
28
|
}
|
29
29
|
export {
|
30
|
-
|
30
|
+
u as getUTMUrl
|
31
31
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.39",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -68,16 +68,16 @@
|
|
68
68
|
"react": "^19.0.0",
|
69
69
|
"react-router-dom": "^6.22.3"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "39e8ff533f71280af4170866de8055a188c820ba",
|
72
72
|
"dependencies": {
|
73
|
-
"@arcblock/bridge": "3.1.
|
73
|
+
"@arcblock/bridge": "3.1.39",
|
74
74
|
"@arcblock/did": "^1.21.3",
|
75
75
|
"@arcblock/did-motif": "^1.1.14",
|
76
|
-
"@arcblock/icons": "3.1.
|
77
|
-
"@arcblock/nft-display": "3.1.
|
78
|
-
"@arcblock/react-hooks": "3.1.
|
76
|
+
"@arcblock/icons": "3.1.39",
|
77
|
+
"@arcblock/nft-display": "3.1.39",
|
78
|
+
"@arcblock/react-hooks": "3.1.39",
|
79
79
|
"@blocklet/js-sdk": "^1.16.49-beta-20250823-082650-626c1473",
|
80
|
-
"@blocklet/theme": "3.1.
|
80
|
+
"@blocklet/theme": "3.1.39",
|
81
81
|
"@fontsource/roboto": "~5.1.1",
|
82
82
|
"@fontsource/ubuntu-mono": "^5.2.6",
|
83
83
|
"@iconify-icons/logos": "^1.2.36",
|
@@ -32,7 +32,7 @@ export function getUTMUrl(url: string, section: 'header' | 'footer'): string {
|
|
32
32
|
// 标记导航点击
|
33
33
|
utm_medium: `${section}_nav`,
|
34
34
|
// 全局导航统一标签
|
35
|
-
utm_campaign:
|
35
|
+
utm_campaign: 'default',
|
36
36
|
// 目标站点标识
|
37
37
|
utm_content: new URL(url).hostname,
|
38
38
|
...existsQueryParams,
|