@photonhealth/elements 0.7.1 → 0.7.2

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/dist/index.mjs CHANGED
@@ -10360,7 +10360,7 @@ var Wp;
10360
10360
  (function(e) {
10361
10361
  e.Female = "FEMALE", e.Male = "MALE", e.Unknown = "UNKNOWN";
10362
10362
  })(Wp || (Wp = {}));
10363
- const aw = "@photonhealth/sdk", sw = "1.3.2", lw = "dist/lib.js", dw = {
10363
+ const aw = "@photonhealth/sdk", sw = "1.3.3", lw = "dist/lib.js", dw = {
10364
10364
  build: "npx nx run sdk:build",
10365
10365
  docs: 'find src -name "*.ts" | xargs npx typedoc --out docs',
10366
10366
  prepublishOnly: "npm run build"
@@ -31708,7 +31708,7 @@ class tV {
31708
31708
  }
31709
31709
  }
31710
31710
  }
31711
- const nV = /[?&]code=[^&]+/, rV = /[?&]state=[^&]+/, iV = /[?&]error=[^&]+/, oV = (e = window.location.search) => (nV.test(e) || iV.test(e)) && rV.test(e), aV = (e) => /^\d+$/.test(e) && e.length >= 5, a9 = Rn(), Nn = () => xn(a9), sV = "@photonhealth/elements", lV = "0.7.1", dV = "", cV = "dist/index.js", uV = "./dist/index.d.ts", fV = {
31711
+ const nV = /[?&]code=[^&]+/, rV = /[?&]state=[^&]+/, iV = /[?&]error=[^&]+/, oV = (e = window.location.search) => (nV.test(e) || iV.test(e)) && rV.test(e), aV = (e) => /^\d+$/.test(e) && e.length >= 5, a9 = Rn(), Nn = () => xn(a9), sV = "@photonhealth/elements", lV = "0.7.2", dV = "", cV = "dist/index.js", uV = "./dist/index.d.ts", fV = {
31712
31712
  start: "vite --port 3000",
31713
31713
  build: "rimraf dist && NODE_ENV=development vite build",
31714
31714
  "build:prod": "npx nx run elements:build",
@@ -31806,7 +31806,7 @@ const nV = /[?&]code=[^&]+/, rV = /[?&]state=[^&]+/, iV = /[?&]error=[^&]+/, oV
31806
31806
  }, 6e4, setInterval);
31807
31807
  };
31808
31808
  return pe(() => {
31809
- oV() && i() ? o() : i() && a();
31809
+ oV() && i() ? o() : i() && e.autoLogin && a();
31810
31810
  }), pe(() => {
31811
31811
  if (!i()?.authentication.state.isLoading) {
31812
31812
  if (!i()?.authentication.state.isAuthenticated && e.autoLogin) {
@@ -37359,7 +37359,7 @@ const F9 = (e) => {
37359
37359
  },
37360
37360
  get children() {
37361
37361
  return g(A0, {
37362
- message: "You tried logging in with an account not associated with any organizations"
37362
+ message: "You tried logging in with an account not associated with any organizations. Please check your email for an invite, or ask your administrator for assistance."
37363
37363
  });
37364
37364
  }
37365
37365
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photonhealth/elements",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",