Skip to content

Commit e235705

Browse files
Manuel Iglesiasmanueliglesias
authored andcommitted
1 parent 4bb9928 commit e235705

File tree

18 files changed

+90
-51
lines changed

18 files changed

+90
-51
lines changed

CHANGELOG.md

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
# Changelog for AWS Amplify
2-
<!--LATEST=0.1.30-->
2+
<!--LATEST=0.1.35-->
33
<!--ENTRYINSERT-->
44

5-
## 12/22/2017
5+
## 01/16/2018
6+
* aws-amplify - v0.1.35
7+
* Improvements to Typescript developer experience. #155
8+
* fix RN props #158
9+
* delete ama #142
10+
* aws-amplify-react-native - v0.1.23
11+
* fix RN props #158
12+
13+
## 01/12/2018
14+
* aws-amplify-react-native - v0.1.22
15+
* bug fix: fix aws-sdk package
16+
## 01/11/2018
17+
* aws-amplify - v0.1.34
18+
* bug fix: fix aws-sdk package
19+
* bug fix: update main script
620

7-
* aws-amplify - v0.1.30
21+
## 01/09/2018
22+
23+
* aws-amplify - v0.1.32
824
* aws-amplify-react - v0.1.30
9-
* aws-amplify-react-native - v0.1.20
25+
* aws-ampliify-react-native - v0.1.21
1026

11-
* feature: Federated Authentication with Google and Facebook in React
12-
* bugFix: Federated auth token fixes
13-
* feature: Automatic S3 Analytics tracking with React components
14-
* feature: Increase unit test coverage
15-
* feature: Jest snapshot update
16-
* feature: Update default auth theme
17-
* feature: Export Signer interface for 3rd party HttpModules
18-
* bugFix: aws-amplify-react-native: Update pinpoint region in React Native
19-
* feature: Better support for guest (Unauthenticated) credentials
20-
* bugFix: documentation: Fix broken link (to authentication)
27+
* Enhancement: remove aws-sdk-mobile-analytics dependency from package.json
2128

2229
## 01/08/2018
2330

@@ -33,10 +40,19 @@
3340
* Bug fix: Doc syntax error fix
3441
* Bug fix: Add charset on default header for API
3542

36-
## 01/09/2018
43+
## 12/22/2017
3744

38-
* aws-amplify - v0.1.32
45+
* aws-amplify - v0.1.30
3946
* aws-amplify-react - v0.1.30
40-
* aws-ampliify-react-native - v0.1.21
47+
* aws-amplify-react-native - v0.1.20
4148

42-
* Enhancement: remove aws-sdk-mobile-analytics dependency from package.json
49+
* feature: Federated Authentication with Google and Facebook in React
50+
* bugFix: Federated auth token fixes
51+
* feature: Automatic S3 Analytics tracking with React components
52+
* feature: Increase unit test coverage
53+
* feature: Jest snapshot update
54+
* feature: Update default auth theme
55+
* feature: Export Signer interface for 3rd party HttpModules
56+
* bugFix: aws-amplify-react-native: Update pinpoint region in React Native
57+
* feature: Better support for guest (Unauthenticated) credentials
58+
* bugFix: documentation: Fix broken link (to authentication)

packages/aws-amplify-react-native/dist/components/auth/Authenticator.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import VerifyContact from './VerifyContact';
2727
import SignUp from './SignUp';
2828
import ConfirmSignUp from './ConfirmSignUp';
2929
import ForgotPassword from './ForgotPassword';
30+
import RequireNewPassword from './RequireNewPassword';
3031
import Greetings from './Greetings';
3132

3233
const logger = new Logger('Authenticator');
@@ -57,7 +58,7 @@ export default class Authenticator extends React.Component {
5758
super(props);
5859
this.state = {
5960
authState: props.authState || 'signIn',
60-
authDate: props.authData
61+
authData: props.authData
6162
};
6263

6364
this.handleStateChange = this.handleStateChange.bind(this);
@@ -106,7 +107,7 @@ export default class Authenticator extends React.Component {
106107

107108
const { hideDefault } = this.props;
108109
const props_children = this.props.children || [];
109-
const default_children = [React.createElement(SignIn, null), React.createElement(ConfirmSignIn, null), React.createElement(VerifyContact, null), React.createElement(SignUp, null), React.createElement(ConfirmSignUp, null), React.createElement(ForgotPassword, null), React.createElement(Greetings, null)];
110+
const default_children = [React.createElement(SignIn, null), React.createElement(ConfirmSignIn, null), React.createElement(VerifyContact, null), React.createElement(SignUp, null), React.createElement(ConfirmSignUp, null), React.createElement(ForgotPassword, null), React.createElement(RequireNewPassword, null), React.createElement(Greetings, null)];
110111
const children = (hideDefault ? [] : default_children).concat(props_children).map((child, index) => {
111112
return React.cloneElement(child, {
112113
key: 'auth_piece_' + index,

packages/aws-amplify-react-native/dist/components/auth/RequireNewPassword.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default class RequireNewPassword extends AuthPiece {
8080
React.createElement(Button, {
8181
title: I18n.get('Change Password'),
8282
onPress: this.change,
83-
disabled: !this.state.code
83+
disabled: !this.state.password
8484
})
8585
),
8686
React.createElement(Footer, { theme: theme, onStateChange: this.changeState }),

packages/aws-amplify-react-native/dist/components/auth/VerifyContact.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export default class VerifyContact extends AuthPiece {
9595
selectedValue: this.state.pickAttr,
9696
onValueChange: (value, index) => this.setState({ pickAttr: value })
9797
},
98-
email ? React.createElement(Picker.Item, { label: 'Email', value: 'email' }) : null,
99-
phone_number ? React.createElement(Picker.Item, { label: 'Phone Number', value: 'phone_number' }) : null
98+
email ? React.createElement(Picker.Item, { label: I18n.get('Email'), value: 'email' }) : null,
99+
phone_number ? React.createElement(Picker.Item, { label: I18n.get('Phone Number'), value: 'phone_number' }) : null
100100
),
101101
React.createElement(Button, {
102102
title: I18n.get('Verify'),

packages/aws-amplify-react-native/dist/components/auth/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ import ConfirmSignIn from './ConfirmSignIn';
2525
import SignUp from './SignUp';
2626
import ConfirmSignUp from './ConfirmSignUp';
2727
import ForgotPassword from './ForgotPassword';
28+
import RequireNewPassword from './RequireNewPassword';
2829
import VerifyContact from './VerifyContact';
2930
import Greetings from './Greetings';
3031

3132
const logger = new Logger('auth components');
3233

33-
export { Authenticator, AuthPiece, SignIn, ConfirmSignIn, SignUp, ConfirmSignUp, ForgotPassword, VerifyContact, Greetings };
34+
export { Authenticator, AuthPiece, SignIn, ConfirmSignIn, SignUp, ConfirmSignUp, ForgotPassword, RequireNewPassword, VerifyContact, Greetings };
3435

3536
export function withAuthenticator(Comp, includeGreetings = false) {
3637
class Wrapper extends React.Component {

packages/aws-amplify-react-native/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/aws-amplify-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-amplify-react-native",
3-
"version": "0.1.22",
3+
"version": "0.1.23",
44
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
55
"main": "dist/index.js",
66
"scripts": {

packages/aws-amplify/dist/aws-amplify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ exports.JS = JS_1.default;
11521152
var Signer_1 = __webpack_require__(104);
11531153
exports.Signer = Signer_1.default;
11541154
exports.Constants = {
1155-
userAgent: 'aws-amplify/0.1.22 js'
1155+
userAgent: 'aws-amplify/0.1.x js'
11561156
};
11571157
var logger = new Logger_1.ConsoleLogger('Common');
11581158
if (Facet_1.AWS['util']) {

packages/aws-amplify/dist/aws-amplify.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/aws-amplify/dist/aws-amplify.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)