@blocklet/launcher-workflow 2.1.28 → 2.1.30

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 +6 -6
  2. package/package.json +11 -11
package/lib/purchase.js CHANGED
@@ -493,19 +493,19 @@ function PurchasePage(_ref) {
493
493
  })
494
494
  })]
495
495
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSplide.SplideTrack, {
496
- children: state.plans.map(plan => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSplide.SplideSlide, {
496
+ children: state.plans.map(x => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSplide.SplideSlide, {
497
497
  style: {
498
498
  width: 'auto'
499
499
  },
500
500
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_plan.default, {
501
- recommend: !!plan.isRecommended,
502
- checked: plan._id === state.planId,
503
- plan: plan,
501
+ recommend: !!x.isRecommended,
502
+ checked: x._id === state.planId,
503
+ plan: x,
504
504
  paymentMethod: state.paymentMethod,
505
505
  paymentMethods: state.paymentMethods,
506
- onClick: () => handleSelect(plan._id)
506
+ onClick: () => handleSelect(x._id)
507
507
  })
508
- }, plan._id))
508
+ }, x._id))
509
509
  })]
510
510
  })]
511
511
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "2.1.28",
3
+ "version": "2.1.30",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,15 +35,15 @@
35
35
  "react": ">=18.1.0"
36
36
  },
37
37
  "dependencies": {
38
- "@arcblock/did-connect": "^2.5.53",
39
- "@arcblock/icons": "^2.5.53",
40
- "@arcblock/license": "^2.5.53",
41
- "@arcblock/react-hooks": "^2.5.53",
42
- "@arcblock/ux": "^2.5.53",
43
- "@blocklet/launcher-layout": "2.1.28",
44
- "@blocklet/launcher-util": "2.1.28",
45
- "@blocklet/launcher-ux": "2.1.28",
46
- "@blocklet/payment": "^1.12.15",
38
+ "@arcblock/did-connect": "^2.5.54",
39
+ "@arcblock/icons": "^2.5.54",
40
+ "@arcblock/license": "^2.5.54",
41
+ "@arcblock/react-hooks": "^2.5.54",
42
+ "@arcblock/ux": "^2.5.54",
43
+ "@blocklet/launcher-layout": "2.1.30",
44
+ "@blocklet/launcher-util": "2.1.30",
45
+ "@blocklet/launcher-ux": "2.1.30",
46
+ "@blocklet/payment": "^1.12.20",
47
47
  "@emotion/react": "^11.11.0",
48
48
  "@emotion/styled": "^11.11.0",
49
49
  "@mui/icons-material": "^5.11.16",
@@ -75,5 +75,5 @@
75
75
  "babel-plugin-inline-react-svg": "^2.0.2",
76
76
  "jest": "^27.5.1"
77
77
  },
78
- "gitHead": "8f18d43e67331df2eee7f983f20d61fb47f7183f"
78
+ "gitHead": "e196543cfedfe4a6263737e256fb54133cfb7986"
79
79
  }