@medplum/react 0.9.15 → 0.9.16
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -4847,9 +4847,9 @@ function getGoogleClientId(clientId) {
|
|
|
4847
4847
|
return clientId;
|
|
4848
4848
|
}
|
|
4849
4849
|
const origin = window.location.protocol + '//' + window.location.host;
|
|
4850
|
-
const authorizedOrigins = (_b = (_a = "
|
|
4850
|
+
const authorizedOrigins = (_b = (_a = "undefined") === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : [];
|
|
4851
4851
|
if (authorizedOrigins.includes(origin)) {
|
|
4852
|
-
return "
|
|
4852
|
+
return "undefined";
|
|
4853
4853
|
}
|
|
4854
4854
|
return undefined;
|
|
4855
4855
|
}
|