@adobe/spacecat-shared-brand-client 1.1.39 → 1.1.41

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [@adobe/spacecat-shared-brand-client-v1.1.41](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-brand-client-v1.1.40...@adobe/spacecat-shared-brand-client-v1.1.41) (2026-04-09)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **deps:** update adobe fixes ([#1503](https://github.com/adobe/spacecat-shared/issues/1503)) ([21d4d4b](https://github.com/adobe/spacecat-shared/commit/21d4d4b3cfa95ca7748ef4b65b04cace24768dfc))
6
+
7
+ ## [@adobe/spacecat-shared-brand-client-v1.1.40](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-brand-client-v1.1.39...@adobe/spacecat-shared-brand-client-v1.1.40) (2026-04-06)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update external major (major) ([#1087](https://github.com/adobe/spacecat-shared/issues/1087)) ([72e1ab6](https://github.com/adobe/spacecat-shared/commit/72e1ab65892120f94ba409d5ab10370947329188))
12
+
1
13
  ## [@adobe/spacecat-shared-brand-client-v1.1.39](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-brand-client-v1.1.38...@adobe/spacecat-shared-brand-client-v1.1.39) (2026-03-21)
2
14
 
3
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-brand-client",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "Shared modules of the Spacecat Services - Brand Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,7 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "@adobe/helix-universal": "5.4.0",
37
+ "@adobe/helix-universal": "5.4.1",
38
38
  "@adobe/spacecat-shared-ims-client": "1.11.10",
39
39
  "@adobe/spacecat-shared-utils": "1.81.1"
40
40
  },
@@ -46,7 +46,7 @@
46
46
  "nock": "14.0.11",
47
47
  "sinon": "21.0.3",
48
48
  "sinon-chai": "4.0.1",
49
- "typescript": "5.9.3",
49
+ "typescript": "6.0.2",
50
50
  "aws-xray-sdk": "3.12.0"
51
51
  }
52
52
  }
package/src/index.js CHANGED
@@ -27,7 +27,9 @@ export default class BrandClient {
27
27
  const { env, log = console } = context;
28
28
  const { BRAND_API_BASE_URL: apiBaseUrl, BRAND_API_KEY: apiKey } = env;
29
29
 
30
- if (context.brandClient) return context.brandClient;
30
+ if (context.brandClient) {
31
+ return context.brandClient;
32
+ }
31
33
 
32
34
  const client = new BrandClient({ apiBaseUrl, apiKey }, log);
33
35
  context.brandClient = client;