@aws-amplify/core 6.0.1-console-preview.67f944e.0 → 6.0.1-console-preview.431c340.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.
@@ -21,6 +21,7 @@ export type PinpointProviderConfig = {
21
21
  export type PinpointServiceOptions = {
22
22
  address?: string;
23
23
  optOut?: 'ALL' | 'NONE';
24
+ userAttributes?: Record<string, string[]>;
24
25
  };
25
26
 
26
27
  export type PinpointSession = {
package/src/types/core.ts CHANGED
@@ -16,7 +16,7 @@ export interface AmplifyConfig {
16
16
  }
17
17
 
18
18
  export type UserProfile = {
19
- attributes?: Record<string, string[]>;
19
+ customProperties?: Record<string, string[]>;
20
20
  demographic?: {
21
21
  appVersion?: string;
22
22
  locale?: string;
@@ -27,6 +27,7 @@ export type UserProfile = {
27
27
  platformVersion?: string;
28
28
  timezone?: string;
29
29
  };
30
+ email?: string;
30
31
  location?: {
31
32
  city?: string;
32
33
  country?: string;
@@ -36,6 +37,8 @@ export type UserProfile = {
36
37
  region?: string;
37
38
  };
38
39
  metrics?: Record<string, number>;
40
+ name?: string;
41
+ plan?: string;
39
42
  };
40
43
 
41
44
  /**