homeflowjs 1.0.4 → 1.0.5

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.
@@ -127,7 +127,8 @@ export const postPropertyView = (payload) => () => {
127
127
  });
128
128
  };
129
129
 
130
- export const postBulkPropertyExposureCreation = (payload, { sendAsFormData } = {}) => () => {
130
+ export const postBulkPropertyExposureCreation = (payload) => () => {
131
+ const { sendAsFormData } = Homeflow.get('createManyOptions') ?? {};
131
132
  const domain = location.hostname;
132
133
  const exposuresPublicUrl = Homeflow.get('exposures_public_url');
133
134
 
@@ -116,7 +116,7 @@ const hfInitialize = () => {
116
116
  postBulkPropertyExposureCreation({
117
117
  eventType: 'SearchResult',
118
118
  propertyIds,
119
- }, Homeflow.get('createManyOptions')),
119
+ }),
120
120
  );
121
121
  }
122
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",