From a5eb1e66a6ff34123992ac3302cf77959c7297e7 Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Tue, 24 Sep 2024 10:57:23 +0200 Subject: [PATCH] fix(js): Downgraded nearcore to 2.0.0 version to workaround NEAR-12062 issue (will be resolved with 2.3.0 release) --- npm/dist/getBinary.js | 2 +- npm/src/getBinary.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/dist/getBinary.js b/npm/dist/getBinary.js index a52827b..04432f0 100644 --- a/npm/dist/getBinary.js +++ b/npm/dist/getBinary.js @@ -18,7 +18,7 @@ function getPlatform() { } function AWSUrl() { const [platform, arch] = getPlatform(); - return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.1.1/near-sandbox.tar.gz`; + return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.0.0/near-sandbox.tar.gz`; } exports.AWSUrl = AWSUrl; function getBinary(name = "near-sandbox") { diff --git a/npm/src/getBinary.ts b/npm/src/getBinary.ts index 7f1642e..075c637 100644 --- a/npm/src/getBinary.ts +++ b/npm/src/getBinary.ts @@ -18,7 +18,7 @@ function getPlatform() { export function AWSUrl(): string { const [platform, arch] = getPlatform(); - return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.1.1/near-sandbox.tar.gz`; + return `https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore/${platform}-${arch}/2.0.0/near-sandbox.tar.gz`; } export function getBinary(name: string = "near-sandbox"): Promise {