From dc574b869cd6f0d92c0dbd187fa604ff6ed379fd Mon Sep 17 00:00:00 2001 From: Maximilian Schneider Date: Thu, 31 Oct 2024 10:39:24 +0000 Subject: [PATCH 1/2] convert bignum to number even if its outside limits --- client/ts/src/utils/numbers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ts/src/utils/numbers.ts b/client/ts/src/utils/numbers.ts index cfeaaa523..40fca33d9 100644 --- a/client/ts/src/utils/numbers.ts +++ b/client/ts/src/utils/numbers.ts @@ -11,7 +11,7 @@ export function toNum(n: bignum): number { if (typeof n === 'number') { target = n; } else { - target = n.toNumber(); + target = n.toString() as any as number; } return target; } From d2f266cb622b2467aa154873f9e3523bdb32e55a Mon Sep 17 00:00:00 2001 From: Maximilian Schneider Date: Thu, 31 Oct 2024 14:05:47 +0000 Subject: [PATCH 2/2] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb22bfce7..cc3db4dd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cks-systems/manifest-sdk", - "version": "0.1.62", + "version": "0.1.63", "files": [ "dist/", "README.md",