astro-tractstack 2.1.2 → 2.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-tractstack",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Astro integration for TractStack - the digital experience platform (DXP) for the missing middle",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,6 +10,7 @@ import type { ResourceNode } from '@/types/compositorTypes';
10
10
 
11
11
  export interface Props {
12
12
  target: string;
13
+ paneId: string;
13
14
  fullContentMap: FullContentMapItem[];
14
15
  resourcesPayload?: Record<string, ResourceNode[]>;
15
16
  options?: {
@@ -13,6 +13,7 @@ import type { ResourceNode } from '@/types/compositorTypes';
13
13
 
14
14
  export interface Props {
15
15
  target: string;
16
+ paneId: string;
16
17
  fullContentMap: FullContentMapItem[];
17
18
  resourcesPayload?: Record<string, ResourceNode[]>;
18
19
  options?: {
@@ -158,6 +158,7 @@ paneIds.forEach((paneId: string) => {
158
158
  <div class="relative overflow-hidden">
159
159
  <CodeHook
160
160
  target={codeHookTargets[paneId]}
161
+ paneId={paneId}
161
162
  options={(() => {
162
163
  const optionsStr =
163
164
  codeHookTargets[paneId + '-' + codeHookTargets[paneId]];
@@ -126,6 +126,7 @@ if (!brandConfig.SITE_INIT) {
126
126
  codeHookTarget ? (
127
127
  <CodeHook
128
128
  target={codeHookTarget}
129
+ paneId={paneId}
129
130
  resourcesPayload={resourcesPayload}
130
131
  fullContentMap={fullContentMap}
131
132
  />