@cmssy/remix 10.0.0 → 10.1.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.
package/dist/index.cjs CHANGED
@@ -56,9 +56,9 @@ function createCmssyHeaders(config) {
56
56
  };
57
57
  }
58
58
 
59
- Object.defineProperty(exports, "buildBlockContext", {
59
+ Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
60
60
  enumerable: true,
61
- get: function () { return core.buildBlockContext; }
61
+ get: function () { return core.CMSSY_LOCALE_HEADER; }
62
62
  });
63
63
  Object.defineProperty(exports, "createCmssyClient", {
64
64
  enumerable: true,
@@ -72,37 +72,9 @@ Object.defineProperty(exports, "isVerifiedEditUrl", {
72
72
  enumerable: true,
73
73
  get: function () { return core.isVerifiedEditUrl; }
74
74
  });
75
- Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
76
- enumerable: true,
77
- get: function () { return internal.CMSSY_LOCALE_HEADER; }
78
- });
79
- Object.defineProperty(exports, "fetchLayouts", {
80
- enumerable: true,
81
- get: function () { return internal.fetchLayouts; }
82
- });
83
- Object.defineProperty(exports, "fetchPage", {
84
- enumerable: true,
85
- get: function () { return internal.fetchPage; }
86
- });
87
- Object.defineProperty(exports, "fetchPageMeta", {
88
- enumerable: true,
89
- get: function () { return internal.fetchPageMeta; }
90
- });
91
- Object.defineProperty(exports, "fetchPages", {
92
- enumerable: true,
93
- get: function () { return internal.fetchPages; }
94
- });
95
75
  Object.defineProperty(exports, "localizeHref", {
96
76
  enumerable: true,
97
- get: function () { return internal.localizeHref; }
98
- });
99
- Object.defineProperty(exports, "localizedPath", {
100
- enumerable: true,
101
- get: function () { return internal.localizedPath; }
102
- });
103
- Object.defineProperty(exports, "resolveSiteLocales", {
104
- enumerable: true,
105
- get: function () { return internal.resolveSiteLocales; }
77
+ get: function () { return core.localizeHref; }
106
78
  });
107
79
  exports.createCmssyHeaders = createCmssyHeaders;
108
80
  exports.createCmssyLoader = createCmssyLoader;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { CmssyPageData, CmssyLayoutGroup, CmssyConfig } from '@cmssy/core';
2
- export { CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, buildBlockContext, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl } from '@cmssy/core';
3
- export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, localizedPath, resolveSiteLocales } from '@cmssy/core/internal';
2
+ export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
4
3
 
5
4
  interface CmssyRouteData {
6
5
  page: CmssyPageData | null;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { CmssyPageData, CmssyLayoutGroup, CmssyConfig } from '@cmssy/core';
2
- export { CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, buildBlockContext, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl } from '@cmssy/core';
3
- export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, localizedPath, resolveSiteLocales } from '@cmssy/core/internal';
2
+ export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
4
3
 
5
4
  interface CmssyRouteData {
6
5
  page: CmssyPageData | null;
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { isVerifiedEditUrl, CMSSY_EDIT_QUERY_PARAM, CMSSY_SECRET_QUERY_PARAM } from '@cmssy/core';
2
- export { buildBlockContext, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl } from '@cmssy/core';
2
+ export { CMSSY_LOCALE_HEADER, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
3
3
  import { isDevelopment, resolveSiteLocales, splitLocaleFromPath, CMSSY_LOCALE_HEADER, fetchPage, fetchLayouts, cmssyCspHeaders } from '@cmssy/core/internal';
4
- export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, localizedPath, resolveSiteLocales } from '@cmssy/core/internal';
5
4
 
6
5
  // src/loader.ts
7
6
  function createCmssyLoader(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/remix",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
4
4
  "description": "React Router 7 bindings for cmssy headless sites: page loader, framing CSP, sitemap and robots.",
5
5
  "keywords": [
6
6
  "cmssy",
@@ -48,7 +48,7 @@
48
48
  "vitest": "^2.1.0"
49
49
  },
50
50
  "dependencies": {
51
- "@cmssy/core": "10.0.0"
51
+ "@cmssy/core": "10.1.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsup",