abmp-npm 1.8.39 → 1.8.41

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.
@@ -132,9 +132,9 @@ async function profileRouter(request, dependencies) {
132
132
  * @param {Object} _sitemapRequest - Sitemap request object
133
133
  * @param {Object} _dependencies - Dependencies (WixRouterSitemapEntry)
134
134
  * @param {Function} _fetchAllItemsInParallel - Function to fetch all items in parallel
135
- * @returns {Array} Sitemap entries
135
+ * @returns {Promise<Array>} Sitemap entries
136
136
  */
137
- function profileSiteMap(_sitemapRequest, _dependencies, _fetchAllItemsInParallel) {
137
+ async function profileSiteMap(_sitemapRequest, _dependencies, _fetchAllItemsInParallel) {
138
138
  return [];
139
139
  // Commented out - currently disabled in host site
140
140
  /*
@@ -1,11 +1,5 @@
1
- const {
2
- ADDRESS_STATUS_TYPES,
3
- SITE_ASSOCIATION,
4
- MEMBERSHIPS_TYPES,
5
- formatAddress,
6
- getMainAddress,
7
- generateId,
8
- } = require('../public');
1
+ const { ADDRESS_STATUS_TYPES, SITE_ASSOCIATION, MEMBERSHIPS_TYPES } = require('../public');
2
+ const { formatAddress, generateId, getMainAddress } = require('../public/Utils/sharedUtils');
9
3
 
10
4
  const { formatDateToMonthYear } = require('./utils');
11
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abmp-npm",
3
- "version": "1.8.39",
3
+ "version": "1.8.41",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -168,4 +168,5 @@ module.exports = {
168
168
  calculateDistance,
169
169
  toRadians,
170
170
  generateId,
171
+ formatAddress,
171
172
  };