Skip to content

Commit

Permalink
fix(js): Downgraded nearcore to 2.0.0 version to workaround NEAR-1206…
Browse files Browse the repository at this point in the history
…2 issue (will be resolved with 2.3.0 release)
  • Loading branch information
frol committed Sep 24, 2024
1 parent f88d97d commit 3ace9df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions npm/.changeset/silly-tools-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"near-sandbox": patch
---

Downgraded nearcore to 2.0.0 version to workaround NEAR-12062 issue (will be resolved with 2.3.0 release)
2 changes: 1 addition & 1 deletion npm/dist/getBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
2 changes: 1 addition & 1 deletion npm/src/getBinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Binary> {
Expand Down

0 comments on commit 3ace9df

Please sign in to comment.