@progalaxyelabs/ngx-stonescriptphp-client 1.9.0 → 1.10.0

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/index.d.ts CHANGED
@@ -165,6 +165,12 @@ declare class MyEnvironmentModel {
165
165
  messagingSenderId: string;
166
166
  measurementId: string;
167
167
  };
168
+ /**
169
+ * Platform's own API base URL (e.g., '//api.medstoreapp.in')
170
+ * Used to route registration through the platform API proxy instead of auth directly
171
+ * @example '//api.medstoreapp.in'
172
+ */
173
+ apiUrl?: string;
168
174
  apiServer: {
169
175
  host: string;
170
176
  };
@@ -365,6 +371,12 @@ declare class AuthService {
365
371
  * Check if multi-server mode is enabled
366
372
  */
367
373
  isMultiServerMode(): boolean;
374
+ /**
375
+ * Get the platform's own API base URL
376
+ * Used for routes that go through the platform API proxy (e.g. register-tenant)
377
+ * @throws Error if no API URL is configured
378
+ */
379
+ private getPlatformApiUrl;
368
380
  /**
369
381
  * Hash UUID to numeric ID for backward compatibility
370
382
  * Converts UUID string to a consistent numeric ID for legacy code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progalaxyelabs/ngx-stonescriptphp-client",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Angular client library for StoneScriptPHP backend framework",
5
5
  "keywords": [
6
6
  "angular",