@highlight-run/gatsby-plugin-highlight
Advanced tools
Comparing version 0.0.2 to 0.0.3
const Highlight = require("highlight.run"); | ||
const PACKAGE_NAME = "@highlight-run/gatsby-plugin-highlight"; | ||
exports.onClientEntry = (_, pluginOptions) => { | ||
const { orgID, plugins, ...options } = pluginOptions; | ||
if (orgID === undefined) { | ||
throw new Error(`Invalid options for "${PACKAGE_NAME}": `); | ||
} | ||
Highlight.H.init(orgID, options.options); | ||
Highlight.H.init(orgID, options); | ||
// @ts-ignore | ||
window.H = Highlight.H; | ||
}; |
{ | ||
"name": "@highlight-run/gatsby-plugin-highlight", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Gatsby plugin for adding Highlight error monitoring and session recording.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,8 +0,1 @@ | ||
<p align="center"> | ||
<a href="https://highlight.run" target="_blank" align="center"> | ||
<img src="https://uploads-ssl.webflow.com/60a2acace1fd91aae61c497d/60d1a335b43b924351ddfa4e_Coloured.png" width="500"> | ||
</a> | ||
<br /> | ||
</p> | ||
# Official Highlight SDK for GatsbyJS | ||
@@ -22,3 +15,3 @@ | ||
enableStrictPrivacy: false; | ||
environment: 'production'; | ||
environment: 'production'; | ||
version: '5.2.3'; | ||
@@ -25,0 +18,0 @@ networkRecording: true; |
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
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
3584
23
30