Skip to content

Commit

Permalink
Merge branch 'master' into modularization-Amplifiyer
Browse files Browse the repository at this point in the history
  • Loading branch information
Amplifiyer committed Mar 30, 2020
2 parents fe6aaf6 + d630c34 commit 082af2d
Show file tree
Hide file tree
Showing 48 changed files with 210 additions and 74 deletions.
4 changes: 2 additions & 2 deletions docs/api/classes/authclass.html
Expand Up @@ -2101,15 +2101,15 @@ <h3>sign<wbr>Up</h3>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Sign up with username, password and other attrbutes like phone, email</p>
<p>Sign up with username, password and other attributes like phone, email</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>params: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/signupparams.html" class="tsd-signature-type">SignUpParams</a></h5>
<div class="tsd-comment tsd-typography">
<p>The user attirbutes used for signin</p>
<p>The user attributes used for signin</p>
</div>
</li>
<li>
Expand Down
4 changes: 4 additions & 0 deletions packages/amazon-cognito-identity-js/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.2.6](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.5...amazon-cognito-identity-js@3.2.6) (2020-03-25)

**Note:** Version bump only for package amazon-cognito-identity-js

## [3.2.5](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.4...amazon-cognito-identity-js@3.2.5) (2020-02-28)

**Note:** Version bump only for package amazon-cognito-identity-js
Expand Down
3 changes: 2 additions & 1 deletion packages/amazon-cognito-identity-js/index.d.ts
Expand Up @@ -152,7 +152,8 @@ declare module 'amazon-cognito-identity-js' {
onSuccess: (session: CognitoUserSession) => void;
onFailure: (err: any) => void;
},
mfaType?: string
mfaType?: string,
clientMetadata?: ClientMetadata
): void;
public listDevices(
limit: number,
Expand Down
2 changes: 1 addition & 1 deletion packages/amazon-cognito-identity-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/amazon-cognito-identity-js/package.json
@@ -1,7 +1,7 @@
{
"name": "amazon-cognito-identity-js",
"description": "Amazon Cognito Identity Provider JavaScript SDK",
"version": "3.2.5",
"version": "3.2.6",
"author": {
"name": "Amazon Web Services",
"email": "aws@amazon.com",
Expand Down Expand Up @@ -63,7 +63,7 @@
"types": "./index.d.ts",
"dependencies": {
"buffer": "4.9.1",
"crypto-js": "3.1.9-1",
"crypto-js": "^3.3.0",
"js-cookie": "^2.1.4"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/amplify-ui/CHANGELOG.md
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.5...@aws-amplify/ui@1.1.6) (2020-03-25)

### Bug Fixes

- **aws-amplify-react:** Fix Federated icons when using React Bo… ([#5073](https://github.com/aws-amplify/amplify-js/issues/5073)) ([49f8bfe](https://github.com/aws-amplify/amplify-js/commit/49f8bfeebea845779ef232d83295bd33ebb22fb2))

## [1.1.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.3...@aws-amplify/ui@1.1.5) (2020-02-07)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/amplify-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui",
"version": "1.1.5",
"version": "1.1.6",
"main": "dist/aws-amplify-ui.js",
"types": "lib/index.d.ts",
"publishConfig": {
Expand Down
4 changes: 4 additions & 0 deletions packages/analytics/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@2.2.6...@aws-amplify/analytics@2.2.7) (2020-03-25)

**Note:** Version bump only for package @aws-amplify/analytics

## [2.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@2.2.5...@aws-amplify/analytics@2.2.6) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/analytics
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/analytics",
"version": "2.2.6",
"version": "2.2.7",
"description": "Analytics category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -37,8 +37,8 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/cache": "^2.1.6",
"@aws-amplify/core": "^2.2.5",
"@aws-amplify/cache": "^2.1.7",
"@aws-amplify/core": "^2.2.6",
"@aws-sdk/client-firehose": "1.0.0-beta.1",
"@aws-sdk/client-kinesis": "1.0.0-beta.1",
"@aws-sdk/client-personalize-events": "1.0.0-beta.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/api/CHANGELOG.md
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@2.1.6...@aws-amplify/api@2.2.0) (2020-03-25)

### Features

- **@aws-amplify/api:** pass additionalHeaders to graphql function ([#5001](https://github.com/aws-amplify/amplify-js/issues/5001)) ([44b4faf](https://github.com/aws-amplify/amplify-js/commit/44b4faf294088cee533c8a5a6ff3b3d1334162c3))

## [2.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@2.1.5...@aws-amplify/api@2.1.6) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/api
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/api",
"version": "2.1.6",
"version": "2.2.0",
"description": "Api category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/auth/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@2.1.6...@aws-amplify/auth@2.1.7) (2020-03-25)

**Note:** Version bump only for package @aws-amplify/auth

## [2.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/auth@2.1.5...@aws-amplify/auth@2.1.6) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/auth
Expand Down
10 changes: 5 additions & 5 deletions packages/auth/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/auth",
"version": "2.1.6",
"version": "2.1.7",
"description": "Auth category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -35,10 +35,10 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/cache": "^2.1.6",
"@aws-amplify/core": "^2.2.5",
"amazon-cognito-identity-js": "^3.2.5",
"crypto-js": "3.1.9-1"
"@aws-amplify/cache": "^2.1.7",
"@aws-amplify/core": "^2.2.6",
"amazon-cognito-identity-js": "^3.2.6",
"crypto-js": "^3.3.0"
},
"jest": {
"globals": {
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/src/Auth.ts
Expand Up @@ -240,8 +240,8 @@ export class AuthClass {
}

/**
* Sign up with username, password and other attrbutes like phone, email
* @param {String | object} params - The user attirbutes used for signin
* Sign up with username, password and other attributes like phone, email
* @param {String | object} params - The user attributes used for signin
* @param {String[]} restOfAttrs - for the backward compatability
* @return - A promise resolves callback data if success
*/
Expand Down
4 changes: 4 additions & 0 deletions packages/aws-amplify-angular/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.1.8](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@4.1.7...aws-amplify-angular@4.1.8) (2020-03-25)

**Note:** Version bump only for package aws-amplify-angular

## [4.1.7](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-angular@4.1.6...aws-amplify-angular@4.1.7) (2020-02-28)

**Note:** Version bump only for package aws-amplify-angular
Expand Down
6 changes: 3 additions & 3 deletions packages/aws-amplify-angular/package.json
@@ -1,6 +1,6 @@
{
"name": "aws-amplify-angular",
"version": "4.1.7",
"version": "4.1.8",
"description": "AWS Amplify Angular Components",
"main": "bundles/aws-amplify-angular.umd.js",
"module": "dist/index.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@types/zen-observable": "^0.5.3",
"angular2-template-loader": "^0.6.2",
"awesome-typescript-loader": "^4.0.1",
"aws-amplify": "^2.2.6",
"aws-amplify": "^2.2.7",
"babel-core": "^6.26.3",
"babel-plugin-lodash": "^3.3.4",
"babel-preset-env": "^1.7.0",
Expand Down Expand Up @@ -69,7 +69,7 @@
"zone.js": "^0.8.26"
},
"dependencies": {
"@aws-amplify/ui": "^1.1.5",
"@aws-amplify/ui": "^1.1.6",
"rxjs-compat": "^6.2.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-amplify-react-native/src/Auth/SignIn.js
Expand Up @@ -44,7 +44,7 @@ export default class SignIn extends AuthPiece {
const username = this.getUsernameFromInput() || '';
const { password } = this.state;
logger.debug('Sign In for ' + username);
Auth.signIn(username, password)
return Auth.signIn(username, password)
.then(user => {
logger.debug(user);
const requireMFA = user.Session !== null;
Expand Down
4 changes: 4 additions & 0 deletions packages/aws-amplify-react/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.8](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@3.1.7...aws-amplify-react@3.1.8) (2020-03-25)

**Note:** Version bump only for package aws-amplify-react

## [3.1.7](https://github.com/aws-amplify/amplify-js/compare/aws-amplify-react@3.1.6...aws-amplify-react@3.1.7) (2020-02-28)

**Note:** Version bump only for package aws-amplify-react
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-amplify-react/package.json
@@ -1,6 +1,6 @@
{
"name": "aws-amplify-react",
"version": "3.1.7",
"version": "3.1.8",
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand All @@ -26,7 +26,7 @@
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/react": "^16.0.41",
"@types/react-dom": "^16.0.11",
"aws-amplify": "^2.2.6",
"aws-amplify": "^2.2.7",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.3",
"enzyme-to-json": "^3.2.1",
Expand Down
1 change: 1 addition & 0 deletions packages/aws-amplify-react/src/Auth/index.tsx
Expand Up @@ -29,6 +29,7 @@ export { TOTPSetup } from './TOTPSetup';
export { Loading } from './Loading';

export * from './Provider';
export * from './common/types';

export function withAuthenticator(
Comp,
Expand Down
4 changes: 4 additions & 0 deletions packages/aws-amplify/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.7](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@2.2.6...aws-amplify@2.2.7) (2020-03-25)

**Note:** Version bump only for package aws-amplify

## [2.2.6](https://github.com/aws-amplify/amplify-js/compare/aws-amplify@2.2.5...aws-amplify@2.2.6) (2020-02-28)

**Note:** Version bump only for package aws-amplify
Expand Down
25 changes: 13 additions & 12 deletions packages/aws-amplify/package.json
@@ -1,6 +1,6 @@
{
"name": "aws-amplify",
"version": "2.2.6",
"version": "2.2.7",
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -34,16 +34,17 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/analytics": "^2.2.6",
"@aws-amplify/api": "^2.1.6",
"@aws-amplify/auth": "^2.1.6",
"@aws-amplify/cache": "^2.1.6",
"@aws-amplify/core": "^2.2.5",
"@aws-amplify/interactions": "^2.1.6",
"@aws-amplify/predictions": "^2.1.6",
"@aws-amplify/pubsub": "^2.1.7",
"@aws-amplify/storage": "^2.2.1",
"@aws-amplify/ui": "^1.1.5",
"@aws-amplify/xr": "^1.1.6"
"@aws-amplify/analytics": "^2.2.7",
"@aws-amplify/api": "^2.2.0",
"@aws-amplify/auth": "^2.1.7",
"@aws-amplify/cache": "^2.1.7",
"@aws-amplify/core": "^2.2.6",
"@aws-amplify/datastore": "^1.1.0",
"@aws-amplify/interactions": "^2.1.7",
"@aws-amplify/predictions": "^2.1.7",
"@aws-amplify/pubsub": "^2.1.8",
"@aws-amplify/storage": "^2.2.2",
"@aws-amplify/ui": "^1.1.6",
"@aws-amplify/xr": "^1.1.7"
}
}
4 changes: 4 additions & 0 deletions packages/cache/CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.1.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@2.1.6...@aws-amplify/cache@2.1.7) (2020-03-25)

**Note:** Version bump only for package @aws-amplify/cache

## [2.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/cache@2.1.5...@aws-amplify/cache@2.1.6) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/cache
Expand Down
4 changes: 2 additions & 2 deletions packages/cache/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/cache",
"version": "2.1.6",
"version": "2.1.7",
"description": "Cache category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/core": "^2.2.5"
"@aws-amplify/core": "^2.2.6"
},
"jest": {
"globals": {
Expand Down
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@2.2.5...@aws-amplify/core@2.2.6) (2020-03-25)

### Bug Fixes

- **core:** move react-native dependency from dev ([fedf0b3](https://github.com/aws-amplify/amplify-js/commit/fedf0b331cb8e2263f0c7b7ae57bac5d8f69c888))
- **core:** revert dep addition. Add to peer and devDeps ([b2a22e5](https://github.com/aws-amplify/amplify-js/commit/b2a22e53532663328b200761ce1ecf35495acbd1))

## [2.2.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@2.2.4...@aws-amplify/core@2.2.5) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/core
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/core",
"version": "2.2.5",
"version": "2.2.6",
"description": "Core category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/Amplify.ts
Expand Up @@ -20,6 +20,7 @@ export class Amplify {
static UI = null;
static XR = null;
static Predictions = null;
static DataStore = null;

static Logger = LoggerClass;
static ServiceWorker = null;
Expand Down
11 changes: 11 additions & 0 deletions packages/datastore/CHANGELOG.md
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.1.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@1.0.8...@aws-amplify/datastore@1.1.0) (2020-03-25)

### Bug Fixes

- **@aws-amplify/datastore:** Fix query and delete types ([#5032](https://github.com/aws-amplify/amplify-js/issues/5032)) ([fdca554](https://github.com/aws-amplify/amplify-js/commit/fdca5541372662ffa1d932b665c481a78e4ccdc7)), closes [#4827](https://github.com/aws-amplify/amplify-js/issues/4827)
- **@aws-amplify/datastore:** Storage should be re-initialized after DataStore.clear() ([#5083](https://github.com/aws-amplify/amplify-js/issues/5083)) ([0ddb6af](https://github.com/aws-amplify/amplify-js/commit/0ddb6af3163fc624cc4f320ecf2b2463d7d6b102)), closes [#5076](https://github.com/aws-amplify/amplify-js/issues/5076)

### Features

- **@aws-amplify/datastore:** Support non-[@model](https://github.com/model) types in DataStore ([#5128](https://github.com/aws-amplify/amplify-js/issues/5128)) ([b884ea2](https://github.com/aws-amplify/amplify-js/commit/b884ea2ce730d8ce981a5921f74f8f37338f6f42))

## [1.0.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@1.0.7...@aws-amplify/datastore@1.0.8) (2020-02-28)

**Note:** Version bump only for package @aws-amplify/datastore
Expand Down

0 comments on commit 082af2d

Please sign in to comment.