@capgo/capacitor-passkey 8.5.2 → 8.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # @capgo/capacitor-passkey
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-passkey" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Add passkeys to your Capacitor app without rewriting your web login: the plugin can shim `navigator.credentials` and forward calls to the native passkey APIs on iOS and Android.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_passkey"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-passkey" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_passkey"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_passkey"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
8
+ <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
+ <h2><a href="https://capgo.app/register/?ref=plugin_passkey">➡️ Get started for free</a></h2>
10
+ <p>14-day unlimited free trial. No credit card required</p>
11
+ <p><a href="https://capgo.app/consulting/?ref=plugin_passkey">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
13
 
9
- Passkeys for Capacitor with a browser-style WebAuthn shim.
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-passkey/main/assets/github-social-preview.png" alt="@capgo/capacitor-passkey for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **WebAuthn shim**: `autoShimWebAuthn()` patches `navigator.credentials.create` and `get` for `publicKey` requests.
21
+ - **Direct API**: `createCredential()` and `getCredential()` take JSON-safe WebAuthn options from your backend.
22
+ - **Native APIs**: AuthenticationServices on iOS and Credential Manager on Android.
23
+ - **Project setup**: can configure the generated iOS and Android projects during `cap sync`.
24
+ - **Support check**: `isSupported()` and `getConfiguration()`.
25
+ - **Platforms**: iOS, Android and Web. On web, the plugin uses the browser WebAuthn API.
10
26
 
11
27
  ## Why this plugin
12
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-passkey",
3
- "version": "8.5.2",
3
+ "version": "8.5.4",
4
4
  "description": "Capacitor passkey plugin with a WebAuthn-style shim for Capacitor apps.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",