@maxzima/wa-communicator 1.0.44 → 1.0.45

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.
@@ -214,6 +214,7 @@ export class Communicator {
214
214
  utm_medium: data.utmMedium,
215
215
  utm_campaign: data.utmCampaign,
216
216
  utm_term: data.utmTerm,
217
+ fbclid: data.fbclid,
217
218
  } }));
218
219
  return yield this.send({
219
220
  method: 'POST',
@@ -140,6 +140,7 @@ type TRegistrationRequestBodySource = {
140
140
  utm_medium: string;
141
141
  utm_campaign: string;
142
142
  utm_term: string;
143
+ fbclid: string;
143
144
  };
144
145
  type TRegistrationRequestBody = {
145
146
  name: string;
@@ -162,6 +163,7 @@ type TRegistrationRequestData = {
162
163
  utmMedium: TRegistrationRequestBodySource['utm_medium'];
163
164
  utmCampaign: TRegistrationRequestBodySource['utm_campaign'];
164
165
  utmTerm: TRegistrationRequestBodySource['utm_term'];
166
+ fbclid: TRegistrationRequestBodySource['fbclid'];
165
167
  };
166
168
  type TStorageRequestData = {
167
169
  accessToken: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.44",
2
+ "version": "1.0.45",
3
3
  "name": "@maxzima/wa-communicator",
4
4
  "description": "",
5
5
  "author": "Noname",
@@ -228,6 +228,7 @@ export class Communicator {
228
228
  utm_medium: data.utmMedium,
229
229
  utm_campaign: data.utmCampaign,
230
230
  utm_term: data.utmTerm,
231
+ fbclid: data.fbclid,
231
232
  }
232
233
  });
233
234
 
@@ -189,6 +189,7 @@ type TRegistrationRequestBodySource = {
189
189
  utm_medium: string,
190
190
  utm_campaign: string,
191
191
  utm_term: string,
192
+ fbclid: string,
192
193
  }
193
194
 
194
195
  type TRegistrationRequestBody = {
@@ -214,6 +215,7 @@ type TRegistrationRequestData = {
214
215
  utmMedium: TRegistrationRequestBodySource['utm_medium'],
215
216
  utmCampaign: TRegistrationRequestBodySource['utm_campaign'],
216
217
  utmTerm: TRegistrationRequestBodySource['utm_term'],
218
+ fbclid: TRegistrationRequestBodySource['fbclid'],
217
219
  }
218
220
  /* endregion registration */
219
221