Skip to content

Commit dc7f920

Browse files
authored
Revert "Optimized was-amplify lib (#716)" (#725)
This reverts commit c422cf6.
1 parent e325772 commit dc7f920

File tree

4 files changed

+280
-516
lines changed

4 files changed

+280
-516
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
"main": "index.js",
55
"license": "MIT",
66
"dependencies": {
7-
"@aws-amplify/core": "^3.2.7",
8-
"@aws-amplify/interactions": "^3.1.10",
97
"@babel/core": "^7.7.7",
108
"@babel/plugin-transform-react-jsx-development": "^7.9.0",
119
"@react-workspaces/react-scripts": "^3.0.1-alpha-07",
@@ -20,6 +18,8 @@
2018
"aframe-look-at-component": "^0.8.0",
2119
"aframe-particle-system-component": "^1.1.3",
2220
"aframe-react": "^4.4.0",
21+
"aws-amplify": "^2.2.1",
22+
"aws-amplify-react": "^3.1.2",
2323
"babel-eslint": "10.0.2",
2424
"babel-jest": "24.8.0",
2525
"babel-loader": "^8.0.6",

src/components/src/ChatBot/chatbot.review.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
*/
2121

2222
import React, { Component } from 'react';
23-
import Amplify from '@aws-amplify/core';
24-
import Interactions from '@aws-amplify/interactions';
23+
import Amplify, { Interactions } from 'aws-amplify';
2524
// @ts-ignore
2625
// eslint-disable-next-line import/no-webpack-loader-syntax,import/no-unresolved
2726
import awsmobile from '../../../aws-exports';

src/components/src/ChatBot/chatbot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import React from 'react';
2323
import intl from 'react-intl-universal';
24-
import Interactions from '@aws-amplify/interactions';
24+
import { Interactions } from 'aws-amplify';
2525
import { ThemeProvider } from 'styled-components';
2626
import ChatBot from 'react-simple-chatbot';
2727
import Review from './chatbot.review';

0 commit comments

Comments
 (0)