@blocklet/launcher-ux 2.3.106 → 2.3.107
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.
|
@@ -174,12 +174,12 @@ function Component({
|
|
|
174
174
|
const freeTrial = getProductFreeTrial({
|
|
175
175
|
typeName: 'serverless',
|
|
176
176
|
freeTrialProducts,
|
|
177
|
-
currencyId: currency
|
|
177
|
+
currencyId: currency?.id || currencyId
|
|
178
178
|
});
|
|
179
179
|
setState({
|
|
180
180
|
unitPrice,
|
|
181
181
|
totalPrice,
|
|
182
|
-
minStakeAmount: `${minStakeAmount} ${currency
|
|
182
|
+
minStakeAmount: `${minStakeAmount} ${currency?.symbol || ''}`.trim(),
|
|
183
183
|
shouldStake: paymentMethod?.type === 'arcblock',
|
|
184
184
|
freeTrial
|
|
185
185
|
});
|
|
@@ -189,12 +189,12 @@ function Component(_ref2) {
|
|
|
189
189
|
const freeTrial = (0, _util.getProductFreeTrial)({
|
|
190
190
|
typeName: 'serverless',
|
|
191
191
|
freeTrialProducts,
|
|
192
|
-
currencyId: currency.id
|
|
192
|
+
currencyId: (currency === null || currency === void 0 ? void 0 : currency.id) || currencyId
|
|
193
193
|
});
|
|
194
194
|
setState({
|
|
195
195
|
unitPrice,
|
|
196
196
|
totalPrice,
|
|
197
|
-
minStakeAmount: "".concat(minStakeAmount, " ").concat(currency.symbol),
|
|
197
|
+
minStakeAmount: "".concat(minStakeAmount, " ").concat((currency === null || currency === void 0 ? void 0 : currency.symbol) || '').trim(),
|
|
198
198
|
shouldStake: (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.type) === 'arcblock',
|
|
199
199
|
freeTrial
|
|
200
200
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-ux",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.107",
|
|
4
4
|
"description": "Launcher UX lib",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"glob": "^10.4.5"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@arcblock/ux": "^2.12.
|
|
58
|
-
"@blocklet/launcher-util": "2.3.
|
|
59
|
-
"@blocklet/payment-react": "^1.18.
|
|
57
|
+
"@arcblock/ux": "^2.12.55",
|
|
58
|
+
"@blocklet/launcher-util": "2.3.107",
|
|
59
|
+
"@blocklet/payment-react": "^1.18.25",
|
|
60
60
|
"@emotion/styled": "^11.14.0",
|
|
61
61
|
"@mui/icons-material": "^5.17.1",
|
|
62
62
|
"@mui/material": "^5.17.1",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"require": "./lib/use-mobile/index.js"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "05d6eed77af33c6be87da3ac4543bc15a31aec04"
|
|
98
98
|
}
|