abhi-plugin-gatsby-preview
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -19,4 +19,13 @@ "use strict"; | ||
console.log(`Received data for status msg`, data, typeof data); | ||
const event = data && data.event; | ||
let jsonData; | ||
try { | ||
jsonData = JSON.parse(data); | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
console.log(jsonData); | ||
const event = jsonData && datjsonDataa.event; | ||
if (event) { | ||
@@ -23,0 +32,0 @@ showStatusBar(true); |
{ | ||
"name": "abhi-plugin-gatsby-preview", | ||
"description": "A Gatsby plugin shows status of cloud preview", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "Abhi Aiyer", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
2309
55