Skip to content

Commit 45c74c3

Browse files
Merge pull request #94 from basics/feature/optimization
Feature/optimization
2 parents 22b1a59 + eae508b commit 45c74c3

36 files changed

+262
-276
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/observables/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Project Changelog
22

3+
# [@rxjs-collection/observables-v1.0.6](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.5...@rxjs-collection/observables-v1.0.6) (2024-11-25)
4+
5+
6+
### Bug Fixes
7+
8+
* **operators:** restructured and added aliases ([1e53881](https://github.com/basics/rxjs-collection/commit/1e5388145a60f7cdb8c2ff1a980df204ad64b4f3))
9+
310
# [@rxjs-collection/observables-v1.0.6-beta.1](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.5...@rxjs-collection/observables-v1.0.6-beta.1) (2024-11-25)
411

512

packages/observables/index.js

Whitespace-only changes.

packages/observables/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rxjs-collection/observables",
3-
"version": "1.0.6-beta.1",
3+
"version": "1.0.6",
44
"description": "rxjs observables",
55
"license": "MIT",
66
"contributors": [
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"type": "module",
13-
"main": "index.js",
13+
"main": "src/index.js",
1414
"files": [
1515
"./src/*"
1616
],

packages/observables/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { connectionObservable } from './dom/window';

packages/operators/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Project Changelog
22

3+
# [@rxjs-collection/operators-v1.0.10](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.9...@rxjs-collection/operators-v1.0.10) (2024-11-25)
4+
5+
6+
### Bug Fixes
7+
8+
* **operators:** restructured and added aliases ([1e53881](https://github.com/basics/rxjs-collection/commit/1e5388145a60f7cdb8c2ff1a980df204ad64b4f3))
9+
310
# [@rxjs-collection/operators-v1.0.10-beta.1](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.9...@rxjs-collection/operators-v1.0.10-beta.1) (2024-11-25)
411

512

packages/operators/fixtures/paginatedFetchFixture.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/operators/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rxjs-collection/operators",
3-
"version": "1.0.10-beta.1",
3+
"version": "1.0.10",
44
"description": "rxjs operators",
55
"license": "MIT",
66
"contributors": [
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"type": "module",
13-
"main": "index.js",
13+
"main": "src/index.js",
1414
"files": [
1515
"./src/*"
1616
],

packages/operators/src/request/cache.test.js renamed to packages/operators/src/cache.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { TestScheduler } from 'rxjs/testing';
33
import { beforeEach, describe, expect, test } from 'vitest';
44

55
import { cache } from './cache';
6+
import { log } from './log';
67

78
describe('cache', () => {
89
let testScheduler;
@@ -22,7 +23,9 @@ describe('cache', () => {
2223
testScheduler.run(({ cold, expectObservable }) => {
2324
const stream = cold('a', { a: () => triggerVal.shift() }).pipe(
2425
map(fn => fn()),
26+
log('operators:cache:default:input'),
2527
cache({ ttl: 2 })
28+
// log('operators:cache:default:output')
2629
);
2730

2831
const unsubA = '-^!';

0 commit comments

Comments
 (0)