@growth-operations/ui-shared 1.10.0 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growth-operations/ui-shared",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Shared HubSpot UI-extension modules (Home, Billing) for Growth Operations apps.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -1,7 +1,9 @@
1
1
  // HubSpot list fetcher (for list-selection pickers).
2
2
  //
3
- // Paginates crm/v3/lists/search until all DYNAMIC lists are collected. The POST
4
- // body is a plain OBJECT — callHubSpotApi sends it as-is (NEVER JSON.stringify).
3
+ // Paginates crm/v3/lists/search until all lists are collected — MANUAL
4
+ // (static), DYNAMIC (active), and SNAPSHOT, so a picker isn't silently
5
+ // missing hand-curated test/segment lists. The POST body is a plain OBJECT —
6
+ // callHubSpotApi sends it as-is (NEVER JSON.stringify).
5
7
  import { buildHubSpotUrl, callHubSpotApi } from "./base";
6
8
 
7
9
  // context is accepted for signature consistency. query: optional name filter.
@@ -20,7 +22,7 @@ export async function getLists(context, token, query = "", objectTypeId = null)
20
22
  query: query,
21
23
  count: count,
22
24
  offset: offset,
23
- processingTypes: ["DYNAMIC"],
25
+ processingTypes: ["MANUAL", "DYNAMIC", "SNAPSHOT"],
24
26
  ...(objectTypeId ? { objectTypeId } : {}),
25
27
  };
26
28