@aptos-scp/scp-component-store-selling-features-domain-model 2.34.1 → 2.34.3

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.
@@ -292,24 +292,24 @@ class FeeLine extends BaseTransactionLine_1.BaseTransactionLine {
292
292
  return transactionLineJsonObj._taxGroupId;
293
293
  }
294
294
  static getExtendedAmountFromCollectedData(collectedData) {
295
- if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmount) && FeeLine.isPickupFulfilmentTransaction) {
295
+ if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmount)) {
296
296
  return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmount);
297
297
  }
298
- undefined;
298
+ return undefined;
299
299
  }
300
300
  static getExtendedAmountExcludingTaxFromCollectedData(collectedData) {
301
301
  if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmountExcludingTax) &&
302
302
  FeeLine.isPickupFulfilmentTransaction) {
303
303
  return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmountExcludingTax);
304
304
  }
305
- undefined;
305
+ return undefined;
306
306
  }
307
307
  static getExtendedAmountIncludingTaxFromCollectedData(collectedData) {
308
308
  if (collectedData.has(Constants_1.CollectedDataKey.FeeExtendedAmountIncludingTax) &&
309
309
  FeeLine.isPickupFulfilmentTransaction) {
310
310
  return collectedData.get(Constants_1.CollectedDataKey.FeeExtendedAmountIncludingTax);
311
311
  }
312
- undefined;
312
+ return undefined;
313
313
  }
314
314
  copyLineWithNewLineNumber(newLineNumber) {
315
315
  const clonedItem = this.clone();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "2.34.1",
3
+ "version": "2.34.3",
4
4
  "description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -56,7 +56,7 @@
56
56
  "@aptos-scp/scp-component-business-core": "^1.12.7",
57
57
  "@aptos-scp/scp-component-logging": "^2.1.16",
58
58
  "@aptos-scp/scp-component-pricing": "^7.66.4",
59
- "@aptos-scp/scp-component-store-items": "^1.21.0",
59
+ "@aptos-scp/scp-component-store-items": "^1.22.2",
60
60
  "@aptos-scp/scp-component-store-selling-core": "^18.9.3",
61
61
  "@aptos-scp/scp-component-taxation": "^5.28.0",
62
62
  "@aptos-scp/scp-component-user": "^1.4.0",
@@ -79,7 +79,7 @@
79
79
  "@aptos-scp/scp-component-logging": "^2.1.16",
80
80
  "@aptos-scp/scp-component-pricing": "^7.66.4",
81
81
  "@aptos-scp/scp-component-rn-circuit-breaker": "^1.0.15",
82
- "@aptos-scp/scp-component-store-items": "^1.21.0",
82
+ "@aptos-scp/scp-component-store-items": "^1.22.2",
83
83
  "@aptos-scp/scp-component-store-selling-core": "^18.9.3",
84
84
  "@aptos-scp/scp-component-taxation": "^5.28.0",
85
85
  "@aptos-scp/scp-component-user": "^1.4.0",