@final-commerce/common 2.2.4-online.3 → 2.2.4-online.4

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/dist/index.mjs CHANGED
@@ -2766,6 +2766,10 @@ var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
2766
2766
  function isAdyenRolloutCountry(alpha2) {
2767
2767
  return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
2768
2768
  }
2769
+ var AFFIRM_PRICE_PLANS = ["core", "standard", "signature"];
2770
+ function isAffirmPricePlan(value) {
2771
+ return typeof value === "string" && AFFIRM_PRICE_PLANS.includes(value);
2772
+ }
2769
2773
 
2770
2774
  // pos-types/active/ProcessorType.ts
2771
2775
  var ProcessorType = /* @__PURE__ */ ((ProcessorType2) => {
@@ -2785,6 +2789,7 @@ var ProcessorType = /* @__PURE__ */ ((ProcessorType2) => {
2785
2789
  })(ProcessorType || {});
2786
2790
  export {
2787
2791
  ADYEN_ROLLOUT_COUNTRY_CODES,
2792
+ AFFIRM_PRICE_PLANS,
2788
2793
  AttributeType,
2789
2794
  CONDITION_OPERATORS,
2790
2795
  COUNTRY_CURRENCIES,
@@ -2903,6 +2908,7 @@ export {
2903
2908
  getTotalCollected,
2904
2909
  inferStatesFromLegacyStatus,
2905
2910
  isAdyenRolloutCountry,
2911
+ isAffirmPricePlan,
2906
2912
  isConditionOperator,
2907
2913
  isFulfillmentState,
2908
2914
  isPaymentState,