linkque-cli-v2 1.2.0 → 1.2.1

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/linkquejs.js CHANGED
@@ -26392,14 +26392,16 @@ function getA2UIPaymentActionReferenceIssues(card, bindings, path22 = "a2uiTempl
26392
26392
  const issues = [];
26393
26393
  const bindingIds = new Set(bindings.map((binding) => binding.actionId));
26394
26394
  const referenced = /* @__PURE__ */ new Set();
26395
- card.forEach((instruction, instructionIndex) => {
26396
- const instructionRecord = instruction;
26397
- const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
26398
- const components = update && Array.isArray(update.components) ? update.components : [];
26399
- components.forEach((component, componentIndex) => {
26400
- if (!isPlainRecord(component))
26401
- return;
26402
- collectPaymentActionReferences(component.action, `${path22}[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
26395
+ card.forEach((message, messageIndex) => {
26396
+ message.datas.forEach((instruction, instructionIndex) => {
26397
+ const instructionRecord = instruction;
26398
+ const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
26399
+ const components = update && Array.isArray(update.components) ? update.components : [];
26400
+ components.forEach((component, componentIndex) => {
26401
+ if (!isPlainRecord(component))
26402
+ return;
26403
+ collectPaymentActionReferences(component.action, `${path22}[${messageIndex}].datas[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
26404
+ });
26403
26405
  });
26404
26406
  });
26405
26407
  for (const actionId of referenced) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkque-cli-v2",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Public Linkque CLI bundle for sandbox debugging",
5
5
  "bin": {
6
6
  "linkquejs": "linkquejs.js"
@@ -17527,14 +17527,16 @@ function getA2UIPaymentActionReferenceIssues(card, bindings, path2 = "a2uiTempla
17527
17527
  const issues = [];
17528
17528
  const bindingIds = new Set(bindings.map((binding) => binding.actionId));
17529
17529
  const referenced = /* @__PURE__ */ new Set();
17530
- card.forEach((instruction, instructionIndex) => {
17531
- const instructionRecord = instruction;
17532
- const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
17533
- const components = update && Array.isArray(update.components) ? update.components : [];
17534
- components.forEach((component, componentIndex) => {
17535
- if (!isPlainRecord(component))
17536
- return;
17537
- collectPaymentActionReferences(component.action, `${path2}[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
17530
+ card.forEach((message, messageIndex) => {
17531
+ message.datas.forEach((instruction, instructionIndex) => {
17532
+ const instructionRecord = instruction;
17533
+ const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
17534
+ const components = update && Array.isArray(update.components) ? update.components : [];
17535
+ components.forEach((component, componentIndex) => {
17536
+ if (!isPlainRecord(component))
17537
+ return;
17538
+ collectPaymentActionReferences(component.action, `${path2}[${messageIndex}].datas[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
17539
+ });
17538
17540
  });
17539
17541
  });
17540
17542
  for (const actionId of referenced) {
@@ -58,7 +58,7 @@ import {
58
58
  parseSkillFile,
59
59
  streamToConversationEvents,
60
60
  verifyPaymentResult
61
- } from "../../chunk-HPOFEAMP.js";
61
+ } from "../../chunk-IXJFWSVE.js";
62
62
  import "../../chunk-XUFLSZM4.js";
63
63
  import "../../chunk-I64V3ICJ.js";
64
64
  import "../../chunk-6MHDOBWO.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getBakedProtocol,
3
3
  setBakedProtocol
4
- } from "../chunk-HPOFEAMP.js";
4
+ } from "../chunk-IXJFWSVE.js";
5
5
  import "../chunk-XUFLSZM4.js";
6
6
  import "../chunk-I64V3ICJ.js";
7
7
  import "../chunk-6MHDOBWO.js";
package/worker.js CHANGED
@@ -14356,14 +14356,16 @@ function getA2UIPaymentActionReferenceIssues(card, bindings, path6 = "a2uiTempla
14356
14356
  const issues = [];
14357
14357
  const bindingIds = new Set(bindings.map((binding) => binding.actionId));
14358
14358
  const referenced = /* @__PURE__ */ new Set();
14359
- card.forEach((instruction, instructionIndex) => {
14360
- const instructionRecord = instruction;
14361
- const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
14362
- const components = update && Array.isArray(update.components) ? update.components : [];
14363
- components.forEach((component, componentIndex) => {
14364
- if (!isPlainRecord(component))
14365
- return;
14366
- collectPaymentActionReferences(component.action, `${path6}[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
14359
+ card.forEach((message, messageIndex) => {
14360
+ message.datas.forEach((instruction, instructionIndex) => {
14361
+ const instructionRecord = instruction;
14362
+ const update = isPlainRecord(instructionRecord.updateComponents) ? instructionRecord.updateComponents : void 0;
14363
+ const components = update && Array.isArray(update.components) ? update.components : [];
14364
+ components.forEach((component, componentIndex) => {
14365
+ if (!isPlainRecord(component))
14366
+ return;
14367
+ collectPaymentActionReferences(component.action, `${path6}[${messageIndex}].datas[${instructionIndex}].updateComponents.components[${componentIndex}].action`, referenced, issues);
14368
+ });
14367
14369
  });
14368
14370
  });
14369
14371
  for (const actionId of referenced) {