diff --git a/packages/library-legacy/package.json b/packages/library-legacy/package.json index c4c8be1a6fd7..d37ec295fb0c 100644 --- a/packages/library-legacy/package.json +++ b/packages/library-legacy/package.json @@ -59,13 +59,13 @@ "@noble/curves": "^1.2.0", "@noble/hashes": "^1.3.3", "@solana/buffer-layout": "^4.0.1", - "@solana/fast-stable-stringify": "workspace:*", "agentkeepalive": "^4.5.0", "bigint-buffer": "^1.1.5", "bn.js": "^5.2.1", "borsh": "^0.7.0", "bs58": "^4.0.1", "buffer": "6.0.3", + "fast-stable-stringify": "^1.0.0", "jayson": "^4.1.0", "node-fetch": "^2.7.0", "rpc-websockets": "^7.5.1", diff --git a/packages/library-legacy/src/connection.ts b/packages/library-legacy/src/connection.ts index 22888941bb69..2f54dda0bba3 100644 --- a/packages/library-legacy/src/connection.ts +++ b/packages/library-legacy/src/connection.ts @@ -1,9 +1,10 @@ -import fastStableStringify from '@solana/fast-stable-stringify'; import HttpKeepAliveAgent, { HttpsAgent as HttpsKeepAliveAgent, } from 'agentkeepalive'; import bs58 from 'bs58'; import {Buffer} from 'buffer'; +// @ts-ignore +import fastStableStringify from 'fast-stable-stringify'; import type {Agent as NodeHttpAgent} from 'http'; import {Agent as NodeHttpsAgent} from 'https'; import { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c43cf74ef986..83ce47e4078a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -369,9 +369,6 @@ importers: '@solana/buffer-layout': specifier: ^4.0.1 version: 4.0.1 - '@solana/fast-stable-stringify': - specifier: workspace:* - version: link:../fast-stable-stringify agentkeepalive: specifier: ^4.5.0 version: 4.5.0 @@ -390,6 +387,9 @@ importers: buffer: specifier: 6.0.3 version: 6.0.3 + fast-stable-stringify: + specifier: ^1.0.0 + version: 1.0.0 jayson: specifier: ^4.1.0 version: 4.1.0 @@ -7509,7 +7509,6 @@ packages: /fast-stable-stringify@1.0.0: resolution: {integrity: sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==} - dev: true /fastestsmallesttextencoderdecoder@1.0.22: resolution: {integrity: sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==}