@blocklet/launcher-workflow 2.3.0 → 2.3.1
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/prepare.js +2 -2
- package/lib/prepare.js +1 -1
- package/package.json +5 -5
package/es/prepare.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Center from '@arcblock/ux/lib/Center';
|
|
2
|
-
import { getBlockletLogoUrl, getDefaultTrialEnd } from '@blocklet/launcher-util/es/util';
|
|
2
|
+
import { getBlockletLogoUrl, getBlockletMetaUrlFromQuery, getDefaultTrialEnd } from '@blocklet/launcher-util/es/util';
|
|
3
3
|
import CheckoutOnDemand from '@blocklet/launcher-ux/lib/payment/checkout/on-demand';
|
|
4
4
|
import { CheckoutTable, PaymentProvider } from '@blocklet/payment-react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
@@ -54,7 +54,7 @@ function Content({
|
|
|
54
54
|
} = useLocaleContext();
|
|
55
55
|
const navigate = useNavigate();
|
|
56
56
|
const sessionId = params.get('sessionId');
|
|
57
|
-
const blockletMetaUrl = params
|
|
57
|
+
const blockletMetaUrl = getBlockletMetaUrlFromQuery(params);
|
|
58
58
|
const defaultProductType = params.get('product_type');
|
|
59
59
|
const productTypes = ['on-demand'];
|
|
60
60
|
if (window.blocklet?.preferences?.dedicatedPricingTableId) {
|
package/lib/prepare.js
CHANGED
|
@@ -57,7 +57,7 @@ function Content(_ref) {
|
|
|
57
57
|
} = (0, _locale.useLocaleContext)();
|
|
58
58
|
const navigate = (0, _reactRouterDom.useNavigate)();
|
|
59
59
|
const sessionId = params.get('sessionId');
|
|
60
|
-
const blockletMetaUrl =
|
|
60
|
+
const blockletMetaUrl = (0, _util.getBlockletMetaUrlFromQuery)(params);
|
|
61
61
|
const defaultProductType = params.get('product_type');
|
|
62
62
|
const productTypes = ['on-demand'];
|
|
63
63
|
if ((_window$blocklet = window.blocklet) !== null && _window$blocklet !== void 0 && (_window$blocklet = _window$blocklet.preferences) !== null && _window$blocklet !== void 0 && _window$blocklet.dedicatedPricingTableId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@arcblock/license": "^2.9.63",
|
|
47
47
|
"@arcblock/react-hooks": "^2.9.63",
|
|
48
48
|
"@arcblock/ux": "^2.9.63",
|
|
49
|
-
"@blocklet/launcher-layout": "2.3.
|
|
50
|
-
"@blocklet/launcher-util": "2.3.
|
|
51
|
-
"@blocklet/launcher-ux": "2.3.
|
|
49
|
+
"@blocklet/launcher-layout": "2.3.1",
|
|
50
|
+
"@blocklet/launcher-util": "2.3.1",
|
|
51
|
+
"@blocklet/launcher-ux": "2.3.1",
|
|
52
52
|
"@blocklet/payment": "^1.13.207",
|
|
53
53
|
"@blocklet/payment-react": "^1.13.207",
|
|
54
54
|
"@emotion/react": "^11.11.4",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"require": "./lib/locales/index.js"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "61036fe9bd80d2115f67c4f8ca0491e5fed36657"
|
|
110
110
|
}
|