Skip to content

Instantly share code, notes, and snippets.

@ikovic
Created November 15, 2023 09:37
Show Gist options
  • Save ikovic/9d14fd61461155d18ccbce75fb5c0b8d to your computer and use it in GitHub Desktop.
Save ikovic/9d14fd61461155d18ccbce75fb5c0b8d to your computer and use it in GitHub Desktop.
SlashID updates - 3.1.0. -> 3.15.0

@slashid/slashid

3.15.0

Minor Changes

  • 25e6cd620: Add support for SAML authentication factor

Patch Changes

  • 82276b3e1: Throw a RateLimitError when /id call fails with status 429

3.14.2

Patch Changes

  • 3eab449fd: Do not create a new SDK instance when tracking login success events

3.14.1

Patch Changes

  • 200c3fb69: Added Okta as OAuth provider

3.14.0

Minor Changes

  • d4a5a5a37: Add getHandles() method to User

Patch Changes

  • 9742f269a: Upgrade or remove vulnerable dependencies
  • dbba549f0: fix: bad state during mfa flow

3.13.2

Patch Changes

  • 8a3db70b1: fix: user object should always serialise to string

3.13.1

Patch Changes

  • 6c5c72a15: Clear stale token at each login

3.13.0

Minor Changes

  • 33717b6ed: Enable OTP via e-mail authentication method

Patch Changes

  • e7e51a9bb: Improved the inline documentation.

3.12.0

Minor Changes

  • 22e3f01b5: Expose the user token and token container claims on the User class

3.11.0

Minor Changes

  • 104b2aa02: Added fields and methods to the User class: oid, getOrganizations, getTokenForOrganization

3.10.0

Minor Changes

  • fd3c7c3d1: Add the GDPR methods API

Patch Changes

  • 0da5ebe27: Add compatability for create-react-app 4.0.3

3.9.0

Minor Changes

  • 7d1ef56bc: Remove AccessToken and RefreshToken from OIDCTokens and do not revoke OIDC tokens on logout

Patch Changes

  • 37ca72d4c: Add the azuread OIDC provider
  • 55f6463ef: Extend the support for ESM and CommonJS so nextjs can work properly
  • a9032010b: Update the client codegen in order to reduce the bundle size
  • c414facc7: remove id_token from OIDC token

3.8.1

Patch Changes

  • c163035a2: Clear the token from SlashID instance at the end of id() method

3.8.0

Minor Changes

  • 08fccc928: Update API client
  • 08fccc928: Add the analytics API

3.7.0

Minor Changes

  • 9eec18e89: Extend WebAuthn factor options with user_verification, resident_key and attestation properties.

3.6.5

Patch Changes

  • 52a0ee42b: throw an error if an handle is passed to oidc
  • 641a153c9: throw if an handle is passed with oidc as an authentication method
  • dd6c1c6f6: update default cdn

3.6.4

Patch Changes

  • 3d3e8586a: Fix TS error

3.6.3

Patch Changes

  • 90f0503d: Resolve TypeScript errors in generated types declarations file, add bundle size check

3.6.2

Patch Changes

  • 43864d25: Make the package public

3.6.1

Patch Changes

  • 60b5f7a7: Fix the TS declaration file for SSR export

3.6.0

Minor Changes

  • 0c44465e: Add the User.createDirectID method to allow creating personal directID tokens

3.5.0

Minor Changes

  • 56c1d45d: Adding support for SSR to User class

3.4.0

Minor Changes

  • 5a090628: Add the SlashID.getUser method

3.3.2

Patch Changes

  • 594b5edc: Improve the inline docs

3.3.1

Patch Changes

  • bf3cde65: Switched the generated API client to OpenAPI generator

3.3.0

Minor Changes

  • 3530d580: Add the idFlowStarted and idFlowFailed events

Patch Changes

  • 473081d0: exit

3.2.0

Minor Changes

  • eba90c81: Added the Bucket API for working with bucketed attributes. Added a deprecation warning to User.set, User.get and User.delete.

Patch Changes

  • afef636c: Update attributes documentation

3.1.0

Minor Changes

  • 1b407890: Add the User.getGroups method

Patch Changes

  • 1b407890: Add groups claim name claim to the slashid user JWT definition

3.0.0

Major Changes

  • d25034f04: Introduce attribute buckets
  • db5434777: Update attributes API with sharing scope and permissions

Patch Changes

  • 9f76d890: User.get and User.set accept generic parameters
  • 92235686: Update documentation for attributes

2.0.0

Major Changes

  • 8e447223: Bucketed attributes
  • 01598ea1: Adding attributes v2 support

Minor Changes

  • 369c7621: use an enum for groups options
  • db61203e: Add audience claim to tokens
  • c40238dd: update oidc cred creation
  • 8e7532d4: add option to fetch groups from external IDP in OIDC flows

Patch Changes

  • b8ce8be5: Docs update
  • 7b4ec07d: add oidc token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment