Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-amplify-angular cannot be used with strict Content Security Policy #5024

Closed
matulef opened this issue Mar 3, 2020 · 4 comments
Closed
Assignees
Labels
Interactions Related to Interactions category

Comments

@matulef
Copy link

matulef commented Mar 3, 2020

Describe the bug
When using the AmplifyService from aws-amplify-angular, a reasonable Content Security Policy cannot be used without causing an error. This is because the aws-lex-audio.js file requires unsafe-eval (and worker-src blob:) permissions.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new angular app:
ng new csp-test
cd csp-test
  1. Add AmplifyAngularModule, AmplifyService, AmplifyModules as described in
    https://aws-amplify.github.io/docs/js/angular. I am only using Auth, so in my app.module.ts file I have
{
      provide: AmplifyService,
      useFactory: () => {
        return AmplifyModules({
          Auth,
        })
      },
    },
  1. In index.html, add a CSP:
 <meta http-equiv="Content-Security-Policy" content="script-src 'self'; object-src 'self'"/>
  1. Start the app with ng serve
  2. See the following error in the console:

Screen Shot 2020-03-02 at 4 13 11 PM

Expected behavior
This should not require unsafe-eval permissions, especially since the Lex audio stuff isn't even being used. The error can be avoided with a loose content security policy, e.g.
worker-src blob:; script-src 'self' 'unsafe-eval'; object-src 'self'
but unsafe-eval is strongly discouraged for security reasons.

Note that this issue also applies when building the app to run as a Chrome extension, where the content security policy is defined inside of the manifest.json file.

Environment
   System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
    Memory: 132.70 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.14.2 - ~/.nvm/versions/node/v10.14.2/bin/node
    Yarn: 1.12.3 - ~/.nvm/versions/node/v10.14.2/bin/yarn
    npm: 6.5.0 - ~/.nvm/versions/node/v10.14.2/bin/npm
  Browsers:
    Chrome: 80.0.3987.122
    Firefox: 71.0
    Safari: 13.0.5
  npmPackages:
    @angular-devkit/build-angular: ~0.803.25 => 0.803.25
    @angular/animations: ~8.2.14 => 8.2.14
    @angular/cli: ~8.3.25 => 8.3.25
    @angular/common: ~8.2.14 => 8.2.14
    @angular/compiler: ~8.2.14 => 8.2.14
    @angular/compiler-cli: ~8.2.14 => 8.2.14
    @angular/core: ~8.2.14 => 8.2.14
    @angular/forms: ~8.2.14 => 8.2.14
    @angular/language-service: ~8.2.14 => 8.2.14
    @angular/platform-browser: ~8.2.14 => 8.2.14
    @angular/platform-browser-dynamic: ~8.2.14 => 8.2.14
    @angular/router: ~8.2.14 => 8.2.14
    @types/jasmine: ~3.3.8 => 3.3.16
    @types/jasminewd2: ~2.0.3 => 2.0.8
    @types/node: ~8.9.4 => 8.9.5
    aws-amplify: ^2.2.6 => 2.2.6
    aws-amplify-angular: ^4.1.7 => 4.1.7
    codelyzer: ^5.0.0 => 5.2.1
    jasmine-core: ~3.4.0 => 3.4.0
    jasmine-spec-reporter: ~4.2.1 => 4.2.1
    karma: ~4.1.0 => 4.1.0
    karma-chrome-launcher: ~2.2.0 => 2.2.0
    karma-coverage-istanbul-reporter: ~2.0.1 => 2.0.6
    karma-jasmine: ~2.0.1 => 2.0.1
    karma-jasmine-html-reporter: ^1.4.0 => 1.5.2
    protractor: ~5.4.0 => 5.4.3
    rxjs: ~6.4.0 => 6.4.0
    ts-node: ~7.0.0 => 7.0.1
    tslib: ^1.10.0 => 1.11.1
    tslint: ~5.15.0 => 5.15.0
    typescript: ~3.5.3 => 3.5.3
    zone.js: ~0.9.1 => 0.9.1
  npmGlobalPackages:
    @angular/cli: 8.3.25
    @aws-amplify/cli: 4.13.1
    apollo-codegen: 0.20.2
    apollo: 2.17.2
    cordova: 8.1.2
    gulp-cli: 2.0.1
    http-server: 0.11.1
    ionic: 4.6.0
    lumber-cli: 1.14.3
    lunr: 2.3.5
    npm: 6.5.0
    prettier: 1.15.3
    yarn: 1.12.3

Additional context

These appear to be the offending line(s):


Function(['require', 'module', 'exports'], '(' + fn + ')(self)'),

@matulef matulef added the to-be-reproduced Used in order for Amplify to reproduce said issue label Mar 3, 2020
@sammartinez sammartinez added Angular Related to Angular 2+ Interactions Related to Interactions category labels Mar 3, 2020
@jonasduever
Copy link

jonasduever commented Mar 17, 2020

Just experienced this issue. Have to use unsafe-eval + worker-src blob: for now :/

@matulef
Copy link
Author

matulef commented Mar 18, 2020

@jonasduever , a word of warning: if you're planning to release your app on some sort of app store, I'd advise against including unsafe-eval. I strongly suspect this lax CSP was the reason for a 3+ week delay we had getting a Chrome extension approved in the Chrome store (it's still stuck in reviewing limbo, even though we only intended to release that version of the app internally for testing).

Ultimately, we ended up ripping out Cognito/Amplify Auth and replacing it with Firebase Auth instead. We've been happy with that, but I realize it's not a good solution if you're relying on other parts of the Amplify library.

@wlee221
Copy link
Contributor

wlee221 commented Aug 31, 2020

Hello @matulef and @jonasduever, sorry about the delay. We just released a new chatbot ui component that fixes this issue.
It will take some time to get through the pipeline, but I'll update you as soon as it's released.

Please see the documentation for getting started, and feel free to ask any questions or give feedbacks.

wlee221 added a commit that referenced this issue Sep 3, 2020
* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
wlee221 added a commit that referenced this issue Sep 3, 2020
* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* Bump aws-sdk to gamma.v8

* Bump v7 to v8

* Add missing config for predictions test

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
wlee221 added a commit that referenced this issue Sep 8, 2020
* feat(@aws-amplify/ui-components): Add ChatBot Component

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

* chore: Sync ui-components/main with main (#6724)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* deps: Bump aws-sdk to v8 (#6720)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* Bump aws-sdk to gamma.v8

* Bump v7 to v8

* Add missing config for predictions test

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* Remove duplicate test keys

* Use tabs

* Use correct amplify version

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
nubpro pushed a commit to nubpro/amplify-js that referenced this issue Oct 2, 2020
…#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: aws-amplify#5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
nubpro pushed a commit to nubpro/amplify-js that referenced this issue Oct 2, 2020
* feat(@aws-amplify/ui-components): Add ChatBot Component

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

* chore: Sync ui-components/main with main (aws-amplify#6724)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (aws-amplify#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: aws-amplify#5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (aws-amplify#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* feat(SSR): withSSRContext (aws-amplify#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (aws-amplify#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (aws-amplify#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (aws-amplify#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* deps: Bump aws-sdk to v8 (aws-amplify#6720)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (aws-amplify#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: aws-amplify#5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (aws-amplify#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* Bump aws-sdk to gamma.v8

* Bump v7 to v8

* Add missing config for predictions test

* feat(SSR): withSSRContext (aws-amplify#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (aws-amplify#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (aws-amplify#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (aws-amplify#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* Remove duplicate test keys

* Use tabs

* Use correct amplify version

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
iartemiev pushed a commit that referenced this issue Oct 13, 2020
* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
iartemiev added a commit that referenced this issue Oct 13, 2020
* feat(@aws-amplify/ui-components): Add ChatBot Component

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

* chore: Sync ui-components/main with main (#6724)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* deps: Bump aws-sdk to v8 (#6720)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: #5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* Bump aws-sdk to gamma.v8

* Bump v7 to v8

* Add missing config for predictions test

* feat(SSR): withSSRContext (#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* Remove duplicate test keys

* Use tabs

* Use correct amplify version

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Sep 1, 2021

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2021
CongNguyen086 pushed a commit to CongNguyen086/amplify-js that referenced this issue Oct 5, 2022
* feat(@aws-amplify/ui-components): Add ChatBot Component

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

* chore: Sync ui-components/main with main (aws-amplify#6724)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (aws-amplify#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: aws-amplify#5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (aws-amplify#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* feat(SSR): withSSRContext (aws-amplify#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (aws-amplify#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (aws-amplify#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (aws-amplify#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* deps: Bump aws-sdk to v8 (aws-amplify#6720)

* feat(@aws-amplify/ui-components): Add Chatbot UI to main (aws-amplify#6684)

* feat(@aws-amplify/ui-components): Add ChatBot Component

Fixes: aws-amplify#5024

* amplify-chatbot initial import

* Use interface and comment out test

* Expose additional css variables and add icon variant to button

* Update snapshot

* Clean up code

* Remove unused test case

* Add snapshot testing

* Apply comments from @ashika01

* Rename --icon-color to --icon-fill

* Remove unused class css

* Update css for compatibility with existing components

* Set default height

* Integrate Interactions text message

* Update snapshots

* Simplify code

* Add audiorecorder and integrate voice chat

* Use interface over type

* Reorder functions and add byte descriptions

* Add loading animation

* Update interaction types

* Scroll to bottom

* set methods private

* Rename css class

* Update snapshot

* Add error handling and reorder functions

* Refactor error handling

* Refactor chatbot functions

* Cleanup

* Update snapshot

* Expose width css variable from amplify-button

* px to rem

* Expose width and height variable; Control height at top level

* Add header slot

* Add listening animation

* Cleanup

* Update angular module

* Move visualization to helper and downsample data array

* Separate animation scss

* Remove console.logs

* Control width / height at host; expose message colors

* Use I18n with strings

* Fix typo

* Use enum for chat state

* Revert width back to 100%

* Rename updateProps to validateProps

* Separate out interaction enum strings

* Move MIME type string to constants file

* Use async/await pattern in recorder.ts

* Check isBrowser and add silence props

* Separate init from recorder for async control

* Remove fieldId

* Add try catch around Interactions.send

* Remove requestId

* Update snapshot

* Expose Interactions types

* Remove duplicate logic

* Use enum to describe where the message is from

* Clean up css and set enum value

* Add slot description

* Simplify import

* Default noop to visualizer

* Comment AudioRecorder and separate constants

* Update snapshot

* Reorder css

* Enable conversationModeOn prop

* Update packages/amplify-ui-components/src/common/audio-control/helper.ts

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* Move error strings to translations

* Remove trailing comma

* Wrap audioContext resume with error logger

* Try catch `resume` and make startRecording async

* Use callback based decode for safari

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>

* ci: enable preview release from ui-components/main (aws-amplify#6648)

* Enable publish from ui-preview branch

* Revert checkout

Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* fix(@aws-amplify/ui-components): Update scss and reset chat state upon finish  (aws-amplify#6652)

* Move width/height control to container level

* Add min-height to footer

* Reset chat state upon session finish

* Remove trailing comma

* Handle error based on whether it's recoverable or not

* Put a different placeholder if only voice is enabled

* Make dot color customizable

* Fix typo in translations

* Let users stop audio and remove speaking chat state

* Add --amplify-blue as bg chat color

* Remove console.error

* ci: add interactions integ test (aws-amplify#6678)

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.3.5
 - @aws-amplify/ui-angular@0.3.0
 - @aws-amplify/ui-components@0.7.0
 - @aws-amplify/ui-react@0.2.16
 - @aws-amplify/ui-storybook@0.2.16
 - @aws-amplify/ui-vue@0.2.15
 - @aws-amplify/analytics@3.2.8
 - @aws-amplify/api-graphql@1.1.7
 - @aws-amplify/api-rest@1.1.7
 - @aws-amplify/api@3.1.24
 - @aws-amplify/auth@3.3.6
 - aws-amplify-angular@5.0.25
 - aws-amplify-react@4.2.0
 - aws-amplify@3.0.25
 - @aws-amplify/cache@3.1.24
 - @aws-amplify/core@3.4.7
 - @aws-amplify/datastore@2.2.11
 - @aws-amplify/interactions@3.2.0
 - @aws-amplify/predictions@3.1.24
 - @aws-amplify/pubsub@3.0.25
 - @aws-amplify/pushnotification@3.1.11
 - @aws-amplify/storage@3.2.14
 - @aws-amplify/xr@2.1.24

* chore(release): update version.ts [ci skip]

* fix(amazon-cognito-identity-js): add "none" to sameSite possible values (aws-amplify#6682)

* add none to cookiesStorage sameSite possible values

* add sameSite = none to the valid values

* update ICookieStorageData interface

update ICookieStorageData to support sameSite = 'none'

* Update packages/amazon-cognito-identity-js/src/CookieStorage.js

Co-authored-by: Alex Hinson <alexmhinson@gmail.com>

* Bump aws-sdk to gamma.v8

* Bump v7 to v8

* Add missing config for predictions test

* feat(SSR): withSSRContext (aws-amplify#6146)

Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* fix(@aws-amplify/datastore): DataStore regression with AsyncStorage (aws-amplify#6712)

* Remove DataStore from defaultModules until 100 subscription bug is fixed

* Use factory pattern for InMemoryStore to work with AsyncStorage

* Fix AsyncStorage test

* chore: preparing release

* chore: preparing release

* chore(release): Publish [ci skip]

 - amazon-cognito-identity-js@4.4.0
 - @aws-amplify/ui-angular@0.4.0
 - @aws-amplify/ui-components@0.8.0
 - @aws-amplify/ui-react@0.2.17
 - @aws-amplify/ui-storybook@0.2.17
 - @aws-amplify/ui-vue@0.2.16
 - @aws-amplify/analytics@3.3.0
 - @aws-amplify/api-graphql@1.2.0
 - @aws-amplify/api-rest@1.2.0
 - @aws-amplify/api@3.2.0
 - @aws-amplify/auth@3.4.0
 - aws-amplify-angular@5.0.26
 - aws-amplify-react@4.2.1
 - aws-amplify@3.1.0
 - @aws-amplify/cache@3.1.25
 - @aws-amplify/core@3.5.0
 - @aws-amplify/datastore@2.3.0
 - @aws-amplify/interactions@3.3.0
 - @aws-amplify/predictions@3.2.0
 - @aws-amplify/pubsub@3.1.0
 - @aws-amplify/pushnotification@3.2.0
 - @aws-amplify/storage@3.3.0
 - @aws-amplify/xr@2.2.0

* chore(release): update version.ts [ci skip]

* fix: Integration tests will retry "yarn install" (aws-amplify#6709)

* Remove isomorphic-ws & ws from SSR DataStore usage (aws-amplify#6719)

Bypassing PR steps since this is considered a hot-fix. CI on main will still be validation for release.

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>

* Remove duplicate test keys

* Use tabs

* Use correct amplify version

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Jordan Ranz <jordanmranz@gmail.com>
Co-authored-by: elorzafe <elorzafe@amazon.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Mohamed Djelaili <meddjelaili.me@gmail.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
Co-authored-by: Eric Clemmons <eric@smarterspam.com>
Co-authored-by: Sam Martinez <samlmar@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Interactions Related to Interactions category
Projects
None yet
Development

No branches or pull requests

4 participants