From e9217c01fbcd6728ff6fbb4037f527282f636943 Mon Sep 17 00:00:00 2001 From: Josh Long Date: Wed, 18 Oct 2023 11:03:07 -0400 Subject: [PATCH] update comment --- .../lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts b/packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts index 4f66cdc803..add01d0b79 100644 --- a/packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts +++ b/packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.ts @@ -1278,6 +1278,7 @@ export class LitNodeClientNodeJs extends LitCore { log('executeJs responseData', JSON.stringify(responseData, null, 2)); // -- in the case where we are not signing anything on Lit action and using it as purely serverless function + // we must also check for claim responses as a user may have submitted for a claim and signatures must be aggregated before returning if (responseData[0].success && Object.keys(responseData[0].signedData).length <= 0 && Object.keys(responseData[0].claimData).length <= 0) { return responseData[0] as any as ExecuteJsResponse; }