@almadar/ui 4.19.2 → 4.19.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.
@@ -51638,15 +51638,7 @@ function getSlotContentRenderer2() {
51638
51638
  }
51639
51639
  function makeLambdaFn(argName, lambdaBody, callerKey) {
51640
51640
  return (item, index) => {
51641
- lambdaLog.info("invoke", {
51642
- argName,
51643
- callerKey,
51644
- index,
51645
- itemType: typeof item,
51646
- itemIsArray: Array.isArray(item),
51647
- itemKeys: item && typeof item === "object" ? Object.keys(item).slice(0, 12) : null,
51648
- itemSample: JSON.stringify(item).slice(0, 400)
51649
- });
51641
+ console.log(`[lambda-triage:${callerKey}#${index}]`, JSON.stringify(item));
51650
51642
  const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
51651
51643
  if (resolvedBody === null || typeof resolvedBody !== "object" || Array.isArray(resolvedBody)) {
51652
51644
  return null;
package/dist/avl/index.js CHANGED
@@ -51592,15 +51592,7 @@ function getSlotContentRenderer2() {
51592
51592
  }
51593
51593
  function makeLambdaFn(argName, lambdaBody, callerKey) {
51594
51594
  return (item, index) => {
51595
- lambdaLog.info("invoke", {
51596
- argName,
51597
- callerKey,
51598
- index,
51599
- itemType: typeof item,
51600
- itemIsArray: Array.isArray(item),
51601
- itemKeys: item && typeof item === "object" ? Object.keys(item).slice(0, 12) : null,
51602
- itemSample: JSON.stringify(item).slice(0, 400)
51603
- });
51595
+ console.log(`[lambda-triage:${callerKey}#${index}]`, JSON.stringify(item));
51604
51596
  const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
51605
51597
  if (resolvedBody === null || typeof resolvedBody !== "object" || Array.isArray(resolvedBody)) {
51606
51598
  return null;
@@ -38229,15 +38229,7 @@ function getSlotContentRenderer2() {
38229
38229
  }
38230
38230
  function makeLambdaFn(argName, lambdaBody, callerKey) {
38231
38231
  return (item, index) => {
38232
- lambdaLog.info("invoke", {
38233
- argName,
38234
- callerKey,
38235
- index,
38236
- itemType: typeof item,
38237
- itemIsArray: Array.isArray(item),
38238
- itemKeys: item && typeof item === "object" ? Object.keys(item).slice(0, 12) : null,
38239
- itemSample: JSON.stringify(item).slice(0, 400)
38240
- });
38232
+ console.log(`[lambda-triage:${callerKey}#${index}]`, JSON.stringify(item));
38241
38233
  const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
38242
38234
  if (resolvedBody === null || typeof resolvedBody !== "object" || Array.isArray(resolvedBody)) {
38243
38235
  return null;
@@ -38184,15 +38184,7 @@ function getSlotContentRenderer2() {
38184
38184
  }
38185
38185
  function makeLambdaFn(argName, lambdaBody, callerKey) {
38186
38186
  return (item, index) => {
38187
- lambdaLog.info("invoke", {
38188
- argName,
38189
- callerKey,
38190
- index,
38191
- itemType: typeof item,
38192
- itemIsArray: Array.isArray(item),
38193
- itemKeys: item && typeof item === "object" ? Object.keys(item).slice(0, 12) : null,
38194
- itemSample: JSON.stringify(item).slice(0, 400)
38195
- });
38187
+ console.log(`[lambda-triage:${callerKey}#${index}]`, JSON.stringify(item));
38196
38188
  const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
38197
38189
  if (resolvedBody === null || typeof resolvedBody !== "object" || Array.isArray(resolvedBody)) {
38198
38190
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.19.2",
3
+ "version": "4.19.3",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",