isdata-customer-sdk 0.1.53 → 0.1.54

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/index.js CHANGED
@@ -30727,7 +30727,8 @@ const initFrameWindowListener = () => {
30727
30727
  };
30728
30728
  const sendWindowMessage = async (targetWindow, originKey, eventKey, data, callback) => {
30729
30729
  let timestamp = new Date().getTime();
30730
- let eventOperateKey = `${originKey}_${timestamp}`;
30730
+ let randomNum = Math.floor(Math.random() * 10000) + 1;
30731
+ let eventOperateKey = `${eventKey}_${timestamp}_${randomNum}`;
30731
30732
  addEventAction(eventOperateKey, callback);
30732
30733
  let postData = {
30733
30734
  eventOperateKey: eventOperateKey,