@aws-amplify/core 6.0.1-console-preview.8637b15.0 → 6.0.1-console-preview.d807e55.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.8637b15.0+8637b15",
3
+ "version": "6.0.1-console-preview.d807e55.0+d807e55",
4
4
  "description": "Core category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -68,7 +68,7 @@
68
68
  "uuid": "^9.0.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@aws-amplify/react-native": "1.0.1-console-preview.8637b15.0+8637b15",
71
+ "@aws-amplify/react-native": "1.0.1-console-preview.d807e55.0+d807e55",
72
72
  "@types/js-cookie": "^2.2.7",
73
73
  "@types/uuid": "^9.0.0",
74
74
  "find": "^0.2.7",
@@ -179,5 +179,5 @@
179
179
  "lib-esm"
180
180
  ]
181
181
  },
182
- "gitHead": "8637b15b240e2ea176ac025bd6fc12e25a46118d"
182
+ "gitHead": "d807e554bd4c36e287ab3b4a229260fc9b851d40"
183
183
  }
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '6.0.1-console-preview.8637b15.0+8637b15';
2
+ export const version = '6.0.1-console-preview.d807e55.0+d807e55';
@@ -45,6 +45,7 @@ export const parseAWSExports = (
45
45
  geo,
46
46
  oauth,
47
47
  aws_cloud_logic_custom,
48
+ Notifications,
48
49
  } = config;
49
50
  const amplifyConfig: ResourcesConfig = {};
50
51
 
@@ -58,6 +59,21 @@ export const parseAWSExports = (
58
59
  };
59
60
  }
60
61
 
62
+ // Notifications
63
+ if (Notifications) {
64
+ if (Notifications.InAppMessaging?.AWSPinpoint) {
65
+ const { appId, region } = Notifications.InAppMessaging.AWSPinpoint;
66
+ amplifyConfig.Notifications = {
67
+ InAppMessaging: {
68
+ Pinpoint: {
69
+ appId,
70
+ region,
71
+ },
72
+ },
73
+ };
74
+ }
75
+ }
76
+
61
77
  // API
62
78
  if (aws_appsync_graphqlEndpoint) {
63
79
  const defaultAuthMode = authTypeMapping[aws_appsync_authenticationType];