@stellar/stellar-sdk
Version:
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
19 lines (15 loc) • 399 B
JavaScript
;
var axiosClient = require('../http-client/axios-client.js');
const version = "16.2.0";
function createHttpClient(headers) {
return axiosClient.create({
headers: {
...headers,
"X-Client-Name": "js-stellar-sdk",
"X-Client-Version": version
}
});
}
exports.createHttpClient = createHttpClient;
exports.version = version;
//# sourceMappingURL=axios.js.map