@ansiversa/components 0.0.148 → 0.0.149

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": "@ansiversa/components",
3
- "version": "0.0.148",
3
+ "version": "0.0.149",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,6 +20,10 @@ export const resolveParentOrigin = () => {
20
20
  const envOrigin = normalizeOrigin(import.meta.env.PUBLIC_ANSIVERSA_PARENT_ORIGIN ?? "");
21
21
  if (envOrigin) return envOrigin;
22
22
 
23
+ if (import.meta.env.PROD) {
24
+ return PRODUCTION_PARENT_ORIGIN;
25
+ }
26
+
23
27
  if (typeof window !== "undefined") {
24
28
  const host = window.location.hostname.toLowerCase();
25
29
  if (isAnsiversaHostname(host)) {