@dropins/storefront-company-switcher 1.2.0-beta.3 → 1.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -3
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @dropins/storefront-company-switcher
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3fbf7de: Add optional `size` prop on `CompanySwitcher` (and `useCompanyData`) to control GraphQL `customer.companies` `pageSize`, defaulting to 100 instead of the API’s typical cap of 20. `getCustomerCompanyInfo` accepts `{ size }` and caches per page size. Restore `CustomerFragment` for extensibility; `GET_CUSTOMER_COMPANIES` uses operation variable `$pageSize`.
8
+ - 4860a42: Migrate to Node.js 24 LTS
9
+
10
+ Minimum required Node.js version is now 24. Updated engines.node from >=20 to >=24.
11
+
12
+ - 46ca833: Removed the `engines.node` constraint from `package.json`. This package targets browser environments exclusively and does not depend on a specific Node.js runtime version. The package is now built and distributed using Node.js 22 LTS.
13
+
14
+ ### Patch Changes
15
+
16
+ - 6a8cf99: Bump storefront SDK stable version
17
+ - 4ba4949: Bump @adobe-commerce/elsie to v1.9.0-beta.3
18
+
3
19
  ## 1.2.0-beta.3
4
20
 
5
21
  ### Patch Changes
@@ -23,9 +39,6 @@
23
39
  ### Minor Changes
24
40
 
25
41
  - 3fbf7de: Add optional `size` prop on `CompanySwitcher` (and `useCompanyData`) to control GraphQL `customer.companies` `pageSize`, defaulting to 100 instead of the API’s typical cap of 20. `getCustomerCompanyInfo` accepts `{ size }` and caches per page size. Restore `CustomerFragment` for extensibility; `GET_CUSTOMER_COMPANIES` uses operation variable `$pageSize`.
26
- - 4860a42: Migrate to Node.js 24 LTS
27
-
28
- Minimum required Node.js version is now 24. Updated engines.node from >=20 to >=24.
29
42
 
30
43
  ## 1.1.1
31
44
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@dropins/storefront-company-switcher",
3
- "version": "1.2.0-beta.3",
3
+ "version": "1.2.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md"
5
5
  }