Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
? new ServiceClientFactory({
apiClient : this.apiClient,
apiEndpoint : requestEnvelope.context.System.apiEndpoint,
authorizationValue : requestEnvelope.context.System.apiAccessToken,
})
: undefined,
};
const response = await this.requestDispatcher.dispatch(input);
const packageInfo = require('../../package.json');
return {
version : '1.0',
response,
userAgent : createAskSdkUserAgent(packageInfo.version, this.customUserAgent),
sessionAttributes : requestEnvelope.session ? input.attributesManager.getSessionAttributes() : undefined,
};
}