@aws-amplify/notifications 2.0.15-unstable.d2367f7.0 → 2.0.15

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.
@@ -23,7 +23,7 @@ exports.validationErrorMap = {
23
23
  },
24
24
  [InAppMessagingValidationErrorCode.NotInitialized]: {
25
25
  message: 'In-app messaging has not been initialized.',
26
- recoverySuggestion: 'Please make sure to first call `initializePushNotifications`.',
26
+ recoverySuggestion: 'Please make sure to first call `initializeInAppMessaging`.',
27
27
  },
28
28
  };
29
29
  //# sourceMappingURL=validation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.js","sources":["../../../../src/inAppMessaging/errors/validation.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validationErrorMap = exports.InAppMessagingValidationErrorCode = void 0;\nvar InAppMessagingValidationErrorCode;\n(function (InAppMessagingValidationErrorCode) {\n InAppMessagingValidationErrorCode[\"NoAppId\"] = \"NoAppId\";\n InAppMessagingValidationErrorCode[\"NoCredentials\"] = \"NoCredentials\";\n InAppMessagingValidationErrorCode[\"NoRegion\"] = \"NoRegion\";\n InAppMessagingValidationErrorCode[\"NotInitialized\"] = \"NotInitialized\";\n})(InAppMessagingValidationErrorCode = exports.InAppMessagingValidationErrorCode || (exports.InAppMessagingValidationErrorCode = {}));\nexports.validationErrorMap = {\n [InAppMessagingValidationErrorCode.NoAppId]: {\n message: 'Missing application id.',\n },\n [InAppMessagingValidationErrorCode.NoCredentials]: {\n message: 'Credentials should not be empty.',\n },\n [InAppMessagingValidationErrorCode.NoRegion]: {\n message: 'Missing region.',\n },\n [InAppMessagingValidationErrorCode.NotInitialized]: {\n message: 'In-app messaging has not been initialized.',\n recoverySuggestion: 'Please make sure to first call `initializePushNotifications`.',\n },\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,iCAAiC,GAAG,KAAK,CAAC,CAAC;AAChF,IAAI,iCAAiC,CAAC;AACtC,CAAC,UAAU,iCAAiC,EAAE;AAC9C,IAAI,iCAAiC,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAC7D,IAAI,iCAAiC,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACzE,IAAI,iCAAiC,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;AAC/D,IAAI,iCAAiC,CAAC,gBAAgB,CAAC,GAAG,gBAAgB,CAAC;AAC3E,CAAC,EAAE,iCAAiC,GAAG,OAAO,CAAC,iCAAiC,KAAK,OAAO,CAAC,iCAAiC,GAAG,EAAE,CAAC,CAAC,CAAC;AACtI,OAAO,CAAC,kBAAkB,GAAG;AAC7B,IAAI,CAAC,iCAAiC,CAAC,OAAO,GAAG;AACjD,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,aAAa,GAAG;AACvD,QAAQ,OAAO,EAAE,kCAAkC;AACnD,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,QAAQ,GAAG;AAClD,QAAQ,OAAO,EAAE,iBAAiB;AAClC,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,cAAc,GAAG;AACxD,QAAQ,OAAO,EAAE,4CAA4C;AAC7D,QAAQ,kBAAkB,EAAE,+DAA+D;AAC3F,KAAK;AACL,CAAC;;"}
1
+ {"version":3,"file":"validation.js","sources":["../../../../src/inAppMessaging/errors/validation.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validationErrorMap = exports.InAppMessagingValidationErrorCode = void 0;\nvar InAppMessagingValidationErrorCode;\n(function (InAppMessagingValidationErrorCode) {\n InAppMessagingValidationErrorCode[\"NoAppId\"] = \"NoAppId\";\n InAppMessagingValidationErrorCode[\"NoCredentials\"] = \"NoCredentials\";\n InAppMessagingValidationErrorCode[\"NoRegion\"] = \"NoRegion\";\n InAppMessagingValidationErrorCode[\"NotInitialized\"] = \"NotInitialized\";\n})(InAppMessagingValidationErrorCode = exports.InAppMessagingValidationErrorCode || (exports.InAppMessagingValidationErrorCode = {}));\nexports.validationErrorMap = {\n [InAppMessagingValidationErrorCode.NoAppId]: {\n message: 'Missing application id.',\n },\n [InAppMessagingValidationErrorCode.NoCredentials]: {\n message: 'Credentials should not be empty.',\n },\n [InAppMessagingValidationErrorCode.NoRegion]: {\n message: 'Missing region.',\n },\n [InAppMessagingValidationErrorCode.NotInitialized]: {\n message: 'In-app messaging has not been initialized.',\n recoverySuggestion: 'Please make sure to first call `initializeInAppMessaging`.',\n },\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,iCAAiC,GAAG,KAAK,CAAC,CAAC;AAChF,IAAI,iCAAiC,CAAC;AACtC,CAAC,UAAU,iCAAiC,EAAE;AAC9C,IAAI,iCAAiC,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAC7D,IAAI,iCAAiC,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACzE,IAAI,iCAAiC,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;AAC/D,IAAI,iCAAiC,CAAC,gBAAgB,CAAC,GAAG,gBAAgB,CAAC;AAC3E,CAAC,EAAE,iCAAiC,GAAG,OAAO,CAAC,iCAAiC,KAAK,OAAO,CAAC,iCAAiC,GAAG,EAAE,CAAC,CAAC,CAAC;AACtI,OAAO,CAAC,kBAAkB,GAAG;AAC7B,IAAI,CAAC,iCAAiC,CAAC,OAAO,GAAG;AACjD,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,aAAa,GAAG;AACvD,QAAQ,OAAO,EAAE,kCAAkC;AACnD,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,QAAQ,GAAG;AAClD,QAAQ,OAAO,EAAE,iBAAiB;AAClC,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,cAAc,GAAG;AACxD,QAAQ,OAAO,EAAE,4CAA4C;AAC7D,QAAQ,kBAAkB,EAAE,4DAA4D;AACxF,KAAK;AACL,CAAC;;"}
@@ -19,7 +19,7 @@ const validationErrorMap = {
19
19
  },
20
20
  [InAppMessagingValidationErrorCode.NotInitialized]: {
21
21
  message: 'In-app messaging has not been initialized.',
22
- recoverySuggestion: 'Please make sure to first call `initializePushNotifications`.',
22
+ recoverySuggestion: 'Please make sure to first call `initializeInAppMessaging`.',
23
23
  },
24
24
  };
25
25
 
