ng-easycommerce-v18 0.3.5 → 0.3.7

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.
@@ -19,6 +19,10 @@ export declare class CoreConstantsService {
19
19
  * Document token para acceso SSR-compatible al documento
20
20
  */
21
21
  private document;
22
+ /**
23
+ * Contiene los datos provisto por el frontend en el archivo environment.ts
24
+ */
25
+ private environment;
22
26
  /**
23
27
  * Guarda la variable window del web browser.
24
28
  */
@@ -64,6 +68,17 @@ export declare class CoreConstantsService {
64
68
  * @returns {string} URL completa del frontend
65
69
  */
66
70
  getFrontendUrl: (path?: string) => string;
71
+ /**
72
+ * Método debug para verificar la configuración de URLs
73
+ * @returns Información de debug sobre las URLs configuradas
74
+ */
75
+ debugUrlConfig(): void;
76
+ /**
77
+ * Retorna la URL absoluta de una imagen para meta tags (compatible con SSR)
78
+ * @param postMedia - Ruta de la imagen
79
+ * @returns {string} URL absoluta de la imagen
80
+ */
81
+ getAbsoluteImageUrl: (postMedia?: string) => string;
67
82
  /**
68
83
  * Retorna la url de las imagenes de los banners
69
84
  * @returns
@@ -1,6 +1,7 @@
1
1
  export interface Environment {
2
2
  production: boolean;
3
3
  apiUrl?: string;
4
+ frontendUrl?: string;
4
5
  locale: string;
5
6
  channel: string;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"