Skip to content

Commit

Permalink
fix: remove defaultConfig configurations (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 authored Jan 12, 2024
1 parent 1cd3105 commit 501ffe5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions Sources/Momento/config/CacheConfigurations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
public enum CacheClientConfigurations {

public enum iOS {
/// Provides the default configuration for the `CacheClient` on iOS platforms
public static func defaultConfig() -> CacheClientConfiguration {
return latest()
}

/// Provides the latest recommended configuration for the `CacheClient` on iOS platforms
public static func latest() -> CacheClientConfiguration {
return CacheClientConfiguration(
Expand All @@ -18,11 +13,6 @@ public enum CacheClientConfigurations {
}

public enum macOS {
/// Provides the default configuration for the `CacheClient` on macOS platforms
public static func defaultConfig() -> CacheClientConfiguration {
return latest()
}

/// Provides the latest recommended configuration for the `CacheClient` on macOS platforms
public static func latest() -> CacheClientConfiguration {
return CacheClientConfiguration(
Expand Down
10 changes: 0 additions & 10 deletions Sources/Momento/config/TopicConfigurations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
public enum TopicClientConfigurations {

public enum iOS {
/// Provides the default configuration for the `TopicClient` on iOS platforms
public static func defaultConfig() -> TopicClientConfiguration {
return latest()
}

/// Provides the latest recommended configuration for the `TopicClient` on iOS platforms
public static func latest() -> TopicClientConfiguration {
return TopicClientConfiguration(
Expand All @@ -18,11 +13,6 @@ public enum TopicClientConfigurations {
}

public enum macOS {
/// Provides the default configuration for the `TopicClient` on macOS platforms
public static func defaultConfig() -> TopicClientConfiguration {
return latest()
}

/// Provides the latest recommended configuration for the `TopicClient` on macOS platforms
public static func latest() -> TopicClientConfiguration {
return TopicClientConfiguration(
Expand Down

0 comments on commit 501ffe5

Please sign in to comment.