@solana/fast-stable-stringify
Advanced tools
Comparing version
@@ -61,3 +61,3 @@ // src/index.ts | ||
case "bigint": | ||
return JSON.stringify(val.toString() + "n"); | ||
return `${val.toString()}n`; | ||
case "string": | ||
@@ -64,0 +64,0 @@ return JSON.stringify(val); |
@@ -61,3 +61,3 @@ // src/index.ts | ||
case "bigint": | ||
return JSON.stringify(val.toString() + "n"); | ||
return `${val.toString()}n`; | ||
case "string": | ||
@@ -64,0 +64,0 @@ return JSON.stringify(val); |
@@ -61,3 +61,3 @@ // src/index.ts | ||
case "bigint": | ||
return JSON.stringify(val.toString() + "n"); | ||
return `${val.toString()}n`; | ||
case "string": | ||
@@ -64,0 +64,0 @@ return JSON.stringify(val); |
{ | ||
"name": "@solana/fast-stable-stringify", | ||
"version": "2.0.0-preview.2.20240417190012.291830b860c454a4cf1fb0ac0f34edb17d11298c", | ||
"version": "2.0.0-preview.2.20240417193928.028bdcca60ca69897ea2131e4047c607ec354a3e", | ||
"description": "Deterministic stringification for when performance and bundle size matters", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37366
-0.56%