@peak-ai/canvas 1.4.20-rc.1 → 1.4.20-rc.2

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,2 +1,2 @@
1
- import _extends from"@babel/runtime/helpers/extends";export function filterPlaceholders(obj){if(!obj||typeof obj!=="object"){return obj}var filtered=_extends({},obj);Object.keys(filtered).forEach(function(key){var value=filtered[key];if(value&&typeof value==="object"&&value.name==="__peak_placeholder"){delete filtered[key]}});return filtered}
1
+ import _extends from"@babel/runtime/helpers/extends";export function filterPlaceholders(obj){if(!obj||typeof obj!=="object"){return obj}console.log("Filtering placeholders from object:",obj);var filtered=_extends({},obj);console.log({filtered:filtered});Object.keys(filtered).forEach(function(key){var value=filtered[key];console.log({key:key,value:value});if(value&&typeof value==="object"&&value.name==="__peak_placeholder"){delete filtered[key]}});return filtered}
2
2
  //# sourceMappingURL=filter-placeholder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-placeholder.js","names":["filterPlaceholders","obj","filtered","_extends","Object","keys","forEach","key","value","name"],"sources":["../../src/helpers/filter-placeholder.ts"],"sourcesContent":["export function filterPlaceholders(obj: any) {\n if (!obj || typeof obj !== 'object') {\n return obj;\n }\n\n const filtered = { ...obj };\n Object.keys(filtered).forEach(key => {\n const value = filtered[key];\n\n if (value && typeof value === 'object' && value.name === '__peak_placeholder') {\n delete filtered[key];\n }\n });\n\n return filtered;\n}\n"],"mappings":"qDAAA,MAAO,SAAS,CAAAA,kBAAkBA,CAACC,GAAQ,CAAE,CAC3C,GAAI,CAACA,GAAG,EAAI,MAAO,CAAAA,GAAG,GAAK,QAAQ,CAAE,CACnC,MAAO,CAAAA,GACT,CAEA,GAAM,CAAAC,QAAQ,CAAAC,QAAA,IAAQF,GAAG,CAAE,CAC3BG,MAAM,CAACC,IAAI,CAACH,QAAQ,CAAC,CAACI,OAAO,CAAC,SAAAC,GAAG,CAAI,CACnC,GAAM,CAAAC,KAAK,CAAGN,QAAQ,CAACK,GAAG,CAAC,CAE3B,GAAIC,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,EAAIA,KAAK,CAACC,IAAI,GAAK,oBAAoB,CAAE,CAC7E,MAAO,CAAAP,QAAQ,CAACK,GAAG,CACrB,CACF,CAAC,CAAC,CAEF,MAAO,CAAAL,QACT","ignoreList":[]}
1
+ {"version":3,"file":"filter-placeholder.js","names":["filterPlaceholders","obj","console","log","filtered","_extends","Object","keys","forEach","key","value","name"],"sources":["../../src/helpers/filter-placeholder.ts"],"sourcesContent":["export function filterPlaceholders(obj: any) {\n if (!obj || typeof obj !== 'object') {\n return obj;\n }\n\n console.log('Filtering placeholders from object:', obj);\n\n const filtered = { ...obj };\n\n console.log({ filtered });\n Object.keys(filtered).forEach(key => {\n const value = filtered[key];\n\n console.log({ key, value });\n\n if (value && typeof value === 'object' && value.name === '__peak_placeholder') {\n delete filtered[key];\n }\n });\n\n return filtered;\n}\n"],"mappings":"qDAAA,MAAO,SAAS,CAAAA,kBAAkBA,CAACC,GAAQ,CAAE,CAC3C,GAAI,CAACA,GAAG,EAAI,MAAO,CAAAA,GAAG,GAAK,QAAQ,CAAE,CACnC,MAAO,CAAAA,GACT,CAEAC,OAAO,CAACC,GAAG,CAAC,qCAAqC,CAAEF,GAAG,CAAC,CAEvD,GAAM,CAAAG,QAAQ,CAAAC,QAAA,IAAQJ,GAAG,CAAE,CAE3BC,OAAO,CAACC,GAAG,CAAC,CAAEC,QAAQ,CAARA,QAAS,CAAC,CAAC,CACzBE,MAAM,CAACC,IAAI,CAACH,QAAQ,CAAC,CAACI,OAAO,CAAC,SAAAC,GAAG,CAAI,CACnC,GAAM,CAAAC,KAAK,CAAGN,QAAQ,CAACK,GAAG,CAAC,CAE3BP,OAAO,CAACC,GAAG,CAAC,CAAEM,GAAG,CAAHA,GAAG,CAAEC,KAAK,CAALA,KAAM,CAAC,CAAC,CAE3B,GAAIA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,EAAIA,KAAK,CAACC,IAAI,GAAK,oBAAoB,CAAE,CAC7E,MAAO,CAAAP,QAAQ,CAACK,GAAG,CACrB,CACF,CAAC,CAAC,CAEF,MAAO,CAAAL,QACT","ignoreList":[]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@peak-ai/canvas",
3
3
  "author": "squad-builder-experience",
4
4
  "license": "UNLICENSED",
5
- "version": "1.4.20-rc.1",
5
+ "version": "1.4.20-rc.2",
6
6
  "description": "",
7
7
  "dependencies": {
8
8
  "@emotion/react": "^11.11.4",