UNPKG

@passageidentity/passage-js

Version:

Passage Complete for Web - Build a full custom passwordless authentication experience in any modern web app with Passage by 1Password.

568 lines (291 loc) 11.7 kB
# Change Log - @passageidentity/passage-js This log was last generated on Mon, 27 Jan 2025 20:02:13 GMT and should not be manually modified. <!-- Start content --> ## 4.1.1 Mon, 27 Jan 2025 20:02:13 GMT ### Patches - Minor dependency updates (kevin.flanagan@passage.id) ## 4.1.0 Tue, 17 Dec 2024 18:23:30 GMT ### Minor changes - Improvements to the build (kevin.flanagan@passage.id) ## 4.0.3 Fri, 25 Oct 2024 17:03:40 GMT ### Patches - Improved README (kevin.flanagan@passage.id) ## 4.0.2 Mon, 07 Oct 2024 19:02:34 GMT ### Patches - PassageTokenStore was not returning the refresh token correctly. This has been fixed. (kevin.flanagan@passage.id) ## 4.0.1 Thu, 26 Sep 2024 17:52:10 GMT ### Patches - Add Node 22 to listed supported node versions (kevin.flanagan@passage.id) ## 4.0.0 Thu, 05 Sep 2024 17:14:06 GMT ### Major changes - Passage-JS 4.0 release. Main changes are a reworked and improved type system and a new class-based organization for the API. (kevin.flanagan@passage.id) ## 3.14.5 Tue, 30 Apr 2024 17:21:01 GMT ### Patches - Bug fix for type definition file referencing types from a private helper package (kevin.flanagan@passage.id) ## 3.14.3 Mon, 01 Apr 2024 15:01:34 GMT ### Patches - Update env config (jennifer.macfarlane@agilebits.com) ## 3.14.2 Thu, 28 Mar 2024 15:55:56 GMT ### Patches - Use shared error class (jennifer.macfarlane@agilebits.com) ## 3.14.1 Wed, 13 Mar 2024 19:12:46 GMT ### Patches - Update error handling (jennifer.macfarlane@agilebits.com) - update node engines to reflect currently supported node versions (kevin.flanagan@passage.id) - Update internal utility (jennifer.macfarlane@agilebits.com) - Update internal types to use shared (jennifer.macfarlane@agilebits.com) ## 3.14.0 Fri, 16 Feb 2024 21:08:25 GMT ### Minor changes - Add support for Sign in with Apple (""blayne.bayer@passage.id"") ### Patches - Remove unused field from type information (kevin.flanagan@passage.id) ## 3.13.1 Fri, 26 Jan 2024 19:48:11 GMT ### Patches - Improved refresh token behavior to avoid potential race condition with multiple async calls to getAuthToken (kevin.flanagan@passage.id) ## 3.13.0 Tue, 16 Jan 2024 20:27:12 GMT ### Minor changes - Add new listSocialConnections() and deleteSocialConnection() methods (jennifer.macfarlane@agilebits.com) ## 3.12.0 Mon, 18 Dec 2023 19:46:04 GMT ### Minor changes - Added support for logging into Passage apps through social logins (kevin.flanagan@passage.id) ## 3.11.0 Fri, 01 Dec 2023 17:32:06 GMT ### Minor changes - New type information about availble authentication methods (kevin.flanagan@passage.id) ## 3.10.0 Wed, 25 Oct 2023 16:48:44 GMT ### Minor changes - PSG-3098: Removing magiclink webauthn requests (133175154+danilo-kaltner@users.noreply.github.com) ## 3.9.0 Fri, 20 Oct 2023 17:49:30 GMT ### Minor changes - Update PassageDevice type interface with device icon support (jennifer.macfarlane@agilebits.com) ### Patches - New element customization properties for dark theme (kevin.flanagan@passage.id) ## 3.8.1 Thu, 05 Oct 2023 18:14:21 GMT ### Patches - Add types for primary and secondary button border css variables (jennifer.macfarlane@agilebits.com) ## 3.8.0 Fri, 22 Sep 2023 17:28:11 GMT ### Minor changes - Added support for creating cross-platform passkeys. (kevin.flanagan@passage.id) ## 3.7.0 Mon, 21 Aug 2023 18:19:46 GMT ### Minor changes - Enable Element UI Customization from Console. Deprecate general CSS variables, replace with more granular variables, add variables. For docs and migration guide, visit https://docs.passage.id/customization/ui-customization (jennifer.macfarlane@agilebits.com) ### Patches - add optional refresh_token_expiration param to authResult type (mac.evans@passage.id) ## 3.6.4 Fri, 23 Jun 2023 16:45:21 GMT ### Patches - Bug fix to properly remove sourceMap references (kevin.flanagan@passage.id) ## 3.6.2 Wed, 07 Jun 2023 15:31:46 GMT ### Patches - Bug fix: When using refresh tokens, Session.getAuthToken() will refresh the auth token when one is not present instead of throwing an error. (kevin.flanagan@passage.id) ## 3.6.1 Mon, 05 Jun 2023 16:39:53 GMT ### Patches - delete references to sourcemap files in .mjs files (""blayne.bayer@passage.id"") ## 3.6.0 Fri, 26 May 2023 17:27:11 GMT ### Minor changes - new branding and profile props (""blayne.bayer@passage.id"") ### Patches - Add profile_management field to PassageAppInfo type (kevin.flanagan@passage.id) ## 3.5.0 Wed, 17 May 2023 20:15:42 GMT ### Minor changes - Support for making a backend call for conditional mediation logins (kevin.flanagan@passage.id) ### Patches - Rework Passage Flex helper methods to avoid a Safari bug with user gestures when using conditional mediation (kevin.flanagan@passage.id) ## 3.4.0 Tue, 02 May 2023 22:20:05 GMT ### Minor changes - Extend unAuth IdentifierExists and include passkey Login/Register Available (1934806+himichaelroberts@users.noreply.github.com) ## 3.3.2 Tue, 25 Apr 2023 15:23:17 GMT ### Patches - Add AllowedFallbackAuth None type to enum (kevin.flanagan@passage.id) ## 3.3.1 Thu, 20 Apr 2023 23:01:34 GMT ### Patches - Expose newer functions from Webauthnutils package for getting information about supported webauthn features (kevin.flanagan@passage.id) - Fix bug when calling refresh on tokens (kevin.flanagan@passage.id) - Drop manually setting the cred_type (1934806+himichaelroberts@users.noreply.github.com) - Include Location Search and Hash in MagicLinkPath (1934806+himichaelroberts@users.noreply.github.com) ## 3.3.0 Thu, 06 Apr 2023 14:48:06 GMT ### Minor changes - add one time passcode support (""blayne.bayer@passage.id"") ### Patches - update fallback_auth to auth_fallback_method and fallback_auth_ttl to auth_fallback_method_ttl (""blayne.bayer@passage.id"") ## 3.2.0 Thu, 30 Mar 2023 19:05:43 GMT ### Minor changes - Use new WebAuthUtils package. Improve package.json ESM export definition for next.js (kevin.flanagan@passage.id) - Use new webauthnutility package (kevin.flanagan@passage.id) ## 3.1.0 Wed, 08 Mar 2023 17:55:14 GMT ### Minor changes - improvements to management of psg_cred_obj (kevin.flanagan@passage.id) - improve support for cloud-synced passkeys (kevin.flanagan@passage.id) ### Patches - enabled getting passkeys on android (kevin.flanagan@passage.id) ## 3.0.1 Mon, 27 Feb 2023 16:24:27 GMT ### Minor changes - Capture Event method and upload sourcemaps to Sentry (""blayne.bayer@passage.id"") ## 3.0.1 Mon, 23 Jan 2023 20:25:02 GMT ### Patches - correctly decode challenge in magic-link webauthn login (chris.loper@passage.id) ## 3.0.0 Thu, 19 Jan 2023 20:04:46 GMT ### Major changes - New TokenStore architecture for managing auth and refresh tokens with a framework for advanced user-customization (kevin.flanagan@passage.id) - Reorganization of User class into User class and Session class for cleaner division of responsibilities. User class is responsible for getting information about the current user via a Passage-managed JWT or externally managed token. Session class provides helper methods to manage user sessions via refresh tokens. (kevin.flanagan@passage.id) ### Patches - getTransports() for created credentials (chris.loper@passage.id) - update challenge decoding in login flows (chris.loper@passage.id) - Update PassageDevice type to include user_id (mac.evans@passage.id) - increase timeout for checking platform webuathn compatability (chris.loper@passage.id) ## 2.6.3 Wed, 09 Nov 2022 20:09:31 GMT ### Patches - remove private registery, remove beta prerelease from passage-elements (""blayne.bayer@passage.id"") ## 2.6.2 Mon, 03 Oct 2022 19:32:03 GMT ### Patches - add sdk version header to fetch requests (luis.ramirez@passage.id) - PSG-1016: remove base64 padding without regex (luis.ramirez@passage.id) ## 2.6.1 Mon, 26 Sep 2022 16:03:36 GMT ### Patches - improvements for use with next.js (kevin.flanagan@passage.id) ## 2.6.0 Wed, 21 Sep 2022 15:43:11 GMT ### Minor changes - support passing language strings for magic links (kevin.flanagan@passage.id) ### Patches - Fix issue with refreshing an expired JWT (kevin.flanagan@passage.id) ## 2.5.2 Wed, 14 Sep 2022 16:41:05 GMT ### Patches - enable webauthn in brave browser (luis.ramirez@passage.id) - add default_language to app info (kevin.flanagan@passage.id) ## 2.5.1 Thu, 08 Sep 2022 15:18:10 GMT ### Patches - restore signOut & store refreshed auth token correctly (luis.ramirez@passage.id) ## 2.5.0 Tue, 06 Sep 2022 19:33:34 GMT ### Minor changes - Support for identifying Passkeys (kevin.flanagan@passage.id) ## 2.4.0 Thu, 01 Sep 2022 20:43:21 GMT ### Minor changes - add refresh methods (luis.ramirez@passage.id) ## 2.3.6 Mon, 25 Jul 2022 17:30:37 GMT ### Patches - require_identifier_verification (chris.loper@passage.id) ## 2.3.5 Wed, 13 Jul 2022 22:16:25 GMT ### Patches - add last_login_at to device type (luis.ramirez@passage.id) ## 2.3.4 Wed, 06 Jul 2022 20:06:42 GMT ### Patches - Compatibility changes for typescript versrions < 3.8 (blayne.bayer@passage.id) ## 2.3.3 Fri, 03 Jun 2022 17:51:06 GMT ### Patches - add pubic_signup to PassageAppInfo interface (1934806+himichaelroberts@users.noreply.github.com) ## 2.3.2 Fri, 03 Jun 2022 14:55:12 GMT ### Patches - update for new iss in JWT (chris.loper@passage.id) ## 2.3.1 Thu, 19 May 2022 19:41:02 GMT ### Patches - workaround for embedded iOS WKWebView WebKit bug 237380 (kevin.flanagan@passage.id) ## 2.3.0 Tue, 10 May 2022 19:59:19 GMT ### Minor changes - user metadata support for passage-js (kevin.flanagan@passage.id) ## 2.2.1 Tue, 03 May 2022 20:27:28 GMT ### Patches - standardize user status enum (kevin.flanagan@passage.id) ## 2.2.0 Mon, 02 May 2022 00:39:45 GMT ### Minor changes - Passage createUser method will now error for invalid user metadata fields (dylan.brookes@passage.id) ## 2.1.0 Fri, 22 Apr 2022 18:48:55 GMT ### Minor changes - Passage createUser method added (dylan.brookes@passage.id) ## 2.0.6 Tue, 12 Apr 2022 14:10:14 GMT ### Patches - allow removing email or phone by setting an empty string (kevin.flanagan@passage.id) ## 2.0.5 Wed, 06 Apr 2022 17:28:41 GMT ### Patches - store cred_id on add device (kevin.flanagan@passage.id) ## 2.0.4 Tue, 05 Apr 2022 16:29:18 GMT ### Patches - export PassageDevice type information (kevin.flanagan@passage.id) ## 2.0.3 Fri, 01 Apr 2022 21:42:04 GMT ### Patches - firefox 98 win patch (chris.loper@passage.id) ## 2.0.2 Tue, 15 Mar 2022 22:19:47 GMT ### Patches - PassageUser mishandling claims (anna.pobletts@gmail.com) ## 2.0.1 Wed, 02 Mar 2022 17:47:51 GMT ### Patches - remove extra device type (anna.pobletts@gmail.com) ## 2.0.0 Fri, 18 Feb 2022 16:21:04 GMT ### Major changes - New PassageError class, route modifications, added User method deleteDevice (dylan.brookes@passage.id) ## 1.8.0 Thu, 10 Feb 2022 19:29:08 GMT ### Minor changes - CurrentUser methods added: changeEmail, changePhone, editDevice, listDevices, addDevice (dylan.brookes@passage.id) ## 1.7.0 Thu, 03 Feb 2022 20:39:28 GMT ### Minor changes - update webauthn login start (chris.loper@passage.id) ## 1.6.1 Fri, 28 Jan 2022 19:03:41 GMT ### Patches - build tweak (kevin.flanagan@passage.id) ## 1.6.0 Fri, 28 Jan 2022 18:51:59 GMT ### Minor changes - Added user class to retrieve currentuser information from an application (dylan.brookes@passage.id) ## 1.5.0 Thu, 13 Jan 2022 23:20:26 GMT ### Minor changes - type safety refinement (dylan.brookes@passage.id)