@@ -1 +1 @@
1
- {"version":3,"file":"validation.mjs","sources":["../../../../src/inAppMessaging/errors/validation.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var InAppMessagingValidationErrorCode;\n(function (InAppMessagingValidationErrorCode) {\n InAppMessagingValidationErrorCode[\"NoAppId\"] = \"NoAppId\";\n InAppMessagingValidationErrorCode[\"NoCredentials\"] = \"NoCredentials\";\n InAppMessagingValidationErrorCode[\"NoRegion\"] = \"NoRegion\";\n InAppMessagingValidationErrorCode[\"NotInitialized\"] = \"NotInitialized\";\n})(InAppMessagingValidationErrorCode || (InAppMessagingValidationErrorCode = {}));\nexport const validationErrorMap = {\n [InAppMessagingValidationErrorCode.NoAppId]: {\n message: 'Missing application id.',\n },\n [InAppMessagingValidationErrorCode.NoCredentials]: {\n message: 'Credentials should not be empty.',\n },\n [InAppMessagingValidationErrorCode.NoRegion]: {\n message: 'Missing region.',\n },\n [InAppMessagingValidationErrorCode.NotInitialized]: {\n message: 'In-app messaging has not been initialized.',\n recoverySuggestion: 'Please make sure to first call `initializePushNotifications`.',\n },\n};\n"],"names":[],"mappings":"AAAA;AACA;AACU,IAAC,kCAAkC;AAC7C,CAAC,UAAU,iCAAiC,EAAE;AAC9C,IAAI,iCAAiC,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAC7D,IAAI,iCAAiC,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACzE,IAAI,iCAAiC,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;AAC/D,IAAI,iCAAiC,CAAC,gBAAgB,CAAC,GAAG,gBAAgB,CAAC;AAC3E,CAAC,EAAE,iCAAiC,KAAK,iCAAiC,GAAG,EAAE,CAAC,CAAC,CAAC;AACtE,MAAC,kBAAkB,GAAG;AAClC,IAAI,CAAC,iCAAiC,CAAC,OAAO,GAAG;AACjD,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,aAAa,GAAG;AACvD,QAAQ,OAAO,EAAE,kCAAkC;AACnD,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,QAAQ,GAAG;AAClD,QAAQ,OAAO,EAAE,iBAAiB;AAClC,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,cAAc,GAAG;AACxD,QAAQ,OAAO,EAAE,4CAA4C;AAC7D,QAAQ,kBAAkB,EAAE,+DAA+D;AAC3F,KAAK;AACL;;;;"}
1
+ {"version":3,"file":"validation.mjs","sources":["../../../../src/inAppMessaging/errors/validation.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var InAppMessagingValidationErrorCode;\n(function (InAppMessagingValidationErrorCode) {\n InAppMessagingValidationErrorCode[\"NoAppId\"] = \"NoAppId\";\n InAppMessagingValidationErrorCode[\"NoCredentials\"] = \"NoCredentials\";\n InAppMessagingValidationErrorCode[\"NoRegion\"] = \"NoRegion\";\n InAppMessagingValidationErrorCode[\"NotInitialized\"] = \"NotInitialized\";\n})(InAppMessagingValidationErrorCode || (InAppMessagingValidationErrorCode = {}));\nexport const validationErrorMap = {\n [InAppMessagingValidationErrorCode.NoAppId]: {\n message: 'Missing application id.',\n },\n [InAppMessagingValidationErrorCode.NoCredentials]: {\n message: 'Credentials should not be empty.',\n },\n [InAppMessagingValidationErrorCode.NoRegion]: {\n message: 'Missing region.',\n },\n [InAppMessagingValidationErrorCode.NotInitialized]: {\n message: 'In-app messaging has not been initialized.',\n recoverySuggestion: 'Please make sure to first call `initializeInAppMessaging`.',\n },\n};\n"],"names":[],"mappings":"AAAA;AACA;AACU,IAAC,kCAAkC;AAC7C,CAAC,UAAU,iCAAiC,EAAE;AAC9C,IAAI,iCAAiC,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAC7D,IAAI,iCAAiC,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACzE,IAAI,iCAAiC,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;AAC/D,IAAI,iCAAiC,CAAC,gBAAgB,CAAC,GAAG,gBAAgB,CAAC;AAC3E,CAAC,EAAE,iCAAiC,KAAK,iCAAiC,GAAG,EAAE,CAAC,CAAC,CAAC;AACtE,MAAC,kBAAkB,GAAG;AAClC,IAAI,CAAC,iCAAiC,CAAC,OAAO,GAAG;AACjD,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,aAAa,GAAG;AACvD,QAAQ,OAAO,EAAE,kCAAkC;AACnD,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,QAAQ,GAAG;AAClD,QAAQ,OAAO,EAAE,iBAAiB;AAClC,KAAK;AACL,IAAI,CAAC,iCAAiC,CAAC,cAAc,GAAG;AACxD,QAAQ,OAAO,EAAE,4CAA4C;AAC7D,QAAQ,kBAAkB,EAAE,4DAA4D;AACxF,KAAK;AACL;;;;"}
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
1
  {
2
- "name": "@aws-amplify/notifications",
3
- "version": "2.0.15-unstable.d2367f7.0+d2367f7",
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.15-unstable.d2367f7.0+d2367f7"
98
- },
99
- "devDependencies": {
100
- "@aws-amplify/core": "6.0.15-unstable.d2367f7.0+d2367f7",
101
- "@aws-amplify/react-native": "1.0.15-unstable.d2367f7.0+d2367f7",
102
- "typescript": "5.0.2"
103
- },
104
- "gitHead": "d2367f77c4ab19f54cbd9fdb5ccd123a7de56cc7"
2
+ "name": "@aws-amplify/notifications",
3
+ "version": "2.0.15",
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.15",
101
+ "@aws-amplify/react-native": "1.0.15",
102
+ "typescript": "5.0.2"
103
+ },
104
+ "gitHead": "9aa9e55defd2e4339613532c0e2be9f15cc9b9bb"
105
105
  }
@@ -24,6 +24,6 @@ export const validationErrorMap: AmplifyErrorMap<InAppMessagingValidationErrorCo
24
24
  [InAppMessagingValidationErrorCode.NotInitialized]: {
25
25
  message: 'In-app messaging has not been initialized.',
26
26
  recoverySuggestion:
27
- 'Please make sure to first call `initializePushNotifications`.',
27
+ 'Please make sure to first call `initializeInAppMessaging`.',
28
28
  },
29
29
  };