Skip to content

Commit

Permalink
Merge pull request #36 from passageidentity/version-1-update
Browse files Browse the repository at this point in the history
Passage React native 1.0
  • Loading branch information
SinaSeylani authored Oct 17, 2024
2 parents 265ba7f + 501dc1c commit 355136a
Show file tree
Hide file tree
Showing 45 changed files with 1,952 additions and 1,370 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import Passage from '@passageidentity/passage-react-native';
const passage = new Passage('APP_ID');

// Register a new user with a passkey
const { authToken } = await passage.registerWithPasskey('[email protected]');
const { authToken } = await passage.passkey.register('[email protected]');

// Get authenticated user info
const user = await passage.getCurrentUser();
const user = await passage.currentUser.userInfo();
```
<br>

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dependencies {
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

implementation "id.passage.android:passage:1.8.2"
implementation "id.passage.android:passage:2.0.2"
implementation "com.google.code.gson:gson:2.9.0"
}

Expand Down
Loading

0 comments on commit 355136a

Please sign in to comment.