@aws-amplify/notifications 2.0.16 → 2.0.17-unstable.3d2803e.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.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Base type for service options.
3
3
  */
4
- export type InAppMessagingServiceOptions = Record<string, unknown>;
4
+ export type InAppMessagingServiceOptions = object;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Base type for service options.
3
3
  */
4
- export type PushNotificationServiceOptions = Record<string, unknown>;
4
+ export type PushNotificationServiceOptions = object;
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
1
  {
2
- "name": "@aws-amplify/notifications",
3
- "version": "2.0.16",
4
- "description": "Notifications category of aws-amplify",
5
- "main": "./dist/cjs/index.js",
6
- "module": "./dist/esm/index.mjs",
7
- "react-native": "./src/index.ts",
8
- "typings": "./dist/esm/index.d.ts",
9
- "sideEffects": false,
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "scripts": {
14
- "test": "npm run lint && jest -w 1 --coverage --logHeapUsage",
15
- "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
16
- "build-with-test": "npm run clean && npm run build",
17
- "build:umd": "webpack && webpack --config ./webpack.config.dev.js",
18
- "build:esm-cjs": "rollup -c rollup.config.mjs",
19
- "build:watch": "npm run build:esm-cjs -- --watch",
20
- "build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
21
- "clean": "npm run clean:size && rimraf dist lib lib-esm",
22
- "clean:size": "rimraf dual-publish-tmp tmp*",
23
- "format": "echo \"Not implemented\"",
24
- "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
25
- "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 88.21"
26
- },
27
- "typesVersions": {
28
- ">=4.2": {
29
- "in-app-messaging": [
30
- "./dist/esm/inAppMessaging/index.d.ts"
31
- ],
32
- "push-notifications": [
33
- "./dist/esm/pushNotifications/providers/index.d.ts"
34
- ],
35
- "in-app-messaging/pinpoint": [
36
- "./dist/esm/inAppMessaging/providers/pinpoint/index.d.ts"
37
- ],
38
- "push-notifications/pinpoint": [
39
- "./dist/esm/pushNotifications/providers/pinpoint/index.d.ts"
40
- ]
41
- }
42
- },
43
- "exports": {
44
- ".": {
45
- "import": "./dist/esm/index.mjs",
46
- "require": "./dist/cjs/index.js",
47
- "react-native": "./src/index.ts"
48
- },
49
- "./in-app-messaging": {
50
- "types": "./dist/esm/inAppMessaging/index.d.ts",
51
- "import": "./dist/esm/inAppMessaging/index.mjs",
52
- "require": "./dist/cjs/inAppMessaging/index.js",
53
- "react-native": "./src/inAppMessaging/index.ts"
54
- },
55
- "./push-notifications": {
56
- "types": "./dist/esm/pushNotifications/index.d.ts",
57
- "import": "./dist/esm/pushNotifications/index.mjs",
58
- "require": "./dist/cjs/pushNotifications/index.js",
59
- "react-native": "./src/pushNotifications/index.ts"
60
- },
61
- "./in-app-messaging/pinpoint": {
62
- "types": "./dist/esm/inAppMessaging/providers/pinpoint/index.d.ts",
63
- "import": "./dist/esm/inAppMessaging/providers/pinpoint/index.mjs",
64
- "require": "./dist/cjs/inAppMessaging/providers/pinpoint/index.js",
65
- "react-native": "./src/inAppMessaging/providers/pinpoint/index.ts"
66
- },
67
- "./push-notifications/pinpoint": {
68
- "types": "./dist/esm/pushNotifications/providers/pinpoint/index.d.ts",
69
- "import": "./dist/esm/pushNotifications/providers/pinpoint/index.mjs",
70
- "require": "./dist/cjs/pushNotifications/providers/pinpoint/index.js",
71
- "react-native": "./src/pushNotifications/providers/pinpoint/index.ts"
72
- },
73
- "./package.json": "./package.json"
74
- },
75
- "repository": {
76
- "type": "git",
77
- "url": "https://github.com/aws-amplify/amplify-js.git"
78
- },
79
- "author": "Amazon Web Services",
80
- "license": "Apache-2.0",
81
- "bugs": {
82
- "url": "https://github.com/aws/aws-amplify/issues"
83
- },
84
- "homepage": "https://docs.amplify.aws/",
85
- "files": [
86
- "dist/cjs",
87
- "dist/esm",
88
- "src",
89
- "in-app-messaging",
90
- "push-notifications"
91
- ],
92
- "dependencies": {
93
- "lodash": "^4.17.21",
94
- "tslib": "^2.5.0"
95
- },
96
- "peerDependencies": {
97
- "@aws-amplify/core": "^6.0.0"
98
- },
99
- "devDependencies": {
100
- "@aws-amplify/core": "6.0.16",
101
- "@aws-amplify/react-native": "1.0.16",
102
- "typescript": "5.0.2"
103
- },
104
- "gitHead": "0e919f6e759cb94d03e119162b530b32d48f1357"
2
+ "name": "@aws-amplify/notifications",
3
+ "version": "2.0.17-unstable.3d2803e.0+3d2803e",
4
+ "description": "Notifications category of aws-amplify",
5
+ "main": "./dist/cjs/index.js",
6
+ "module": "./dist/esm/index.mjs",
7
+ "react-native": "./src/index.ts",
8
+ "typings": "./dist/esm/index.d.ts",
9
+ "sideEffects": false,
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "test": "npm run lint && jest -w 1 --coverage --logHeapUsage",
15
+ "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
16
+ "build-with-test": "npm run clean && npm run build",
17
+ "build:umd": "webpack && webpack --config ./webpack.config.dev.js",
18
+ "build:esm-cjs": "rollup -c rollup.config.mjs",
19
+ "build:watch": "npm run build:esm-cjs -- --watch",
20
+ "build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
21
+ "clean": "npm run clean:size && rimraf dist lib lib-esm",
22
+ "clean:size": "rimraf dual-publish-tmp tmp*",
23
+ "format": "echo \"Not implemented\"",
24
+ "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
25
+ "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 88.21"
26
+ },
27
+ "typesVersions": {
28
+ ">=4.2": {
29
+ "in-app-messaging": [
30
+ "./dist/esm/inAppMessaging/index.d.ts"
31
+ ],
32
+ "push-notifications": [
33
+ "./dist/esm/pushNotifications/providers/index.d.ts"
34
+ ],
35
+ "in-app-messaging/pinpoint": [
36
+ "./dist/esm/inAppMessaging/providers/pinpoint/index.d.ts"
37
+ ],
38
+ "push-notifications/pinpoint": [
39
+ "./dist/esm/pushNotifications/providers/pinpoint/index.d.ts"
40
+ ]
41
+ }
42
+ },
43
+ "exports": {
44
+ ".": {
45
+ "import": "./dist/esm/index.mjs",
46
+ "require": "./dist/cjs/index.js",
47
+ "react-native": "./src/index.ts"
48
+ },
49
+ "./in-app-messaging": {
50
+ "types": "./dist/esm/inAppMessaging/index.d.ts",
51
+ "import": "./dist/esm/inAppMessaging/index.mjs",
52
+ "require": "./dist/cjs/inAppMessaging/index.js",
53
+ "react-native": "./src/inAppMessaging/index.ts"
54
+ },
55
+ "./push-notifications": {
56
+ "types": "./dist/esm/pushNotifications/index.d.ts",
57
+ "import": "./dist/esm/pushNotifications/index.mjs",
58
+ "require": "./dist/cjs/pushNotifications/index.js",
59
+ "react-native": "./src/pushNotifications/index.ts"
60
+ },
61
+ "./in-app-messaging/pinpoint": {
62
+ "types": "./dist/esm/inAppMessaging/providers/pinpoint/index.d.ts",
63
+ "import": "./dist/esm/inAppMessaging/providers/pinpoint/index.mjs",
64
+ "require": "./dist/cjs/inAppMessaging/providers/pinpoint/index.js",
65
+ "react-native": "./src/inAppMessaging/providers/pinpoint/index.ts"
66
+ },
67
+ "./push-notifications/pinpoint": {
68
+ "types": "./dist/esm/pushNotifications/providers/pinpoint/index.d.ts",
69
+ "import": "./dist/esm/pushNotifications/providers/pinpoint/index.mjs",
70
+ "require": "./dist/cjs/pushNotifications/providers/pinpoint/index.js",
71
+ "react-native": "./src/pushNotifications/providers/pinpoint/index.ts"
72
+ },
73
+ "./package.json": "./package.json"
74
+ },
75
+ "repository": {
76
+ "type": "git",
77
+ "url": "https://github.com/aws-amplify/amplify-js.git"
78
+ },
79
+ "author": "Amazon Web Services",
80
+ "license": "Apache-2.0",
81
+ "bugs": {
82
+ "url": "https://github.com/aws/aws-amplify/issues"
83
+ },
84
+ "homepage": "https://docs.amplify.aws/",
85
+ "files": [
86
+ "dist/cjs",
87
+ "dist/esm",
88
+ "src",
89
+ "in-app-messaging",
90
+ "push-notifications"
91
+ ],
92
+ "dependencies": {
93
+ "lodash": "^4.17.21",
94
+ "tslib": "^2.5.0"
95
+ },
96
+ "peerDependencies": {
97
+ "@aws-amplify/core": "6.0.17-unstable.3d2803e.0+3d2803e"
98
+ },
99
+ "devDependencies": {
100
+ "@aws-amplify/core": "6.0.17-unstable.3d2803e.0+3d2803e",
101
+ "@aws-amplify/react-native": "1.0.17-unstable.3d2803e.0+3d2803e",
102
+ "typescript": "5.0.2"
103
+ },
104
+ "gitHead": "3d2803eb859c37e52f1dc9459b79d628e0377d2e"
105
105
  }
@@ -4,4 +4,4 @@
4
4
  /**
5
5
  * Base type for service options.
6
6
  */
7
- export type InAppMessagingServiceOptions = Record<string, unknown>;
7
+ export type InAppMessagingServiceOptions = object;
@@ -4,4 +4,4 @@
4
4
  /**
5
5
  * Base type for service options.
6
6
  */
7
- export type PushNotificationServiceOptions = Record<string, unknown>;
7
+ export type PushNotificationServiceOptions = object;