From 7f60b4a438e4d821537e6b32b25e9912666ef258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tyrfing=20Mj=C3=B8lner?= <4lphamal3@gmail.com> Date: Sun, 16 Jun 2024 09:38:22 +0200 Subject: [PATCH 1/2] Update README.md Updated source example for dependency --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1eb4a20..5147151 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,23 @@ For an excellent description on how the standard OAuth flows work, and what to e Vapor OAuth can be added to your Vapor add with a simple provider. To get started, first add the library to your `Package.swift` dependencies: +Latest stable ```swift dependencies: [ ..., - .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "0.6.0")) + .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "0.6.1")) ] ``` +Latest beta +```swift +dependencies: [ + ..., + .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "1.0.0-beta.2")) +] +``` + + Next import the library into where you set up your `Droplet`: ```swift From 1f8cfa5e612a2ad3379b501bd2b682efd89588d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tyrfing=20Mj=C3=B8lner?= <4lphamal3@gmail.com> Date: Sun, 16 Jun 2024 10:07:31 +0200 Subject: [PATCH 2/2] Update README.md Removed a spare bracket that create a compile error. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5147151..0eb942b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Latest stable ```swift dependencies: [ ..., - .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "0.6.1")) + .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "0.6.1") ] ``` @@ -49,7 +49,7 @@ Latest beta ```swift dependencies: [ ..., - .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "1.0.0-beta.2")) + .package(url: "https://github.com/brokenhandsio/vapor-oauth", from: "1.0.0-beta.2") ] ```