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

@gatsby-cloud-pkg/gatsby-cms-extension-base

Package Overview
Dependencies
Maintainers
7
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gatsby-cloud-pkg/gatsby-cms-extension-base - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

CHANGELOG.md

4

dist/index.js

@@ -28,3 +28,3 @@ "use strict";

"Content-Type": `application/json`,
"Authorization": authToken,
Authorization: authToken,
},

@@ -92,3 +92,3 @@ body: JSON.stringify({

function ExtensionUI({ contentSlug, previewInstanceUrl, authToken }) {
return (React.createElement(React.Fragment, null,
return (React.createElement("div", null,
previewInstanceUrl ? (React.createElement(Button, { className: "preview-button", type: "button", onClick: () => __awaiter(this, void 0, void 0, function* () { return openPreview({ contentSlug, previewInstanceUrl, authToken }); }) }, "Open Preview")) : (React.createElement(Text, null, "Missing required Gatsby Cloud instance url. Please check your configuration.")),

@@ -95,0 +95,0 @@ React.createElement(PoweredBy, { className: "powered-by" },

{
"name": "@gatsby-cloud-pkg/gatsby-cms-extension-base",
"version": "0.0.14",
"version": "0.0.15",
"description": "Common utilities for integrating Gatsby Preview with CMS providers",

@@ -43,3 +43,4 @@ "main": "dist/index.js",

"react": "16.8.6"
}
},
"gitHead": "55a208d7cc20415da61c54d9485f343886fd9e85"
}

Sorry, the diff of this file is not supported yet

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