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

@masa-finance/analytics-sdk

Package Overview
Dependencies
Maintainers
5
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@masa-finance/analytics-sdk - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

2

dist/package.json
{
"name": "@masa-finance/analytics-sdk",
"version": "0.5.8",
"version": "0.5.9",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -10,4 +10,2 @@ export type EventType = "pageView" | "customEvent" | "login" | "mint" | "connectWallet" | "swap" | "bridge" | "addLiquidity" | "removeLiquidity" | "farm" | "trade" | "claim";

export interface BaseEventData {
client_app: string;
client_name: string;
additionalEventData?: Record<string, unknown>;

@@ -14,0 +12,0 @@ }

@@ -9,4 +9,2 @@ import { FireConnectWalletEventArgs, FireEventArgs, FireLoginEventArgs, FireMintEventArgs, FirePageViewEventArgs, FireTrackCustomEventArgs } from "./interfaces";

constructor(config: {
clientApp: string;
clientName: string;
clientId: string;

@@ -13,0 +11,0 @@ apiUrl?: string;

@@ -126,4 +126,2 @@ "use strict";

description: "User logged in",
client_app: this.config.clientApp,
client_name: this.config.clientName,
additionalEventData: additionalEventData,

@@ -198,3 +196,3 @@ };

}
event_data = __assign(__assign(__assign({ client_app: this.config.clientApp, client_name: this.config.clientName, page: page }, referrerInfo), utmParams), { additionalEventData: additionalEventData });
event_data = __assign(__assign(__assign({ page: page }, referrerInfo), utmParams), { additionalEventData: additionalEventData });
endpoint = utmParamsSearchString

@@ -238,4 +236,2 @@ ? "tracking?".concat(utmParamsSearchString)

event_data = {
client_app: this.config.clientApp,
client_name: this.config.clientName,
page_url: page_url,

@@ -282,4 +278,2 @@ page_title: page_title,

event_data = {
client_app: this.config.clientApp,
client_name: this.config.clientName,
token_name: token_name,

@@ -330,4 +324,2 @@ ticker: ticker,

event_data = {
client_app: this.config.clientApp,
client_name: this.config.clientName,
wallet_type: wallet_type,

@@ -372,4 +364,2 @@ additionalEventData: additionalEventData,

event_data = {
client_app: this.config.clientApp,
client_name: this.config.clientName,
user_address: user_address,

@@ -376,0 +366,0 @@ network: network,

{
"name": "@masa-finance/analytics-sdk",
"version": "0.5.8",
"version": "0.5.9",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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