New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@masa-finance/analytics-react

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.6.0 to 0.6.1

dist/analytics-react.min.js

2

dist/config.js
var _a;
export const API_URL = (_a = process.env.REACT_APP_COOKIE_MONSTER_API_URL) !== null && _a !== void 0 ? _a : "https://zksbt-cookie-api.onrender.com";
export const API_URL = (_a = process.env.REACT_APP_MASA_ANALYTICS_API_URL) !== null && _a !== void 0 ? _a : "api.cookiemonster.masa.finance";

@@ -1,3 +0,3 @@

import { useCookieMonster } from "./hooks/useCookieMonster";
import { useMasaAnalyticsReact } from "./hooks/useMasaAnalyticsReact";
import { useEventLogger } from "./hooks/useEventLogger";
export { useEventLogger, useCookieMonster, };
export { useEventLogger, useMasaAnalyticsReact, };

@@ -1,5 +0,5 @@

import { useCookieMonster } from "./hooks/useCookieMonster";
import { useMasaAnalyticsReact } from "./hooks/useMasaAnalyticsReact";
import { useEventLogger } from "./hooks/useEventLogger";
export {
// new cookie monster
useEventLogger, useCookieMonster, };
// new masa analytics
useEventLogger, useMasaAnalyticsReact, };
{
"name": "@masa-finance/analytics-react",
"version": "0.6.0",
"version": "0.6.1",
"description": "A customizable, easy-to-use React component for displaying a cookie consent banner on your website, written in TypeScript.",

@@ -23,6 +23,7 @@ "main": "dist/index.js",

"react",
"cookie",
"consent",
"banner",
"masa",
"analytics",
"tracking",
"gdpr",
"web3",
"typescript"

@@ -43,8 +44,8 @@ ],

"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.44.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"prettier": "^3.0.0",
"prettier": "^3.0.2",
"terser-webpack-plugin": "^5.3.9",

@@ -51,0 +52,0 @@ "ts-loader": "^9.4.4",

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

# zkSTB 🍪
# Masa Analytics React
A customizable, easy-to-use React component for connecting to cookie monster, written in TypeScript.
A customizable, easy-to-use React component for connecting to Masa Analytics, written in TypeScript.

@@ -31,5 +31,5 @@ ## Features

```typescript
import { useCookieMonster } from "@masa-finance/zksbt-cookie";
import { useMasaAnalyticsReact } from "@masa-finance/analytics-react";
const { firePageViewEvent } = useCookieMonster({
const { firePageViewEvent } = useMasaAnalyticsReact({
clientApp: "My App",

@@ -55,5 +55,5 @@ clientName: "My Company Name",

```typescript
import { useCookieMonster } from "@masa-finance/zksbt-cookie";
import { useMasaAnalyticsReact } from "@masa-finance/analytics-react";
const { fireLoginEvent } = useCookieMonster({
const { fireLoginEvent } = useMasaAnalyticsReact({
clientApp: "My App",

@@ -83,5 +83,5 @@ clientName: "My Company Name",

```typescript
import { useCookieMonster } from "@masa-finance/zksbt-cookie";
import { useMasaAnalyticsReact } from "@masa-finance/analytics-react";
const { fireMintEvent } = useCookieMonster({
const { fireMintEvent } = useMasaAnalyticsReact({
clientApp: "My App",

@@ -113,3 +113,3 @@ clientName: "My Company Name",

You can install the `@masa-finance/zksbt-cookie` package using either npm or yarn:
You can install the `@masa-finance/analytics-react` package using either npm or yarn:

@@ -119,3 +119,3 @@ ### Using npm

```bash
npm install @masa-finance/zksbt-cookie
npm install @masa-finance/analytics-react
```

@@ -126,3 +126,3 @@

```bash
yarn add @masa-finance/zksbt-cookie
yarn add @masa-finance/analytics-react
```

@@ -171,8 +171,6 @@

For bug reports and feature requests, please [create an issue](https://github.com/masa-finance/zksbt-cookie/issues) on GitHub.
For bug reports and feature requests, please [create an issue](https://github.com/masa-finance/analytics-react/issues) on GitHub.
## License
`zksbt-cookie` is released under the [MIT License](LICENSE).
By adding these sections, your README will be more comprehensive and provide all the necessary information for developers to use, contribute to, and understand the licensing of your package.
`analytics-react` is released under the [MIT License](LICENSE).
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