sinfactura-types 1.10.77 → 1.10.78

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.
Files changed (2) hide show
  1. package/dist/store.d.ts +15 -0
  2. package/package.json +1 -1
package/dist/store.d.ts CHANGED
@@ -208,6 +208,21 @@ declare global {
208
208
  verified?: boolean;
209
209
  };
210
210
  waitlist?: boolean;
211
+ /**
212
+ * Tenant opt-in: require a storefront customer's email to be verified
213
+ * before checkout. Absent or `false` — the default for every store,
214
+ * including all pre-existing ones — leaves verification a SOFT state:
215
+ * `Customer.emailVerified` is tracked and surfaced, and nothing is
216
+ * blocked.
217
+ *
218
+ * ⚠️ Turning this on gates the store's OWN existing customers. Nothing is
219
+ * backfilled (forward-only), so every customer who registered before
220
+ * verification existed reads as unverified and is refused at checkout
221
+ * until they verify. That is the tenant's decision to make, but a
222
+ * settings UI should say so rather than presenting it as a neutral
223
+ * switch.
224
+ */
225
+ requireEmailVerification?: boolean;
211
226
  }
212
227
  interface StoreIntegrations {
213
228
  afip?: Afip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.10.77",
3
+ "version": "1.10.78",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",