@arcblock/did-playground 2.10.82 → 2.10.84

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.
@@ -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.82",
3
+ "version": "2.10.84",
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.82",
34
- "@arcblock/react-hooks": "^2.10.82",
33
+ "@arcblock/did-connect": "^2.10.84",
34
+ "@arcblock/react-hooks": "^2.10.84",
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": "25840ab8e0b037d16ef4fa8ead378ff81db95c46"
56
+ "gitHead": "1311dd7d9ce3a6b0164404de828e64dcd900ce6d"
57
57
  }
@@ -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) {