Remove relay package, move everything into net

This commit is contained in:
Jon Staab
2025-10-20 13:09:53 -07:00
parent 88650fb166
commit 0be540c0d2
42 changed files with 128 additions and 528 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Creates a cached loader function with staleness checking and exponential backoff
import {writable} from 'svelte/store'
import {derived, readable} from "svelte/store"
import {readProfile, PROFILE, PublishedProfile} from "@welshman/util"
import {Repository} from "@welshman/relay"
import {Repository} from "@welshman/net"
import {deriveEventsMapped, collection, withGetter} from "@welshman/store"
const repository = new Repository()
+2 -2
View File
@@ -39,7 +39,7 @@ Creates a reactive store that tracks whether an event is deleted by address.
## Example
```typescript
import {Repository} from "@welshman/relay"
import {Repository} from "@welshman/net"
import {deriveEventsMapped, deriveEvents} from "@welshman/store"
import {readProfile, PROFILE} from "@welshman/util"
@@ -71,4 +71,4 @@ profiles.subscribe(profiles => {
// Add some events to the repository
repository.publish(someTextNoteEvent)
repository.publish(someProfileEvent)
```
```