Remove relay package, move everything into net
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
import {throttle} from "@welshman/lib"
|
||||
import {Repository, LocalRelay, Tracker} from "@welshman/relay"
|
||||
import {Repository, Tracker} from "@welshman/net"
|
||||
import {custom} from "@welshman/store"
|
||||
|
||||
export const tracker = new Tracker()
|
||||
|
||||
export const repository = Repository.get()
|
||||
|
||||
export const relay = new LocalRelay(repository)
|
||||
|
||||
// Adapt objects to stores
|
||||
|
||||
export const makeRepositoryStore = ({throttle: t = 300}: {throttle?: number} = {}) =>
|
||||
|
||||
Reference in New Issue
Block a user