Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Embraser01 committed Feb 23, 2024
1 parent 4b75a78 commit 68efc63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# CHANGELOG.md

## 3.1.7 - 2024-02-23
## 3.1.6 - 2024-02-23

> Only the runtime was published, the generator and cli are still at 3.1.5
- Allow null return value in AuthProvider.getConfig() [#50](https://github.com/Embraser01/typoas/pull/50)

## 3.1.2 - 2024-01-26
Expand Down
2 changes: 1 addition & 1 deletion packages/typoas-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typoas/runtime",
"version": "3.1.6",
"version": "3.1.7",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/typoas-runtime/src/auth/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export interface SecurityAuthentication {
}

export interface AuthProvider<T> {
getConfig(): Promise<T> | T | null;
getConfig(): Promise<T | null> | T | null;
}

0 comments on commit 68efc63

Please sign in to comment.