From 8205856cd85727b6af79999a0476d04e7ab85741 Mon Sep 17 00:00:00 2001 From: Pinank Solanki Date: Fri, 24 May 2024 19:07:52 +0530 Subject: [PATCH 1/2] Increase serialized DOM allowed size --- src/lib/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server.ts b/src/lib/server.ts index 21d233a..80145ba 100644 --- a/src/lib/server.ts +++ b/src/lib/server.ts @@ -9,7 +9,7 @@ import constants from './constants.js'; export default async (ctx: Context): Promise> => { - const server: FastifyInstance = fastify({ logger: ctx.env.LT_SDK_DEBUG ? true : false, bodyLimit: 10000000 }); + const server: FastifyInstance = fastify({ logger: ctx.env.LT_SDK_DEBUG ? true : false, bodyLimit: 30000000 }); const opts: RouteShorthandOptions = {}; const SMARTUI_DOM = readFileSync(path.resolve(__dirname, 'dom-serializer.js'), 'utf-8'); From 7bcedd0dad61ec65343029faea36899e741b016a Mon Sep 17 00:00:00 2001 From: Pinank Solanki Date: Fri, 24 May 2024 19:10:40 +0530 Subject: [PATCH 2/2] 3.0.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e9c2d7e..e300080 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lambdatest/smartui-cli", - "version": "3.0.7", + "version": "3.0.8", "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest", "files": [ "dist/**/*"