Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
feat: throwOnUnexpectedApiResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Kloubert committed Jan 8, 2024
1 parent 8a990ee commit 4809131
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"./src"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log (@egomobile/next-utils)

## 0.12.0

- `npm update`s

## 0.11.0

- `npm update`s
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egomobile/next-utils",
"version": "0.11.0",
"version": "0.12.0",
"description": "Handy utils and extensions for Next.js",
"main": "lib/index.js",
"engines": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"functions"
],
"dependencies": {
"@egomobile/api-utils": "^3.0.0",
"@egomobile/api-utils": "^5.0.1",
"@egomobile/node-utils": "^0.3.0",
"@egomobile/nodelike-utils": "^0.2.2",
"@types/node": "18.11.9",
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ export const schema = _schema as unknown as JoiRoot;
export * from "./types";
export * from "./middlewares";
export * from "./hooks";

export {
throwOnUnexpectedApiResponse,
UnexpectedApiResponseError
} from "@egomobile/api-utils";

0 comments on commit 4809131

Please sign in to comment.