From d1f7da4eb645a2913041bb4439220f31ad8c17d9 Mon Sep 17 00:00:00 2001 From: Mel Ludowise Date: Fri, 27 Sep 2024 23:13:04 -0700 Subject: [PATCH] revert unnecessary changes --- .../CallSetterWithSerializableValueSender.swift | 6 ------ .../Source/Models/AccountCollectionOptions.swift | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/CallSetterWithSerializableValueSender.swift b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/CallSetterWithSerializableValueSender.swift index 87d0e8974c5..a87b50a86bf 100644 --- a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/CallSetterWithSerializableValueSender.swift +++ b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/CallSetterWithSerializableValueSender.swift @@ -17,9 +17,3 @@ struct CallSetterWithSerializableValueSender: Messag let name: String = "callSetterWithSerializableValue" let payload: Payload } - -extension CallSetterWithSerializableValueSender { - init(_ setter: String, with value: Value) { - self.init(payload: .init(setter: setter, value: value)) - } -} diff --git a/StripeConnect/StripeConnect/Source/Models/AccountCollectionOptions.swift b/StripeConnect/StripeConnect/Source/Models/AccountCollectionOptions.swift index 153ed4ac6b0..8e4c06eca3e 100644 --- a/StripeConnect/StripeConnect/Source/Models/AccountCollectionOptions.swift +++ b/StripeConnect/StripeConnect/Source/Models/AccountCollectionOptions.swift @@ -9,7 +9,7 @@ import Foundation @_spi(PrivateBetaConnect) /// Collection options for account onboarding -public struct AccountCollectionOptions: Codable, Equatable { +public struct AccountCollectionOptions: Codable { public enum FieldOption: String, Codable { case currentlyDue = "currently_due"