Skip to content

Commit

Permalink
release: v2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 10, 2022
1 parent 255081f commit 8113829
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 17 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [2.0.3](https://github.com/posva/mande/compare/v2.0.2...v2.0.3) (2022-08-10)

### Bug Fixes

- **url:** do not add trailing slashes ([264d3bf](https://github.com/posva/mande/commit/264d3bfd63626dc94c0b5395ca879eb5540064f5)), closes [#328](https://github.com/posva/mande/issues/328) [#333](https://github.com/posva/mande/issues/333)

## [2.0.2](https://github.com/posva/mande/compare/v2.0.1...v2.0.2) (2022-05-27)

### Bug Fixes
Expand Down
8 changes: 4 additions & 4 deletions docs/mande.mandeerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export interface MandeError<T = any> extends Error
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [body](./mande.mandeerror.body.md) | T | |
| [response](./mande.mandeerror.response.md) | Response | |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [body](./mande.mandeerror.body.md) | | T | |
| [response](./mande.mandeerror.response.md) | | Response | |
6 changes: 3 additions & 3 deletions docs/mande.mandeinstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export interface MandeInstance

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [options](./mande.mandeinstance.options.md) | Required&lt;Pick&lt;[OptionsRaw](./mande.optionsraw.md)<!-- -->, 'headers'&gt;&gt; &amp; Pick&lt;[OptionsRaw](./mande.optionsraw.md)<!-- -->, 'responseAs' \| 'query'&gt; | Writable options. |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [options](./mande.mandeinstance.options.md) | | Required&lt;Pick&lt;[OptionsRaw](./mande.optionsraw.md)<!-- -->, 'headers'&gt;&gt; &amp; Pick&lt;[OptionsRaw](./mande.optionsraw.md)<!-- -->, 'responseAs' \| 'query'&gt; | Writable options. |

## Methods

Expand Down
10 changes: 5 additions & 5 deletions docs/mande.options.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export interface Options<ResponseAs extends ResponseAsTypes = ResponseAsTypes> e
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [headers?](./mande.options.headers.md) | Record&lt;string, string&gt; | <i>(Optional)</i> Headers sent alongside the request |
| [query?](./mande.options.query.md) | any | <i>(Optional)</i> Optional query object. Does not support arrays. Will get stringified |
| [responseAs?](./mande.options.responseas.md) | ResponseAs | <i>(Optional)</i> What kind of response is expected. Defaults to <code>json</code>. <code>response</code> will return the raw response from <code>fetch</code>. |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [headers?](./mande.options.headers.md) | | Record&lt;string, string&gt; | <i>(Optional)</i> Headers sent alongside the request |
| [query?](./mande.options.query.md) | | any | <i>(Optional)</i> Optional query object. Does not support arrays. Will get stringified |
| [responseAs?](./mande.options.responseas.md) | | ResponseAs | <i>(Optional)</i> What kind of response is expected. Defaults to <code>json</code>. <code>response</code> will return the raw response from <code>fetch</code>. |
8 changes: 4 additions & 4 deletions docs/mande.optionsraw.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface OptionsRaw<R extends ResponseAsTypes = ResponseAsTypes> extends
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [headers?](./mande.optionsraw.headers.md) | Record&lt;string, string \| null&gt; | <i>(Optional)</i> Headers sent alongside the request. Set any header to null to remove it. |
| [signal?](./mande.optionsraw.signal.md) | never | <i>(Optional)</i> AbortSignal can only be passed to requests, not to a mande instance because it can only be used once. |
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [headers?](./mande.optionsraw.headers.md) | | Record&lt;string, string \| null&gt; | <i>(Optional)</i> Headers sent alongside the request. Set any header to null to remove it. |
| [signal?](./mande.optionsraw.signal.md) | | never | <i>(Optional)</i> AbortSignal can only be passed to requests, not to a mande instance because it can only be used once. |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mande",
"version": "2.0.2",
"version": "2.0.3",
"description": "Some awesome description",
"main": "index.js",
"module": "dist/mande.mjs",
Expand Down

0 comments on commit 8113829

Please sign in to comment.