From 2d8f5bbd74f2d1b7b64e90b47827c05d114f1c88 Mon Sep 17 00:00:00 2001 From: andreeaceachir Date: Mon, 25 Nov 2024 16:14:38 +0100 Subject: [PATCH 1/3] feat: Upgrade SDK version. --- packages/map-template/CHANGELOG.md | 6 ++++++ .../map-template/src/components/MapTemplate/MapTemplate.jsx | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/map-template/CHANGELOG.md b/packages/map-template/CHANGELOG.md index c9fcfc57..fbde53fd 100644 --- a/packages/map-template/CHANGELOG.md +++ b/packages/map-template/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.59.0] - 2024-11-26 + +### Added + +- Upgrade SDK version to v4.37.0. + ## [1.58.0] - 2024-10-28 ### Added diff --git a/packages/map-template/src/components/MapTemplate/MapTemplate.jsx b/packages/map-template/src/components/MapTemplate/MapTemplate.jsx index c57822ee..c9acac72 100644 --- a/packages/map-template/src/components/MapTemplate/MapTemplate.jsx +++ b/packages/map-template/src/components/MapTemplate/MapTemplate.jsx @@ -180,8 +180,8 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p const miSdkApiTag = document.createElement('script'); miSdkApiTag.setAttribute('type', 'text/javascript'); - miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.36.3/mapsindoors-4.36.3.js.gz'); - miSdkApiTag.setAttribute('integrity', 'sha384-UPPUHq6fu2VwcT5Rv+1+FzOlAg6mLd8iAUpr6taDU5XsKNluEpmIenfqKoEBQZPc'); + miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.37.0/mapsindoors-4.37.0.js.gz'); + miSdkApiTag.setAttribute('integrity', 'sha384-YToxFQP0mxSe8mF3Qm0Nvfu9eZ11Ky9MHCbOhrYgX5/9aoCUteGbUIE/IO1Uot/P'); miSdkApiTag.setAttribute('crossorigin', 'anonymous'); document.body.appendChild(miSdkApiTag); miSdkApiTag.onload = () => { From 6463cf8d62b5c5b927fab68dc95202e6d6ef47bc Mon Sep 17 00:00:00 2001 From: andreeaceachir Date: Mon, 25 Nov 2024 16:16:51 +0100 Subject: [PATCH 2/3] chore: Run npm install. --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 74b49acb..af9e71a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24020,7 +24020,7 @@ }, "packages/map-template": { "name": "@mapsindoors/map-template", - "version": "1.56.0", + "version": "1.58.0", "devDependencies": { "@googlemaps/js-api-loader": "^1.15.1", "@mapsindoors/components": "*", From b149728df1a52368998b0b51cf021f03d9deb55f Mon Sep 17 00:00:00 2001 From: andreeaceachir Date: Tue, 26 Nov 2024 12:50:15 +0100 Subject: [PATCH 3/3] chore: Update to latest version. --- packages/map-template/CHANGELOG.md | 2 +- .../map-template/src/components/MapTemplate/MapTemplate.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/map-template/CHANGELOG.md b/packages/map-template/CHANGELOG.md index fbde53fd..c4c64668 100644 --- a/packages/map-template/CHANGELOG.md +++ b/packages/map-template/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Upgrade SDK version to v4.37.0. +- Upgrade SDK version to v4.37.1. ## [1.58.0] - 2024-10-28 diff --git a/packages/map-template/src/components/MapTemplate/MapTemplate.jsx b/packages/map-template/src/components/MapTemplate/MapTemplate.jsx index c9acac72..9ea84dce 100644 --- a/packages/map-template/src/components/MapTemplate/MapTemplate.jsx +++ b/packages/map-template/src/components/MapTemplate/MapTemplate.jsx @@ -180,8 +180,8 @@ function MapTemplate({ apiKey, gmApiKey, mapboxAccessToken, venue, locationId, p const miSdkApiTag = document.createElement('script'); miSdkApiTag.setAttribute('type', 'text/javascript'); - miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.37.0/mapsindoors-4.37.0.js.gz'); - miSdkApiTag.setAttribute('integrity', 'sha384-YToxFQP0mxSe8mF3Qm0Nvfu9eZ11Ky9MHCbOhrYgX5/9aoCUteGbUIE/IO1Uot/P'); + miSdkApiTag.setAttribute('src', 'https://app.mapsindoors.com/mapsindoors/js/sdk/4.37.1/mapsindoors-4.37.1.js.gz'); + miSdkApiTag.setAttribute('integrity', 'sha384-wKFOAAB0ZnooQtWKlsw5eY63LFekFS3wI2WRzwTaYUIewjw4Y6mJGo792CqRzbIh'); miSdkApiTag.setAttribute('crossorigin', 'anonymous'); document.body.appendChild(miSdkApiTag); miSdkApiTag.onload = () => {