Skip to content

Commit

Permalink
Merge pull request #11 from l3onh4rd/int
Browse files Browse the repository at this point in the history
PR - release 0.2.0
  • Loading branch information
l3onh4rd authored Sep 7, 2022
2 parents 7b6cc28 + 1f63431 commit 386f1f5
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 18 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog of WebDev Notes Microservice (Deno)

## 0.2.0

### Features

- jwt token is valid for 1 hours

### Updates

- updated deno to v1.25.1
- updated std to v0.154.0
- updated deno to v1.25.0
- updated std to v0.153.0
- updated deno to v1.24.3
- updated std to v0.152.0

## 0.1.0

### Features
Expand Down
28 changes: 14 additions & 14 deletions lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
"https://deno.land/[email protected]/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9",
"https://deno.land/[email protected]/path/win32.ts": "e7bdf63e8d9982b4d8a01ef5689425c93310ece950e517476e22af10f41a136e",
"https://deno.land/[email protected]/streams/conversion.ts": "fec481215c9c376047e7cc4251933c37f00708b2a582ee39b320c6e0a7e1e379",
"https://deno.land/std@0.151.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74",
"https://deno.land/std@0.151.0/_util/deep_assign.ts": "52d4ed44314c5c22e9346264d1ef6c204debf3289be9f5c3c8cf3e8668595113",
"https://deno.land/std@0.151.0/bytes/equals.ts": "3c3558c3ae85526f84510aa2b48ab2ad7bdd899e2e0f5b7a8ffc85acb3a6043a",
"https://deno.land/std@0.151.0/bytes/mod.ts": "763f97d33051cc3f28af1a688dfe2830841192a9fea0cbaa55f927b49d49d0bf",
"https://deno.land/std@0.151.0/fmt/colors.ts": "6f9340b7fb8cc25a993a99e5efc56fe81bb5af284ff412129dd06df06f53c0b4",
"https://deno.land/std@0.151.0/testing/_diff.ts": "029a00560b0d534bc0046f1bce4bd36b3b41ada3f2a3178c85686eb2ff5f1413",
"https://deno.land/std@0.151.0/testing/_format.ts": "0d8dc79eab15b67cdc532826213bbe05bccfd276ca473a50a3fc7bbfb7260642",
"https://deno.land/std@0.151.0/testing/asserts.ts": "0ee58a557ac764e762c62bb21f00e7d897e3919e71be38b2d574fb441d721005",
"https://deno.land/std@0.151.0/testing/bench.ts": "636b601ed9a56277ea7eba86a71065d233db11a650706d07e80276d59d696f8c",
"https://deno.land/std@0.151.0/uuid/_common.ts": "76e1fdfb03aecf733f7b3a5edc900f5734f2433b359fdb1535f8de72873bdb3f",
"https://deno.land/std@0.151.0/uuid/mod.ts": "7b5d5142fb15dd8ca96561c29d92ba8e7158dcc8c2742cf410ace17004385eac",
"https://deno.land/std@0.151.0/uuid/v1.ts": "7123410ef9ce980a4f2e54a586ccde5ed7063f6f119a70d86eebd92f8e100295",
"https://deno.land/std@0.151.0/uuid/v4.ts": "1f16be927bcca5cafb2408f3b2f205c2a4e54c58f56775770e2d3d20dfb21f70",
"https://deno.land/std@0.151.0/uuid/v5.ts": "1cf2d86112afe0d5d291fbfc3b9729f3cf8524c4eb7d613011d029e45d6194f6",
"https://deno.land/std@0.154.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74",
"https://deno.land/std@0.154.0/_util/deep_assign.ts": "45ffecd81eeb8a67703f3bc2114c36f4e97b4b6f660ec69ab80e3618553c7f0b",
"https://deno.land/std@0.154.0/bytes/equals.ts": "3c3558c3ae85526f84510aa2b48ab2ad7bdd899e2e0f5b7a8ffc85acb3a6043a",
"https://deno.land/std@0.154.0/bytes/mod.ts": "763f97d33051cc3f28af1a688dfe2830841192a9fea0cbaa55f927b49d49d0bf",
"https://deno.land/std@0.154.0/fmt/colors.ts": "ff7dc9c9f33a72bd48bc24b21bbc1b4545d8494a431f17894dbc5fe92a938fc4",
"https://deno.land/std@0.154.0/testing/_diff.ts": "141f978a283defc367eeee3ff7b58aa8763cf7c8e0c585132eae614468e9d7b8",
"https://deno.land/std@0.154.0/testing/_format.ts": "cd11136e1797791045e639e9f0f4640d5b4166148796cad37e6ef75f7d7f3832",
"https://deno.land/std@0.154.0/testing/asserts.ts": "ac295f7fd22a7af107580e2475402a8c386cb1bf18bf837ae266ac0665786026",
"https://deno.land/std@0.154.0/testing/bench.ts": "b973d701fdd4341a0e74dffe472c66241a355cd4f0ca6394b80a7efb9910cd3a",
"https://deno.land/std@0.154.0/uuid/_common.ts": "76e1fdfb03aecf733f7b3a5edc900f5734f2433b359fdb1535f8de72873bdb3f",
"https://deno.land/std@0.154.0/uuid/mod.ts": "6bafe8ea884f9c0248d0966a301c85ee1c5e1de3659f2d84f224529415e63d6d",
"https://deno.land/std@0.154.0/uuid/v1.ts": "7123410ef9ce980a4f2e54a586ccde5ed7063f6f119a70d86eebd92f8e100295",
"https://deno.land/std@0.154.0/uuid/v4.ts": "1f16be927bcca5cafb2408f3b2f205c2a4e54c58f56775770e2d3d20dfb21f70",
"https://deno.land/std@0.154.0/uuid/v5.ts": "1cf2d86112afe0d5d291fbfc3b9729f3cf8524c4eb7d613011d029e45d6194f6",
"https://deno.land/x/[email protected]/mod.ts": "ff09bdae282583cf5f7d87efe37ddcecef7f14f6d12e8b8066a3058db8c6c2f7",
"https://deno.land/x/[email protected]/src/bcrypt/base64.ts": "b8266450a4f1eb6960f60f2f7986afc4dde6b45bd2d7ee7ba10789e67e17b9f7",
"https://deno.land/x/[email protected]/src/bcrypt/bcrypt.ts": "ec221648cc6453ea5e3803bc817c01157dada06aa6f7a0ba6b9f87aae32b21e2",
Expand Down
2 changes: 1 addition & 1 deletion src/controller/login/auth_login_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function proceedLogin(user_response: any, ctx: Context) {
iss: String(
user_response.document.username + user_response.document.password,
),
exp: getNumericDate(300),
exp: getNumericDate(3600),
};
// Create JWT and send it to user
const jwt = await create(header, payload, key);
Expand Down
6 changes: 3 additions & 3 deletions src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export {
export type { Header, Payload } from "https://deno.land/x/[email protected]/mod.ts";

// deno std dependencies
export * as benchmark from "https://deno.land/std@0.151.0/testing/bench.ts";
export { v4 } from "https://deno.land/std@0.151.0/uuid/mod.ts";
export * as t from "https://deno.land/std@0.151.0/testing/asserts.ts";
export * as benchmark from "https://deno.land/std@0.154.0/testing/bench.ts";
export { v4 } from "https://deno.land/std@0.154.0/uuid/mod.ts";
export * as t from "https://deno.land/std@0.154.0/testing/asserts.ts";
1 change: 1 addition & 0 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ app.use(
oakCors({
origin: [
"http://webdevcoffe-deno-microservice.s3-website.eu-central-1.amazonaws.com",
"http://localhost:3000"
],
}),
);
Expand Down

0 comments on commit 386f1f5

Please sign in to comment.