@availity/mui-spaces 1.0.28 → 1.0.29

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.29](https://github.com/Availity/element/compare/@availity/mui-spaces@1.0.28...@availity/mui-spaces@1.0.29) (2025-07-02)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fix onprem sso config value ([0c79a52](https://github.com/Availity/element/commit/0c79a52a9f6c56d2d8c45a7546664e7700f19c9e))
11
+
5
12
  ## [1.0.28](https://github.com/Availity/element/compare/@availity/mui-spaces@1.0.27...@availity/mui-spaces@1.0.28) (2025-07-01)
6
13
 
7
14
 
package/dist/index.js CHANGED
@@ -803,7 +803,10 @@ var openLinkWithSso = (_0, _1) => __async(void 0, [_0, _1], function* (space, {
803
803
  if (space.meta && space.meta.ssoId) {
804
804
  let options;
805
805
  if (space.meta.appsDomain === "true") {
806
- options = ((_a = space.link) == null ? void 0 : _a.target) ? { target: getTarget(space.link.target) } : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
806
+ options = ((_a = space.link) == null ? void 0 : _a.target) ? {
807
+ target: getTarget(space.link.target),
808
+ action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
809
+ } : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
807
810
  } else {
808
811
  options = ((_b = space.link) == null ? void 0 : _b.target) ? { target: getTarget(space.link.target) } : void 0;
809
812
  }
package/dist/index.mjs CHANGED
@@ -761,7 +761,10 @@ var openLinkWithSso = (_0, _1) => __async(void 0, [_0, _1], function* (space, {
761
761
  if (space.meta && space.meta.ssoId) {
762
762
  let options;
763
763
  if (space.meta.appsDomain === "true") {
764
- options = ((_a = space.link) == null ? void 0 : _a.target) ? { target: getTarget(space.link.target) } : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
764
+ options = ((_a = space.link) == null ? void 0 : _a.target) ? {
765
+ target: getTarget(space.link.target),
766
+ action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
767
+ } : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}` };
765
768
  } else {
766
769
  options = ((_b = space.link) == null ? void 0 : _b.target) ? { target: getTarget(space.link.target) } : void 0;
767
770
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-spaces",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Availity MUI Spaces Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -34,7 +34,12 @@ export const openLinkWithSso: OpenLinkWithSso = async (space, { akaname, clientI
34
34
  if (space.meta && space.meta.ssoId) {
35
35
  let options;
36
36
  if (space.meta.appsDomain === 'true') {
37
- options = space.link?.target ? { target: getTarget(space.link.target) } : { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`};
37
+ options = space.link?.target ?
38
+ {
39
+ target: getTarget(space.link.target),
40
+ action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`
41
+ } :
42
+ { action: `${new URL(document.referrer).origin}/ms/api/availity/internal/spc/magneto/sso/v1/saml/${space.meta.ssoId}`};
38
43
  } else {
39
44
  options = space.link?.target ? { target: getTarget(space.link.target) } : undefined;
40
45
  }