Hugh Nimmo-Smith
ff1db2b538
Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule ( #4680 )
...
* Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule
* Re-lint after merge
2025-02-05 12:15:20 +00:00
Johannes Marbach
05ba27f36b
Change imports for Node.js compatibility ( #4377 )
...
* Change imports for Node.js compatibility
Fixes : #4287
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
* Run prettier
* Run prettier (again)
* Add comment
* Update babel.config.cjs
---------
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org >
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-08-29 15:56:32 +00:00
Michael Telatynski
f03dd7b7bc
Remove deprecated methods and fields ( #4201 )
...
* Remove legacy `threepidCreds` field
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove deprecated shouldUpgradeToVersion
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove `added` legacy login request field
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove deprecated re-exports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Remove `home_server` field
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update imports in tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-05-15 15:23:04 +00:00
Hugh Nimmo-Smith
e2a2039aa8
Remove deprecated support for unstable MSC3882 ( #3755 )
...
* Support for stable MSC3882 get_login_token
* Make changes non-breaking by deprecation
* Remove deprecated exports from MSC3882 stabilisation
* Feat remove support for unstable MSC3882
* Remove bad line from rebase
2023-10-31 17:15:54 +00:00
Hugh Nimmo-Smith
f33da83d90
Support for stable MSC3882 get_login_token ( #3416 )
...
* Support for stable MSC3882 get_login_token
* Make changes non-breaking by deprecation
* Update src/@types/auth.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update spec/integ/matrix-client-methods.spec.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Suggestions from review
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Fix and test prefix behaviour
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
Co-authored-by: Andy Balaam <andy.balaam@matrix.org >
2023-09-29 13:14:22 +00:00
Michael Telatynski
1c1ac137d3
Improve types around login, registration, UIA and identity servers ( #3537 )
2023-07-04 14:49:24 +01:00
Hugh Nimmo-Smith
59784aa9fe
Support for MSC3882 revision 1 ( #3228 )
...
* Support for MSC3882 revision 1
* Additional comments
* Revised field names
* Use UnstableValue for capability
2023-04-05 16:12:29 +00:00
Hugh Nimmo-Smith
dacef048be
Typings for MSC3824 ( #2691 )
2022-09-23 16:23:50 -06:00
Hugh Nimmo-Smith
caadc6f95b
Implementation of MSC3882 login token request ( #2687 )
2022-09-22 16:36:37 +01:00
Hugh Nimmo-Smith
39bc7e2bb3
Refer to explicit Matrix spec versions instead of Latest ( #2668 )
2022-09-22 15:28:11 +00:00
Hugh Nimmo-Smith
a57c430b09
Implementation of MSC3824 to add action= param on SSO login ( #2398 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-09-11 21:18:33 +00:00
Hugh Nimmo-Smith
583e48086b
Add login flow types from matrix-react-sdk ( #2633 )
...
Co-authored-by: Faye Duxovni <fayed@element.io >
2022-09-11 21:50:10 +01:00
Travis Ralston
e86d8861b9
Add functions to support refresh tokens ( #2178 )
...
* Add functions for refreshing access tokens
* Add function to change the client's access token in flight
* Appease the linter
* Use sensible code style
2022-02-15 20:07:36 +00:00