File tree Expand file tree Collapse file tree 4 files changed +29
-11
lines changed Expand file tree Collapse file tree 4 files changed +29
-11
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 1.2.0 " ></a >
2+ # [ 1.2.0] ( https://github.com/moneytree/mt-link-javascript-sdk/compare/1.1.2...1.2.0 ) (2019-05-17)
3+
4+
5+ ### Bug Fixes
6+
7+ * ** configs:** separate configs option by semicolon ([ db2bed4] ( https://github.com/moneytree/mt-link-javascript-sdk/commit/db2bed4 ) )
8+ * ** encoding:** fix enconding issue and some typecript typing tweaks ([ 239704f] ( https://github.com/moneytree/mt-link-javascript-sdk/commit/239704f ) )
9+
10+
11+ ### Features
12+
13+ * ** sdkVersion:** add sdk version ([ bbc9a87] ( https://github.com/moneytree/mt-link-javascript-sdk/commit/bbc9a87 ) )
14+
15+
16+
117<a name =" 1.1.2 " ></a >
218## [ 1.1.2] ( https://github.com/moneytree/mt-link-javascript-sdk/compare/1.1.1...1.1.2 ) (2019-04-04)
319
Original file line number Diff line number Diff line change 1- interface Config {
1+ interface IConfig {
22 clientId : string ;
3- isTestEnvironment ?: boolean ;
43 scope : string [ ] ;
4+ isTestEnvironment ?: boolean ;
55 redirectUri ?: string ;
66 continueTo ?: string ;
7- responseType ?: string ;
7+ responseType ?: 'code' | 'token' ;
88 locale ?: string ;
99 state ?: string ;
1010}
11- interface VaultOptions {
11+ interface IVaultOptions {
1212 backTo ?: string ;
1313 newTab ?: boolean ;
1414}
15- interface MyaccountOptions {
15+ interface IMyAccountOptions {
1616 backTo ?: string ;
1717 newTab ?: boolean ;
1818 email ?: string ;
1919 authPage ?: string ;
20+ showAuthToggle ?: boolean ;
2021}
2122declare class LinkSDK {
2223 private domains ;
2324 private params ;
24- init ( config : Config ) : void ;
25- authorize ( options ?: MyaccountOptions ) : void ;
26- openVault ( options ?: VaultOptions ) : void ;
27- openSettings ( options ?: MyaccountOptions ) : void ;
25+ private oauthParams ;
26+ init ( config : IConfig ) : void ;
27+ authorize ( options ?: IMyAccountOptions ) : void ;
28+ openVault ( options ?: IVaultOptions ) : void ;
29+ openSettings ( options ?: IMyAccountOptions ) : void ;
2830}
2931declare const _default : LinkSDK ;
3032export default _default ;
You can’t perform that action at this time.
0 commit comments