From 94dae8f76d31f8a1196713c89c8d243de7335418 Mon Sep 17 00:00:00 2001 From: dasichuan Date: Thu, 6 Jun 2024 16:08:30 -0700 Subject: [PATCH] Pin typescript version --- solend-sdk/__tests__/rpc.test.ts | 2 +- solend-sdk/package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/solend-sdk/__tests__/rpc.test.ts b/solend-sdk/__tests__/rpc.test.ts index b6c18580..92adf889 100644 --- a/solend-sdk/__tests__/rpc.test.ts +++ b/solend-sdk/__tests__/rpc.test.ts @@ -1,6 +1,6 @@ import { Connection } from '@solana/web3.js'; import { StatsD } from 'hot-shots'; -import { InstrumentedConnection, MultiConnection, RetryConnection, SolendRPCConnection } from '../src/utils/rpc'; +import { InstrumentedConnection, MultiConnection, RetryConnection, SolendRPCConnection } from '../src/rpc'; jest.setTimeout(1_000); diff --git a/solend-sdk/package.json b/solend-sdk/package.json index b9e9852c..b540f4a0 100644 --- a/solend-sdk/package.json +++ b/solend-sdk/package.json @@ -11,7 +11,7 @@ "license": "MIT", "scripts": { "docs": "typedoc", - "build": "rm -rf dist/; tsc", + "build": "rm -rf dist/; yarn tsc", "test": "yarn jest", "watch": "tsc --watch", "coverage": "jest --coverage", @@ -21,9 +21,9 @@ "dependencies": { "@project-serum/anchor": "^0.24.2", "@pythnetwork/client": "^2.5.1", - "@solana/buffer-layout": "^4.0.0", - "@solana/spl-token": "^0.3.6", - "@solana/web3.js": "^1.78.7", + "@solana/buffer-layout": "=4.0.1", + "@solana/spl-token": "=0.4.6", + "@solana/web3.js": "=1.92.3", "@solendprotocol/utl-sdk": "^1.4.1", "@switchboard-xyz/sbv2-lite": "^0.2.4", "axios": "^0.24.0", @@ -54,6 +54,6 @@ "ts-jest": "^28.0.7", "ts-node": "^10.9.1", "typedoc": "^0.22.10", - "typescript": "^4.5.2" + "typescript": "=4.9.5" } }