File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/sdk/src/subscribe Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313import random from 'lodash/random'
1414import sample from 'lodash/sample'
1515import without from 'lodash/without'
16- import { delay , inject } from 'tsyringe'
16+ import { delay , inject , injectable } from 'tsyringe'
1717import { ConfigInjectionToken , type StrictStreamrClientConfig } from '../ConfigTypes'
1818import { StreamrClientError } from '../StreamrClientError'
1919import { StorageNodeRegistry } from '../contracts/StorageNodeRegistry'
@@ -119,6 +119,7 @@ export const toInternalResendOptions = (options: ResendOptions): InternalResendO
119119 }
120120}
121121
122+ @injectable ( )
122123export class Resends {
123124
124125 private readonly storageNodeRegistry : StorageNodeRegistry
Original file line number Diff line number Diff line change 11import { EthereumAddress , Logger , StreamPartID } from '@streamr/utils'
2- import { delay , inject } from 'tsyringe'
2+ import { delay , inject , injectable } from 'tsyringe'
33import { NetworkNodeFacade } from '../NetworkNodeFacade'
44import { LoggerFactory } from '../utils/LoggerFactory'
55import { MessagePipelineFactory } from './MessagePipelineFactory'
66import { Subscription } from './Subscription'
77import { SubscriptionSession } from './SubscriptionSession'
88
9+ @injectable ( )
910export class Subscriber {
1011
1112 private readonly subSessions : Map < StreamPartID , SubscriptionSession > = new Map ( )
You can’t perform that action at this time.
0 commit comments