File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
import PackageDescription
17
17
18
18
let package = Package (
19
- name: " webauthn- swift" ,
19
+ name: " swift-webauthn " ,
20
20
platforms: [
21
21
. macOS( . v13)
22
22
] ,
Original file line number Diff line number Diff line change 1
- # webauthn- swift
1
+ # swift-webauthn
2
2
3
3
This package provides a Swift implementation of the [ WebAuthn API] ( https://w3c.github.io/webauthn ) focused on making it
4
- easy to leverage the power of WebAuthn.
4
+ easy to leverage the power of WebAuthn to support Passkeys and security keys .
5
5
6
6
## Getting Started
7
7
@@ -10,13 +10,13 @@ easy to leverage the power of WebAuthn.
10
10
Add the following entry in your ` Package.swift ` to start using ` WebAuthn ` :
11
11
12
12
``` swift
13
- .package (url : " https://github.com/swift-server/webauthn- swift.git" , from : " 1.0.0-alpha" )
13
+ .package (url : " https://github.com/swift-server/swift-webauthn .git" , from : " 1.0.0-alpha.2 " )
14
14
```
15
15
16
16
and ` WebAuthn ` dependency to your target:
17
17
18
18
``` swift
19
- .target (name : " MyApp" , dependencies : [.product (name : " WebAuthn" , package : " webauthn- swift" )])
19
+ .target (name : " MyApp" , dependencies : [.product (name : " WebAuthn" , package : " swift-webauthn " )])
20
20
```
21
21
22
22
### Setup
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ function usage() {
36
36
echo >&2
37
37
echo >&2 " Examples:"
38
38
echo >&2
39
- echo >&2 " Check between main and tag 1.0.0 of webauthn- swift:"
40
- echo >&2 " $0 https://github.com/swift-server/webauthn- swift main 1.0.0"
39
+ echo >&2 " Check between main and tag 1.0.0 of swift-webauthn :"
40
+ echo >&2 " $0 https://github.com/swift-server/swift-webauthn main 1.0.0"
41
41
echo >&2
42
42
echo >&2 " Check between HEAD and commit 681eb6f using the provided toolchain:"
43
43
echo >&2 " xcrun --toolchain org.swift.5120190702a $0 ../some-local-repo HEAD 681eb6f"
You can’t perform that action at this time.
0 commit comments