Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(skillConfiguration : CustomSkillConfiguration) {
this.persistenceAdapter = skillConfiguration.persistenceAdapter;
this.apiClient = skillConfiguration.apiClient;
this.customUserAgent = skillConfiguration.customUserAgent;
this.skillId = skillConfiguration.skillId;
this.requestDispatcher = new GenericRequestDispatcher({
requestMappers : skillConfiguration.requestMappers,
handlerAdapters : skillConfiguration.handlerAdapters,
errorMapper : skillConfiguration.errorMapper,
requestInterceptors : skillConfiguration.requestInterceptors,
responseInterceptors : skillConfiguration.responseInterceptors,
});
}