@aws-amplify/core 6.0.1-console-preview.deaebd5.0 → 6.0.1-console-preview.11cf989.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/core",
3
- "version": "6.0.1-console-preview.deaebd5.0+deaebd5",
3
+ "version": "6.0.1-console-preview.11cf989.0+11cf989",
4
4
  "description": "Core category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -185,5 +185,5 @@
185
185
  "lib-esm"
186
186
  ]
187
187
  },
188
- "gitHead": "deaebd5a938733ff2b25aaec39c042843ef2289c"
188
+ "gitHead": "11cf9890e0229d7f36a7b2375e57bc0decf9935a"
189
189
  }
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '6.0.1-console-preview.deaebd5.0+deaebd5';
2
+ export const version = '6.0.1-console-preview.11cf989.0+11cf989';
@@ -3,3 +3,4 @@
3
3
 
4
4
  export * from './apis';
5
5
  export { PinpointAnalyticsEvent, PinpointServiceOptions } from './types';
6
+ export { getEndpointId } from './utils';
@@ -0,0 +1,6 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import { PinpointProviderConfig } from '../../../providers/pinpoint/types';
5
+
6
+ export type InAppMessagingConfig = PinpointProviderConfig;
@@ -0,0 +1,8 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ import { InAppMessagingConfig } from './InAppMessaging/types';
5
+
6
+ export type NotificationsConfig = {
7
+ InAppMessaging: InAppMessagingConfig;
8
+ };
@@ -19,6 +19,7 @@ import {
19
19
  StorageConfig,
20
20
  } from './Storage/types';
21
21
  import { I18nConfig } from '../I18n/types';
22
+ import { NotificationsConfig } from './Notifications/types';
22
23
 
23
24
  export type LegacyConfig = {
24
25
  /**
@@ -35,7 +36,7 @@ export type ResourcesConfig = {
35
36
  // DataStore?: {};
36
37
  I18n?: I18nConfig;
37
38
  // Interactions?: {};
38
- // Notifications?: {};
39
+ Notifications?: NotificationsConfig;
39
40
  // Predictions?: {};
40
41
  Storage?: StorageConfig;
41
42
  Geo?: GeoConfig;