Skip to content

Commit 7d3adbb

Browse files
authored
fix: revert use of internal fast-stable-stringify in legacy library (#2509)
1 parent d4a93ce commit 7d3adbb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/library-legacy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
"@noble/curves": "^1.2.0",
6060
"@noble/hashes": "^1.3.3",
6161
"@solana/buffer-layout": "^4.0.1",
62-
"@solana/fast-stable-stringify": "workspace:*",
6362
"agentkeepalive": "^4.5.0",
6463
"bigint-buffer": "^1.1.5",
6564
"bn.js": "^5.2.1",
6665
"borsh": "^0.7.0",
6766
"bs58": "^4.0.1",
6867
"buffer": "6.0.3",
68+
"fast-stable-stringify": "^1.0.0",
6969
"jayson": "^4.1.0",
7070
"node-fetch": "^2.7.0",
7171
"rpc-websockets": "^7.5.1",

packages/library-legacy/src/connection.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import fastStableStringify from '@solana/fast-stable-stringify';
21
import HttpKeepAliveAgent, {
32
HttpsAgent as HttpsKeepAliveAgent,
43
} from 'agentkeepalive';
54
import bs58 from 'bs58';
65
import {Buffer} from 'buffer';
6+
// @ts-ignore
7+
import fastStableStringify from 'fast-stable-stringify';
78
import type {Agent as NodeHttpAgent} from 'http';
89
import {Agent as NodeHttpsAgent} from 'https';
910
import {

pnpm-lock.yaml

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)