Skip to content

Releases: kinde-oss/js-utils

Release 0.8.0

18 Feb 14:55
Compare
Choose a tag to compare
  • feat: Add option to disable url sanitation (be656bf)
  • update all non-major dependencies (6e93a32)
  • fix: loginMethodParams now a Partial (eb48810)

Release 0.7.3

12 Feb 20:35
Compare
Choose a tag to compare
  • fix: false boolean flag returning null (b106a45)

Release 0.7.2

08 Feb 20:12
Compare
Choose a tag to compare
  • feat: get claims from either token (e84085b)

  • feat: update SDK usage metrics (e688e22)

  • feat: export refresh timer methods (490fdb0)

  • fix: custom domain auto refresh (4738ed4)

  • fix: state passed to generateAuthUrl not stored in state (02e34ae)

  • fix: stronger typing on exchange code return type (17a6770)

  • fix: non prod kinde domains (24be712)

  • fix: only show production warning when explicity setting the 'useInsecureForRefreshToken' (958f4ed)

  • fix: insecure token storage when using no non custom domain (7338321)

  • chore(deps): update all non-major dependencies (fda724b)

Release 0.7.1

20 Jan 17:49
Compare
Choose a tag to compare
  • fix: custom domain with http prefix (17c9007)

Release 0.7.0

20 Jan 13:45
Compare
Choose a tag to compare
  • feat: support cookie based refresh tokens (9b67701)
  • fix: support generation authentication URLs in react native (a366af2)
  • feat: add code verifier to generateAuthUrl response (2d2eff4)

Release 0.6.0

07 Jan 18:25
Compare
Choose a tag to compare
  • feat: add isCustomDomain utility method. (f14cdf6)
  • fix: prompt behavour
  • Update dependancies

Release 0.5.0

25 Nov 23:04
Compare
Choose a tag to compare
  • BREAKING CHANGE: Make generateAuthUrl async (78a96b6)
  • fix: remove releaseId (8fbb73f)
  • fix: deployment id url parameter (82aed0a)
  • fix: incorrect react-native requirement (ba1f131)
  • chore: allow ts-ignore in test (4b0efcf)
  • fix: correct incorrect spelling (6012806)
  • test: expand refresh token tests (5c2089f)
  • fix: done make refreshTimer exported (014461e)
  • test: fix unit tests (fe8e4c0)
  • feat: auto refresh token after code exchange (c2c875f)
  • fix: vite exports for builds (ce4f2ce)
  • feat: insecure storage support (c0abe4e)
  • fix: correct spelling of sanitizeUrl (742f5a7)
  • feat: updates (c7b873e)
  • fix: preseve browser state (e0d39fd)
  • test: minor updates (b6877c0)
  • fix: error handling improvements and improved security (00a554f)
  • feat: add handling bad responses from token endpoint (d033a0d)
  • fix: await removing storage items (4f0e74b)
  • feat: improve splitString (c78f029)
  • fix: IsAuthenticatedPropsWithRefreshToken interface (561489c)
  • chore: update test config (7c866c1)
  • chore: lint (eff28e6)
  • test: update tests (3243c4e)
  • feat: added framework settings config and expanded tests (62ebed6)
  • chore: remove incomplete store. (5ba4864)
  • chore: update lock (b33533e)
  • chore: lint and remove only from tests (912a7cb)
  • feat: add exchangeAuthCode method (eb514ce)
  • feat: add remove multiple items support from store (8c9474c)
  • fix: extend code verifier (7c649b4)
  • chore: clean up tests (f8f605a)
  • chore: lint (bd82a91)
  • feat: add clearActiveStorage and tests (6e2399f)
  • fix: add missing StorageKey (05e7203)
  • fix: PR updates (3658bc4)
  • feat: added hasActiveStorage and JSDocs (8daa59d)
  • test: fix tests (19ccb41)
  • Merge branch 'main' into fix/generateAuthUrl (b4fde7a)
  • test: fix tests (d8313d7)
  • Merge pull request #16 from kinde-oss/feat/storageSetItems (f379624)
  • chore: lint (aa264e8)
  • fix: solidify types more (69e55c1)
  • chore: remove console log (cd668a8)
  • chore: lint (6bc8a98)
  • fix: update LocalStorage and fix types (f2384a1)
  • feat: add setItems to storage (b085335)
  • tests: fix tests (c110df8)
  • fix: remove exception when no state (3c00453)
  • fix: couple of small updates to generateAuthUrl, including auto setting store with nonce and state. (e0e2422)
  • test: add new methods to export test (721f088)
  • test: fix tests (8f0139b)
  • feat: add localStorage production warning (3fb9290)
  • feat: added localStorage store (38707bf)
  • feat: add workflowId and ReleaseId query params (d9d723b)
  • test: add tests for isAuthenticated and refreshToken (c765e7d)
  • feat: add isAuthenticated and refreshToken functions (6ae7ec2)

Full Changelog: 0.4.1...0.5.0

Release 0.4.1

23 Sep 22:15
Compare
Choose a tag to compare
  • fix: token utility export (3ee4b53)

Release 0.4.0

23 Sep 19:39
Compare
Choose a tag to compare

🚀 Enhancements

  • Add activeStorage, getDecodedToken and getUserOrganisations (2221169)
  • Added getRoles and extended test coverage (0b03912)
  • Add error when no sub in idtoken and getting user (d34ee6e)

🩹 Fixes

📖 Documentation

🏡 Chore

  • deps-dev: Bump vite in the npm_and_yarn group across 1 directory (d29cf4b)

Release 0.3.0

11 Sep 19:11
Compare
Choose a tag to compare
  • fix: return null when item doesn't exist from expo store (80d76c4)
  • fix: ensure expo storage is loaded before using. (7245aaa)
  • feat: add nonce external definition and remove redundant code random generator calls (3010015)
  • fix: make generateRandomString work when not crypto (12bce7d)
  • test: skip expo tests until mocked (ae77939)
  • feat: add expo secure store session manager (e86dd0f)
  • feat: add nonce to StorageKeys (587a9f6)
  • chore: correct js doc for chrome store (925b8ba)