@tokenoftrust/storefront-runner 2.4.44 → 2.4.45

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.
@@ -27,18 +27,19 @@ import type { StaffAdmission, TenantMembership } from "@/lib/dashboard/tenantSel
27
27
 
28
28
  /** What every viewer of an unpaid store is told in place of the delegate section. */
29
29
  export const UNPAID_DELEGATION_NOTE =
30
- "Developers with preview access can already add changes to the site. Ship-on-behalf " +
31
- "delegation becomes available once the live site is activated.";
30
+ "Developers you've invited can already add changes and publish them while the store is " +
31
+ "unpaid — no delegation needed. Ship-on-behalf delegation becomes available once the live " +
32
+ "site is activated.";
32
33
 
33
34
  /** The delegate section: an unpaid store's note, or the paid store's {@link DelegateGate}. */
34
35
  export type DelegateSection = { mode: "unpaid"; role: null; explanation: string } | DelegateGate;
35
36
 
36
37
  /**
37
- * Resolve the whole delegate section. Before a store is paid there is no live
38
- * site and preview-access developers can already add changes to the release
39
- * (the `merge-to-preview` admission class, lib/pipeline/admission.ts), so delegation has nothing to grant: every viewer, the
40
- * owner included, gets {@link UNPAID_DELEGATION_NOTE}. A paid store resolves
41
- * {@link resolveDelegateGate} unchanged.
38
+ * Resolve the whole delegate section. Before a store is paid, an invited developer can
39
+ * already add changes AND publish them (both `merge-to-preview` and `publish-live` admit the
40
+ * "unpaid-store-developer" basis, lib/pipeline/admission.ts), so delegation has nothing to
41
+ * grant: every viewer, the owner included, gets {@link UNPAID_DELEGATION_NOTE}. A paid store
42
+ * resolves {@link resolveDelegateGate} unchanged.
42
43
  */
43
44
  export function resolveDelegateSection(
44
45
  storefrontMode: string | null | undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/storefront-runner",
3
- "version": "2.4.44",
3
+ "version": "2.4.45",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
6
6
  "packageManager": "pnpm@11.9.0",