@cmssy/remix 11.7.0 → 11.9.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
@@ -109,6 +109,10 @@ Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
109
109
  enumerable: true,
110
110
  get: function () { return core.CMSSY_LOCALE_HEADER; }
111
111
  });
112
+ Object.defineProperty(exports, "CmssyWebhookError", {
113
+ enumerable: true,
114
+ get: function () { return core.CmssyWebhookError; }
115
+ });
112
116
  Object.defineProperty(exports, "createCmssyClient", {
113
117
  enumerable: true,
114
118
  get: function () { return core.createCmssyClient; }
@@ -125,6 +129,10 @@ Object.defineProperty(exports, "localizeHref", {
125
129
  enumerable: true,
126
130
  get: function () { return core.localizeHref; }
127
131
  });
132
+ Object.defineProperty(exports, "verifyCmssyWebhook", {
133
+ enumerable: true,
134
+ get: function () { return core.verifyCmssyWebhook; }
135
+ });
128
136
  exports.createCmssyHeaders = createCmssyHeaders;
129
137
  exports.createCmssyLoader = createCmssyLoader;
130
138
  exports.useCmssyLocale = useCmssyLocale;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CmssyPageData, CmssyLayoutGroup, CmssyConfig } from '@cmssy/core';
2
- export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
2
+ export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, CmssyWebhookError, CmssyWebhookEvent, VerifyCmssyWebhookOptions, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { BlockDefinition } from '@cmssy/react';
4
4
 
5
5
  interface CmssyRouteData {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CmssyPageData, CmssyLayoutGroup, CmssyConfig } from '@cmssy/core';
2
- export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
2
+ export { CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, CmssyWebhookError, CmssyWebhookEvent, VerifyCmssyWebhookOptions, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { BlockDefinition } from '@cmssy/react';
4
4
 
5
5
  interface CmssyRouteData {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { isVerifiedEditUrl, CMSSY_EDIT_QUERY_PARAM, CMSSY_SECRET_QUERY_PARAM, resolveEditorOrigin } from '@cmssy/core';
2
- export { CMSSY_LOCALE_HEADER, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref } from '@cmssy/core';
2
+ export { CMSSY_LOCALE_HEADER, CmssyWebhookError, createCmssyClient, defineCmssyConfig, isVerifiedEditUrl, localizeHref, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { isDevelopment, resolveSiteLocales, CMSSY_LOCALE_HEADER, fetchPage, cmssyCspHeaders } from '@cmssy/core/internal';
4
4
  import { resolveCmssyLayoutSlot } from '@cmssy/react';
5
5
  import { useMatches } from 'react-router';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/remix",
3
- "version": "11.7.0",
3
+ "version": "11.9.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",
@@ -58,10 +58,10 @@
58
58
  "tsup": "^8.3.0",
59
59
  "typescript": "^5.6.0",
60
60
  "vitest": "^2.1.0",
61
- "@cmssy/react": "11.7.0"
61
+ "@cmssy/react": "11.9.0"
62
62
  },
63
63
  "dependencies": {
64
- "@cmssy/core": "11.7.0"
64
+ "@cmssy/core": "11.9.0"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsup",