@putiikkipalvelu/storefront-sdk 0.11.1 → 0.11.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.cts CHANGED
@@ -137,6 +137,12 @@ interface FeatureFlags {
137
137
  * and `/peruutus` page on this flag. Defaults to true.
138
138
  */
139
139
  withdrawalEnabled: boolean;
140
+ /**
141
+ * Whether customer accounts are enabled for the store. When false, the
142
+ * storefront should hide all account UI (login, register, account area,
143
+ * wishlist) and guard those routes. Defaults to true.
144
+ */
145
+ customerAccountsEnabled: boolean;
140
146
  }
141
147
  /** Campaign type */
142
148
  type CampaignType = "BUY_X_PAY_Y";
package/dist/index.d.ts CHANGED
@@ -137,6 +137,12 @@ interface FeatureFlags {
137
137
  * and `/peruutus` page on this flag. Defaults to true.
138
138
  */
139
139
  withdrawalEnabled: boolean;
140
+ /**
141
+ * Whether customer accounts are enabled for the store. When false, the
142
+ * storefront should hide all account UI (login, register, account area,
143
+ * wishlist) and guard those routes. Defaults to true.
144
+ */
145
+ customerAccountsEnabled: boolean;
140
146
  }
141
147
  /** Campaign type */
142
148
  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.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "TypeScript SDK for Putiikkipalvelu Storefront API",
5
5
  "author": "Putiikkipalvelu",
6
6
  "license": "MIT",