Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@waves/event-sender

Package Overview
Dependencies
Maintainers
16
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves/event-sender - npm Package Compare versions

Comparing version 0.5.4 to 1.0.0

1

dist/Analytics.d.ts

@@ -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;

3

dist/analytics.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc