Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Oct 23, 2023
1 parent e19c701 commit 7caa1fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
10 changes: 10 additions & 0 deletions Examples/ProductSample/SupportFiles/Config.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SUPABASE_ANON_KEY</key>
<string>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InVza3ptZWF6YXRkanFwYW1vcHp1Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTc2NjUyNTAsImV4cCI6MjAxMzI0MTI1MH0.ancFNlg7-MZ4_dtZ1f3tg6Hbyn1OG8zXusw_UVY8WlQ</string>
<key>SUPABASE_URL</key>
<string>https://uskzmeazatdjqpamopzu.supabase.co</string>
</dict>
</plist>
14 changes: 0 additions & 14 deletions Sources/GoTrue/Deprecated.swift

This file was deleted.

14 changes: 0 additions & 14 deletions Sources/Realtime/RealtimeClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,20 +193,6 @@ public class RealtimeClient: TransportDelegate {
)
}

@available(*, deprecated, renamed: "init(_:params:vsn:)")
public convenience init(
endPoint: String,
params: Payload? = nil,
vsn: String = Defaults.vsn
) {
self.init(
endPoint: endPoint,
transport: { url in URLSessionTransport(url: url) },
paramsClosure: { params },
vsn: vsn
)
}

public init(
endPoint: String,
transport: @escaping ((URL) -> Transport),
Expand Down

0 comments on commit 7caa1fa

Please sign in to comment.