@snowplow/browser-plugin-client-hints
Advanced tools
Comparing version 3.24.2 to 3.24.3-dev.0
/*! | ||
* Attaches Client Hints to Snowplow events v3.24.2 (http://bit.ly/sp-js) | ||
* Attaches Client Hints to Snowplow events v3.24.3-dev.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -57,3 +57,3 @@ * Licensed under BSD-3-Clause | ||
isMobile: uaData.mobile, | ||
brands: getBrands(forceArray(uaData.brands)) | ||
brands: getBrands(forceArray(uaData.brands)), | ||
}; | ||
@@ -87,3 +87,3 @@ if (includeHighEntropy && uaData.getHighEntropyValues) { | ||
schema: 'iglu:org.ietf/http_client_hints/jsonschema/1-0-0', | ||
data: uaClientHints | ||
data: uaClientHints, | ||
}, | ||
@@ -93,3 +93,3 @@ ]; | ||
return []; | ||
} | ||
}, | ||
}; | ||
@@ -96,0 +96,0 @@ } |
/*! | ||
* Attaches Client Hints to Snowplow events v3.24.2 (http://bit.ly/sp-js) | ||
* Attaches Client Hints to Snowplow events v3.24.3-dev.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -63,3 +63,3 @@ * Licensed under BSD-3-Clause | ||
isMobile: uaData.mobile, | ||
brands: getBrands(forceArray(uaData.brands)) | ||
brands: getBrands(forceArray(uaData.brands)), | ||
}; | ||
@@ -93,3 +93,3 @@ if (includeHighEntropy && uaData.getHighEntropyValues) { | ||
schema: 'iglu:org.ietf/http_client_hints/jsonschema/1-0-0', | ||
data: uaClientHints | ||
data: uaClientHints, | ||
}, | ||
@@ -99,3 +99,3 @@ ]; | ||
return []; | ||
} | ||
}, | ||
}; | ||
@@ -102,0 +102,0 @@ } |
/*! | ||
* Attaches Client Hints to Snowplow events v3.24.2 (http://bit.ly/sp-js) | ||
* Attaches Client Hints to Snowplow events v3.24.3-dev.0 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
{ | ||
"name": "@snowplow/browser-plugin-client-hints", | ||
"version": "3.24.2", | ||
"version": "3.24.3-dev.0", | ||
"description": "Attaches Client Hints to Snowplow events", | ||
@@ -21,4 +21,4 @@ "homepage": "http://bit.ly/sp-js", | ||
"dependencies": { | ||
"@snowplow/browser-tracker-core": "3.24.2", | ||
"tslib": "^2.3.1" | ||
"tslib": "^2.3.1", | ||
"@snowplow/browser-tracker-core": "3.24.3-dev.0" | ||
}, | ||
@@ -29,3 +29,2 @@ "devDependencies": { | ||
"@rollup/plugin-node-resolve": "~13.1.3", | ||
"@snowplow/tracker-core": "3.24.2", | ||
"@types/jest": "~27.4.1", | ||
@@ -46,6 +45,7 @@ "@types/jsdom": "~16.2.14", | ||
"ts-jest": "~27.1.3", | ||
"typescript": "~4.6.2" | ||
"typescript": "~4.6.2", | ||
"@snowplow/tracker-core": "3.24.3-dev.0" | ||
}, | ||
"peerDependencies": { | ||
"@snowplow/browser-tracker": "~3.24.2" | ||
"@snowplow/browser-tracker": "~3.24.3-dev.0" | ||
}, | ||
@@ -55,4 +55,3 @@ "scripts": { | ||
"test": "jest" | ||
}, | ||
"readme": "# Snowplow Client Hint Tracking\n\n[![npm version][npm-image]][npm-url]\n[![License][license-image]](LICENSE)\n\nBrowser Plugin to be used with `@snowplow/browser-tracker`.\n\nAdds Client Hints to your Snowplow tracking. Captures Navigator Client Hint data.\n\n## Maintainer quick start\n\nPart of the Snowplow JavaScript Tracker monorepo. \nBuild with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/).\n\n### Setup repository\n\n```bash\nnpm install -g @microsoft/rush \ngit clone https://github.com/snowplow/snowplow-javascript-tracker.git\nrush update\n```\n\n## Package Installation\n\nWith npm:\n\n```bash\nnpm install @snowplow/browser-plugin-client-hints\n```\n\n## Usage\n\nInitialize your tracker with the BrowserFeaturesPlugin:\n\n```js\nimport { newTracker } from '@snowplow/browser-tracker';\nimport { ClientHintsPlugin } from '@snowplow/browser-plugin-client-hints';\n\nnewTracker('sp1', '{{collector}}', { plugins: [ ClientHintsPlugin() ] }); // Also stores reference at module level\n```\n\n## Copyright and license\n\nLicensed and distributed under the [BSD 3-Clause License](LICENSE) ([An OSI Approved License][osi]).\n\nCopyright (c) 2022 Snowplow Analytics Ltd, 2010 Anthon Pang.\n\nAll rights reserved.\n\n[npm-url]: https://www.npmjs.com/package/@snowplow/browser-plugin-client-hints\n[npm-image]: https://img.shields.io/npm/v/@snowplow/browser-plugin-client-hints\n[docs]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-tracker/\n[osi]: https://opensource.org/licenses/BSD-3-Clause\n[license-image]: https://img.shields.io/npm/l/@snowplow/browser-plugin-client-hints\n" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
52917
1
+ Added@snowplow/browser-tracker-core@3.24.3-dev.0(transitive)
+ Added@snowplow/tracker-core@3.24.3-dev.0(transitive)
+ Addeduuid@8.3.2(transitive)
- Removed@snowplow/browser-tracker-core@3.24.2(transitive)
- Removed@snowplow/tracker-core@3.24.2(transitive)