@@ -54,7 +54,7 @@ class LinkSDK {
5454 private params : IParams ;
5555 private oauthParams : IOauthParams ;
5656
57- init ( config : IConfig ) : void {
57+ public init ( config : IConfig ) : void {
5858 if ( ! config . clientId ) {
5959 throw new Error ( 'Need a clientId to initialise' ) ;
6060 }
@@ -89,7 +89,7 @@ class LinkSDK {
8989 }
9090
9191 // Open My Account to authorize application to use MtLink API
92- authorize ( options : IMyAccountOptions = { } ) : void {
92+ public authorize ( options : IMyAccountOptions = { } ) : void {
9393 const { newTab = false , email, authPage, backTo, showAuthToggle } = options ;
9494
9595 const params = encodeConfigWithParams (
@@ -107,7 +107,7 @@ class LinkSDK {
107107 }
108108
109109 // Open the Vault page
110- openVault ( options : IVaultOptions = { } ) : void {
110+ public openVault ( options : IVaultOptions = { } ) : void {
111111 const { newTab = false , backTo = location . href } = options ;
112112 const params = encodeConfigWithParams ( this . params , {
113113 sdk_platform : 'js' ,
@@ -119,7 +119,7 @@ class LinkSDK {
119119 }
120120
121121 // Open the Guest settings page
122- openSettings ( options : IMyAccountOptions = { } ) : void {
122+ public openSettings ( options : IMyAccountOptions = { } ) : void {
123123 const { newTab = false , backTo = location . href } = options ;
124124
125125 const params = encodeConfigWithParams ( this . params , {
0 commit comments