Skip to content

Commit

Permalink
feat: introduce HTTP error
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x committed May 9, 2024
1 parent 9dcc2bc commit b409a3e
Show file tree
Hide file tree
Showing 15 changed files with 77 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/Hyperfetch.d.ts.map

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

4 changes: 4 additions & 0 deletions dist/Hyperfetch.js

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

2 changes: 1 addition & 1 deletion dist/Hyperfetch.js.map

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dist/Hyperfetch.test.js

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

2 changes: 1 addition & 1 deletion dist/Hyperfetch.test.js.map

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

2 changes: 1 addition & 1 deletion dist/hyperfetch-browser.min.js

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

2 changes: 1 addition & 1 deletion dist/hyperfetch-browser.min.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/utils/create-http-error.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function createHTTPError(response: Response, responseData: Response): Error;
//# sourceMappingURL=create-http-error.d.ts.map
1 change: 1 addition & 0 deletions dist/utils/create-http-error.d.ts.map

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

12 changes: 12 additions & 0 deletions dist/utils/create-http-error.js

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

1 change: 1 addition & 0 deletions dist/utils/create-http-error.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypf",
"version": "0.0.8",
"version": "0.0.9",
"description": "Supertiny and stunning HTTP client for frontend apps. Best frontend wrapper for Fetch API.",
"main": "./dist/Hyperfetch.js",
"repository": "fzn0x/hypf",
Expand Down
Loading

0 comments on commit b409a3e

Please sign in to comment.