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

@dub/analytics

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dub/analytics - npm Package Compare versions

Comparing version 0.0.23 to 0.0.25

4

dist/index.d.ts

@@ -8,4 +8,4 @@ interface AnalyticsProps {

/**
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking.
* @example 'example.com'
* The custom domain you're using on Dub for your short links.
* @example 'go.example.com'
*/

@@ -12,0 +12,0 @@ shortDomain?: string;

// package.json
var name = "@dub/analytics";
var version = "0.0.23";
var version = "0.0.25";

@@ -5,0 +5,0 @@ // src/utils.tsx

@@ -8,4 +8,4 @@ interface AnalyticsProps {

/**
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking.
* @example 'example.com'
* The custom domain you're using on Dub for your short links.
* @example 'go.example.com'
*/

@@ -12,0 +12,0 @@ shortDomain?: string;

@@ -8,3 +8,3 @@ "use client";

var name = "@dub/analytics";
var version = "0.0.23";
var version = "0.0.25";

@@ -11,0 +11,0 @@ // src/utils.tsx

{
"name": "@dub/analytics",
"version": "0.0.23",
"version": "0.0.25",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [

@@ -45,3 +45,3 @@ ## Overview

The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking.
The custom domain you're using on Dub for your short links.

@@ -67,3 +67,3 @@ ### `attributionModel`

For example, to set a cross domain cookie, you can use the following code:
For example, to set a 60-day cookie window, you can use the following code:

@@ -75,5 +75,3 @@ ```tsx

cookieOptions={{
domain: process.env.IS_PRODUCTION_ENV
? ".yourdomain.com" // for cross-domain tracking
: undefined,
expiresInDays: 60,
}}

@@ -80,0 +78,0 @@ />

@@ -11,4 +11,4 @@ export type AllowedPropertyValues = string | number | boolean | null;

/**
* The short domain you're using on Dub for your short links. For security purposes, this must be a subdomain of your website's domain. This is required for client-side click-tracking.
* @example 'example.com'
* The custom domain you're using on Dub for your short links.
* @example 'go.example.com'
*/

@@ -15,0 +15,0 @@ shortDomain?: string;

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

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