File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/Packages/Marketplace/Runtime Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
- using System . Collections . Generic ;
3
- using System . Linq ;
4
2
5
3
namespace Immutable . Marketplace
6
4
{
7
- public enum Flow
5
+ internal enum Flow
8
6
{
9
7
OnRamp ,
10
8
Swap ,
@@ -17,7 +15,7 @@ public enum Environment
17
15
Production
18
16
}
19
17
20
- public static class LinkConfig
18
+ internal static class LinkConfig
21
19
{
22
20
private static string _onRampBaseUrlSandbox = "https://global-stg.transak.com" ;
23
21
private static string _onRampBaseUrlProduction = "https://global.transak.com" ;
@@ -32,7 +30,7 @@ public static class LinkConfig
32
30
private static string _apiOnRampKeySandbox = "d14b44fb-0f84-4db5-affb-e044040d724b" ;
33
31
private static string _apiOnRampKeyProduction = "ad1bca70-d917-4628-bb0f-5609537498bc" ;
34
32
35
- public static string GetBaseUrl ( Environment environment , Flow flow )
33
+ internal static string GetBaseUrl ( Environment environment , Flow flow )
36
34
{
37
35
return flow switch
38
36
{
@@ -43,7 +41,7 @@ public static string GetBaseUrl(Environment environment, Flow flow)
43
41
} ;
44
42
}
45
43
46
- public static string GetApiKey ( Environment environment , Flow flow )
44
+ internal static string GetApiKey ( Environment environment , Flow flow )
47
45
{
48
46
return flow is Flow . OnRamp ?
49
47
environment == Environment . Sandbox ? _apiOnRampKeySandbox : _apiOnRampKeyProduction :
You can’t perform that action at this time.
0 commit comments