@passkeyme/auth 2.0.10 → 2.0.12
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 +2 -2
- package/dist/index.esm.js +429 -268
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +429 -268
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +429 -268
- package/dist/index.umd.js.map +1 -1
- package/dist/src/passkeyme-auth.d.ts.map +1 -1
- package/dist/src/types.d.ts +5 -5
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -343,7 +343,7 @@ interface RedirectOptions {
|
|
|
343
343
|
// 1. App initialization
|
|
344
344
|
const auth = new PasskeymeAuth({
|
|
345
345
|
appId: "your-app-id",
|
|
346
|
-
redirectUri: "http://localhost
|
|
346
|
+
redirectUri: "http://localhost/auth/callback",
|
|
347
347
|
});
|
|
348
348
|
|
|
349
349
|
await auth.init();
|
|
@@ -459,7 +459,7 @@ const apiInterceptor: HttpInterceptor = {
|
|
|
459
459
|
|
|
460
460
|
const auth = new PasskeymeAuth({
|
|
461
461
|
appId: "your-app-id",
|
|
462
|
-
redirectUri: "https://
|
|
462
|
+
redirectUri: "https://your-app.com/auth/callback",
|
|
463
463
|
debug: process.env.NODE_ENV === "development",
|
|
464
464
|
tokenStorage: new SecureTokenStorage(),
|
|
465
465
|
httpInterceptors: [apiInterceptor],
|