@arcblock/did-playground 3.0.5 → 3.0.7

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.
@@ -26,7 +26,7 @@ const Ce = le("div")`
26
26
  cursor: pointer;
27
27
  user-select: none;
28
28
  `;
29
- function I(u) {
29
+ function I({ ...u }) {
30
30
  const e = Object.assign({}, u);
31
31
  s(e.autoClose) && (e.autoClose = !0), s(e.buttonText) && (e.buttonText = ""), s(e.buttonColor) && (e.buttonColor = "primary"), s(e.buttonVariant) && (e.buttonVariant = "contained"), s(e.buttonSize) && (e.buttonSize = "large"), s(e.buttonRounded) && (e.buttonRounded = !1), s(e.scanMessage) && (e.scanMessage = "Scan the QR Code with your DID Wallet"), s(e.confirmMessage) && (e.confirmMessage = "Confirm in your DID Wallet"), s(e.successMessage) && (e.successMessage = "Operation success!"), s(e.extraParams) && (e.extraParams = {}), s(e.timeout) && (e.timeout = 5 * 60 * 1e3), s(e.successUrl) && (e.successUrl = ""), s(e.successTarget) && (e.successTarget = "_self"), s(e.frameProps) && (e.frameProps = {}), s(e.webWalletUrl) && (e.webWalletUrl = "");
32
32
  const B = pe(e, I, ["buttonRounded", "extraParams", "timeout"]), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/did-playground",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
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": "3.0.5",
34
- "@arcblock/react-hooks": "3.0.5",
33
+ "@arcblock/did-connect": "3.0.7",
34
+ "@arcblock/react-hooks": "3.0.7",
35
35
  "ahooks": "^3.8.5",
36
36
  "axios": "^1.10.0",
37
37
  "mustache": "^4.2.0"
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "1a7bd7691bda12a5d117eb57fe63e8a6486105d6"
49
+ "gitHead": "05185ed22660a8fea176616b19b6703456f2348c"
50
50
  }
@@ -31,7 +31,7 @@ const CloseContainer = styled('div')`
31
31
  user-select: none;
32
32
  `;
33
33
 
34
- function PlaygroundAction(rawProps) {
34
+ function PlaygroundAction({ ...rawProps }) {
35
35
  const props = Object.assign({}, rawProps);
36
36
  if (isUndefined(props.autoClose)) {
37
37
  props.autoClose = true;