@foir/cli 0.63.0 → 0.64.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.
@@ -449,6 +449,23 @@ interface ApplyConfigRelyingPartyInput {
449
449
  * callback. Empty falls back to the redirect URI. Customer-lane only.
450
450
  */
451
451
  postLoginUrl?: string;
452
+ /**
453
+ * Browser origins allowed to exchange the first-party session cookie for an
454
+ * access token — i.e. the origins your SPA runs on, e.g.
455
+ * `['https://app.eide.clothing']`. Exact origins: scheme + host + optional
456
+ * port, https only, no wildcards and no paths.
457
+ *
458
+ * This is the WHOLE allowlist for the credentialed session endpoints, matched
459
+ * exactly the way `redirectUris` are. List none and the SPA session does not
460
+ * work — there is no domain-wide default, deliberately: one would grant every
461
+ * origin on your domain, including a subdomain takeover or anything serving
462
+ * user content there.
463
+ *
464
+ * Absent leaves the list untouched; `[]` clears it. Customer-lane only, and
465
+ * only meaningful alongside a verified `customDomains` entry (the cookie is
466
+ * only ever issued on one).
467
+ */
468
+ allowedOrigins?: string[];
452
469
  }
453
470
  interface ApplyConfigPlacementInput {
454
471
  type: string;
@@ -468,14 +485,10 @@ interface ApplyConfigHookInput {
468
485
  description?: string;
469
486
  /** Lifecycle event that triggers this hook. */
470
487
  event: string;
471
- /** Target type — defaults to 'operation'. */
472
- type?: string;
473
488
  /** Key of the operation to execute. */
474
489
  operationKey?: string;
475
490
  /** Filter to scope the hook (e.g., `{ modelKey: 'redirect' }`). */
476
491
  filter?: Record<string, unknown>;
477
- /** Notification config for notification-type hooks. */
478
- notificationConfig?: Record<string, unknown>;
479
492
  /** Whether the hook is active. Defaults to true. */
480
493
  isActive?: boolean;
481
494
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foir/cli",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Universal platform CLI for Foir platform",
5
5
  "type": "module",
6
6
  "publishConfig": {