From 7239beebd05b8d92990cb4b76f9c85d38c81dbe1 Mon Sep 17 00:00:00 2001 From: Minggang Wang Date: Fri, 23 May 2025 11:21:27 +0800 Subject: [PATCH] Fix the type error of client example --- example/client-example.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/client-example.js b/example/client-example.js index 9d83d5fa..8e149af2 100644 --- a/example/client-example.js +++ b/example/client-example.js @@ -38,8 +38,8 @@ async function main() { } const request = { - a: Math.floor(Math.random() * 100), - b: Math.floor(Math.random() * 100), + a: BigInt(Math.floor(Math.random() * 100)), + b: BigInt(Math.floor(Math.random() * 100)), }; let result = await client.waitForService(1000);