Skip to content

Commit

Permalink
fix(aws-amplify-react): import regenerator-runtime in ChatBot
Browse files Browse the repository at this point in the history
fix(aws-amplify-react): import regenerator-runtime in ChatBot
  • Loading branch information
powerful23 authored Jun 29, 2018
2 parents d3f6783 + 7198df7 commit f0e50a9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Interactions/ChatBot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Interactions } from 'aws-amplify';
import { Container, FormSection, SectionHeader, SectionBody, SectionFooter } from "../AmplifyUI";
import { Input, Button } from "../AmplifyTheme";
import { I18n } from "aws-amplify";
import regeneratorRuntime from 'regenerator-runtime/runtime';

const styles = {
itemMe: {
Expand Down
2 changes: 2 additions & 0 deletions packages/aws-amplify/src/Interactions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ Amplify.register(Interactions);
export default Interactions;

export * from './Providers/AWSLexProvider';

export { InteractionsClass };
1 change: 1 addition & 0 deletions packages/aws-amplify/src/PubSub/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ Amplify.register(PubSub);
export default PubSub;

export * from './Providers/AWSIotProvider';
export { PubSubClass };
8 changes: 5 additions & 3 deletions packages/aws-amplify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import Analytics, { AnalyticsClass, AnalyticsProvider, AWSPinpointProvider, AWSK
import Auth, { AuthClass } from './Auth';
import Storage, { StorageClass } from './Storage';
import API, { APIClass, graphqlOperation } from './API';
import PubSub from './PubSub';
import PubSub, { PubSubClass } from './PubSub';
import Cache from './Cache';
import Interactions from './Interactions';
import Interactions, { InteractionsClass } from './Interactions';
import {
ConsoleLogger as Logger,
Hub,
Expand Down Expand Up @@ -63,7 +63,9 @@ export {
AuthClass,
AnalyticsClass,
APIClass,
StorageClass,
StorageClass,
PubSubClass,
InteractionsClass,
AnalyticsProvider,
AWSPinpointProvider,
AWSKinesisProvider
Expand Down

0 comments on commit f0e50a9

Please sign in to comment.