@cmssy/astro 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
@@ -143,6 +143,10 @@ Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
143
143
  enumerable: true,
144
144
  get: function () { return core.CMSSY_LOCALE_HEADER; }
145
145
  });
146
+ Object.defineProperty(exports, "CmssyWebhookError", {
147
+ enumerable: true,
148
+ get: function () { return core.CmssyWebhookError; }
149
+ });
146
150
  Object.defineProperty(exports, "createCmssyClient", {
147
151
  enumerable: true,
148
152
  get: function () { return core.createCmssyClient; }
@@ -159,6 +163,10 @@ Object.defineProperty(exports, "resolveEditorOrigin", {
159
163
  enumerable: true,
160
164
  get: function () { return core.resolveEditorOrigin; }
161
165
  });
166
+ Object.defineProperty(exports, "verifyCmssyWebhook", {
167
+ enumerable: true,
168
+ get: function () { return core.verifyCmssyWebhook; }
169
+ });
162
170
  exports.CMSSY_EDIT_PATH_PREFIX = CMSSY_EDIT_PATH_PREFIX;
163
171
  exports.cmssyMiddleware = cmssyMiddleware;
164
172
  exports.loadCmssyPage = loadCmssyPage;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CmssyConfig, CmssyPageData, CmssyLayoutGroup } from '@cmssy/core';
2
- export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin } from '@cmssy/core';
2
+ export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, CmssyWebhookError, CmssyWebhookEvent, VerifyCmssyWebhookOptions, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { BlockDefinition } from '@cmssy/react';
4
4
 
5
5
  declare const CMSSY_EDIT_PATH_PREFIX = "/cmssy-edit";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CmssyConfig, CmssyPageData, CmssyLayoutGroup } from '@cmssy/core';
2
- export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin } from '@cmssy/core';
2
+ export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, CmssyWebhookError, CmssyWebhookEvent, VerifyCmssyWebhookOptions, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { BlockDefinition } from '@cmssy/react';
4
4
 
5
5
  declare const CMSSY_EDIT_PATH_PREFIX = "/cmssy-edit";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, isVerifiedEditUrl, applyCmssyCsp, CMSSY_SECRET_QUERY_PARAM } from '@cmssy/core';
2
- export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin } from '@cmssy/core';
2
+ export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyWebhookError, createCmssyClient, defineCmssyConfig, localizeHref, resolveEditorOrigin, verifyCmssyWebhook } from '@cmssy/core';
3
3
  import { CMSSY_LOCALE_HEADER, localeForPathname, isDevelopment, resolveSiteLocales, fetchPage } from '@cmssy/core/internal';
4
4
  import { resolveCmssyLayoutSlot } from '@cmssy/react';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/astro",
3
- "version": "11.7.0",
3
+ "version": "11.9.0",
4
4
  "description": "Astro bindings for cmssy headless sites: middleware, page loader, sitemap and robots.",
5
5
  "keywords": [
6
6
  "cmssy",
@@ -57,10 +57,10 @@
57
57
  "tsup": "^8.3.0",
58
58
  "typescript": "^5.6.0",
59
59
  "vitest": "^2.1.0",
60
- "@cmssy/react": "11.7.0"
60
+ "@cmssy/react": "11.9.0"
61
61
  },
62
62
  "dependencies": {
63
- "@cmssy/core": "11.7.0"
63
+ "@cmssy/core": "11.9.0"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "tsup",