@blocklet/launcher-workflow 2.2.14 → 2.2.15
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/es/purchase.js +2 -1
- package/lib/purchase.js +2 -1
- package/package.json +17 -17
package/es/purchase.js
CHANGED
|
@@ -337,7 +337,7 @@ function PurchasePage({
|
|
|
337
337
|
showRedeem: true
|
|
338
338
|
});
|
|
339
339
|
};
|
|
340
|
-
const handleRedeemed = ({
|
|
340
|
+
const handleRedeemed = async ({
|
|
341
341
|
loginToken,
|
|
342
342
|
nftId,
|
|
343
343
|
type,
|
|
@@ -348,6 +348,7 @@ function PurchasePage({
|
|
|
348
348
|
}
|
|
349
349
|
if (loginToken) {
|
|
350
350
|
storage.setToken(decrypt(loginToken));
|
|
351
|
+
await session.loginFederatedMaster();
|
|
351
352
|
session.refresh();
|
|
352
353
|
}
|
|
353
354
|
if (sessionId) {
|
package/lib/purchase.js
CHANGED
|
@@ -355,7 +355,7 @@ function PurchasePage(_ref) {
|
|
|
355
355
|
showRedeem: true
|
|
356
356
|
});
|
|
357
357
|
};
|
|
358
|
-
const handleRedeemed = _ref3 => {
|
|
358
|
+
const handleRedeemed = async _ref3 => {
|
|
359
359
|
let {
|
|
360
360
|
loginToken,
|
|
361
361
|
nftId,
|
|
@@ -367,6 +367,7 @@ function PurchasePage(_ref) {
|
|
|
367
367
|
}
|
|
368
368
|
if (loginToken) {
|
|
369
369
|
storage.setToken(decrypt(loginToken));
|
|
370
|
+
await session.loginFederatedMaster();
|
|
370
371
|
session.refresh();
|
|
371
372
|
}
|
|
372
373
|
if (sessionId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"react": ">=18.1.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@arcblock/did-connect": "^2.7.
|
|
45
|
-
"@arcblock/icons": "^2.7.
|
|
46
|
-
"@arcblock/license": "^2.7.
|
|
47
|
-
"@arcblock/react-hooks": "^2.7.
|
|
48
|
-
"@arcblock/ux": "^2.7.
|
|
49
|
-
"@blocklet/launcher-layout": "2.2.
|
|
50
|
-
"@blocklet/launcher-util": "2.2.
|
|
51
|
-
"@blocklet/launcher-ux": "2.2.
|
|
52
|
-
"@blocklet/payment": "^1.13.
|
|
44
|
+
"@arcblock/did-connect": "^2.7.20",
|
|
45
|
+
"@arcblock/icons": "^2.7.20",
|
|
46
|
+
"@arcblock/license": "^2.7.20",
|
|
47
|
+
"@arcblock/react-hooks": "^2.7.20",
|
|
48
|
+
"@arcblock/ux": "^2.7.20",
|
|
49
|
+
"@blocklet/launcher-layout": "2.2.15",
|
|
50
|
+
"@blocklet/launcher-util": "2.2.15",
|
|
51
|
+
"@blocklet/launcher-ux": "2.2.15",
|
|
52
|
+
"@blocklet/payment": "^1.13.9",
|
|
53
53
|
"@emotion/react": "^11.11.1",
|
|
54
54
|
"@emotion/styled": "^11.11.0",
|
|
55
|
-
"@mui/icons-material": "^5.14.
|
|
56
|
-
"@mui/material": "^5.14.
|
|
57
|
-
"@ocap/util": "^1.18.
|
|
55
|
+
"@mui/icons-material": "^5.14.9",
|
|
56
|
+
"@mui/material": "^5.14.9",
|
|
57
|
+
"@ocap/util": "^1.18.90",
|
|
58
58
|
"@splidejs/react-splide": "^0.7.12",
|
|
59
59
|
"@splidejs/splide": "^4.1.4",
|
|
60
60
|
"@splidejs/splide-extension-grid": "^0.4.1",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"lodash.throttle": "^4.1.1",
|
|
71
71
|
"prop-types": "^15.8.1",
|
|
72
72
|
"react-lottie-player": "^1.5.5",
|
|
73
|
-
"react-router-dom": "^6.
|
|
73
|
+
"react-router-dom": "^6.16.0",
|
|
74
74
|
"react-use": "^17.4.0",
|
|
75
75
|
"url-join": "^4.0.1"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@babel/cli": "^7.22.15",
|
|
79
|
-
"@babel/core": "^7.22.
|
|
80
|
-
"@babel/preset-env": "^7.22.
|
|
79
|
+
"@babel/core": "^7.22.20",
|
|
80
|
+
"@babel/preset-env": "^7.22.20",
|
|
81
81
|
"@babel/preset-react": "^7.22.15",
|
|
82
82
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
83
83
|
"glob": "^10.3.4",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"require": "./lib/locales/index.js"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "4c88dd5b3bedcc9eac3998f94cecbea74eeedb52"
|
|
105
105
|
}
|