4c78b51ec7
fix: merge conflicts. remove import in quickstart
2023-03-03 12:49:56 +01:00
a5e9f662e6
chore: optimize imports ( #634 )
2023-03-03 12:10:25 +01:00
c4cbf6e473
Merge pull request #612 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/eslint-8.35.0
...
chore(deps-dev): bump eslint from 8.33.0 to 8.35.0 in /frontend/frontend-sdk
2023-03-03 11:54:31 +01:00
5aa9e0c010
chore(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.51.0 to 5.54.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.54.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:40:51 +00:00
a868714616
chore(deps-dev): bump eslint in /frontend/frontend-sdk
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.33.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.35.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:40:35 +00:00
2804b3dd2b
chore(deps): bump @types/js-cookie in /frontend/frontend-sdk
...
Bumps [@types/js-cookie](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-cookie ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-cookie )
---
updated-dependencies:
- dependency-name: "@types/js-cookie"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:07:04 +00:00
e7a5c2df27
Feat: Add logout method to sdk ( #566 )
...
* Add endpoint to invalidate HTTP-Only cookie from the backend
* Add methods to the UserClient SDK for logout
* Remove session token fetch and add unit test for logout
* Update public router to use JWT middleware
* Add logout button to frontend. Route back to login page once logout is successful.
* Add a logout failur event
* Update logout logic in SDK
* Remove unneeded endpoint from main.go
* Update logoutlink reference
* Fix request path; undo change in package order
* Update common.css to incldue hanko-logout
* feat(fronend-sdk): remove cookie during cross-domain operations
* fix(frontend-sdk): No unauthorized error during logout, when the user is already logged out
* feat(backend): Create an audit log entry when the user logs off
* chore(frontend-sdk): re-generate jsdoc
* fix: Adjust logout response codes and the corresponding frontend sdk error handling
* chore(frontend-sdk): re-generate jsdoc
* feat: add logout endpoint specification to the docs
* Fix broken unit test
* Remove logout button from elements
* Add event listener on frontend to call the logout method from SDK
* Rollback changes to SecuredContent on e2e tests
* Update logout test on user
* Update quickstart/public/assets/css/common.css
Co-authored-by: bjoern-m <56024829+bjoern-m@users.noreply.github.com>
---------
Co-authored-by: Björn Müller <bjoern.mueller@hanko.io>
Co-authored-by: bjoern-m <56024829+bjoern-m@users.noreply.github.com>
2023-03-03 10:48:33 +01:00
11362cf006
fix: fix merge conflicts
2023-02-28 15:47:33 +01:00
6d122c3e36
Merge pull request #604 from teamhanko/feat-release-frontend-sdk
...
chore: update frontend-sdk 0.2.0
2023-02-27 12:38:57 +01:00
8501072ec0
chore: update package-lock.json
2023-02-27 12:31:11 +01:00
0df3e1b286
chore: update frontend-sdk 0.2.0
2023-02-27 12:10:29 +01:00
b97f051009
Feat: display last used time of WebAuthn credentials ( #600 )
...
* display last used time of the webauthn credentials
2023-02-27 10:52:52 +01:00
ee762395cd
chore: vue and svelte not working
2023-02-24 11:59:10 +01:00
a55e6ecd0f
nextjs: somehow working
2023-02-24 09:29:52 +01:00
eec7a473a5
feat: add third party integrations
...
add third party integrations
2023-02-23 13:05:05 +01:00
9561801293
chore(deps-dev): bump jsdoc in /frontend/frontend-sdk
...
Bumps [jsdoc](https://github.com/jsdoc/jsdoc ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/jsdoc/jsdoc/releases )
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.1/CHANGES.md )
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.0...4.0.1 )
---
updated-dependencies:
- dependency-name: jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 20:04:50 +00:00
b39641cc54
chore(deps-dev): bump jest-environment-jsdom in /frontend/frontend-sdk
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.4.2 to 29.4.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.3/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 10:40:42 +00:00
90ce09be07
chore(deps-dev): bump jest in /frontend/frontend-sdk
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 29.4.2 to 29.4.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.3/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 20:06:34 +00:00
47149ebfde
Merge pull request #573 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/eslint-8.34.0
...
chore(deps-dev): bump eslint from 8.33.0 to 8.34.0 in /frontend/frontend-sdk
2023-02-14 14:04:16 +01:00
5a4a82b0e0
chore(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.51.0 to 5.52.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.52.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 12:15:57 +00:00
b632646f5c
chore(deps-dev): bump eslint in /frontend/frontend-sdk
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.33.0 to 8.34.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.34.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 12:15:42 +00:00
885e535a8f
chore(deps-dev): bump jest-environment-jsdom in /frontend/frontend-sdk
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.4.1 to 29.4.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.2/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 09:17:08 +00:00
9477debb09
chore(deps-dev): bump jest in /frontend/frontend-sdk
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 29.4.1 to 29.4.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.2/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 19:14:07 +00:00
04a32b8324
chore(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.50.0 to 5.51.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.51.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 07:06:53 +00:00
b2d8c33d73
Merge pull request #544 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/github/webauthn-json-2.1.1
...
chore(deps-dev): bump @github/webauthn-json from 2.1.0 to 2.1.1 in /frontend/frontend-sdk
2023-02-01 10:12:42 +01:00
7c62a2d300
Merge pull request #543 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/typescript-4.9.5
...
chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 in /frontend/frontend-sdk
2023-02-01 10:12:01 +01:00
9412ad7004
Merge pull request #541 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/typescript-eslint/eslint-plugin-5.50.0
...
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 in /frontend/frontend-sdk
2023-02-01 10:11:14 +01:00
676bdf47ec
chore(deps-dev): bump @github/webauthn-json in /frontend/frontend-sdk
...
Bumps [@github/webauthn-json](https://github.com/github/webauthn-json ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/github/webauthn-json/releases )
- [Commits](https://github.com/github/webauthn-json/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: "@github/webauthn-json"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 19:11:50 +00:00
6fabaa400e
chore(deps-dev): bump typescript in /frontend/frontend-sdk
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.4...v4.9.5 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 19:11:35 +00:00
fc2af17555
chore(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.49.0 to 5.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.50.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 19:11:12 +00:00
dff3267670
chore(deps-dev): bump eslint in /frontend/frontend-sdk
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.32.0 to 8.33.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.32.0...v8.33.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 19:20:06 +00:00
4b4f19345d
fix: too many request errors will be restored properly
2023-01-27 17:47:35 +01:00
97c2e53901
fix: bump frontend-sdk version
2023-01-27 11:42:31 +01:00
8e25bff45d
Adjust method to parse the retry after header ( #524 )
...
* fix(frontend-sdk): correct method to parse the retry after header and add tests
2023-01-27 10:50:11 +01:00
8ad8de3c53
Merge pull request #511 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/github/webauthn-json-2.1.0
...
chore(deps-dev): bump @github/webauthn-json from 2.0.1 to 2.1.0 in /frontend/frontend-sdk
2023-01-27 10:06:26 +01:00
5b8f1d1f24
chore(deps-dev): bump @github/webauthn-json in /frontend/frontend-sdk
...
Bumps [@github/webauthn-json](https://github.com/github/webauthn-json ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/github/webauthn-json/releases )
- [Commits](https://github.com/github/webauthn-json/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: "@github/webauthn-json"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 08:01:25 +00:00
03e2b319b9
chore(deps-dev): bump jest-environment-jsdom in /frontend/frontend-sdk
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 08:01:07 +00:00
f65e08cbfc
chore(deps-dev): bump jest and @types/jest in /frontend/frontend-sdk
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ). These dependencies needed to be updated together.
Updates `jest` from 29.3.1 to 29.4.1
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest )
Updates `@types/jest` from 29.2.3 to 29.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 19:11:13 +00:00
c537f6aca1
Merge pull request #513 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/ts-jest-29.0.5
...
chore(deps-dev): bump ts-jest from 29.0.3 to 29.0.5 in /frontend/frontend-sdk
2023-01-26 13:34:24 +01:00
41249302d8
chore(deps-dev): bump ts-jest in /frontend/frontend-sdk
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 29.0.3 to 29.0.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.0.3...v29.0.5 )
---
updated-dependencies:
- dependency-name: ts-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 12:23:28 +00:00
65577ea0cd
chore(deps-dev): bump eslint-config-prettier in /frontend/frontend-sdk
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v8.6.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 12:21:27 +00:00
b4a3cfda99
Merge pull request #517 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/jest-environment-jsdom-29.4.0
...
chore(deps-dev): bump jest-environment-jsdom from 29.3.1 to 29.4.0 in /frontend/frontend-sdk
2023-01-26 13:21:01 +01:00
10a16d507f
chore(deps-dev): bump typescript in /frontend/frontend-sdk
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.3 to 4.9.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.3...v4.9.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 19:14:27 +00:00
bba19a8e77
chore(deps-dev): bump jest-environment-jsdom in /frontend/frontend-sdk
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.3.1 to 29.4.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.0/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 19:13:56 +00:00
ad32bf344b
chore(deps): bump json5 from 2.2.1 to 2.2.3 in /frontend/frontend-sdk
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 17:20:02 +00:00
75eb675fab
fix: fix merge conflicts
2023-01-25 14:15:57 +01:00
fdb3f2dd17
Merge pull request #493 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/eslint-8.32.0
...
chore(deps-dev): bump eslint from 8.28.0 to 8.32.0 in /frontend/frontend-sdk
2023-01-25 11:51:16 +01:00
d1d7281611
Merge pull request #503 from teamhanko/dependabot/npm_and_yarn/frontend/frontend-sdk/typescript-eslint/eslint-plugin-5.49.0
...
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.49.0 in /frontend/frontend-sdk
2023-01-25 11:50:24 +01:00
ddda0f6cef
Merge branch 'main' into feat-basic-rate-limiting
2023-01-25 11:42:45 +01:00
891f8c65ef
chore(deps-dev): bump ts-loader in /frontend/frontend-sdk
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.4.1 to 9.4.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/9.4.1...v9.4.2 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 10:37:31 +00:00