@blocklet/launcher-workflow 2.1.61 → 2.1.63
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 +5 -1
- package/package.json +5 -5
package/lib/purchase.js
CHANGED
|
@@ -358,7 +358,8 @@ function PurchasePage(_ref) {
|
|
|
358
358
|
let {
|
|
359
359
|
loginToken,
|
|
360
360
|
nftId,
|
|
361
|
-
type
|
|
361
|
+
type,
|
|
362
|
+
sessionId
|
|
362
363
|
} = _ref3;
|
|
363
364
|
if (type === _constant.NFT_TYPE_SERVERLESS) {
|
|
364
365
|
params.set('launchType', 'serverless');
|
|
@@ -367,6 +368,9 @@ function PurchasePage(_ref) {
|
|
|
367
368
|
storage.setToken(decrypt(loginToken));
|
|
368
369
|
session.refresh();
|
|
369
370
|
}
|
|
371
|
+
if (sessionId) {
|
|
372
|
+
params.set('sessionId', sessionId);
|
|
373
|
+
}
|
|
370
374
|
navigate({
|
|
371
375
|
pathname: (0, _urlJoin.default)(routerPrefix, "/launch/".concat(nftId)),
|
|
372
376
|
search: params.toString()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.63",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@arcblock/license": "^2.5.66",
|
|
41
41
|
"@arcblock/react-hooks": "^2.5.66",
|
|
42
42
|
"@arcblock/ux": "^2.5.66",
|
|
43
|
-
"@blocklet/launcher-layout": "2.1.
|
|
44
|
-
"@blocklet/launcher-util": "2.1.
|
|
45
|
-
"@blocklet/launcher-ux": "2.1.
|
|
43
|
+
"@blocklet/launcher-layout": "2.1.63",
|
|
44
|
+
"@blocklet/launcher-util": "2.1.63",
|
|
45
|
+
"@blocklet/launcher-ux": "2.1.63",
|
|
46
46
|
"@blocklet/payment": "^1.12.29",
|
|
47
47
|
"@emotion/react": "^11.11.1",
|
|
48
48
|
"@emotion/styled": "^11.11.0",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
77
77
|
"jest": "^27.5.1"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "0c998e0f84627b2e2a678788381791ee2665a3f8"
|
|
80
80
|
}
|