Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/early-eels-sit.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/fine-parents-serve.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/async-observable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @eventkit/async-observable

## 0.2.0

### Patch Changes

- [`fa3aa52`](https://github.com/hntrl/eventkit/commit/fa3aa52410d95dbe79f093f6bd992b800d4768f2) Thanks [@hntrl](https://github.com/hntrl)! - Fixes an issue where subscribers wouldn't be tracked by the observable when using constructor syntax

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/async-observable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eventkit/async-observable",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"author": "Hunter Lovell <hunter@hntrl.io>",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/eventkit-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @eventkit/http

## 0.2.0

### Patch Changes

- Updated dependencies [[`1371b77`](https://github.com/hntrl/eventkit/commit/1371b774b5409b5aa45e56fb215b27ab7233bd9b)]:
- @eventkit/base@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eventkit-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eventkit/http",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"author": "Hunter Lovell <hunter@hntrl.io>",
"description": "HTTP helpers for eventkit",
Expand Down
28 changes: 28 additions & 0 deletions packages/eventkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# eventkit

## 0.2.0

### Minor Changes

- [#4](https://github.com/hntrl/eventkit/pull/4) [`1371b77`](https://github.com/hntrl/eventkit/commit/1371b774b5409b5aa45e56fb215b27ab7233bd9b) Thanks [@hntrl](https://github.com/hntrl)! - Introduces `SingletonAsyncObservable`; a utility class for observables that lets you access the value emitted by observables that emit one (and only one) value (like the observables returned from `reduce()`, `count()`, etc.) using native await syntax.

This makes the consumption of these single value operators a little bit more readable. For instance:

```ts
const obs = AsyncObservable.from([1, 2, 3]);
const singleton = obs.pipe(first());

// instead of this:
let firstValue: number | undefined;
await obs.subscribe((value) => {
firstValue = value;
});
console.log(firstValue); // 1

// you can just do this:
console.log(await singleton); // 1
```

### Patch Changes

- Updated dependencies [[`fa3aa52`](https://github.com/hntrl/eventkit/commit/fa3aa52410d95dbe79f093f6bd992b800d4768f2)]:
- @eventkit/async-observable@0.2.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eventkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eventkit/base",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"author": "Hunter Lovell <hunter@hntrl.io>",
"description": "Declarative event stream processing library",
Expand Down