File tree Expand file tree Collapse file tree 5 files changed +13
-17
lines changed
packages/auth-provider-automerge-repo Expand file tree Collapse file tree 5 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 11import { type Message } from '@automerge/automerge-repo'
22import { debug } from '@localfirst/shared'
3- import { AbstractConnection , type StateValue } from 'AbstractConnection.js'
3+ import { AbstractConnection , type StateValue } from './ AbstractConnection.js'
44import { pack , unpack } from 'msgpackr'
5- import { type ShareId } from 'types.js'
5+ import { type ShareId } from './ types.js'
66
77export class AnonymousConnection extends AbstractConnection {
88 readonly #log: debug . Debugger
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import { EventEmitter } from '@herbcaudill/eventemitter42'
99import * as Auth from '@localfirst/auth'
1010import { hash } from '@localfirst/crypto'
1111import { debug , memoize , pause } from '@localfirst/shared'
12- import { type AbstractConnection } from 'AbstractConnection.js'
13- import { AnonymousConnection } from 'AnonymousConnection.js'
14- import { buildServerUrl } from 'buildServerUrl.js'
15- import { getShareId } from 'getShareId.js'
12+ import { type AbstractConnection } from './ AbstractConnection.js'
13+ import { AnonymousConnection } from './ AnonymousConnection.js'
14+ import { buildServerUrl } from './ buildServerUrl.js'
15+ import { getShareId } from './ getShareId.js'
1616import { pack , unpack } from 'msgpackr'
17- import { isJoinMessage , type JoinMessage } from 'types.js'
17+ import { isJoinMessage , type JoinMessage } from './ types.js'
1818import { AuthenticatedNetworkAdapter as AuthNetworkAdapter } from './AuthenticatedNetworkAdapter.js'
1919import { CompositeMap } from './CompositeMap.js'
2020import type {
Original file line number Diff line number Diff line change 11import { NetworkAdapter , type Message } from '@automerge/automerge-repo'
2- import { type ShareId } from 'types.js'
2+ import { type ShareId } from './ types.js'
33
44/**
55 * An AuthenticatedNetworkAdapter is a NetworkAdapter that wraps another NetworkAdapter and
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import { MessageChannelNetworkAdapter } from '@automerge/automerge-repo-network-
33import { NodeFSStorageAdapter } from '@automerge/automerge-repo-storage-nodefs'
44import * as Auth from '@localfirst/auth'
55import { eventPromise } from '@localfirst/shared'
6- import { getShareId } from 'getShareId.js'
7- import { type ShareId } from 'types.js'
6+ import { getShareId } from '../ getShareId.js'
7+ import { type ShareId } from '../ types.js'
88import { describe , expect , it } from 'vitest'
99import { AuthProvider } from '../AuthProvider.js'
1010import { authenticated , authenticatedInTime } from './helpers/authenticated.js'
Original file line number Diff line number Diff line change 11{
22 "extends" : " ../../tsconfig.json" ,
33 "compilerOptions" : {
4- "baseUrl" : " src" ,
54 "outDir" : " dist" ,
6- "rootDir" : " src" ,
5+ "rootDir" : " src"
76 },
8- "include" : [
9- " src" ,
10- " @types"
11- ]
12- }
7+ "include" : [" src" , " @types" ]
8+ }
You can’t perform that action at this time.
0 commit comments