@final-commerce/common 2.5.0 → 2.5.1-preprod.2
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.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3200,8 +3200,13 @@ var ADYEN_ROLLOUT_COUNTRY_CODES = /* @__PURE__ */ new Set(["CA"]);
|
|
|
3200
3200
|
function isAdyenRolloutCountry(alpha2) {
|
|
3201
3201
|
return ADYEN_ROLLOUT_COUNTRY_CODES.has(alpha2);
|
|
3202
3202
|
}
|
|
3203
|
+
var AFFIRM_PRICE_PLANS = ["core", "standard", "signature"];
|
|
3204
|
+
function isAffirmPricePlan(value) {
|
|
3205
|
+
return typeof value === "string" && AFFIRM_PRICE_PLANS.includes(value);
|
|
3206
|
+
}
|
|
3203
3207
|
export {
|
|
3204
3208
|
ADYEN_ROLLOUT_COUNTRY_CODES,
|
|
3209
|
+
AFFIRM_PRICE_PLANS,
|
|
3205
3210
|
AttributeType,
|
|
3206
3211
|
BookingRatePeriod,
|
|
3207
3212
|
BookingResourceKind,
|
|
@@ -3330,6 +3335,7 @@ export {
|
|
|
3330
3335
|
holdExpiresAt,
|
|
3331
3336
|
inferStatesFromLegacyStatus,
|
|
3332
3337
|
isAdyenRolloutCountry,
|
|
3338
|
+
isAffirmPricePlan,
|
|
3333
3339
|
isConditionOperator,
|
|
3334
3340
|
isFulfillmentState,
|
|
3335
3341
|
isPaymentState,
|