From 01d25d623f7ced78e80b2cd3985ca8e685641203 Mon Sep 17 00:00:00 2001 From: Jeremy Hummel Date: Mon, 10 Feb 2020 17:55:43 -0800 Subject: [PATCH] changes amplifyService from protected to public --- .../authenticator/authenticator.component.core.ts | 2 +- .../authenticator/authenticator.component.ionic.ts | 2 +- .../confirm-sign-in-component.core.ts | 4 +--- .../confirm-sign-in-component.ionic.ts | 4 +--- .../confirm-sign-up.component.core.ts | 4 +--- .../confirm-sign-up.component.ionic.ts | 4 +--- .../forgot-password.component.core.ts | 4 +--- .../forgot-password.component.ionic.ts | 4 +--- .../greeting-component/greeting.component.core.ts | 4 +--- .../greeting-component/greeting.component.ionic.ts | 4 +--- .../require-new-password.component.core.ts | 4 +--- .../require-new-password.component.ionic.ts | 4 +--- .../sign-in-component/sign-in.component.core.ts | 14 ++++++-------- .../sign-in-component/sign-in.component.ionic.ts | 4 +--- .../sign-up-component/sign-up.component.core.ts | 4 +--- .../sign-up-component/sign-up.component.ionic.ts | 4 +--- .../username-field.component.core.ts | 4 +--- .../username-field.component.ionic.ts | 4 +--- .../interactions/chatbot/chatbot.component.core.ts | 2 +- .../chatbot/chatbot.component.ionic.ts | 2 +- .../photo-picker.component.core.ts | 4 +--- .../photo-picker.component.ionic.ts | 4 +--- .../s3-album-component/s3-album.component.core.ts | 2 +- .../s3-album-component/s3-album.component.ionic.ts | 2 +- .../s3-image-component/s3-image.component.core.ts | 2 +- .../s3-image-component/s3-image.component.ionic.ts | 2 +- .../sumerian-scene.component.core.ts | 2 +- .../sumerian-scene.component.ionic.ts | 2 +- 28 files changed, 33 insertions(+), 69 deletions(-) diff --git a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts index fe2919221b9..02d5aa23ed3 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.core.ts @@ -79,7 +79,7 @@ export class AuthenticatorComponentCore implements OnInit { _signUpConfig: any = {}; _usernameAttributes: string = 'username'; - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.subscribe(); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts index 4e006443766..a797eff2c00 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/authenticator/authenticator.component.ionic.ts @@ -81,7 +81,7 @@ const template = ` template, }) export class AuthenticatorIonicComponent extends AuthenticatorComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts index 328e5fd2de2..a86ab9d87f5 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.core.ts @@ -81,9 +81,7 @@ export class ConfirmSignInComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ConfiSignInComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts index ea8911bd4f6..7fb87e41aea 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-in-component/confirm-sign-in-component.ionic.ts @@ -60,9 +60,7 @@ export class ConfirmSignInComponentIonic extends ConfirmSignInComponentCore { code: string; errorMessage: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts index e8d866383a3..e6815294d50 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.core.ts @@ -106,9 +106,7 @@ export class ConfirmSignUpComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ConfirmSignUpComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts index 0c411094f6b..4e40667f52b 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/confirm-sign-up-component/confirm-sign-up.component.ionic.ts @@ -111,9 +111,7 @@ const template = ` template, }) export class ConfirmSignUpComponentIonic extends ConfirmSignUpComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts index 034b83a3386..5fd3eb0c745 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.core.ts @@ -130,9 +130,7 @@ export class ForgotPasswordComponentCore implements OnInit { country_code: string = '1'; email: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('ForgotPasswordComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts index b24f90ea929..17bb2e3b8a2 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/forgot-password-component/forgot-password.component.ionic.ts @@ -117,9 +117,7 @@ const template = ` template, }) export class ForgotPasswordComponentIonic extends ForgotPasswordComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts index 4503fd0bdd9..e2e6f929501 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.core.ts @@ -40,9 +40,7 @@ export class GreetingComponentCore implements OnInit { _usernameAttributes: string = 'username'; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('GreetingComponent'); this.subscribe(); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts index 2bbb3c87ab9..5484f340a18 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/greeting-component/greeting.component.ionic.ts @@ -38,9 +38,7 @@ const template = ` template, }) export class GreetingComponentIonic extends GreetingComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts index 7734e094414..822102710f1 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.core.ts @@ -75,9 +75,7 @@ export class RequireNewPasswordComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('RequireNewPasswordComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts index 969264cecbb..f2103eef277 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/require-new-password-component/require-new-password.component.ionic.ts @@ -81,9 +81,7 @@ const template = ` template, }) export class RequireNewPasswordComponentIonic extends RequireNewPasswordComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts index 47f0abe0d0c..3fba3548fe8 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.core.ts @@ -106,9 +106,7 @@ export class SignInComponentCore implements OnInit { signInUsername = ''; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('SignInComponent'); this.onUsernameFieldChanged = this.onUsernameFieldChanged.bind(this); } @@ -203,11 +201,11 @@ export class SignInComponentCore implements OnInit { const user = this.username || this.email || this.local_phone_number ? { - username: this.username, - email: this.email, - local_phone_number: this.local_phone_number, - courtry_code: this.country_code, - } + username: this.username, + email: this.email, + local_phone_number: this.local_phone_number, + courtry_code: this.country_code, + } : null; return user; diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts index f4e083bcc5f..3a51dc90c89 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-in-component/sign-in.component.ionic.ts @@ -92,9 +92,7 @@ const template = ` template, }) export class SignInComponentIonic extends SignInComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts index a4494450dfa..3c5291120a9 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.core.ts @@ -121,9 +121,7 @@ export class SignUpComponentCore implements OnInit { defaultCountryCode: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('SignUpComponent'); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts index fc73f07251b..c9523e7c660 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/sign-up-component/sign-up.component.ionic.ts @@ -103,9 +103,7 @@ const template = ` template, }) export class SignUpComponentIonic extends SignUpComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts index 6e2a3385ef2..12ab9cec0bc 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.core.ts @@ -72,9 +72,7 @@ export class UsernameFieldComponentCore implements OnInit { _placeholder: string = ''; username: string; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.onPhoneFieldChanged = this.onPhoneFieldChanged.bind(this); } diff --git a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts index 7706e4ec4a1..288c0262a73 100644 --- a/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/authenticator/username-field-component/username-field.component.ionic.ts @@ -55,9 +55,7 @@ const template = ` template, }) export class UsernameFieldComponentIonic extends UsernameFieldComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts index 616c728833b..a8edfc14c1e 100644 --- a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts +++ b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.core.ts @@ -127,7 +127,7 @@ export class ChatbotComponentCore implements OnInit { constructor( ref: ChangeDetectorRef, - @Inject(AmplifyService) protected amplifyService: AmplifyService + @Inject(AmplifyService) public amplifyService: AmplifyService ) { this.ref = ref; this.continueConversation = false; diff --git a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts index f580ee150b0..7b35ced9369 100644 --- a/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/interactions/chatbot/chatbot.component.ionic.ts @@ -114,7 +114,7 @@ export class ChatbotComponentIonic extends ChatbotComponentCore { constructor( ref: ChangeDetectorRef, @Inject(AmplifyService) - protected amplifyService: AmplifyService + public amplifyService: AmplifyService ) { super(ref, amplifyService); } diff --git a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts index fdb753a2bc5..a55b3a90edf 100644 --- a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.core.ts @@ -72,9 +72,7 @@ export class PhotoPickerComponentCore implements OnInit { errorMessage: string; protected logger: any; - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('PhotoPickerComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts index c1d34f6c2b5..e2fb8b2ecfd 100644 --- a/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/photo-picker-component/photo-picker.component.ionic.ts @@ -57,9 +57,7 @@ const template = ` template, }) export class PhotoPickerIonicComponent extends PhotoPickerComponentCore { - constructor( - @Inject(AmplifyService) protected amplifyService: AmplifyService - ) { + constructor(@Inject(AmplifyService) public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts index 38e9efcc825..aed6b41ecf5 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.core.ts @@ -43,7 +43,7 @@ export class S3AlbumComponentCore implements OnInit { @Output() selected: EventEmitter = new EventEmitter(); - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('S3AlbumComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts index 476b467cf51..ff1b7dca23f 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-album-component/s3-album.component.ionic.ts @@ -41,7 +41,7 @@ const template = ` template, }) export class S3AlbumComponentIonic extends S3AlbumComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts index 28a6250bc5d..e0635823a95 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.core.ts @@ -37,7 +37,7 @@ export class S3ImageComponentCore implements OnInit { @Output() selected: EventEmitter = new EventEmitter(); - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.logger = this.amplifyService.logger('S3ImageComponent'); } diff --git a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts index 351e9033b76..509569ee100 100644 --- a/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/storage/s3-image-component/s3-image.component.ionic.ts @@ -36,7 +36,7 @@ const template = ` template, }) export class S3ImageComponentIonic extends S3ImageComponentCore { - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } } diff --git a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts index 6e81894d529..ce19f78557b 100644 --- a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts +++ b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.core.ts @@ -106,7 +106,7 @@ export class SumerianSceneComponentCore implements OnInit, OnDestroy { this.sceneName = data.sceneName; } - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { this.amplifyUI = AmplifyUI; this.logger = this.amplifyService.logger('SumerianSceneComponentCore'); } diff --git a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts index ed61b4e1334..7d9c2ddd491 100644 --- a/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts +++ b/packages/aws-amplify-angular/src/components/xr/sumerian-scene-component/sumerian-scene.component.ionic.ts @@ -90,7 +90,7 @@ const template = ` export class SumerianSceneComponentIonic extends SumerianSceneComponentCore { amplifyUI: any; - constructor(protected amplifyService: AmplifyService) { + constructor(public amplifyService: AmplifyService) { super(amplifyService); } }