From a76f11971a911b5ed516b162163434e9cfa8e669 Mon Sep 17 00:00:00 2001 From: KutluhanETH Date: Wed, 9 Sep 2026 14:00:36 +0000 Subject: [PATCH] docs(ack-pay): fix invalid new BigInt() in README example BigInt is not a constructor; new BigInt(...) throws TypeError. Use BigInt(100_000_000).toString() so the payment-request example runs. --- packages/ack-pay/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ack-pay/README.md b/packages/ack-pay/README.md index 76b469d2..8cf5c4ec 100644 --- a/packages/ack-pay/README.md +++ b/packages/ack-pay/README.md @@ -31,7 +31,7 @@ const paymentRequest = { paymentOptions: [ { id: "option-1", - amount: new BigInt(100_000_000).toString(), // 100 USDC + amount: BigInt(100_000_000).toString(), // 100 USDC decimals: 6, currency: "USDC", recipient: "did:web:payment.example.com",