Skip to content

Commit 3b5b1fc

Browse files
mattncameri
authored andcommitted
fix: typos (#334)
1 parent d1d4cb9 commit 3b5b1fc

14 files changed

+25
-25
lines changed

src/factories/payments-processors/lnbits-payments-processor-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { path } from 'ramda'
33

44
import { createSettings } from '../settings-factory'
55
import { IPaymentsProcessor } from '../../@types/clients'
6-
import { LNbitsPaymentsProcesor } from '../../payments-processors/lnbits-payment-processor'
6+
import { LNbitsPaymentsProcessor } from '../../payments-processors/lnbits-payment-processor'
77
import { Settings } from '../../@types/settings'
88

99

@@ -35,5 +35,5 @@ export const createLNbitsPaymentProcessor = (settings: Settings): IPaymentsProce
3535

3636
const client = axios.create(config)
3737

38-
return new LNbitsPaymentsProcesor(client, createSettings)
38+
return new LNbitsPaymentsProcessor(client, createSettings)
3939
}

src/factories/payments-processors/lnurl-payments-processor-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { path } from 'ramda'
33

44
import { createSettings } from '../settings-factory'
55
import { IPaymentsProcessor } from '../../@types/clients'
6-
import { LnurlPaymentsProcesor } from '../../payments-processors/lnurl-payments-processor'
6+
import { LnurlPaymentsProcessor } from '../../payments-processors/lnurl-payments-processor'
77
import { Settings } from '../../@types/settings'
88

99
export const createLnurlPaymentsProcessor = (settings: Settings): IPaymentsProcessor => {
@@ -14,5 +14,5 @@ export const createLnurlPaymentsProcessor = (settings: Settings): IPaymentsProce
1414

1515
const client = axios.create()
1616

17-
return new LnurlPaymentsProcesor(client, createSettings)
17+
return new LnurlPaymentsProcessor(client, createSettings)
1818
}

src/factories/payments-processors/nodeless-payments-processor-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { path } from 'ramda'
33

44
import { createSettings } from '../settings-factory'
55
import { IPaymentsProcessor } from '../../@types/clients'
6-
import { NodelessPaymentsProcesor } from '../../payments-processors/nodeless-payments-processor'
6+
import { NodelessPaymentsProcessor } from '../../payments-processors/nodeless-payments-processor'
77
import { Settings } from '../../@types/settings'
88

99
const getNodelessAxiosConfig = (settings: Settings): CreateAxiosDefaults<any> => {
@@ -27,5 +27,5 @@ const getNodelessAxiosConfig = (settings: Settings): CreateAxiosDefaults<any> =>
2727
export const createNodelessPaymentsProcessor = (settings: Settings): IPaymentsProcessor => {
2828
const client = axios.create(getNodelessAxiosConfig(settings))
2929

30-
return new NodelessPaymentsProcesor(client, createSettings)
30+
return new NodelessPaymentsProcessor(client, createSettings)
3131
}

src/factories/payments-processors/opennode-payments-processor-factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { path } from 'ramda'
33

44
import { createSettings } from '../settings-factory'
55
import { IPaymentsProcessor } from '../../@types/clients'
6-
import { OpenNodePaymentsProcesor } from '../../payments-processors/opennode-payments-processor'
6+
import { OpenNodePaymentsProcessor } from '../../payments-processors/opennode-payments-processor'
77
import { Settings } from '../../@types/settings'
88

99
const getOpenNodeAxiosConfig = (settings: Settings): CreateAxiosDefaults<any> => {
@@ -35,5 +35,5 @@ export const createOpenNodePaymentsProcessor = (settings: Settings): IPaymentsPr
3535
const config = getOpenNodeAxiosConfig(settings)
3636
const client = axios.create(config)
3737

38-
return new OpenNodePaymentsProcesor(client, createSettings)
38+
return new OpenNodePaymentsProcessor(client, createSettings)
3939
}

src/factories/payments-processors/zebedee-payments-processor-factory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { path } from 'ramda'
44
import { createSettings } from '../settings-factory'
55
import { IPaymentsProcessor } from '../../@types/clients'
66
import { Settings } from '../../@types/settings'
7-
import { ZebedeePaymentsProcesor } from '../../payments-processors/zebedee-payments-processor'
7+
import { ZebedeePaymentsProcessor } from '../../payments-processors/zebedee-payments-processor'
88

99
const getZebedeeAxiosConfig = (settings: Settings): CreateAxiosDefaults<any> => {
1010
if (!process.env.ZEBEDEE_API_KEY) {
@@ -46,5 +46,5 @@ export const createZebedeePaymentsProcessor = (settings: Settings): IPaymentsPro
4646

4747
const client = axios.create(config)
4848

49-
return new ZebedeePaymentsProcesor(client, createSettings)
50-
}
49+
return new ZebedeePaymentsProcessor(client, createSettings)
50+
}

src/handlers/subscribe-message-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class SubscribeMessageHandler implements IMessageHandler, IAbortable {
9090
const subscriptionLimits = this.settings().limits?.client?.subscription
9191

9292
if (existingSubscription?.length && equals(filters, existingSubscription)) {
93-
return `Duplicate subscription ${subscriptionId}: Ignorning`
93+
return `Duplicate subscription ${subscriptionId}: Ignoring`
9494
}
9595

9696
const maxSubscriptions = subscriptionLimits?.maxSubscriptions ?? 0

src/payments-processors/lnbits-payment-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class LNbitsCreateInvoiceResponse implements CreateInvoiceResponse {
3939
rawResponse?: string
4040
}
4141

42-
export class LNbitsPaymentsProcesor implements IPaymentsProcessor {
42+
export class LNbitsPaymentsProcessor implements IPaymentsProcessor {
4343
public constructor(
4444
private httpClient: AxiosInstance,
4545
private settings: Factory<Settings>

src/payments-processors/lnurl-payments-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Settings } from '../@types/settings'
99

1010
const debug = createLogger('lnurl-payments-processor')
1111

12-
export class LnurlPaymentsProcesor implements IPaymentsProcessor {
12+
export class LnurlPaymentsProcessor implements IPaymentsProcessor {
1313
public constructor(
1414
private httpClient: AxiosInstance,
1515
private settings: Factory<Settings>

src/payments-processors/nodeless-payments-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Settings } from '../@types/settings'
88

99
const debug = createLogger('nodeless-payments-processor')
1010

11-
export class NodelessPaymentsProcesor implements IPaymentsProcessor {
11+
export class NodelessPaymentsProcessor implements IPaymentsProcessor {
1212
public constructor(
1313
private httpClient: AxiosInstance,
1414
private settings: Factory<Settings>

src/payments-processors/opennode-payments-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Settings } from '../@types/settings'
88

99
const debug = createLogger('opennode-payments-processor')
1010

11-
export class OpenNodePaymentsProcesor implements IPaymentsProcessor {
11+
export class OpenNodePaymentsProcessor implements IPaymentsProcessor {
1212
public constructor(
1313
private httpClient: AxiosInstance,
1414
private settings: Factory<Settings>

0 commit comments

Comments
 (0)