@aakash58/chatbot 1.1.14 → 1.1.15

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.
@@ -168,7 +168,7 @@ class DoohbotInput {
168
168
  license = '';
169
169
  licenseCode = '';
170
170
  licenseKey = '';
171
- filePath = '';
171
+ licenseFilePath = '';
172
172
  apiBaseUrl = '';
173
173
  apiSegment = '';
174
174
  tenancyName = '';
@@ -209,8 +209,8 @@ class CoreConfigService {
209
209
  get licenseKey() {
210
210
  return this.configSignal().licenseKey || '';
211
211
  }
212
- get filePath() {
213
- return this.configSignal().filePath || './assets/const/doohclick_license.json';
212
+ get licenseFilePath() {
213
+ return this.configSignal().licenseFilePath || '';
214
214
  }
215
215
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: CoreConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
216
216
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: CoreConfigService, providedIn: 'root' });
@@ -4208,7 +4208,7 @@ class LicenseService {
4208
4208
  */
4209
4209
  async loadLicenseFile(filePath) {
4210
4210
  try {
4211
- const finalPath = filePath || this.coreConfig.filePath;
4211
+ const finalPath = filePath || this.coreConfig.licenseFilePath;
4212
4212
  const data = await firstValueFrom(this.http.get(finalPath));
4213
4213
  if (!data) {
4214
4214
  throw new Error('Empty license file');