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

@types/segment-analytics

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/segment-analytics - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

48

segment-analytics/index.d.ts

@@ -15,22 +15,22 @@ // Type definitions for Segment's analytics.js

integrations?: any;
anonymousId?: string;
context?: object;
anonymousId?: string | undefined;
context?: object | undefined;
}
interface CookieOptions {
maxage?: number;
domain?: string;
path?: string;
secure?: boolean;
maxage?: number | undefined;
domain?: string | undefined;
path?: string | undefined;
secure?: boolean | undefined;
}
interface MetricsOptions {
host?: string;
sampleRate?: number;
flushTimer?: number;
maxQueueSize?: number;
host?: string | undefined;
sampleRate?: number | undefined;
flushTimer?: number | undefined;
maxQueueSize?: number | undefined;
}
interface StoreOptions {
enabled?: boolean;
enabled?: boolean | undefined;
}

@@ -42,7 +42,7 @@

oldKey: string;
};
} | undefined;
localStorage?: {
key: string;
};
persist?: boolean;
} | undefined;
persist?: boolean | undefined;
}

@@ -53,19 +53,19 @@

key: string;
};
} | undefined;
localStorage?: {
key: string;
};
persist?: boolean;
} | undefined;
persist?: boolean | undefined;
}
interface InitOptions {
cookie?: CookieOptions;
metrics?: MetricsOptions;
localStorage?: StoreOptions;
user?: UserOptions;
group?: GroupOptions;
cookie?: CookieOptions | undefined;
metrics?: MetricsOptions | undefined;
localStorage?: StoreOptions | undefined;
user?: UserOptions | undefined;
group?: GroupOptions | undefined;
integrations?: {
All?: boolean;
All?: boolean | undefined;
[integration: string]: boolean | undefined;
};
} | undefined;
}

@@ -72,0 +72,0 @@

{
"name": "@types/segment-analytics",
"version": "0.0.33",
"version": "0.0.34",
"description": "TypeScript definitions for Segment's analytics.js",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/segment-analytics",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "3266de53585c95b5e414763a5f5a44638b943082b0ca219cdd350660723ed6e1",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "30b4de46ee113e485ccc8b38faa2144bf5fb3d953b4c010319850252f9a07b85",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 09 Nov 2020 17:27:49 GMT
* Last updated: Tue, 06 Jul 2021 16:34:28 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `analytics`

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