Skip to content

Commit

Permalink
Release 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kokororin committed Aug 31, 2017
1 parent e33b50f commit 07cf4cc
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -153,8 +153,8 @@ const unregister = honoka.interceptors.register({
if (data.status && data.status !== 'success') {
alert('request error');
}
// Modify the response object
return response;
// Modify the data & response object
return [data, response];
}
})

Expand Down
41 changes: 26 additions & 15 deletions dist/honoka.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/honoka.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/honoka.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "honoka",
"version": "0.3.5",
"version": "0.4.1",
"description": "Just a fetch() API wrapper for both Browser and Node.js.",
"main": "honoka-node.js",
"browser": "dist/honoka.js",
Expand Down

0 comments on commit 07cf4cc

Please sign in to comment.