@blocklet/launcher-workflow 1.5.29 → 1.5.32

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.
Files changed (2) hide show
  1. package/lib/purchase.js +1 -1
  2. package/package.json +6 -6
package/lib/purchase.js CHANGED
@@ -177,7 +177,7 @@ function PurchasePage() {
177
177
  };
178
178
 
179
179
  const handlePay = async payment => {
180
- if (!userDid) {
180
+ if (payment === 'fiat' && !userDid) {
181
181
  session.login();
182
182
  return;
183
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "1.5.29",
3
+ "version": "1.5.32",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,13 +37,13 @@
37
37
  "react": ">=16.12.0"
38
38
  },
39
39
  "dependencies": {
40
- "@arcblock/did-connect": "^1.16.30",
41
- "@arcblock/ux": "^1.16.30",
42
- "@blocklet/launcher-layout": "1.5.29",
40
+ "@arcblock/did-connect": "^1.16.34",
41
+ "@arcblock/ux": "^1.16.34",
42
+ "@blocklet/launcher-layout": "1.5.32",
43
43
  "@material-ui/core": "^4.12.3",
44
44
  "@material-ui/icons": "^4.11.2",
45
45
  "@material-ui/lab": "^4.0.0-alpha.60",
46
- "@ocap/util": "^1.14.16",
46
+ "@ocap/util": "^1.14.19",
47
47
  "@stripe/react-stripe-js": "^1.7.0",
48
48
  "@stripe/stripe-js": "^1.22.0",
49
49
  "axios": "^0.26.0",
@@ -64,5 +64,5 @@
64
64
  "babel-plugin-inline-react-svg": "^2.0.1",
65
65
  "babel-plugin-styled-components": "^1.10.7"
66
66
  },
67
- "gitHead": "37d2b4d1a836e78f1bbc73b2160ba3d245c9c6cc"
67
+ "gitHead": "28b5b383b59b169f2b4969cb228b5904c01c94c9"
68
68
  }