@codebards/ik-embeddable-form 0.0.2696943363-qa → 0.0.2702285982-qa

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/dist/embed.js CHANGED
@@ -1700,7 +1700,8 @@ var IKEmbeddableFormBundle = function(exports) {
1700
1700
  Region: formData.region ?? (ctx == null ? void 0 : ctx.region) ?? "",
1701
1701
  step,
1702
1702
  data_click_id: resolveClickId(formData),
1703
- ab_bucket_json: JSON.stringify({ gql_yoe_dropdown_ab: "" })
1703
+ ab_bucket_json: JSON.stringify({ gql_yoe_dropdown_ab: "" }),
1704
+ fingerprint_id: getFingerprintId()
1704
1705
  };
1705
1706
  }
1706
1707
  async function postClickstream(url, apiKey, datasetId, tableId, row) {
@@ -2850,6 +2851,10 @@ var IKEmbeddableFormBundle = function(exports) {
2850
2851
  return url.toString();
2851
2852
  }
2852
2853
  buildBody(contract, formData) {
2854
+ const body = this.buildRawBody(contract, formData);
2855
+ return { ...body, fingerprint_id: getFingerprintId() };
2856
+ }
2857
+ buildRawBody(contract, formData) {
2853
2858
  if (contract.payloadBuilder) {
2854
2859
  return buildPayload(contract.payloadBuilder, formData);
2855
2860
  }
@@ -20661,7 +20666,7 @@ ${intlTelStyles}`;
20661
20666
  destroy();
20662
20667
  },
20663
20668
  getVersion() {
20664
- return "1.0.30";
20669
+ return "1.0.31";
20665
20670
  }
20666
20671
  };
20667
20672
  if (typeof window !== "undefined") {