@blocklet/launcher-workflow 1.5.93 → 1.5.96
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/purchase.js +4 -2
- package/package.json +9 -9
package/lib/purchase.js
CHANGED
|
@@ -161,13 +161,15 @@ function PurchasePage() {
|
|
|
161
161
|
plans
|
|
162
162
|
} = plansState.value;
|
|
163
163
|
|
|
164
|
-
const handlePaid = _ref => {
|
|
164
|
+
const handlePaid = (_ref, decrypt) => {
|
|
165
165
|
let {
|
|
166
166
|
nftId,
|
|
167
167
|
launchToken
|
|
168
168
|
} = _ref;
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
if (launchToken) {
|
|
171
|
+
_jsCookie.default.set('launch-token', decrypt(launchToken));
|
|
172
|
+
}
|
|
171
173
|
|
|
172
174
|
const url = "/prepare/".concat(nftId).concat(window.location.search);
|
|
173
175
|
history.push((0, _router.default)(routerPrefix, url));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.96",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"react": ">=16.12.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@arcblock/did-connect": "^1.
|
|
41
|
-
"@arcblock/icons": "^1.
|
|
42
|
-
"@arcblock/license": "^1.
|
|
43
|
-
"@arcblock/ux": "^1.
|
|
44
|
-
"@blocklet/launcher-constant": "1.5.
|
|
45
|
-
"@blocklet/launcher-layout": "1.5.
|
|
40
|
+
"@arcblock/did-connect": "^1.17.0",
|
|
41
|
+
"@arcblock/icons": "^1.17.0",
|
|
42
|
+
"@arcblock/license": "^1.17.0",
|
|
43
|
+
"@arcblock/ux": "^1.17.0",
|
|
44
|
+
"@blocklet/launcher-constant": "1.5.96",
|
|
45
|
+
"@blocklet/launcher-layout": "1.5.96",
|
|
46
46
|
"@material-ui/core": "^4.12.3",
|
|
47
47
|
"@material-ui/icons": "^4.11.2",
|
|
48
48
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
49
|
-
"@ocap/util": "^1.
|
|
49
|
+
"@ocap/util": "^1.16.0",
|
|
50
50
|
"@stripe/react-stripe-js": "^1.7.0",
|
|
51
51
|
"@stripe/stripe-js": "^1.22.0",
|
|
52
52
|
"@styled-icons/remix-fill": "^10.18.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"babel-plugin-inline-react-svg": "^2.0.1",
|
|
70
70
|
"babel-plugin-styled-components": "^1.10.7"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "da46aa15646e2477b46dedfce59f684023ad1028"
|
|
73
73
|
}
|