feeef 0.9.0 → 0.9.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/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -4505,7 +4505,7 @@ var AiCalculator = class {
|
|
|
4505
4505
|
}
|
|
4506
4506
|
const outputResExtraDzd = supportsImageSize ? roundMoney(this.config.resolutionCosts[outputResKey] ?? 0) : 0;
|
|
4507
4507
|
let referenceResolutionExtraDzd = 0;
|
|
4508
|
-
if (
|
|
4508
|
+
if (resolution) {
|
|
4509
4509
|
const low = this.config.resolutionCosts.MEDIA_RESOLUTION_LOW ?? 0;
|
|
4510
4510
|
const tier = this.config.resolutionCosts[resolution] ?? 0;
|
|
4511
4511
|
referenceResolutionExtraDzd = roundMoney(Math.max(0, tier - low));
|