Skip to content

Commit

Permalink
chore(in-app-messaging): merge in-app-messaging/staging to in-app-mes…
Browse files Browse the repository at this point in the history
…saging/main (#9365)

* chore(in-app-message): In app messaging/add unit tests (#9253)

* chore: Add unit tests

* Add licensing to top of analytics test

* Fixed typo

* Addressed PR feedback

* Remove quiet time test

Co-authored-by: Chris Fang <chrfang@amazon.com>

* fix(@aws-amplify/datastore): consecutive saves with timestamps (#9298)

* chore: preparing release

* chore(release): Publish [ci skip]

 - @aws-amplify/ui-angular@1.0.36
 - @aws-amplify/ui-components@1.9.7
 - @aws-amplify/ui-react@1.2.27
 - @aws-amplify/ui-storybook@2.0.27
 - @aws-amplify/ui-vue@1.1.21
 - @aws-amplify/ui@2.0.4
 - @aws-amplify/analytics@5.1.7
 - @aws-amplify/api-graphql@2.2.16
 - @aws-amplify/api-rest@2.0.27
 - @aws-amplify/api@4.0.27
 - @aws-amplify/auth@4.3.17
 - aws-amplify-angular@6.0.27
 - aws-amplify-react@5.1.10
 - aws-amplify-vue@2.1.6
 - aws-amplify@4.3.9
 - @aws-amplify/cache@4.0.29
 - @aws-amplify/core@4.3.9
 - @aws-amplify/datastore-storage-adapter@1.2.1
 - @aws-amplify/datastore@3.7.1
 - @aws-amplify/geo@1.1.9
 - @aws-amplify/interactions@4.0.27
 - @aws-amplify/predictions@4.0.27
 - @aws-amplify/pubsub@4.2.3
 - @aws-amplify/pushnotification@4.3.6
 - @aws-amplify/storage@4.4.10
 - @aws-amplify/xr@3.0.27

* chore(release): update version.ts [ci skip]

* fix(@aws-amplify/amplify-ui): change private property to false in package.json (#9303)

Resolving an issue with installing the library

* chore: preparing release

* fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304)

* fix(@aws-amplify/amplify-ui): change private property to false in package.json

* fix(@aws-amplify/amplify-ui): remove private property from package.json

Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com>

* fix(@aws-amplify/amplify-ui): remove private prop from package.json (#9304)

* fix(@aws-amplify/amplify-ui): change private property to false in package.json

* fix(@aws-amplify/amplify-ui): remove private property from package.json

Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com>

* chore(release): Publish [ci skip]

 - @aws-amplify/ui-angular@1.0.37
 - @aws-amplify/ui-components@1.9.8
 - @aws-amplify/ui-react@1.2.28
 - @aws-amplify/ui-storybook@2.0.28
 - @aws-amplify/ui-vue@1.1.22
 - @aws-amplify/ui@2.0.5
 - @aws-amplify/analytics@5.1.8
 - @aws-amplify/api-graphql@2.2.17
 - @aws-amplify/api-rest@2.0.28
 - @aws-amplify/api@4.0.28
 - @aws-amplify/auth@4.3.18
 - aws-amplify-angular@6.0.28
 - aws-amplify-react@5.1.11
 - aws-amplify@4.3.10
 - @aws-amplify/cache@4.0.30
 - @aws-amplify/core@4.3.10
 - @aws-amplify/datastore-storage-adapter@1.2.2
 - @aws-amplify/datastore@3.7.2
 - @aws-amplify/geo@1.1.10
 - @aws-amplify/interactions@4.0.28
 - @aws-amplify/predictions@4.0.28
 - @aws-amplify/pubsub@4.2.4
 - @aws-amplify/pushnotification@4.3.7
 - @aws-amplify/storage@4.4.11
 - @aws-amplify/xr@3.0.28

* chore(release): update version.ts [ci skip]

* fix(@aws-amplify/datastore): fixes observeQuery in local-only mode (#9300)

* feat(in-app-messaging): Add web support for session cap (#9308)

* feat(in-app-messaging): Add web support for session cap

* Add undefined check for document

Co-authored-by: Chris Fang <chrfang@amazon.com>

* fix(@aws-amplify/pushnotification): make eligible variables final (#9301)

Co-authored-by: Manoj NB <manojnb@amazon.com>
Co-authored-by: Caleb Pollman <cpollman1@gmail.com>

* fix(@aws-amplify/aws-amplify-react-native): fix dev build for Windows (#9341)

* fix(@aws-amplify/api-graphql): Fix webpack build (#9358)

* chore: preparing release

* chore(release): Publish [ci skip]

 - @aws-amplify/ui-angular@1.0.38
 - @aws-amplify/ui-components@1.9.9
 - @aws-amplify/ui-react@1.2.29
 - @aws-amplify/ui-storybook@2.0.29
 - @aws-amplify/ui-vue@1.1.23
 - @aws-amplify/analytics@5.1.9
 - @aws-amplify/api-graphql@2.2.18
 - @aws-amplify/api-rest@2.0.29
 - @aws-amplify/api@4.0.29
 - @aws-amplify/auth@4.3.19
 - aws-amplify-angular@6.0.29
 - aws-amplify-react-native@6.0.2
 - aws-amplify-react@5.1.12
 - aws-amplify@4.3.11
 - @aws-amplify/cache@4.0.31
 - @aws-amplify/core@4.3.11
 - @aws-amplify/datastore-storage-adapter@1.2.3
 - @aws-amplify/datastore@3.7.3
 - @aws-amplify/geo@1.1.11
 - @aws-amplify/interactions@4.0.29
 - @aws-amplify/predictions@4.0.29
 - @aws-amplify/pubsub@4.2.5
 - @aws-amplify/pushnotification@4.3.8
 - @aws-amplify/storage@4.4.12
 - @aws-amplify/xr@3.0.29

* chore(release): update version.ts [ci skip]

* chore(in-app-messaging): upgrade internal dependency versions and notifications version (#9364)

Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com>
Co-authored-by: Chris Fang <chrfang@amazon.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Nick Arocho <16296496+nickarocho@users.noreply.github.com>
Co-authored-by: Nick Arocho <nicaroch@amazon.com>
Co-authored-by: Francisco Rodriguez <frodriguez.cs@gmail.com>
Co-authored-by: ManojNB <manojnb95@gmail.com>
Co-authored-by: Manoj NB <manojnb@amazon.com>
Co-authored-by: David McAfee <mcafd@amazon.com>
Co-authored-by: Katie Goines <katiegoi@amazon.com>
  • Loading branch information
12 people authored Dec 20, 2021
1 parent 0a86073 commit fcf5480
Show file tree
Hide file tree
Showing 70 changed files with 2,133 additions and 207 deletions.
12 changes: 12 additions & 0 deletions packages/amplify-ui-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.38](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.37...@aws-amplify/ui-angular@1.0.38) (2021-12-16)

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

## [1.0.37](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.36...@aws-amplify/ui-angular@1.0.37) (2021-12-03)

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

## [1.0.36](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.35...@aws-amplify/ui-angular@1.0.36) (2021-12-02)

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

## [1.0.35](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-angular@1.0.34...@aws-amplify/ui-angular@1.0.35) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/ui-angular
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-ui-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-amplify/ui-angular",
"private": "true",
"version": "1.0.35",
"version": "1.0.38",
"description": "Angular specific wrapper for @aws-amplify/ui-components",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,7 +32,7 @@
"dist/"
],
"dependencies": {
"@aws-amplify/ui-components": "1.9.6"
"@aws-amplify/ui-components": "1.9.9"
},
"devDependencies": {
"@angular/compiler-cli": "^7.2.1",
Expand Down
12 changes: 12 additions & 0 deletions packages/amplify-ui-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.9.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.8...@aws-amplify/ui-components@1.9.9) (2021-12-16)

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

## [1.9.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.7...@aws-amplify/ui-components@1.9.8) (2021-12-03)

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

## [1.9.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.6...@aws-amplify/ui-components@1.9.7) (2021-12-02)

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

## [1.9.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-components@1.9.5...@aws-amplify/ui-components@1.9.6) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/ui-components
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-ui-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-amplify/ui-components",
"private": "true",
"version": "1.9.6",
"version": "1.9.9",
"description": "Core Amplify UI Component Library",
"module": "dist/index.mjs",
"main": "dist/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
"uuid": "^8.2.0"
},
"devDependencies": {
"@aws-amplify/auth": "4.3.16",
"@aws-amplify/auth": "4.3.19",
"@stencil/angular-output-target": "^0.0.2",
"@stencil/core": "1.15.0",
"@stencil/eslint-plugin": "0.2.1",
Expand Down
12 changes: 12 additions & 0 deletions packages/amplify-ui-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.29](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.28...@aws-amplify/ui-react@1.2.29) (2021-12-16)

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

## [1.2.28](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.27...@aws-amplify/ui-react@1.2.28) (2021-12-03)

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

## [1.2.27](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.26...@aws-amplify/ui-react@1.2.27) (2021-12-02)

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

## [1.2.26](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-react@1.2.25...@aws-amplify/ui-react@1.2.26) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/ui-react
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@aws-amplify/ui-react",
"private": "true",
"sideEffects": false,
"version": "1.2.26",
"version": "1.2.29",
"description": "React specific wrapper for @aws-amplify/ui-components",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -33,7 +33,7 @@
"typescript": "^3.3.4000"
},
"dependencies": {
"@aws-amplify/ui-components": "1.9.6"
"@aws-amplify/ui-components": "1.9.9"
},
"peerDependencies": {
"react": ">= 16.7.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/amplify-ui-storybook/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.0.29](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.28...@aws-amplify/ui-storybook@2.0.29) (2021-12-16)

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

## [2.0.28](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.27...@aws-amplify/ui-storybook@2.0.28) (2021-12-03)

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

## [2.0.27](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.26...@aws-amplify/ui-storybook@2.0.27) (2021-12-02)

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

## [2.0.26](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-storybook@2.0.25...@aws-amplify/ui-storybook@2.0.26) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/ui-storybook
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-ui-storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui-storybook",
"version": "2.0.26",
"version": "2.0.29",
"private": true,
"dependencies": {
"@aws-amplify/ui-react": "0.2.38",
Expand All @@ -10,7 +10,7 @@
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"aws-amplify": "4.3.8",
"aws-amplify": "4.3.11",
"react": "^16.12.0",
"react-app-polyfill": "^1.0.6",
"react-dom": "^16.12.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/amplify-ui-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.23](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.22...@aws-amplify/ui-vue@1.1.23) (2021-12-16)

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

## [1.1.22](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.21...@aws-amplify/ui-vue@1.1.22) (2021-12-03)

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

## [1.1.21](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.20...@aws-amplify/ui-vue@1.1.21) (2021-12-02)

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

## [1.1.20](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui-vue@1.1.19...@aws-amplify/ui-vue@1.1.20) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/ui-vue
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-ui-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@aws-amplify/ui-vue",
"private": "true",
"sideEffects": true,
"version": "1.1.20",
"version": "1.1.23",
"description": "Vue specific wrapper for @aws-amplify/ui-components",
"publishConfig": {
"access": "public"
Expand All @@ -18,7 +18,7 @@
"url": "https://github.com/aws-amplify/amplify-js.git"
},
"dependencies": {
"@aws-amplify/ui-components": "1.9.6"
"@aws-amplify/ui-components": "1.9.9"
},
"devDependencies": {
"rimraf": "^3.0.2"
Expand Down
15 changes: 9 additions & 6 deletions packages/amplify-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.0.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.2...@aws-amplify/ui@2.0.3) (2021-05-14)

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

## [2.0.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.4...@aws-amplify/ui@2.0.5) (2021-12-03)

### Bug Fixes

- **@aws-amplify/amplify-ui:** change private property to false in package.json ([#9303](https://github.com/aws-amplify/amplify-js/issues/9303)) ([454be65](https://github.com/aws-amplify/amplify-js/commit/454be65da7e071540447c13e12fa81032922fd28))
- **@aws-amplify/amplify-ui:** remove private prop from package.json ([#9304](https://github.com/aws-amplify/amplify-js/issues/9304)) ([66626c2](https://github.com/aws-amplify/amplify-js/commit/66626c2f21df0a27f33309b120de072206ac0001))


## [2.0.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.1...@aws-amplify/ui@2.0.2) (2020-04-02)
## [2.0.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.3...@aws-amplify/ui@2.0.4) (2021-12-02)

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

## [2.0.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.2...@aws-amplify/ui@2.0.3) (2021-05-14)

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

## [2.0.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@2.0.1...@aws-amplify/ui@2.0.2) (2020-04-02)

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

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

Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@aws-amplify/ui",
"private": "true",
"version": "2.0.3",
"version": "2.0.5",
"main": "dist/aws-amplify-ui.js",
"types": "lib/index.d.ts",
"publishConfig": {
Expand Down
12 changes: 12 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [5.1.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.8...@aws-amplify/analytics@5.1.9) (2021-12-16)

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

## [5.1.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.7...@aws-amplify/analytics@5.1.8) (2021-12-03)

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

## [5.1.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.6...@aws-amplify/analytics@5.1.7) (2021-12-02)

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

## [5.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/analytics@5.1.5...@aws-amplify/analytics@5.1.6) (2021-11-18)

**Note:** Version bump only for package @aws-amplify/analytics
Expand Down
77 changes: 52 additions & 25 deletions packages/analytics/__tests__/Analytics-unit-test.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,25 @@
/*
* Copyright 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
jest.mock('../src/vendor/dom-utils', () => {
return {
delegate: jest.fn(),
};
});

import {
ClientDevice,
Parser,
ConsoleLogger as Logger,
Credentials,
} from '@aws-amplify/core';
import { AnalyticsOptions, EventAttributes, EventMetrics } from '../src/types';
import { ClientDevice, Parser, Hub } from '@aws-amplify/core';
import { AnalyticsClass as Analytics } from '../src/Analytics';
import AWSAnalyticsProvider from '../src/Providers/AWSPinpointProvider';

const options: AnalyticsOptions = {
appId: 'appId',
platform: 'platform',
clientId: 'clientId',
region: 'region',
};

const credentials = {
accessKeyId: 'accessKeyId',
sessionToken: 'sessionToken',
secretAccessKey: 'secretAccessKey',
identityId: 'identityId',
authenticated: true,
};

jest.useFakeTimers();

const record_spyon = jest
Expand All @@ -37,7 +28,12 @@ const record_spyon = jest
return handlers.resolve();
});

const hubSpy = jest.spyOn(Hub, 'dispatch');

describe('Analytics test', () => {
beforeEach(() => {
jest.clearAllMocks();
});
describe('configure test', () => {
test('happy case with default parser', () => {
const analytics = new Analytics();
Expand Down Expand Up @@ -83,6 +79,16 @@ describe('Analytics test', () => {
analytics.configure({ mock: 'value' });

await analytics.startSession();
expect(hubSpy).toBeCalledWith(
'analytics',
{
event: 'record',
data: { name: '_session.start' },
message: 'Recording Analytics session start event',
},
'Analytics',
expect.anything()
);
expect(record_spyon).toBeCalled();
});
});
Expand All @@ -95,6 +101,16 @@ describe('Analytics test', () => {
analytics.configure({ mock: 'value' });

await analytics.stopSession();
expect(hubSpy).toBeCalledWith(
'analytics',
{
event: 'record',
data: { name: '_session.stop' },
message: 'Recording Analytics session stop event',
},
'Analytics',
expect.anything()
);
expect(record_spyon).toBeCalled();
});
});
Expand All @@ -105,12 +121,23 @@ describe('Analytics test', () => {
const provider = new AWSAnalyticsProvider();
analytics.addPluggable(provider);
analytics.configure({ mock: 'value' });

await analytics.record({
const event = {
name: 'event',
attributes: 'attributes',
metrics: 'metrics',
});
};

await analytics.record(event);
expect(hubSpy).toBeCalledWith(
'analytics',
{
event: 'record',
data: event,
message: 'Recording Analytics event',
},
'Analytics',
expect.anything()
);
expect(record_spyon).toBeCalled();
});
});
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/analytics",
"version": "5.1.6",
"version": "5.1.9",
"description": "Analytics category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"homepage": "https://aws-amplify.github.io/",
"dependencies": {
"@aws-amplify/cache": "4.0.28",
"@aws-amplify/core": "4.3.8",
"@aws-amplify/cache": "4.0.31",
"@aws-amplify/core": "4.3.11",
"@aws-sdk/client-firehose": "3.6.1",
"@aws-sdk/client-kinesis": "3.6.1",
"@aws-sdk/client-personalize-events": "3.6.1",
Expand Down
Loading

0 comments on commit fcf5480

Please sign in to comment.