@aws-amplify/notifications 1.0.26-unstable.dbd94d9.10 → 1.1.1-unstable.7fe7d4e.2

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.
@@ -46,7 +46,7 @@ interface FcmPlatformOptions {
46
46
  interface ApnsPlatformOptions {
47
47
  subtitle?: string;
48
48
  }
49
- export interface PushNotificationPermissions extends Record<string, boolean> {
49
+ export interface PushNotificationPermissions extends Partial<Record<string, boolean>> {
50
50
  alert?: boolean;
51
51
  badge?: boolean;
52
52
  sound?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/PushNotification/types.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;AAoFtC,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,uDAAmB,CAAA;IACnB,qEAAiC,CAAA;IACjC,+FAA2D,CAAA;AAC5D,CAAC,EALW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAK3C"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/PushNotification/types.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;AAqFtC,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,uDAAmB,CAAA;IACnB,qEAAiC,CAAA;IACjC,+FAA2D,CAAA;AAC5D,CAAC,EALW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAK3C"}
@@ -46,7 +46,7 @@ interface FcmPlatformOptions {
46
46
  interface ApnsPlatformOptions {
47
47
  subtitle?: string;
48
48
  }
49
- export interface PushNotificationPermissions extends Record<string, boolean> {
49
+ export interface PushNotificationPermissions extends Partial<Record<string, boolean>> {
50
50
  alert?: boolean;
51
51
  badge?: boolean;
52
52
  sound?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/PushNotification/types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAoFtC,MAAM,CAAN,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,uDAAmB,CAAA;IACnB,qEAAiC,CAAA;IACjC,+FAA2D,CAAA;AAC5D,CAAC,EALW,gCAAgC,KAAhC,gCAAgC,QAK3C"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/PushNotification/types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAqFtC,MAAM,CAAN,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,uDAAmB,CAAA;IACnB,qEAAiC,CAAA;IACjC,+FAA2D,CAAA;AAC5D,CAAC,EALW,gCAAgC,KAAhC,gCAAgC,QAK3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/notifications",
3
- "version": "1.0.26-unstable.dbd94d9.10+dbd94d932",
3
+ "version": "1.1.1-unstable.7fe7d4e.2+7fe7d4ea9",
4
4
  "description": "Notifications category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -49,8 +49,8 @@
49
49
  "src"
50
50
  ],
51
51
  "dependencies": {
52
- "@aws-amplify/cache": "5.0.26-unstable.dbd94d9.10+dbd94d932",
53
- "@aws-amplify/core": "5.1.9-unstable.dbd94d9.10+dbd94d932",
52
+ "@aws-amplify/cache": "5.0.27-unstable.7fe7d4e.2+7fe7d4ea9",
53
+ "@aws-amplify/core": "5.1.10-unstable.7fe7d4e.2+7fe7d4ea9",
54
54
  "@aws-sdk/client-pinpoint": "3.186.1",
55
55
  "lodash": "^4.17.21",
56
56
  "uuid": "^3.2.1"
@@ -70,7 +70,7 @@
70
70
  }
71
71
  ],
72
72
  "devDependencies": {
73
- "@aws-amplify/rtn-push-notification": "1.0.1-unstable.dbd94d9.7824+dbd94d932"
73
+ "@aws-amplify/rtn-push-notification": "1.1.1-unstable.7fe7d4e.2+7fe7d4ea9"
74
74
  },
75
- "gitHead": "dbd94d93209da6712dca450c13003323276ded29"
75
+ "gitHead": "7fe7d4ea9f638547cc7199cf8d02ac561d8bd7b1"
76
76
  }
@@ -77,7 +77,8 @@ interface ApnsPlatformOptions {
77
77
  subtitle?: string;
78
78
  }
79
79
 
80
- export interface PushNotificationPermissions extends Record<string, boolean> {
80
+ export interface PushNotificationPermissions
81
+ extends Partial<Record<string, boolean>> {
81
82
  alert?: boolean;
82
83
  badge?: boolean;
83
84
  sound?: boolean;