@corpsmap/corpsmap 4.1.14 → 4.1.16

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": "@corpsmap/corpsmap",
3
- "version": "4.1.14",
3
+ "version": "4.1.16",
4
4
  "main": "dist/corpsmap.umd.js",
5
5
  "module": "dist/corpsmap.es.js",
6
6
  "type": "module",
@@ -141,7 +141,8 @@ export default {
141
141
  type: "API_POST_ERROR",
142
142
  payload: {
143
143
  notification: {
144
- message: "api-error",
144
+ title: "Error",
145
+ message: "Something went wrong sending to the server.",
145
146
  level: "danger",
146
147
  },
147
148
  },
@@ -151,7 +152,8 @@ export default {
151
152
  type: "API_POST_SUCCESS",
152
153
  payload: {
153
154
  notification: {
154
- message: "api-success",
155
+ title: "Success",
156
+ message: "Form was sent successfully to the server.",
155
157
  level: "success",
156
158
  },
157
159
  },
@@ -193,8 +195,8 @@ export default {
193
195
  ({ dispatch, store }) => {
194
196
  if (bool) {
195
197
  store.doNotificationsFire({
196
- title: "Form Submitted",
197
- message: "Form Submitted",
198
+ title: "Question Submitted",
199
+ message: "We will get back to you shortly.",
198
200
  level: "success",
199
201
  });
200
202
  dispatch({
@@ -203,7 +205,7 @@ export default {
203
205
  });
204
206
  } else {
205
207
  store.doNotificationsFire({
206
- title: "Form Error",
208
+ title: "Contact Form Error",
207
209
  message: "Form Has Errors",
208
210
  level: "danger",
209
211
  });