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.0.6 to 0.0.7

2

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

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

@@ -0,2 +1,4 @@

import { AxiosInstance } from "axios";
import type { BaseEventData, Event, EventType } from "./interfaces/EventData";
export declare const analyticsClient: AxiosInstance;
export declare const logEvent: ({ type, user_address, client_id, event_data, endpoint, }: {

@@ -3,0 +5,0 @@ type: EventType;

@@ -42,6 +42,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.logEvent = void 0;
exports.logEvent = exports.analyticsClient = void 0;
var axios_1 = __importDefault(require("axios"));
var config_1 = require("./config");
var client = axios_1.default.create({
exports.analyticsClient = axios_1.default.create({
baseURL: config_1.API_URL,

@@ -64,3 +64,3 @@ });

};
return [4 /*yield*/, client.post("/".concat(endpoint), event_1, {
return [4 /*yield*/, exports.analyticsClient.post("/".concat(endpoint), event_1, {
headers: {

@@ -67,0 +67,0 @@ "Content-Type": "application/json",

@@ -1,2 +0,2 @@

export { logEvent } from "./event-logger";
export { analyticsClient, logEvent } from "./event-logger";
export * from "./interfaces";

@@ -3,0 +3,0 @@ export { MasaAnalytics } from "./masa-analytics";

@@ -17,4 +17,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.generateSignature = exports.MasaAnalytics = exports.logEvent = void 0;
exports.generateSignature = exports.MasaAnalytics = exports.logEvent = exports.analyticsClient = void 0;
var event_logger_1 = require("./event-logger");
Object.defineProperty(exports, "analyticsClient", { enumerable: true, get: function () { return event_logger_1.analyticsClient; } });
Object.defineProperty(exports, "logEvent", { enumerable: true, get: function () { return event_logger_1.logEvent; } });

@@ -21,0 +22,0 @@ __exportStar(require("./interfaces"), exports);

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

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

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

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