@driveflux/cms 1.4.8 → 1.4.10

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.
@@ -1,6 +1,6 @@
1
1
  import { config } from '../config.js';
2
2
  import { GraphCMS } from './drivers/graphcms.js';
3
3
  // TODO dublicate code in index.ts in the same folder
4
- export var getHygraph = function(preview, locale) {
4
+ export const getHygraph = (preview, locale)=>{
5
5
  return new GraphCMS(config.graphCms, preview, locale);
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { config } from '../config.js';
2
2
  import { GraphCMS } from './drivers/graphcms.js';
3
3
  // TODO dublicate code in hygrpah.ts in the same folder
4
- export var getHygraph = function(preview, locale) {
4
+ export const getHygraph = (preview, locale)=>{
5
5
  return new GraphCMS(config.graphCms, preview, locale);
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/cms",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@driveflux/singleton": "1.5.0",
20
- "@driveflux/utils": "3.3.1",
20
+ "@driveflux/utils": "3.3.2",
21
21
  "@graphcms/rich-text-types": "^0.5.1",
22
22
  "p-throttle": "^6.2.0",
23
23
  "zod": "^3.23.8"