@abi-software/map-side-bar 2.19.0 → 2.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "2.19.0",
3
+ "version": "2.20.0",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
6
  "node": "^24.20.0"
@@ -49,8 +49,8 @@
49
49
  "./src/*": "./src/*"
50
50
  },
51
51
  "dependencies": {
52
- "@abi-software/gallery": "1.6.0",
53
- "@abi-software/map-utilities": "1.12.0",
52
+ "@abi-software/gallery": "1.7.0",
53
+ "@abi-software/map-utilities": "1.13.0",
54
54
  "@abi-software/svg-sprite": "1.4.0",
55
55
  "@element-plus/icons-vue": "^2.3.2",
56
56
  "algoliasearch": "^4.27.0",
@@ -935,6 +935,9 @@ export default {
935
935
  return null;
936
936
  }
937
937
 
938
+ //A scicrunch entry typically looks like https://scicrunch.org/resolver/RRID:XXXXXX
939
+ //but due to CORS issue, we need to replace it with sparc-api interface,
940
+ //Replacing the domain while leaving the subpath the same.
938
941
  const APIURL = isScicrunchURL
939
942
  ? url.replace(scicrunchBase, `${apiLocationBase}scicrunch`)
940
943
  : url.replace(orcidBase, orcidAPIBase);