@prezly/theme-kit-nextjs 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,4 +6,5 @@ export * from './getNewsroomLogoUrl';
6
6
  export * from './getPrivacyPortalUrl';
7
7
  export * from './getStoryPublicationDate';
8
8
  export * from './getUploadcareGroupUrl';
9
+ export * from './lib';
9
10
  export * from './types';
@@ -18,5 +18,6 @@ __exportStar(require("./getNewsroomLogoUrl"), exports);
18
18
  __exportStar(require("./getPrivacyPortalUrl"), exports);
19
19
  __exportStar(require("./getStoryPublicationDate"), exports);
20
20
  __exportStar(require("./getUploadcareGroupUrl"), exports);
21
+ __exportStar(require("./lib"), exports);
21
22
  __exportStar(require("./types"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/data-fetching/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAsB;AACtB,8CAA4B;AAC5B,iDAA+B;AAC/B,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,0DAAwC;AACxC,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/data-fetching/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAsB;AACtB,8CAA4B;AAC5B,iDAA+B;AAC/B,6DAA2C;AAC3C,uDAAqC;AACrC,wDAAsC;AACtC,4DAA0C;AAC1C,0DAAwC;AACxC,wCAAsB;AACtB,0CAAwB"}
@@ -0,0 +1 @@
1
+ export { getEnvVariables } from './getEnvVariables';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getEnvVariables = void 0;
4
+ var getEnvVariables_1 = require("./getEnvVariables");
5
+ Object.defineProperty(exports, "getEnvVariables", { enumerable: true, get: function () { return getEnvVariables_1.getEnvVariables; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-fetching/lib/index.ts"],"names":[],"mappings":";;;AAAA,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"}
@@ -7,6 +7,7 @@ export interface PrezlyNewsroomEnv {
7
7
  PREZLY_ACCESS_TOKEN: string;
8
8
  PREZLY_NEWSROOM_UUID: string;
9
9
  PREZLY_THEME_UUID?: string;
10
+ PREZLY_MODE?: 'preview';
10
11
  }
11
12
  export interface PrezlyEnv extends PrezlyNewsroomEnv, AlgoliaSettings {
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/theme-kit-nextjs",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "description": "Data layer and utility library for developing Prezly themes with NextJS",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -6,4 +6,5 @@ export * from './getNewsroomLogoUrl';
6
6
  export * from './getPrivacyPortalUrl';
7
7
  export * from './getStoryPublicationDate';
8
8
  export * from './getUploadcareGroupUrl';
9
+ export * from './lib';
9
10
  export * from './types';
@@ -0,0 +1 @@
1
+ export { getEnvVariables } from './getEnvVariables';
@@ -8,6 +8,7 @@ export interface PrezlyNewsroomEnv {
8
8
  PREZLY_ACCESS_TOKEN: string;
9
9
  PREZLY_NEWSROOM_UUID: string;
10
10
  PREZLY_THEME_UUID?: string;
11
+ PREZLY_MODE?: 'preview';
11
12
  }
12
13
 
13
14
  export interface PrezlyEnv extends PrezlyNewsroomEnv, AlgoliaSettings {}