connect-react-native
Advanced tools
Comparing version 2.39.0 to 2.40.0
@@ -0,1 +1,5 @@ | ||
## 2.40.0 | ||
- Added support for the Arabic language | ||
## 2.39.0 | ||
@@ -2,0 +6,0 @@ |
@@ -53,2 +53,3 @@ "use strict"; | ||
_defineProperty(this, "theme", void 0); | ||
_defineProperty(this, "language", void 0); | ||
this.environment = environment; | ||
@@ -55,0 +56,0 @@ this.countries = countries; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.DapiTransactionsType = exports.DapiTheme = exports.DapiEnvironment = exports.DapiEndpoint = exports.BeneficiaryType = void 0; | ||
exports.DapiTransactionsType = exports.DapiTheme = exports.DapiLanguage = exports.DapiEnvironment = exports.DapiEndpoint = exports.BeneficiaryType = void 0; | ||
let DapiTheme; | ||
@@ -15,2 +15,8 @@ exports.DapiTheme = DapiTheme; | ||
})(DapiTheme || (exports.DapiTheme = DapiTheme = {})); | ||
let DapiLanguage; | ||
exports.DapiLanguage = DapiLanguage; | ||
(function (DapiLanguage) { | ||
DapiLanguage["en"] = "en"; | ||
DapiLanguage["ar"] = "ar"; | ||
})(DapiLanguage || (exports.DapiLanguage = DapiLanguage = {})); | ||
let DapiEnvironment; | ||
@@ -17,0 +23,0 @@ exports.DapiEnvironment = DapiEnvironment; |
@@ -23,2 +23,3 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
_defineProperty(this, "theme", void 0); | ||
_defineProperty(this, "language", void 0); | ||
this.environment = environment; | ||
@@ -25,0 +26,0 @@ this.countries = countries; |
@@ -7,2 +7,7 @@ export let DapiTheme; | ||
})(DapiTheme || (DapiTheme = {})); | ||
export let DapiLanguage; | ||
(function (DapiLanguage) { | ||
DapiLanguage["en"] = "en"; | ||
DapiLanguage["ar"] = "ar"; | ||
})(DapiLanguage || (DapiLanguage = {})); | ||
export let DapiEnvironment; | ||
@@ -9,0 +14,0 @@ (function (DapiEnvironment) { |
@@ -1,2 +0,2 @@ | ||
import { IDapiConfigurations, IAccount, ICard, IBeneficiary, IWireBeneficiary, IDapiConnection, IPair, IAccountResponse, IIdentityResponse, ITransactionResponse, IAccountsMetadataResponse, DapiEnvironment, IBankBeneficiaryResponse, IBankWireBeneficiaryResponse, IDapiResult, DapiEndpoint, ITransferResponse, ICardResponse, ICardBalance, ILineAddress, IAccountBalance, DapiTransactionsType, IDapiThemeConfigurations, DapiTheme } from './internal/types'; | ||
import { IDapiConfigurations, IAccount, ICard, IBeneficiary, IWireBeneficiary, IDapiConnection, IPair, IAccountResponse, IIdentityResponse, ITransactionResponse, IAccountsMetadataResponse, DapiEnvironment, IBankBeneficiaryResponse, IBankWireBeneficiaryResponse, IDapiResult, DapiEndpoint, ITransferResponse, ICardResponse, ICardBalance, ILineAddress, IAccountBalance, DapiTransactionsType, IDapiThemeConfigurations, DapiTheme, DapiLanguage } from './internal/types'; | ||
export declare class DapiConfigurations implements IDapiConfigurations { | ||
@@ -17,2 +17,3 @@ environment?: DapiEnvironment; | ||
theme: IDapiThemeConfigurations | undefined; | ||
language?: DapiLanguage | undefined; | ||
constructor(countries: string[], environment?: DapiEnvironment); | ||
@@ -19,0 +20,0 @@ } |
@@ -41,2 +41,3 @@ export interface IDapiConfigurations { | ||
theme?: IDapiThemeConfigurations; | ||
language?: DapiLanguage; | ||
} | ||
@@ -52,2 +53,6 @@ export interface IDapiThemeConfigurations { | ||
} | ||
export declare enum DapiLanguage { | ||
en = "en", | ||
ar = "ar" | ||
} | ||
export declare enum DapiEnvironment { | ||
@@ -54,0 +59,0 @@ sandbox = "sandbox", |
{ | ||
"name": "connect-react-native", | ||
"version": "2.39.0", | ||
"version": "2.40.0", | ||
"description": "Financial APIs to connect users' bank accounts", | ||
@@ -5,0 +5,0 @@ "react-native": "src/index.ts", |
@@ -27,2 +27,3 @@ import NativeInterface from './internal/nativeInterface'; | ||
DapiTheme, | ||
DapiLanguage, | ||
} from './internal/types'; | ||
@@ -45,2 +46,3 @@ | ||
theme: IDapiThemeConfigurations | undefined | ||
language?: DapiLanguage | undefined; | ||
@@ -47,0 +49,0 @@ constructor(countries: string[], environment: DapiEnvironment = DapiEnvironment.production) { |
@@ -52,2 +52,4 @@ export interface IDapiConfigurations { | ||
theme?: IDapiThemeConfigurations | ||
language?: DapiLanguage; | ||
} | ||
@@ -66,2 +68,7 @@ | ||
export enum DapiLanguage{ | ||
en = "en", | ||
ar = "ar" | ||
} | ||
export enum DapiEnvironment { | ||
@@ -68,0 +75,0 @@ sandbox = 'sandbox', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3742
1254426