Skip to content

Commit

Permalink
fix circular deps
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Jan 10, 2024
1 parent 33b31ad commit 4da1a3c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/event-log/subscription.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { DwnError } from '../index.js';
import type { DwnError } from '../core/dwn-error.js';
import type { EventEmitter } from 'events';
import type { MessageStore } from '../types/message-store.js';
import type { EmitFunction, Subscription } from '../types/subscriptions.js';
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/records-subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { RecordsSubscribe } from '../interfaces/records-subscribe.js';
import { RecordsWrite } from '../interfaces/records-write.js';
import { SubscriptionBase } from '../event-log/subscription.js';
import { Time } from '../utils/time.js';
import { DwnError, DwnErrorCode } from '../index.js';
import { DwnError, DwnErrorCode } from '../core/dwn-error.js';
import { DwnInterfaceName, DwnMethodName } from '../enums/dwn-interface-method.js';

export class RecordsSubscribeHandler implements MethodHandler {
Expand Down
2 changes: 1 addition & 1 deletion src/types/events-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { DwnError } from '../index.js';
import type { DwnError } from '../core/dwn-error.js';
import type { ProtocolsQueryFilter } from './protocols-types.js';
import type { AuthorizationModel, GenericMessage, GenericMessageReply } from './message-types.js';
import type { DwnInterfaceName, DwnMethodName } from '../enums/dwn-interface-method.js';
Expand Down
2 changes: 1 addition & 1 deletion src/types/message-types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { DelegatedGrantMessage } from '../types/delegated-grant-message.js';
import type { DwnError } from '../index.js';
import type { DwnError } from '../core/dwn-error.js';
import type { GeneralJws } from './jws-types.js';
import type { SortDirection } from './query-types.js';

Expand Down
2 changes: 1 addition & 1 deletion src/types/records-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { DwnError } from '../index.js';
import type { DwnError } from '../core/dwn-error.js';
import type { EncryptionAlgorithm } from '../utils/encryption.js';
import type { GeneralJws } from './jws-types.js';
import type { KeyDerivationScheme } from '../utils/hd-key.js';
Expand Down
2 changes: 1 addition & 1 deletion src/types/subscriptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { DwnError } from '../index.js';
import type { DwnError } from '../core/dwn-error.js';
import type { GenericMessageReply } from '../types/message-types.js';
import type { MessageStore } from './message-store.js';
import type { EventsSubscribeMessage, EventsSubscription } from './events-types.js';
Expand Down

0 comments on commit 4da1a3c

Please sign in to comment.