@waves/event-sender
Advanced tools
Comparing version 0.5.4 to 1.0.0
@@ -9,2 +9,3 @@ /// <reference path="../interface.d.ts" /> | ||
private isActive; | ||
private static URL_PARAMS; | ||
constructor(); | ||
@@ -11,0 +12,0 @@ init(iframeUrl: string, defaultParams?: Record<string, any>): void; |
@@ -43,3 +43,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.analytics = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
} | ||
this.createBusPromise = this._createBus(this.iframeUrl); | ||
this.createBusPromise = this._createBus(this.iframeUrl + Analytics.URL_PARAMS); | ||
this.createBusPromise.then(function (bus) { | ||
@@ -116,2 +116,3 @@ bus.dispatchEvent('has-referrer', document.referrer); | ||
}; | ||
Analytics.URL_PARAMS = window.location.search + window.location.hash; | ||
return Analytics; | ||
@@ -118,0 +119,0 @@ }()); |
{ | ||
"name": "@waves/event-sender", | ||
"version": "0.5.4", | ||
"version": "1.0.0", | ||
"description": "An interface for sending analytics events from Waves JS applications", | ||
@@ -5,0 +5,0 @@ "main": "dist/analytics.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31481
258
2