The Typescript wallet SDK uses the axios client for all network requests. Learn more in the Axios instance documentation.
For example, we can configure our axios client to be globally configured with a timeout:
const customClient: AxiosInstance = axios.create({
timeout: 1000,
});
let appConfig = new ApplicationConfiguration(DefaultSigner, customClient);
let wal = new Wallet({
stellarConfiguration: StellarConfiguration.TestNet(),
applicationConfiguration: appConfig,
});You can find more configure options here.