Skip to content

Commit 03b81e5

Browse files
Change deprecated to obsoleted in @available attribute.
Deprecated is just warning, while obsoleted will prevent to compile.
1 parent ad0b319 commit 03b81e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/Web3/Web3+HttpProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public class Web3HttpProvider: Web3Provider {
101101
}
102102
}
103103

104-
@available(iOS, deprecated: 15.0, message: "Use the built-in API instead")
104+
@available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
105105
extension URLSession {
106106
func data(fromUrl url: URL) async throws -> (Data, URLResponse) {
107107
try await withCheckedThrowingContinuation { continuation in

0 commit comments

Comments
 (0)