Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
feat: export braintree interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stelmakhivan committed Sep 19, 2022
1 parent abea632 commit ba07a1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
declare module '@ekreative/react-native-braintree' {
interface BraintreeResponse {
export interface BraintreeResponse {
nonce: string;
deviceData: string;
}

interface BraintreeOptions {
export interface BraintreeOptions {
clientToken: string;
amount: string;
currencyCode: string;
}

interface Run3DSecureCheckOptions
export interface Run3DSecureCheckOptions
extends Omit<BraintreeOptions, 'currencyCode'> {
nonce: string;
email: string;
Expand All @@ -25,7 +25,7 @@ declare module '@ekreative/react-native-braintree' {
countryCode: string;
}

interface TokenizeCardOptions {
export interface TokenizeCardOptions {
clientToken: string;
number: string;
expirationMonth: string;
Expand All @@ -34,11 +34,11 @@ declare module '@ekreative/react-native-braintree' {
postalCode?: string;
}

interface RunApplePayOptions extends BraintreeOptions {
export interface RunApplePayOptions extends BraintreeOptions {
companyName: string;
}

interface PayPalBillingAgreementOptions {
export interface PayPalBillingAgreementOptions {
clientToken: string;
description: string;
localeCode: string;
Expand Down

0 comments on commit ba07a1b

Please sign in to comment.