From ce4e3b7970ff4c9e05b807f6a222ab28ce6f33af Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 2 Oct 2023 06:52:01 +0000 Subject: [PATCH] chore(release): 1.3.1 [skip ci] ## [1.3.1](https://github.com/adobe/aem-lib/compare/v1.3.0...v1.3.1) (2023-10-02) ### Bug Fixes * use correct codeBasePath (and test) ([#19](https://github.com/adobe/aem-lib/issues/19)) ([11dc7d3](https://github.com/adobe/aem-lib/commit/11dc7d37e551ba8e229c1147e1c5618f7fe84bf1)) --- CHANGELOG.md | 7 +++++++ dist/aem.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8edd16f..41121cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.3.1](https://github.com/adobe/aem-lib/compare/v1.3.0...v1.3.1) (2023-10-02) + + +### Bug Fixes + +* use correct codeBasePath (and test) ([#19](https://github.com/adobe/aem-lib/issues/19)) ([11dc7d3](https://github.com/adobe/aem-lib/commit/11dc7d37e551ba8e229c1147e1c5618f7fe84bf1)) + # [1.3.0](https://github.com/adobe/aem-lib/compare/v1.2.1...v1.3.0) (2023-09-27) diff --git a/dist/aem.js b/dist/aem.js index 6b58e22..af8f44a 100644 --- a/dist/aem.js +++ b/dist/aem.js @@ -404,7 +404,7 @@ function decorateIcon(span, prefix = '') { .substring(5); const img = document.createElement('img'); img.dataset.iconName = iconName; - img.src = `${window.codeBasePath}${prefix}/icons/${iconName}.svg`; + img.src = `${window.hlx.codeBasePath}${prefix}/icons/${iconName}.svg`; img.loading = 'lazy'; span.append(img); } diff --git a/package-lock.json b/package-lock.json index 14fd442..1126bc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adobe/aem-lib", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@adobe/aem-lib", - "version": "1.3.0", + "version": "1.3.1", "license": "Apache License 2.0", "dependencies": { "@adobe/helix-rum-js": "1.4.1" diff --git a/package.json b/package.json index 15bdc21..c1e1ec2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@adobe/aem-lib", "private": true, - "version": "1.3.0", + "version": "1.3.1", "description": "AEM Library", "type": "module", "scripts": {