Skip to content

Commit e0fb8fb

Browse files
refactor(IOClients): rename base catalog getter to janusCatalogSystem
Avoids a name collision (TS2416) with apps that already define their own `catalogSystem` client over IOClients (e.g. vtex-apps/promotion-cloner). Bumps version to 7.3.0 and updates the CHANGELOG. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ba10187 commit e0fb8fb

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [7.3.0] - 2026-06-22
11+
### Changed
12+
- Renamed the base `IOClients` Janus Catalog getter from `catalogSystem` to
13+
`janusCatalogSystem` to avoid a name collision with apps that already define
14+
their own `catalogSystem` client (e.g. vtex-apps/promotion-cloner).
15+
### Added
16+
- Base `IOClients` getter `janusCatalogSystem` (Janus Catalog) and
17+
`licenseManager.listBindings`, plus binding-mapping helpers
18+
(getCanonicalAndAlternateAddresses, inferTargetProduct) used by the
19+
Tenant API migration.
20+
1021
## [7.2.5] - 2025-10-28
1122
### Changed
1223
- Added a new metrics tooling layer using @vtex/diagnostics-nodejs to replace the legacy MetricsAccumulator system

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vtex/api",
3-
"version": "7.2.5",
3+
"version": "7.3.0",
44
"description": "VTEX I/O API client",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",

src/clients/IOClients.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export class IOClients {
9393
return this.getOrSet('catalogGraphQL', CatalogGraphQL)
9494
}
9595

96-
public get catalogSystem() {
97-
return this.getOrSet('catalogSystem', Catalog)
96+
public get janusCatalogSystem() {
97+
return this.getOrSet('janusCatalogSystem', Catalog)
9898
}
9999

100100
public get paymentProvider() {

0 commit comments

Comments
 (0)