Skip to content

Commit 52850bc

Browse files
authored
chore: Change SDK to use "latest" instead of "nightly" (#1347)
1 parent 47a2af0 commit 52850bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/sdk/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const BINARYEN_VERSION = "nightly";
22
const LONG_VERSION = "latest";
3-
const ASSEMBLYSCRIPT_VERSION = "nightly";
3+
const ASSEMBLYSCRIPT_VERSION = "latest";
44

55
// AMD/require.js (browser)
66
if (typeof define === "function" && define.amd) {

Diff for: scripts/build-sdk.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fs.readFile(path.join(__dirname, "..", "lib", "sdk", "index.js"), "utf8", functi
77
data = data
88
.replace(/BINARYEN_VERSION = "nightly"/, "BINARYEN_VERSION = " + JSON.stringify(pkg.dependencies.binaryen.version))
99
.replace(/LONG_VERSION = "latest"/, "LONG_VERSION = " + JSON.stringify(pkg.dependencies.long.version))
10-
.replace(/ASSEMBLYSCRIPT_VERSION = "nightly"/, "ASSEMBLYSCRIPT_VERSION = " + JSON.stringify(pkg.version));
10+
.replace(/ASSEMBLYSCRIPT_VERSION = "latest"/, "ASSEMBLYSCRIPT_VERSION = " + JSON.stringify(pkg.version));
1111
fs.writeFile(path.join(__dirname, "..", "dist", "sdk.js"), data, function(err) {
1212
if (err) throw err;
1313
});

0 commit comments

Comments
 (0)