File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ describe("API Client", function (): void {
101101 } ) ;
102102 const client = new Client ( config ) ;
103103 expect ( client . config . terminalApiCloudEndpoint ) . toBeDefined ( ) ;
104- expect ( client . config . terminalApiCloudEndpoint ) . toBe ( "https://terminal-api-us.adyen.com" ) ;
104+ expect ( client . config . terminalApiCloudEndpoint ) . toBe ( "https://terminal-api-live- us.adyen.com" ) ;
105105 } ) ;
106106
107107 test ( "should set and get custom http client" , ( ) => {
@@ -156,4 +156,3 @@ describe("API Client", function (): void {
156156 } ) ;
157157
158158} ) ;
159-
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ export const TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com";
44
55// Live endpoints for Terminal API
66const TERMINAL_API_ENDPOINT_LIVE = "https://terminal-api-live.adyen.com" ;
7- const TERMINAL_API_ENDPOINT_AU_LIVE = "https://terminal-api-au.adyen.com" ;
8- const TERMINAL_API_ENDPOINT_US_LIVE = "https://terminal-api-us.adyen.com" ;
9- const TERMINAL_API_ENDPOINT_APSE_LIVE = "https://terminal-api-apse.adyen.com" ;
7+ const TERMINAL_API_ENDPOINT_AU_LIVE = "https://terminal-api-live- au.adyen.com" ;
8+ const TERMINAL_API_ENDPOINT_US_LIVE = "https://terminal-api-live- us.adyen.com" ;
9+ const TERMINAL_API_ENDPOINT_APSE_LIVE = "https://terminal-api-live- apse.adyen.com" ;
1010
1111
1212/**
@@ -66,7 +66,7 @@ class Config {
6666 public terminalApiCloudEndpoint ?: string ;
6767 public terminalApiLocalEndpoint ?: string ;
6868 public liveEndpointUrlPrefix ?: string ;
69- public region ?: RegionEnum ;
69+ public region ?: RegionEnum ;
7070
7171 public constructor ( options : ConfigConstructor = { } ) {
7272 if ( options . username ) this . username = options . username ;
You can’t perform that action at this time.
0 commit comments