Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 30, 2024
1 parent dbaf668 commit 976af73
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/grumpy-roses-sing.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# effect-fetch

## 2.2.0

### Minor Changes

- c9ca09b: Adds response status filter interceptors and bearer and basic authentication interceptors

## 2.1.0

### Minor Changes
Expand Down
41 changes: 41 additions & 0 deletions docs/modules/Interceptors/Authentication.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: Interceptors/Authentication.ts
nav_order: 7
parent: Modules
---

## Authentication overview

Added in v2.1.0

---

<h2 class="text-delta">Table of contents</h2>

- [interceptor](#interceptor)
- [Basic](#basic)
- [BearerToken](#bearertoken)

---

# interceptor

## Basic

**Signature**

```ts
export declare const Basic: (username: string, password: string) => Effect.Effect<Response, HttpError, Chain>
```
Added in v2.1.0
## BearerToken
**Signature**
```ts
export declare const BearerToken: (token: string) => Effect.Effect<Response, HttpError, Chain>
```
Added in v2.1.0
41 changes: 41 additions & 0 deletions docs/modules/Interceptors/StatusFilter.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: Interceptors/StatusFilter.ts
nav_order: 9
parent: Modules
---

## StatusFilter overview

Added in v2.1.0

---

<h2 class="text-delta">Table of contents</h2>

- [interceptor](#interceptor)
- [Status](#status)
- [StatusOK](#statusok)

---

# interceptor

## Status

**Signature**

```ts
export declare const Status: (fn: Predicate<number>) => Effect.Effect<Response, StatusError | HttpError, Chain>
```
Added in v2.1.0
## StatusOK
**Signature**
```ts
export declare const StatusOK: Effect.Effect<Response, StatusError | HttpError, Chain>
```
Added in v2.1.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "effect-fetch",
"version": "2.1.0",
"version": "2.2.0",
"description": "fetch + interceptors + strongly typed errors",
"type": "module",
"homepage": "https://github.com/joshamaju/effect-fetch",
Expand Down

0 comments on commit 976af73

Please sign in to comment.