@types/segment-analytics
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -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` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
10697
1