@konplit-services/common 1.5.0 → 1.6.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/build/app.configs.d.ts
CHANGED
package/build/app.configs.js
CHANGED
|
@@ -113,6 +113,12 @@ class AppConfigs {
|
|
|
113
113
|
}
|
|
114
114
|
return this.env.ADMIN_WEB_URL;
|
|
115
115
|
}
|
|
116
|
+
getClientAppUrl() {
|
|
117
|
+
if (!this.env.CLIENT_APP_URL) {
|
|
118
|
+
throw new Error("CLIENT_APP_URL is required");
|
|
119
|
+
}
|
|
120
|
+
return this.env.CLIENT_APP_URL;
|
|
121
|
+
}
|
|
116
122
|
getNATSURI() {
|
|
117
123
|
if (!this.env.NATS_URI) {
|
|
118
124
|
throw new Error("NATS_URI is required");
|
|
@@ -175,6 +175,7 @@ export interface TokenVerificationTemplateData extends EmailBase {
|
|
|
175
175
|
export interface MerchantInvitationTemplateData extends EmailBase {
|
|
176
176
|
merchant_name: string;
|
|
177
177
|
to: string;
|
|
178
|
+
url?: string;
|
|
178
179
|
}
|
|
179
180
|
export interface CustomerWelcomeTemplateData extends EmailBase {
|
|
180
181
|
first_name: string;
|