Showing 5 of 118 files from the diff.
Other files ignored by Codecov

@@ -23,7 +23,7 @@
Loading
23 23
        <div v-bind:class="amplifyUI.inputLabel">{{$Amplify.I18n.get('Password')}} *</div>
24 24
        <input  v-bind:class="amplifyUI.input" v-model="password" type="password" :placeholder="$Amplify.I18n.get('Enter your password')" v-on:keyup.enter="signIn" v-bind:data-test="auth.signIn.passwordInput" />
25 25
        <div v-bind:class="amplifyUI.hint">
26 -
          {{$Amplify.I18n.get('Forget your password? ')}}
26 +
          {{$Amplify.I18n.get('Forgot your password? ')}}
27 27
          <a v-bind:class="amplifyUI.a" v-on:click="forgot" v-bind:data-test="auth.signIn.forgotPasswordLink">{{$Amplify.I18n.get('Reset password')}}</a>
28 28
        </div>
29 29
      </div>

@@ -1,2 +1,2 @@
Loading
1 1
// generated by genversion
2 -
export const version = '3.6.0';
2 +
export const version = '3.7.0';

@@ -15,7 +15,7 @@
Loading
15 15
import { I18n, isEmpty, ConsoleLogger as Logger } from '@aws-amplify/core';
16 16
import { Auth } from '@aws-amplify/auth';
17 17
18 -
import { AuthPiece, IAuthPieceProps, IAuthPieceState  } from './AuthPiece';
18 +
import { AuthPiece, IAuthPieceProps, IAuthPieceState } from './AuthPiece';
19 19
import { FederatedButtons } from './FederatedSignIn';
20 20
import { SignUp } from './SignUp';
21 21
import { ForgotPassword } from './ForgotPassword';
@@ -176,7 +176,7 @@
Loading
176 176
							/>
177 177
							{!hideForgotPassword && (
178 178
								<Hint theme={theme}>
179 -
									{I18n.get('Forget your password? ')}
179 +
									{I18n.get('Forgot your password? ')}
180 180
									<Link
181 181
										theme={theme}
182 182
										onClick={() => this.changeState('forgotPassword')}

@@ -129,7 +129,7 @@
Loading
129 129
		);
130 130
131 131
		const validCognitoGroup = groupAuthRules.find(groupAuthRule => {
132 -
			// validate token agains groupClaim
132 +
			// validate token against groupClaim
133 133
			const userGroups: string[] =
134 134
				cognitoTokenPayload[groupAuthRule.groupClaim] || [];
135 135
@@ -151,11 +151,11 @@
Loading
151 151
		);
152 152
153 153
		const validOidcGroup = groupAuthRules.find(groupAuthRule => {
154 -
			// validate token agains groupClaim
154 +
			// validate token against groupClaim
155 155
			const userGroups: string[] =
156 156
				oidcTokenPayload[groupAuthRule.groupClaim] || [];
157 157
158 -
			userGroups.find(userGroup => {
158 +
			return userGroups.find(userGroup => {
159 159
				return groupAuthRule.groups.find(group => group === userGroup);
160 160
			});
161 161
		});

@@ -1407,15 +1407,18 @@
Loading
1407 1407
		clientMetadata: ClientMetaData = this._config.clientMetadata
1408 1408
	): Promise<void> {
1409 1409
		return new Promise((resolve, reject) => {
1410 -
			user.getAttributeVerificationCode(attr, {
1411 -
				onSuccess() {
1412 -
					return resolve();
1413 -
				},
1414 -
				onFailure(err) {
1415 -
					return reject(err);
1410 +
			user.getAttributeVerificationCode(
1411 +
				attr,
1412 +
				{
1413 +
					onSuccess() {
1414 +
						return resolve();
1415 +
					},
1416 +
					onFailure(err) {
1417 +
						return reject(err);
1418 +
					},
1416 1419
				},
1417 -
				clientMetadata,
1418 -
			});
1420 +
				clientMetadata
1421 +
			);
1419 1422
		});
1420 1423
	}
1421 1424
Files Coverage
packages 73.28%
Project Totals (213 files) 73.28%
1
codecov:
2
  notify:
3
    after_n_builds: 1
4

5
coverage:
6
  status:
7
    project: off
8
    patch: off
9
    changes:
10
      default:
11
        target: 82%
12
        if_not_found: success
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading