@blocklet/launcher-workflow 2.0.25 → 2.0.27

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/checkout.js CHANGED
@@ -336,6 +336,7 @@ function CheckoutPage() {
336
336
  method: paymentMethod,
337
337
  userDid: session === null || session === void 0 ? void 0 : (_session$user = session.user) === null || _session$user === void 0 ? void 0 : _session$user.did,
338
338
  productId: planId,
339
+ useSocket: false,
339
340
  onComplete: handlePaid,
340
341
  onFailed: handlePayFailed,
341
342
  onCancel: handleCancelPay
@@ -55,8 +55,7 @@ function LaunchServerless(_ref) {
55
55
  });
56
56
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Container, {
57
57
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_pageHeader.default, {
58
- title: t('launch.pageTitle'),
59
- disableBack: true
58
+ title: t('launch.pageTitle')
60
59
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
61
60
  className: "page-body",
62
61
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -20,8 +20,7 @@ function Header(_ref) {
20
20
  };
21
21
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_pageHeader.default, {
22
22
  title: title,
23
- onClickBack: clickBack,
24
- disableBack: disableBack
23
+ onClickBack: disableBack ? undefined : clickBack
25
24
  });
26
25
  }
27
26
  Header.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "2.0.25",
3
+ "version": "2.0.27",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -36,24 +36,24 @@
36
36
  "react": ">=18.1.0"
37
37
  },
38
38
  "dependencies": {
39
- "@arcblock/did-connect": "2.5.18",
40
- "@arcblock/icons": "^2.5.19",
41
- "@arcblock/license": "^2.5.19",
42
- "@arcblock/ux": "2.5.18",
43
- "@blocklet/launcher-layout": "2.0.25",
44
- "@blocklet/launcher-util": "2.0.25",
45
- "@blocklet/launcher-ux": "2.0.25",
46
- "@did-pay/react": "^1.9.49",
39
+ "@arcblock/did-connect": "^2.5.23",
40
+ "@arcblock/icons": "^2.5.23",
41
+ "@arcblock/license": "^2.5.23",
42
+ "@arcblock/ux": "^2.5.23",
43
+ "@blocklet/launcher-layout": "2.0.27",
44
+ "@blocklet/launcher-util": "2.0.27",
45
+ "@blocklet/launcher-ux": "2.0.27",
46
+ "@did-pay/react": "^1.9.51",
47
47
  "@emotion/react": "^11.10.6",
48
48
  "@emotion/styled": "^11.10.6",
49
49
  "@mui/icons-material": "^5.11.16",
50
- "@mui/material": "^5.11.16",
51
- "@ocap/util": "^1.18.67",
50
+ "@mui/material": "^5.12.0",
51
+ "@ocap/util": "^1.18.68",
52
52
  "@splidejs/react-splide": "^0.7.12",
53
53
  "@splidejs/splide": "^4.1.4",
54
54
  "@splidejs/splide-extension-grid": "^0.4.1",
55
55
  "@stripe/react-stripe-js": "^1.16.5",
56
- "@stripe/stripe-js": "^1.52.0",
56
+ "@stripe/stripe-js": "^1.52.1",
57
57
  "axios": "^0.26.1",
58
58
  "flat": "^5.0.2",
59
59
  "js-cookie": "^3.0.1",
@@ -72,5 +72,5 @@
72
72
  "@babel/preset-react": "^7.18.6",
73
73
  "babel-plugin-inline-react-svg": "^2.0.2"
74
74
  },
75
- "gitHead": "219486bea0d20fa0a034b6e9538d749cd5a4b4cd"
75
+ "gitHead": "7a1acee827940a66960696ff2adbe7b250244702"
76
76
  }