@blocklet/launcher-workflow 2.2.16 → 2.2.18
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/checkout.js +2 -1
- package/lib/checkout.js +3 -2
- package/package.json +5 -5
package/es/checkout.js
CHANGED
|
@@ -400,7 +400,8 @@ function CheckoutPage({
|
|
|
400
400
|
onFailed: handlePayFailed,
|
|
401
401
|
onCancel: handleCancelPay,
|
|
402
402
|
metadata: {
|
|
403
|
-
sessionId: state.sessionId
|
|
403
|
+
sessionId: state.sessionId,
|
|
404
|
+
currentUserDid: session?.user?.did
|
|
404
405
|
}
|
|
405
406
|
}), /*#__PURE__*/_jsx(Confirm, {
|
|
406
407
|
open: state.showPaidDialog.open,
|
package/lib/checkout.js
CHANGED
|
@@ -81,7 +81,7 @@ SpaceIcon.defaultProps = {
|
|
|
81
81
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
82
82
|
};
|
|
83
83
|
function CheckoutPage(_ref) {
|
|
84
|
-
var _session$user;
|
|
84
|
+
var _session$user, _session$user2;
|
|
85
85
|
let {
|
|
86
86
|
blocklet
|
|
87
87
|
} = _ref;
|
|
@@ -418,7 +418,8 @@ function CheckoutPage(_ref) {
|
|
|
418
418
|
onFailed: handlePayFailed,
|
|
419
419
|
onCancel: handleCancelPay,
|
|
420
420
|
metadata: {
|
|
421
|
-
sessionId: state.sessionId
|
|
421
|
+
sessionId: state.sessionId,
|
|
422
|
+
currentUserDid: session === null || session === void 0 || (_session$user2 = session.user) === null || _session$user2 === void 0 ? void 0 : _session$user2.did
|
|
422
423
|
}
|
|
423
424
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_confirm.default, {
|
|
424
425
|
open: state.showPaidDialog.open,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.18",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@arcblock/license": "^2.7.21",
|
|
47
47
|
"@arcblock/react-hooks": "^2.7.21",
|
|
48
48
|
"@arcblock/ux": "^2.7.21",
|
|
49
|
-
"@blocklet/launcher-layout": "2.2.
|
|
50
|
-
"@blocklet/launcher-util": "2.2.
|
|
51
|
-
"@blocklet/launcher-ux": "2.2.
|
|
49
|
+
"@blocklet/launcher-layout": "2.2.18",
|
|
50
|
+
"@blocklet/launcher-util": "2.2.18",
|
|
51
|
+
"@blocklet/launcher-ux": "2.2.18",
|
|
52
52
|
"@blocklet/payment": "^1.13.11",
|
|
53
53
|
"@emotion/react": "^11.11.1",
|
|
54
54
|
"@emotion/styled": "^11.11.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"require": "./lib/locales/index.js"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "f9ca683746efb4547a55b2951e0f0c67135b466a"
|
|
105
105
|
}
|