@blocklet/launcher-workflow 2.2.17 → 2.2.19

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 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.17",
3
+ "version": "2.2.19",
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.17",
50
- "@blocklet/launcher-util": "2.2.17",
51
- "@blocklet/launcher-ux": "2.2.17",
49
+ "@blocklet/launcher-layout": "2.2.19",
50
+ "@blocklet/launcher-util": "2.2.19",
51
+ "@blocklet/launcher-ux": "2.2.19",
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": "d1fe7a48c44bae01e58cc21b19e4979ea4f8bdf3"
104
+ "gitHead": "31e65f31380bd34ed56d7cb2e199619a0c1c99e3"
105
105
  }