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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You rarely need to interact with `FetchStreamTransport` directly — simply prov

```ts
import { inject } from '@angular/core';
import { streamResource, FetchStreamTransport } from '@ngxp/stream-resource';
import { streamResource, FetchStreamTransport } from '@cacheplane/stream-resource';

// Override transport for a single resource
const events = streamResource<Event>({
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/docs-v2/api/mock-stream-transport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TestBed } from '@angular/core/testing';
import {
provideStreamResource,
MockStreamTransport,
} from '@ngxp/stream-resource';
} from '@cacheplane/stream-resource';

beforeEach(() => {
TestBed.configureTestingModule({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { bootstrapApplication } from '@angular/platform-browser';
import {
provideStreamResource,
FetchStreamTransport,
} from '@ngxp/stream-resource';
} from '@cacheplane/stream-resource';
import { AppComponent } from './app/app.component';

bootstrapApplication(AppComponent, {
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/docs-v2/api/stream-resource.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`streamResource` is the core primitive of the library. It creates a reactive resource that opens a server-sent event stream, tracks loading and error states, and exposes the latest emitted value — all within Angular's signal-based reactivity model.

```ts
import { streamResource } from '@ngxp/stream-resource';
import { streamResource } from '@cacheplane/stream-resource';

// Inside a component or service with injection context
const repo = streamResource<Repository>({
Expand Down
Loading