Skip to content

Commit 96d4c50

Browse files
committed
refactor: mark marketplace link config internal
1 parent 0d250a4 commit 96d4c50

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/Packages/Marketplace/Runtime/LinkConfig.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
42

53
namespace Immutable.Marketplace
64
{
7-
public enum Flow
5+
internal enum Flow
86
{
97
OnRamp,
108
Swap,
@@ -17,7 +15,7 @@ public enum Environment
1715
Production
1816
}
1917

20-
public static class LinkConfig
18+
internal static class LinkConfig
2119
{
2220
private static string _onRampBaseUrlSandbox = "https://global-stg.transak.com";
2321
private static string _onRampBaseUrlProduction = "https://global.transak.com";
@@ -32,7 +30,7 @@ public static class LinkConfig
3230
private static string _apiOnRampKeySandbox = "d14b44fb-0f84-4db5-affb-e044040d724b";
3331
private static string _apiOnRampKeyProduction = "ad1bca70-d917-4628-bb0f-5609537498bc";
3432

35-
public static string GetBaseUrl(Environment environment, Flow flow)
33+
internal static string GetBaseUrl(Environment environment, Flow flow)
3634
{
3735
return flow switch
3836
{
@@ -43,7 +41,7 @@ public static string GetBaseUrl(Environment environment, Flow flow)
4341
};
4442
}
4543

46-
public static string GetApiKey(Environment environment, Flow flow)
44+
internal static string GetApiKey(Environment environment, Flow flow)
4745
{
4846
return flow is Flow.OnRamp ?
4947
environment == Environment.Sandbox ? _apiOnRampKeySandbox : _apiOnRampKeyProduction :

0 commit comments

Comments
 (0)