Skip to content

Releases: themost-framework/test

Version 1.0.10

20 Oct 10:56
4d06325
Compare
Choose a tag to compare

Changelog

  • Add script for starting test api

Version 1.0.9

21 Apr 05:30
2786b34
Compare
Choose a tag to compare
Add cors middleware (#19)

* add cors middleware

* 1.0.9

Version 1.0.8

19 Apr 09:05
91214c1
Compare
Choose a tag to compare

Changelog

  • A new login page allows interactive login in order to test implicit authorization flow for public clients. A public client may redirect user to login page e.g. /auth/login/?client_id=9165351833584149&scope=profile&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fauth%2Fcallback%20
    After login process, user will be redirected back to the specified callback uri with implicit authorization flow params:http://localhost:4200/auth/callback?access_token=DDL8qXMJ5HxQhf4ef...8TLcLbhZWLoV&scope=profile&refresh_token=wxfKeJSdB9kmrpsDBmu...9Pa4W9kB8W
    Client application should handle access_token param and start using test api with bearer authorization.

Version 1.0.7

15 Feb 09:46
770c6d7
Compare
Choose a tag to compare
correct themost modules root dependencies (#9)

Version 1.0.6

17 Dec 07:21
4f10544
Compare
Choose a tag to compare

Export TEST_CLIENT_ID and TEST_CLIENT_SECRET for testing

Version 1.0.5

12 Dec 18:52
55f6bea
Compare
Choose a tag to compare
add license file (#7)

Version 1.0.4

12 Dec 17:14
2372f98
Compare
Choose a tag to compare

@themost/test implements two new methods:

  1. Use getApplication() in order to init test api server:
import {getApplication} from '@themost/test';
const app = getApplication();
  1. Use serveApplication() in order to serve test api server:
import {getApplication, serveApplication} from '@themost/test';
const app = getApplication();
const server = serveApplication(app);

Version 1.0.3

12 Dec 08:21
121ae6b
Compare
Choose a tag to compare
correct passport authorization (#4)

Version 1.0.2

11 Dec 19:50
de8cfcf
Compare
Choose a tag to compare
update project dependencies (#3)

Version 1.0.1

08 Dec 14:19
5a304e0
Compare
Choose a tag to compare
Update package.json