@afriex/core
Version:
HTTP client, configuration and typed errors for the Afriex Business API SDK
23 lines • 643 B
JavaScript
export const Environment = {
STAGING: "staging",
PRODUCTION: "production",
};
export const BASE_URLS = {
[]: "https://sandbox.api.afriex.com/api/v1",
[]: "https://api.afriex.com/api/v1",
};
export const DEFAULT_CONFIG = {
[]: {
baseUrl: BASE_URLS[Environment.STAGING],
timeout: 30000,
maxRetries: 0,
retryDelay: 1000,
},
[]: {
baseUrl: BASE_URLS[Environment.PRODUCTION],
timeout: 30000,
maxRetries: 0,
retryDelay: 1000,
},
};
//# sourceMappingURL=Environment.js.map