Swiftpack.co - supabase-community/functions-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by supabase-community.
supabase-community/functions-swift 1.1.1
Swift Client library to interact with Supabase Functions.
⭐️ 8
🕓 1 week ago
iOS macOS watchOS tvOS macCatalyst
.package(url: "https://github.com/supabase-community/functions-swift.git", from: "1.1.1")


This repository is deprecated and it was moved to the monorepo. Repository will remain live to support old versions of the library, but any new updates MUST be done on the monorepo.

Swift Client library to interact with Supabase Functions.


let client = FunctionsClient(
  url: URL(string: "https://project-id.supabase.com/functions/v1")!,
  headers: [
    "apikey": "project-api-key"

struct Response: Decodable {
  let message: String

let response: Response = try await client.invoke(
  functionName: "hello-world",
  invokeOptions: FunctionInvokeOptions(body: ["name": "Functions"])

assert(response.message = "Hello Functions")


Stars: 8
Last commit: 1 week ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1 week ago

What's Changed

New Contributors

Full Changelog: https://github.com/supabase-community/functions-swift/compare/1.1.0...1.1.1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics