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

@cmpsr/contentful-core

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cmpsr/contentful-core - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

6

CHANGELOG.md
# @cmpsr/contentful-core
## 0.1.9
### Patch Changes
- 40e18f5: Feature: Contentful Preview
## 0.1.8

@@ -4,0 +10,0 @@

2

lib/components/ComponentRendererWithContext/ComponentRendererWithContext.d.ts

@@ -8,3 +8,3 @@ import { ReactElement } from 'react';

variables: {
[key: string]: string;
[key: string]: string | boolean | number;
};

@@ -11,0 +11,0 @@ };

@@ -8,3 +8,3 @@ import { ReactElement } from 'react';

variables: {
[key: string]: string;
[key: string]: string | boolean | number;
};

@@ -11,0 +11,0 @@ };

/// <reference types="react" />
export declare const ContentfulContext: import("react").Context<{
locale: string;
preview: boolean;
componentMap: {};

@@ -5,0 +6,0 @@ queryMap: {};

@@ -12,2 +12,3 @@ "use strict";

locale: 'en-US',
preview: false,
componentMap: {},

@@ -14,0 +15,0 @@ queryMap: {}

@@ -8,7 +8,8 @@ import { ReactFragment } from 'react';

locale?: string;
preview?: boolean;
space?: string;
queryMap?: any;
};
export declare const ContentfulProvider: ({ accessToken, children, componentMap, environment, locale, space, queryMap, }: Props) => JSX.Element;
export declare const ContentfulProvider: ({ accessToken, children, componentMap, environment, locale, preview, space, queryMap, }: Props) => JSX.Element;
export {};
//# sourceMappingURL=ContentfulProvider.d.ts.map

@@ -23,2 +23,3 @@ "use strict";

locale = 'en-US',
preview = false,
space,

@@ -43,6 +44,7 @@ queryMap = {}

locale,
preview,
queryMap,
space
};
}, [accessToken, componentMap, environment, locale, queryMap, space]);
}, [accessToken, componentMap, environment, locale, preview, queryMap, space]);
return /*#__PURE__*/_react.default.createElement(_ContentfulContext.ContentfulContext.Provider, {

@@ -49,0 +51,0 @@ value: value

{
"name": "@cmpsr/contentful-core",
"version": "0.1.8",
"version": "0.1.9",
"description": "Base Composer components for standing up a React/NextJS app that can dynamically render components based on Contentful Model types mapped to components and queries.",

@@ -43,3 +43,3 @@ "author": "Ryan Hefner <hi@ryanhefner.com>",

},
"gitHead": "21b508875ce8874f6ebd22f1c01247f9386cbf89"
"gitHead": "81b07eef4896ed12cf3e89ff77c8cb5ac057195e"
}

@@ -81,9 +81,11 @@ # contentful-core

```json
{
"scripts": {
...
"graphql:schema": "./node_modules/@cmpsr/contentful-core/scripts/graphql-schema.js",
"graphql:types": "./node_modules/@cmpsr/contentful-core/scripts/graphql-types.js"
"graphql:schema": "node ./node_modules/@cmpsr/contentful-core/scripts/graphql-schema.js",
"graphql:types": "node ./node_modules/@cmpsr/contentful-core/scripts/graphql-types.js"
}
}
```

@@ -90,0 +92,0 @@ ## Examples

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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