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 {
101
101
} ) ;
102
102
const client = new Client ( config ) ;
103
103
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" ) ;
105
105
} ) ;
106
106
107
107
test ( "should set and get custom http client" , ( ) => {
@@ -156,4 +156,3 @@ describe("API Client", function (): void {
156
156
} ) ;
157
157
158
158
} ) ;
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";
4
4
5
5
// Live endpoints for Terminal API
6
6
const 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" ;
10
10
11
11
12
12
/**
@@ -66,7 +66,7 @@ class Config {
66
66
public terminalApiCloudEndpoint ?: string ;
67
67
public terminalApiLocalEndpoint ?: string ;
68
68
public liveEndpointUrlPrefix ?: string ;
69
- public region ?: RegionEnum ;
69
+ public region ?: RegionEnum ;
70
70
71
71
public constructor ( options : ConfigConstructor = { } ) {
72
72
if ( options . username ) this . username = options . username ;
You can’t perform that action at this time.
0 commit comments