@blocklet/launcher-workflow 2.1.68 → 2.1.70
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/checkout.js +2 -4
- package/lib/purchase.js +2 -4
- package/package.json +5 -5
package/lib/checkout.js
CHANGED
|
@@ -111,7 +111,8 @@ function CheckoutPage(_ref) {
|
|
|
111
111
|
});
|
|
112
112
|
const navigate = (0, _reactRouterDom.useNavigate)();
|
|
113
113
|
const {
|
|
114
|
-
create
|
|
114
|
+
create,
|
|
115
|
+
api: launchSessionAPI
|
|
115
116
|
} = (0, _request.default)();
|
|
116
117
|
const {
|
|
117
118
|
mobileSize,
|
|
@@ -126,9 +127,6 @@ function CheckoutPage(_ref) {
|
|
|
126
127
|
const api = create({
|
|
127
128
|
baseURL: didPayPrefix
|
|
128
129
|
});
|
|
129
|
-
const launchSessionAPI = create({
|
|
130
|
-
baseURL: '/'
|
|
131
|
-
});
|
|
132
130
|
(0, _react.useEffect)(() => {
|
|
133
131
|
if (isPurchaseOnly) {
|
|
134
132
|
return;
|
package/lib/purchase.js
CHANGED
|
@@ -93,7 +93,8 @@ function PurchasePage(_ref) {
|
|
|
93
93
|
locale
|
|
94
94
|
} = (0, _locale.useLocaleContext)();
|
|
95
95
|
const {
|
|
96
|
-
create
|
|
96
|
+
create,
|
|
97
|
+
api: launchSessionAPI
|
|
97
98
|
} = (0, _request.default)();
|
|
98
99
|
const {
|
|
99
100
|
isMobile
|
|
@@ -135,9 +136,6 @@ function PurchasePage(_ref) {
|
|
|
135
136
|
const api = create({
|
|
136
137
|
baseURL: didPayPrefix
|
|
137
138
|
});
|
|
138
|
-
const launchSessionAPI = create({
|
|
139
|
-
baseURL: '/'
|
|
140
|
-
});
|
|
141
139
|
const selectPlan = launch => {
|
|
142
140
|
if (!state.plans.length) {
|
|
143
141
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.70",
|
|
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.68",
|
|
41
41
|
"@arcblock/react-hooks": "^2.5.68",
|
|
42
42
|
"@arcblock/ux": "^2.5.68",
|
|
43
|
-
"@blocklet/launcher-layout": "2.1.
|
|
44
|
-
"@blocklet/launcher-util": "2.1.
|
|
45
|
-
"@blocklet/launcher-ux": "2.1.
|
|
43
|
+
"@blocklet/launcher-layout": "2.1.70",
|
|
44
|
+
"@blocklet/launcher-util": "2.1.70",
|
|
45
|
+
"@blocklet/launcher-ux": "2.1.70",
|
|
46
46
|
"@blocklet/payment": "^1.12.31",
|
|
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": "63d65897d24d385c2b18d4f5e53dd03ff0ca93fe"
|
|
80
80
|
}
|