@putiikkipalvelu/storefront-sdk 0.10.0 → 0.11.0

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.cts CHANGED
@@ -131,6 +131,12 @@ interface FeatureFlags {
131
131
  newsletterEnabled: boolean;
132
132
  /** Whether product reviews are enabled */
133
133
  reviewsEnabled: boolean;
134
+ /**
135
+ * Whether the KKV peruutustoiminto (withdrawal function) is enabled.
136
+ * Storefronts should gate the footer link, order-confirmation paragraph,
137
+ * and `/peruutus` page on this flag. Defaults to true.
138
+ */
139
+ withdrawalEnabled: boolean;
134
140
  }
135
141
  /** Campaign type */
136
142
  type CampaignType = "BUY_X_PAY_Y";
package/dist/index.d.ts CHANGED
@@ -131,6 +131,12 @@ interface FeatureFlags {
131
131
  newsletterEnabled: boolean;
132
132
  /** Whether product reviews are enabled */
133
133
  reviewsEnabled: boolean;
134
+ /**
135
+ * Whether the KKV peruutustoiminto (withdrawal function) is enabled.
136
+ * Storefronts should gate the footer link, order-confirmation paragraph,
137
+ * and `/peruutus` page on this flag. Defaults to true.
138
+ */
139
+ withdrawalEnabled: boolean;
134
140
  }
135
141
  /** Campaign type */
136
142
  type CampaignType = "BUY_X_PAY_Y";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putiikkipalvelu/storefront-sdk",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "TypeScript SDK for Putiikkipalvelu Storefront API",
5
5
  "author": "Putiikkipalvelu",
6
6
  "license": "MIT",