@capgo/capacitor-passkey 8.5.1 → 8.5.3
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.
- package/README.md +20 -4
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# @capgo/capacitor-passkey
|
|
2
|
-
|
|
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
|
-
<
|
|
6
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</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
|
-
|
|
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.
|
|
3
|
+
"version": "8.5.3",
|
|
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",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"watch": "tsc --watch",
|
|
52
52
|
"prepublishOnly": "bun run build",
|
|
53
53
|
"check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
|
|
54
|
+
"check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
|
|
54
55
|
"example:install": "cd example-app && bun install --frozen-lockfile",
|
|
55
56
|
"example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
|
|
56
57
|
"changelog:ai": "node scripts/generate-ai-changelog.mjs"
|