@arcblock/did-playground 2.10.82 → 2.10.83
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/Action/index.js +2 -0
- package/package.json +4 -4
- package/src/Action/index.js +2 -0
package/lib/Action/index.js
CHANGED
|
@@ -139,8 +139,10 @@ function PlaygroundAction(props) {
|
|
|
139
139
|
if (successTarget === 'frame') {
|
|
140
140
|
setShowFrame(!!successUrl);
|
|
141
141
|
} else if (successTarget === '_blank') {
|
|
142
|
+
// 这里是安全的
|
|
142
143
|
window.open(successUrl, '_blank');
|
|
143
144
|
} else {
|
|
145
|
+
// 这里是安全的
|
|
144
146
|
window.open(successUrl, '_self');
|
|
145
147
|
}
|
|
146
148
|
} else if (children) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/did-playground",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.83",
|
|
4
4
|
"description": "React components that works with wallet-playground",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"url": "https://github.com/ArcBlock/wallet-playground/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@arcblock/did-connect": "^2.10.
|
|
34
|
-
"@arcblock/react-hooks": "^2.10.
|
|
33
|
+
"@arcblock/did-connect": "^2.10.83",
|
|
34
|
+
"@arcblock/react-hooks": "^2.10.83",
|
|
35
35
|
"ahooks": "^3.7.10",
|
|
36
36
|
"axios": "^1.7.5",
|
|
37
37
|
"core-js": "^3.25.5",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "3dc3cfcb73c77c423d7f8d5bab93c38ddfbf55f9"
|
|
57
57
|
}
|
package/src/Action/index.js
CHANGED
|
@@ -139,8 +139,10 @@ function PlaygroundAction(props) {
|
|
|
139
139
|
if (successTarget === 'frame') {
|
|
140
140
|
setShowFrame(!!successUrl);
|
|
141
141
|
} else if (successTarget === '_blank') {
|
|
142
|
+
// 这里是安全的
|
|
142
143
|
window.open(successUrl, '_blank');
|
|
143
144
|
} else {
|
|
145
|
+
// 这里是安全的
|
|
144
146
|
window.open(successUrl, '_self');
|
|
145
147
|
}
|
|
146
148
|
} else if (children) {
|