@blocklet/launcher-workflow 2.0.34 → 2.0.36

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/checkout.js +2 -2
  2. package/package.json +18 -18
package/lib/checkout.js CHANGED
@@ -197,9 +197,9 @@ function CheckoutPage(_ref) {
197
197
  };
198
198
  const handlePaid = async _ref2 => {
199
199
  let {
200
- nftId
200
+ nftId,
201
+ nftState
201
202
  } = _ref2;
202
- const nftState = await (0, _util2.getAsset)(window.blocklet.CHAIN_HOST, nftId);
203
203
  if ((nftState.tags || []).includes(_constant.NFT_TYPE_SERVERLESS)) {
204
204
  if (!embed) {
205
205
  setShowPaidDialog({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -36,18 +36,18 @@
36
36
  "react": ">=18.1.0"
37
37
  },
38
38
  "dependencies": {
39
- "@arcblock/did-connect": "^2.5.34",
40
- "@arcblock/icons": "^2.5.34",
41
- "@arcblock/license": "^2.5.34",
42
- "@arcblock/ux": "^2.5.34",
43
- "@blocklet/launcher-layout": "2.0.34",
44
- "@blocklet/launcher-util": "2.0.34",
45
- "@blocklet/launcher-ux": "2.0.34",
46
- "@did-pay/react": "^1.9.51",
47
- "@emotion/react": "^11.10.6",
48
- "@emotion/styled": "^11.10.6",
39
+ "@arcblock/did-connect": "^2.5.36",
40
+ "@arcblock/icons": "^2.5.36",
41
+ "@arcblock/license": "^2.5.36",
42
+ "@arcblock/ux": "^2.5.36",
43
+ "@blocklet/launcher-layout": "2.0.36",
44
+ "@blocklet/launcher-util": "2.0.36",
45
+ "@blocklet/launcher-ux": "2.0.36",
46
+ "@did-pay/react": "^1.9.53",
47
+ "@emotion/react": "^11.10.8",
48
+ "@emotion/styled": "^11.10.8",
49
49
  "@mui/icons-material": "^5.11.16",
50
- "@mui/material": "^5.12.1",
50
+ "@mui/material": "^5.12.3",
51
51
  "@ocap/util": "^1.18.76",
52
52
  "@splidejs/react-splide": "^0.7.12",
53
53
  "@splidejs/splide": "^4.1.4",
@@ -56,21 +56,21 @@
56
56
  "@stripe/stripe-js": "^1.52.1",
57
57
  "axios": "^0.26.1",
58
58
  "flat": "^5.0.2",
59
- "js-cookie": "^3.0.1",
59
+ "js-cookie": "^3.0.5",
60
60
  "lodash.get": "^4.4.2",
61
61
  "lodash.throttle": "^4.1.1",
62
62
  "prop-types": "^15.8.1",
63
63
  "react-lottie-player": "^1.5.4",
64
- "react-router-dom": "^6.10.0",
64
+ "react-router-dom": "^6.11.0",
65
65
  "react-use": "^17.4.0",
66
66
  "url-join": "^4.0.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@babel/cli": "^7.21.0",
70
- "@babel/core": "^7.21.4",
71
- "@babel/preset-env": "^7.21.4",
69
+ "@babel/cli": "^7.21.5",
70
+ "@babel/core": "^7.21.8",
71
+ "@babel/preset-env": "^7.21.5",
72
72
  "@babel/preset-react": "^7.18.6",
73
73
  "babel-plugin-inline-react-svg": "^2.0.2"
74
74
  },
75
- "gitHead": "87e983ef4f581838cefc7a19ba92d278d2efed7b"
75
+ "gitHead": "c0fad1d756b0c8b997ac43056d460b9a93b7bedb"
76
76
  }