Skip to content

Commit

Permalink
feat(wabe): set the payment adapter public (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
coratgerl authored Jan 2, 2025
1 parent 109b5c5 commit ab5a117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wabe-stripe/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from 'wabe'

export class StripeAdapter implements PaymentAdapter {
private stripe: Stripe
public stripe: Stripe

constructor(apiKey: string) {
this.stripe = new Stripe(apiKey, {
Expand Down
2 changes: 1 addition & 1 deletion packages/wabe/src/payment/PaymentController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type {
} from './interface'

export class PaymentController implements PaymentAdapter {
private adapter: PaymentAdapter
public adapter: PaymentAdapter
private config: PaymentConfig

constructor(paymentConfig: PaymentConfig) {
Expand Down

0 comments on commit ab5a117

Please sign in to comment.