Skip to content

Commit 07266a2

Browse files
committed
Export EnvironmentEnum and RegionEnum
1 parent e629f8d commit 07266a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/index.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,30 @@
1717
* See the LICENSE file for more info.
1818
*/
1919

20+
// For side effects
2021
import "./typings";
2122

23+
// Export the main client for making API requests
2224
export { default as Client } from "./client";
25+
26+
// Export the configuration class for the client
2327
export { default as Config } from "./config";
28+
29+
// Export enums for different Adyen environments and regions
30+
export { EnvironmentEnum, RegionEnum } from "./config";
31+
32+
// Export all services (APIs)
2433
export * from "./services/";
34+
35+
// Export a utility function for HMAC validation
2536
export { hmacValidator } from "./utils";
37+
38+
// Export the HTTP client implementation
2639
export { default as HttpURLConnectionClient } from "./httpClient/httpURLConnectionClient";
40+
41+
// Export a custom exception for HTTP client errors
2742
export { default as HttpClientException } from "./httpClient/httpClientException";
43+
44+
// Export all the typings under the `Types` namespace
2845
export * as Types from "./typings";
2946

0 commit comments

Comments
 (0)