-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SP-1135 Add exports to Node.js SDK #130
base: 7.0.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { BitPayLogger } from './BitPayLogger'; | ||
import { EmptyLogger } from './EmptyLogger'; | ||
import { LoggerProvider } from './LoggerProvider'; | ||
|
||
export { BitPayLogger, EmptyLogger, LoggerProvider }; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,26 +20,96 @@ import { Bill, BillInterface } from './Bill/Bill'; | |
import { Item as BillItem } from './Bill/Item'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add ItemInterface too? |
||
import { LedgerInterface } from './Ledger/Ledger'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add Ledger |
||
import { LedgerEntryInterface } from './Ledger/LedgerEntry'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add LedgerEntry |
||
import { BuyerFieldsInterface, BuyerFields } from './Ledger/BuyerFields'; | ||
import { PayoutRecipient, PayoutRecipientInterface } from './Payout/PayoutRecipient'; | ||
import { PayoutRecipients, PayoutRecipientsInterface } from './Payout/PayoutRecipients'; | ||
import { Payout, PayoutInterface } from './Payout/Payout'; | ||
import { PayoutGroupInterface } from './Payout/PayoutGroup'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing PayoutGroup |
||
import { CurrencyInterface, Currency } from './Currency/Currency'; | ||
import { PayoutTransaction, PayoutTransactionInterface } from './Payout/PayoutTransaction'; | ||
import { PayoutGroupFailed, PayoutGroupFailedInterface } from './Payout/PayoutGroupFailed'; | ||
import { Buyer, BuyerInterface } from './Invoice/Buyer'; | ||
import { InvoiceBuyerProvidedInfo } from './Invoice/InvoiceBuyerProvidedInfo'; | ||
import { InvoiceEventTokenInterface } from './Invoice/InvoiceEventToken'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add InvoiceEventToken |
||
import { InvoiceRefundAddresses } from './Invoice/InvoiceRefundAddresses'; | ||
import { InvoiceTransaction } from './Invoice/InvoiceTransaction'; | ||
import { InvoiceUniversalCodes } from './Invoice/InvoiceUniversalCodes'; | ||
import { MinerFeesItem } from './Invoice/MinerFeesItem'; | ||
import { RefundInterface, Refund } from './Invoice/Refund'; | ||
import { RefundInfo } from './Invoice/RefundInfo'; | ||
import { Shopper } from './Invoice/Shopper'; | ||
import { SupportedTransactionCurrency } from './Invoice/SupportedTransactionCurrency'; | ||
import { InvoiceDataInterface, InvoiceData } from './Settlement/InvoiceData'; | ||
import { PayoutInfoInterface, PayoutInfo } from './Settlement/PayoutInfo'; | ||
import { RefundInfoInterface } from './Settlement/RefundInfo'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add RefundInfo |
||
import { SettlementInterface, Settlement } from './Settlement/Settlement'; | ||
import { SettlementLedgerEntryInterface, SettlementLedgerEntry } from './Settlement/SettlementLedgerEntry'; | ||
import { WithHoldingsInterface, WithHoldings } from './Settlement/WithHoldings'; | ||
import { CurrenciesInterface, Currencies } from './Wallet/Currencies'; | ||
import { CurrencyQr, CurrencyQrInterface } from './Wallet/CurrencyQr'; | ||
import { Wallet, WalletInterface } from './Wallet/Wallet'; | ||
import { InvoiceWebhook } from './Webhook/InvoiceWebhook'; | ||
import { PayoutWebhookInterface } from './Webhook/PayoutWebhook'; | ||
import { RefundWebhook } from './Webhook/RefundWebhook'; | ||
import { InvoiceWebhookBuyerFieldsInterface } from './Webhook/InvoiceWebhookBuyerFields'; | ||
|
||
export { | ||
Invoice, | ||
InvoiceInterface, | ||
InvoiceData, | ||
InvoiceDataInterface, | ||
InvoiceBuyerProvidedInfo, | ||
InvoiceEventTokenInterface, | ||
InvoiceRefundAddresses, | ||
InvoiceTransaction, | ||
InvoiceUniversalCodes, | ||
InvoiceWebhook, | ||
InvoiceWebhookBuyerFieldsInterface, | ||
RateInterface, | ||
Rates, | ||
Bill, | ||
BillInterface, | ||
BillItem, | ||
BuyerFields, | ||
BuyerFieldsInterface, | ||
Buyer, | ||
BuyerInterface, | ||
Currency, | ||
CurrencyInterface, | ||
Currencies, | ||
CurrenciesInterface, | ||
CurrencyQr, | ||
CurrencyQrInterface, | ||
LedgerInterface, | ||
LedgerEntryInterface, | ||
MinerFeesItem, | ||
PayoutRecipient, | ||
PayoutRecipientInterface, | ||
PayoutRecipients, | ||
PayoutRecipientsInterface, | ||
Payout, | ||
PayoutInterface, | ||
PayoutGroupInterface | ||
PayoutInfo, | ||
PayoutInfoInterface, | ||
PayoutGroupInterface, | ||
PayoutTransaction, | ||
PayoutTransactionInterface, | ||
PayoutGroupFailed, | ||
PayoutGroupFailedInterface, | ||
PayoutWebhookInterface, | ||
Refund, | ||
RefundInterface, | ||
RefundInfo, | ||
RefundInfoInterface, | ||
RefundWebhook, | ||
Shopper, | ||
Settlement, | ||
SettlementInterface, | ||
SettlementLedgerEntry, | ||
SettlementLedgerEntryInterface, | ||
SupportedTransactionCurrency, | ||
WithHoldings, | ||
WithHoldingsInterface, | ||
Wallet, | ||
WalletInterface | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add exports for enum like consts? For example:
This should be done in the following cases: