WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c0a175d

Browse files
committed
Fix inapp removeCredential to track username
1 parent e651b50 commit c0a175d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Authsignal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Authsignal'
3-
s.version = '2.2.3'
3+
s.version = '2.2.4'
44
s.summary = 'The Authsignal SDK for iOS'
55

66
s.homepage = 'https://github.com/authsignal/authsignal-ios'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Check out our [official iOS documentation](https://docs.authsignal.com/sdks/clie
1111
Add Authsignal to your Podfile:
1212

1313
```rb
14-
pod 'Authsignal', '~> 2.0.1'
14+
pod 'Authsignal', '~> 2.2.4'
1515
```
1616

1717
#### Swift Package Manager
@@ -20,7 +20,7 @@ Add authsignal-ios to the dependencies value of your Package.swift.
2020

2121
```swift
2222
dependencies: [
23-
.package(url: "https://github.com/authsignal/authsignal-ios.git", from: "2.0.1")
23+
.package(url: "https://github.com/authsignal/authsignal-ios.git", from: "2.2.4")
2424
]
2525
```
2626

Sources/Authsignal/AuthsignalInApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class AuthsignalInApp {
9292
let response = await api.removeCredential(publicKey: publicKey, signature: signature)
9393

9494
return AuthsignalResponse(
95-
data: keyManager.deleteKeyPair(),
95+
data: keyManager.deleteKeyPair(username: username),
9696
error: response.error,
9797
errorCode: response.errorCode
9898
)

0 commit comments

Comments
 (0)